Difference between revisions of "CHUMP"

From Chessprogramming wiki
Jump to: navigation, search
(4 intermediate revisions by the same user not shown)
Line 41: Line 41:
=See also=
=See also=
* [[Various Classifications#Acronym|Acronym]]
* [[CHREST]]
* [[CHREST]]
* [[Chunker]]
* [[Chunker]]
Line 62: Line 61:
* [https://en.wiktionary.org/wiki/chump chump Wiktionary]
* [https://en.wiktionary.org/wiki/chump chump Wiktionary]
* [https://en.wikipedia.org/wiki/Chump Chump from Wikipedia]
* [https://en.wikipedia.org/wiki/Chump Chump from Wikipedia]
* [https://en.wikipedia.org/wiki/Laurel_and_Hardy Laurel and Hardy] - [https://en.wikipedia.org/wiki/A_Chump_at_Oxford A Chump at Oxford] (1940), [https://en.wikipedia.org/wiki/YouTube YouTube] Video
* [https://en.wikipedia.org/wiki/A_Chump_at_Oxford A Chump at Oxford from Wikipedia]
: {{#evu:https://www.youtube.com/watch?v=ftYjyEi7dpQ|alignment=left|valignment=top}}
<references />
<references />
'''[[Engines|Up one Level]]'''
'''[[Engines|Up one Level]]'''

Latest revision as of 15:11, 7 May 2020

Home * Engines * CHUMP

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 [1].

CHUMP is based on CHREST (Chunk Hierarchy and REtrieval STructures), a computer model of human chess memory and perception [2]. CHREST was inspired by earlier programs MAPP [3] and Perceiver [4] 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 [5].

Structure of CHUMP

CHUMP consists of the following components:

  1. Eye movement simulator module
  2. EPAM like discrimination nets, one for piece patterns, one for move sequences
  3. Short-term memory (STM)
  4. Retrieval structure

Eye Movements

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

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.

Retrieval Structure

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.

  1. The eye movement recognizes piece pattern, which are discriminated or familiarized inside the piece patterns net.
  2. The move actually played is learned inside its move sequence discrimination net.
  3. 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.

Move Proposal

After (or during) learning, CHUMP can use its discrimination nets to suggests moves in certain positions. Again, three steps were applied.

  1. The eye movement simulator iterates over all relevant piece patterns.
  2. The moves associated with every piece pattern are retrieved from the net, along with the number of chunks associating it and its activation.
  3. 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.

See also


External Links

Chess Program



  1. 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
  2. Fernand Gobet (1993). A Computer Model of Chess Memory. Proceedings of the 15th Annual Meeting of the Cognitive Science Society
  3. 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
  4. Herbert Simon, Michael Barenfeld (1968). Information Processing in the Perception of Chess Positions. Carnegie Mellon University, Paper #127
  5. Fernand Gobet (1997). A Pattern-Recognition Theory of Search in Expert Problem Solving. Thinking and Reasoning, Vol. 3, No. 4

Up one Level