[Paper Review] Compositional generalization through abstract representations in human and artificial neural networks
The paper demonstrates that parallel abstract representations support compositional generalization in humans, identifiable via the Parallelism Score in fMRI, and shows that simple pretraining can embed similar abstractions in ANNs to achieve human-like zero-shot generalization and sample efficiency.
Humans have a remarkable ability to rapidly generalize to new tasks that is difficult to reproduce in artificial learning systems. Compositionality has been proposed as a key mechanism supporting generalization in humans, but evidence of its neural implementation and impact on behavior is still scarce. Here we study the computational properties associated with compositional generalization in both humans and artificial neural networks (ANNs) on a highly compositional task. First, we identified behavioral signatures of compositional generalization in humans, along with their neural correlates using whole-cortex functional magnetic resonance imaging (fMRI) data. Next, we designed pretraining paradigms aided by a procedure we term {\em primitives pretraining} to endow compositional task elements into ANNs. We found that ANNs with this prior knowledge had greater correspondence with human behavior and neural compositional signatures. Importantly, primitives pretraining induced abstract internal representations, excellent zero-shot generalization, and sample-efficient learning. Moreover, it gave rise to a hierarchy of abstract representations that matched human fMRI data, where sensory rule abstractions emerged in early sensory areas, and motor rule abstractions emerged in later motor areas. Our findings give empirical support to the role of compositional generalization in human behavior, implicate abstract representations as its neural implementation, and illustrate that these representations can be embedded into ANNs by designing simple and efficient pretraining procedures.
Motivation & Objective
- Motivate and quantify compositional generalization as a mechanism for rapid transfer to novel tasks in humans.
- Identify neural signatures of compositional generalization across the cortex using the Parallelism Score.
- Develop prerequired representations in artificial neural networks to mimic human compositional generalization.
- Assess how abstract representations emerge across sensory-to-motor hierarchies in humans and ANNs.
Proposed method
- Utilize the 64-context C-PRO task to systematically vary rule conditions across three domains (logic, sensory, motor).
- Compute Parallelism Score (PS) as the cosine angle between coding directions for rule contrasts across contexts in fMRI data and ANN activations.
- Pretrain ANNs with primitives and simple-task paradigms to embed basic rule knowledge before full C-PRO training.
- Compare neural and behavioral signatures between humans and ANNs, assessing zero-shot generalization and sample efficiency.
- Analyze layer-wise PS in ANNs to map onto a sensory-to-motor cortical hierarchy observed in humans.
Experimental results
Research questions
- RQ1Do parallel abstract representations exist across the cortex during compositional generalization in humans?
- RQ2Can predefined abstract representations learned via pretraining induce human-like compositional generalization in ANNs?
- RQ3How does the geometry of neural representations (PS) relate to generalization performance across brain regions and ANN layers?
- RQ4Is there a convergent hierarchy of abstract representations from sensory to motor systems in both humans and ANNs?
Key findings
- Humans show compositional generalization in novel task contexts with higher accuracy when similar to practiced contexts.
- Parallel abstract representations distributed across cortex with content-specific topography, showing rule abstractions in sensory, association, and motor regions.
- Primitives plus simple-task pretraining in ANNs yields higher PS, zero-shot generalization, and sample-efficient learning, approaching human-like performance.
- Pretraining induces a hierarchical organization of abstractions in ANNs that mirrors the sensory-to-motor cortical axis.
- Zero-shot performance and PS in ANNs are strongly correlated, indicating abstraction underlies generalization.
- Pretraining enables humans and ANNs to achieve convergent hierarchical abstractions, with sensory PS peaking in early layers and motor PS in later layers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.