Skip to content

CoAxLab/azad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azad

Game-playing ANNs that use a stumbler-strategist architecture. Stumblers learn to map states to actions using model-free RL. Strategists only study stumblers, using the combination of a deep net and a human-derived heuristic to find the structure between the states. Adding in a heuristic means the strategist layer is model-based, and so our overall architecture is related to the classic DYNA-Q form.

A heuristic--it turns out--leads to robust transfer between games, and lead to natutally interpretable representations.

Philosophically, we are interested in co-operative AI. By sharing strategies and heuristics our ANNs can try and help people, not replace them.

Papers

We tried a {good, bad} heuristic, where complex Q(s,a) values get mapped to either good or bad classes. We use these classes, in combination with an imagination module, to transfer knowledge to new games. Using this network we studied a partial combinatorial game, Wythoff's game, and some of its relatives.

Values

We come at ANN design as scientists and humanists. Meaning we take three strong philosophical stances:

  1. ANNs should help people, not replace them.
  2. To win in the long-term ANNs and science must create a close virtuous cycle of improvement. Principled science--psychology, biology, neuroscience--should directly inform ANN design. ANN results should directly inform science.
  3. ANNs must help us understand our problems better. This means an ANN should always try to explain itself to a person.

Dependencies

Optional tensorboard visuals

  • tensorflow
  • tensorboard
  • torch.utils.tensorboard

Install instructions: https://github.com/lanpa/tensorboard-pytorch

Install

  1. From the command line run git clone https://github.com/CoAxLab/azad.git
  2. Then from the top-level azad directory run, pip install . for a normal install or pip install -e . if you are going to be editing the code.

That funny project name

In Ian Banks delightful book, The Player of Games, master game player Jernau Morat Gurgeh travels to the planet Azad to play the game Azad. Though it takes a lifetime to master, Azad is as much a statement of philosophy as it is a game of winning and strategy. In the book, Gurgeh comes from an alien culture so his philosophy and play is quite different than his opponents.

About

Game-playing ANNs that use a stumbler-strategist architecture.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published