Difference between revisions of "CHUMP"
|Line 41:||Line 41:|
|Line 67:||Line 66:|
'''[[Engines|Up one Level]]'''
'''[[Engines|Up one Level]]'''
Revision as of 13:10, 26 October 2018
CHUMP, (CHUnking of Moves and Patterns)
was an experimental chess program by Fernand Gobet and Peter Jansen that learned to recognize piece patterns and associated move sequences, introduced at the Advances in Computer Chess 7 conference in 1993. The aim was to model human 'computational' mechanisms, not only to understand better those machanisms in human beings, but to yield techniques and algorithms that could lead to valuable additions to competitive game playing programs, for instance in improving move ordering and in learning search control aka selectivity of classical alpha-beta searchers .
CHUMP is based on CHREST (Chunk Hierarchy and REtrieval STructures), a computer model of human chess memory and perception . CHREST was inspired by earlier programs MAPP  and Perceiver  by Herbert Simon and colleages. CHREST was not conceived as a component of a game playing program - its knowledge was limited to pattern of chess positions and had no concept of moves, goals and values. In learning about moves and when to make them, CHUMP was the first step towards a game playing, pattern learning chess program. In 1997, Fernand Gobet developed a second simulation of move-selection called SEARCH, which begins to incorporate search processes .
Structure of CHUMP
CHUMP consists of the following components:
- Eye movement simulator module
- EPAM like discrimination nets, one for piece patterns, one for move sequences
- Short-term memory (STM)
- Retrieval structure
The eye movement simulator is the only part of the system where the rules of the game influence the learning process. It scans the board, and directs its attention to pieces and squares it expects, given the current node in its discrimination net, attack, defense and proximity relations between pieces. It is hoped, that this leads to the formation of meaningful chunks.
Discrimination and Familiarization
The discrimination nets are based o the EPAM model of memory and perception, with some differences in the way uses recursion in encoding chunks and in the nature of the discrimination data structure - EPAM uses a tree, CHUMP a graph. Each node in the net contains the image of the object that lead to its creation, and a list of descendants. There are two different types of learning, depending on whether is new or not. If an objcet is new, that is does not match the image of the chunk found in the discrimination net, a new branch is created - dubbed discrimination. Otherwise, CHUMP extends the image - called familiarization.
Short-term memory (STM) is a n-pointer structure (n ≡ 7 for human simulations), in which each pointer refers to a single piece pattern recognized in the position. In CHUMP, to obtain faster learning, an STM size of n = 20 was applied.
The retrieval structure is an intermediate memory structure that, in humans, allows a rapid access to long-term memory. In CHUMP. the retrieval structure consists of an internal board representation - a representation augmented with information about lines, diagonals and directions of movement of the pieces - and the hypothesis - the most information-rich pattern recognized so far, linking for instance to relevant plans.
CHUMP builds its discrimination nets for pieces and moves based on the patterns it recognizes when scanning the set of training positions. For each position three learning steps take place.
- The eye movement recognizes piece pattern, which are discriminated or familiarized inside the piece patterns net.
- The move actually played is learned inside its move sequence discrimination net.
- The current move (sequence) is associated with those piece patterns that contain the moving piece on its correct from square; a link is created between the piece pattern and the move entry in the move sequence discrimination net. If this move has already been associated with the same pattern earlier, its activation (a counter that keeps track of how often a particular move has been associated with a given pattern) is increased.
After (or during) learning, CHUMP can use its discrimination nets to suggests moves in certain positions. Again, three steps were applied.
- The eye movement simulator iterates over all relevant piece patterns.
- The moves associated with every piece pattern are retrieved from the net, along with the number of chunks associating it and its activation.
- The move with the greatest number of chunks is prefered, if equal, the move with higher activation is considered best
CHUMP's proposed moves were compared with actual moves in several different learning and testing situations, e.g. games by Mikhail Tal and positions from the KQKR domain. The experiments show that CHUMP improves performance with learning in all cases.
- Fernand Gobet, Peter Jansen (1994). Towards a Chess Program Based on a Model of Human Memory. Advances in Computer Chess 7
- Roy W. Roring III (2008). Reviewing Expert Chess Performance: A Production-Based Theory of Chess Skill. Ph.D. thesis, advisor Neil Charness, Florida State University
- Andrew Cook (2008). Chunk Learning and Move Prompting: Making Moves in Chess. Technical Report CSR-08-12, University of Birmingham
- This article incorporates text from Fernand Gobet, Peter Jansen (1994). Towards a Chess Program Based on a Model of Human Memory. Advances in Computer Chess 7
- Fernand Gobet (1993). A Computer Model of Chess Memory. Proceedings of the 15th Annual Meeting of the Cognitive Science Society
- Herbert Simon, Kevin J. Gilmartin (1973). A Simulation of Memory for Chess Positions. Cognitive Psychology, Vol. 5, pp. 29-46, reprinted in Herbert Simon (1979). Models of Thought. Yale University Press
- Herbert Simon, Michael Barenfeld (1968). Information Processing in the Perception of Chess Positions. Carnegie Mellon University, Paper #127
- Fernand Gobet (1997). A Pattern-Recognition Theory of Search in Expert Problem Solving. Thinking and Reasoning, Vol. 3, No. 4