Introduction
In the first half of this article, I discuss concepts around the term ”fluid intelligence,” which often appears in general intelligence literature. In the second half, I discuss tasks for testing working memory, which is considered to be an essential cognitive function for the realization of fluid intelligence, and propose to use a match-to-sample task to start with.
General Intelligence and Fluid Intelligence
The term "artificial general intelligence (AGI)" refers to the attempt to create general intelligence or the product of such an attempt. AGI is general (-purpose) in that it is capable of solving problems not anticipated at the time of design, as opposed to "narrow AI" designed for specific purposes.
The term "general intelligence" is originally from psychology and is based on the hypothesis that human intelligence can be attributed to a unique general intelligence factor g. [Spearman 1904]. Various tests (IQ tests in psychometrics) have been devised based on this hypothesis.
Despite the single factor hypothesis, multiple factors have been postulated. [Cattell 1943] postulated fluid and crystalized intelligences in general intelligence. In Cattell's original definition, fluid intelligence is the ability to discriminate and perceive relations, and crystalized intelligence is discriminatory habits originally through the operation of fluid ability [Brown 2016]. However, the definition of fluid intelligence has been varied. According to [Kievit 2016], fluid intelligence is the ability to solve novel, abstract problems that do not depend on task-specific knowledge. Crystalized intelligence, on the other hand, is considered to be the ability to apply learned knowledge.
The fluid and crystalized aspects can be discerned also in AI. Learning has the fluid aspect and the application of learned knowledge has the crystalized aspect. [Hernández-Orallo 2017](Chapter 12) addresses fluid intelligence as a policy-generating capability. In reinforcement learning terms, exploration has the fluid aspect and exploitation the crystalized aspect. What [Chollet 2019] calls the Intelligent System, which learns, has the fluid aspect, while the Skill Program the crystalized aspect. Here I will refer to the ability to discover and learn relations and policies as fluid intelligence in a broad sense.
AGI is required to have the fluidity to cope with a new task without learned knowledge of the task, in that it is required to have generality to solve tasks not expected at the time of design. Fluid intelligence in a broad sense does not specify whether the ability to solve new problems is the result of trials and errors in the environment or internal simulations.
Note that the dichotomy of fluid intelligence (in a broad sense) and crystalized intelligence is not consistent with the dual process theory's dichotomy of System 1 and System 2 (roughly corresponding unconscious and conscious processes)(ref. [Kahneman 2003]). Reinforcement learning (operant learning), for example, is classified as fluid intelligence in a broad sense, which deals with tasks without acquired knowledge of the tasks, even if it is not performed by conscious processes (System 2). Also, although humans often perform deductive reasoning in a conscious process (System 2), the ability to deduce with acquired knowledge belongs to crystalized intelligence. However, regular IQ tests do not assume an unconscious form of intelligence that involves unconscious trials, and System 2 should be involved in the fluid intelligence measured by IQ tests.
Fluid Intelligence and Search
As fluid intelligence measured by IQ tests is not the kind of intelligence that allows for trial and error in the environment, the search for solutions to problems (trial and error) is considered to be internal to the agent. In the following, the discussion will be limited to fluid intelligence measured by IQ tests, and thus to (narrowly defined) fluid intelligence that solves problems by internal simulation. In an IQ test, the subject is required to find some solution (or some relations if we follow Cattell's definition), but s/he is not required to learn the found solution as a policy.
Search involves action selection and generates a sequence of actions. The result of search may be arriving at a goal, or it may be a pattern generated by a sequence of actions. Whether the result of the search satisfies the objective is evaluated by some criteria. In a case where the result is goal attainment, whether the state is associated with a reward may be evaluated. Or whether the state or the pattern generated meets certain criteria (or constraints) may be assessed by evaluative actions.
Example: Matrix Reasoning Tasks
Matrix reasoning tasks are often used to measure fluid intelligence in IQ tests (e.g., Fig.1). ARC, the test for AGI proposed in [Chollet 2019] is also a kind of matrix reasoning task. Here, the task is used as an example to see the nature of fluid intelligence.
In a matrix reasoning task, subjects are presented with a matrix, where a cell in the last row is blank. Subjects discover a rule from the pattern shown in the other rows and apply the rule to the last row to fill in the blank cell.
Subjects are expected to solve the task by the following search.
- Generate a rule that generates (predicts) the content of the last cell of a row other than the last one.
- Check if the above rule is applicable to other rows.
- If not, generate another rule.
- If the rule can be applied to all the filled rows or columns, apply it to the last cell of the last row.
In matrix inference tasks, search is performed, where the generation of applicable rules is a sub-goal and applicability check is an evaluative action. In the applicability check, the agreement between the internal representation generated by the rule and the matrix content is checked.
- The ability to operate internally the objects on the matrix
- The ability to generate and retain elements of internal operations (objects and results) as patterns.
- Pattern application and matching
- The ability to apply patterns to partial patterns and to predict/generate the overall pattern
- The ability to determine if the predicted/generated patterns match reality
- Search ability
- If a pattern fails, try another pattern generation.
- Memorize failed patterns and do not repeat them.
Summary of Terminology
General Intelligence (g) | |||||
Fluid Intelligence in a Broad Sense – Exploration – (Intelligent System) | Crystalized Intelligence – Exploitation – (Skill System) | ||||
Exploratory | Exploratory | Non- Exploratory | |||
Internal Search Fluid Intelligence in a Narrow Sense Relationship Discovery | External Search | Navigation, Deduction, Parsing, etc. | Simple policy application | ||
No Learning | with Learning | No Learning | with Learning | ||
Fluid Intelligence Tests | Model-based RL | Solution discovery by external search | Model-free RL |
The Realization of Fluid Intelligence
We should be careful about whether the dichotomy between fluid and crystalized intelligences is decisive for AI. A system that is given or learned knowledge to efficiently solve a matrix reasoning task can be viewed as solving it by crystalized intelligence. Meanwhile, AI may be designed in a way that learned or prior knowledge are separated from a 'fluid' general task solution mechanism.
Fluid Intelligence and Working Memory
Task Proposal
Fig.2 A Delayed Match-to-Sample Task |
As for implementation, there are psychology experiment toolkits such as PEBL or PsyToolkit for match-to-sample tasks. I have also implemented a task environment with PyGame to be a pure Python implementation that meets the above specification.