TL;DR
While Large Language Models (LLMs) excel at many tasks, they struggle with systematic generalization—the ability to combine known concepts into novel configurations. This paper introduces Compositional-ARC, a new spatial reasoning benchmark, and demonstrates that a tiny 5.7M parameter model trained via meta-learning can fundamentally outperform models like GPT-4o and o3-mini by learning the "grammar" of spatial transformations.
The Challenge of Systematic Generalization
A hallmark of human intelligence is our ability to learn a few rules (like "rotate" and "translate") and immediately apply them together, even if we’ve never seen that specific combination before. In AI, this is called systematic generalization.
Despite their massive scale, state-of-the-art LLMs often fail this test. They might know how to rotate an object and how to change its color, but they struggle to do both simultaneously in a zero-shot or few-shot spatial context. Previous research showed that Meta-Learning for Compositionality (MLC) could solve this in linguistic tasks, but it remained an open question whether these techniques could translate to the abstract, visual domain of spatial reasoning.
Introducing Compositional-ARC
To test this, the authors introduce Compositional-ARC, a dataset inspired by François Chollet’s Abstraction and Reasoning Corpus (ARC). The dataset evaluates models on their ability to generalize from basic transformations to complex combinations.
The tasks are structured hierarchically:
- Primitives: 5 basic transformations (translation, rotation, reflection, extension, color change).
- Compositions: Tasks are categorized by "levels." Level 1 combines two indicators (e.g., "if it's a square AND it's red, move it"), while Level 2 combines three.
- The Challenge: In the "Systematicity" setup, models are shown primitives and Level 1 compositions in the study examples but are asked to solve a novel Level 2 composition in the query.
Methods: Adapting MLC to Vision
The authors adapted the MLC framework to the visual world. Instead of mapping words to symbols, they trained a model to map visual indicators (an object's shape, color, or proximity to neighbors) to geometric transformations.
Key technical components include:
- The Model: A small transformer-based encoder-decoder with only 5.7 million parameters—orders of magnitude smaller than modern LLMs.
- Visual Interpretation Grammar: The model is trained on a stream of episodes where the "rules" change every time. In one episode, "green" might mean "rotate"; in the next, it might mean "move down." This forces the model to use the provided few-shot examples to infer the current rules rather than memorizing static mappings.
- Grid Encoding: 10x10 grids are broken into 2x2 patches, which are then embedded into vectors.
- Auxiliary Copy Task: During training, the model is also tasked with reproducing the input study examples, which helps it internalize the underlying transformations.
Key Insights and Results
The results show a massive gap between specialized meta-learning and general-purpose scaling. The most striking insight is that a model with 5.7M parameters can crush models with hundreds of billions of parameters if it is specifically trained to compose rather than just predict.
When general-purpose LLMs fail on these tasks, they don't just get the position wrong—they often fail to preserve the object's shape entirely, struggling to maintain "objectness" when multiple transformations are layered.
| Model | 3-Shot Accuracy (Exact Match) | Systematicity Accuracy (Exact Match) |
|---|---|---|
| MLC (5.7M params) | 99.92% | 78.26% |
| o3-mini (low effort) | 64.04% | 0.53% |
| GPT-4o | 22.28% | 0.99% |
| Gemini 2.0 Flash | 30.08% | 2.66% |
| ARC Prize 2024 Winner (8B) | 95.71%* | 78.20% |
*Note: The ARC Prize winner used test-time training (TTT) to achieve these results, whereas the MLC model generalizes via its learned meta-strategy.
Furthermore, the authors found that removing Level 1 compositions from the training data caused performance to crater (dropping to ~21%). This suggests that learning intermediate "building blocks" is essential for mastering complex, multi-step reasoning.
Limitations and Future Work
- Fixed Environment: The current study is limited to 10x10 grids and a specific set of five transformations. Real-world ARC puzzles often involve variable grid sizes and much more "creative" transformations.
- Task Decomposition: A promising future direction is training a separate model to decompose complex, "wild" ARC problems into these primitive building blocks, which the MLC model can then solve with high precision.
- Scaling the Grammar: While MLC works for these controlled compositions, it remains to be seen if it can scale to the thousands of potential rule combinations found in human-level reasoning tasks.
Summary updated