Abstract
Endowing machines with abstract reasoning ability has been a long-term research topic in artificial intelligence. Raven's Progressive Matrix (RPM) is widely used to probe abstract visual reasoning in machine intelligence, where models analyze underlying rules to complete an image matrix. While humans can infer and combine attribute-changing rules to imagine missing images at arbitrary positions, existing solvers often struggle to manifest such ability in realistic tests. This paper introduces RAISE (Rule AbstractIon and SElection), a deep latent variable model for answer generation. RAISE encodes image attributes into latent concepts and abstracts atomic rules from a global knowledge set. In experiments involving bottom-right and arbitrary-position generation, RAISE outperforms existing solvers. Furthermore, in odd-one-out tasks and held-out configurations, RAISE demonstrates the ability to leverage acquired concepts to identify rule-breaking images and handle unseen rule-attribute combinations.
Introduction
Raven’s Progressive Matrix (RPM) tests are a gold standard for measuring human fluid intelligence. These puzzles require a subject to identify underlying logical rules—such as a shape changing size or color across a row—to fill in a missing panel in a grid.
Most current AI solvers treat RPMs as multiple-choice problems, selecting from a fixed set of candidate images. However, this approach is prone to "shortcut learning," where models identify patterns in the candidate set rather than truly understanding the matrix's logic. Moreover, these models are typically hard-coded to solve only for the bottom-right corner. In contrast, true abstract reasoning involves the ability to "imagine" what a missing piece should look like at any position. This paper addresses the challenge of generative abstract reasoning by building a model that parses, abstracts, and synthesizes missing components from scratch.
The RAISE Framework
Presented at ICLR 2024, RAISE (Rule AbstractIon and SElection) is a Deep Latent Variable Model (DLVM) designed to solve RPMs through a generative lens. The framework operates via three primary stages:
- Concept Learning: An encoder ($g^{enc}_\theta$) maps high-dimensional images into a set of independent latent concepts ($z$). These concepts represent disentangled attributes like shape, size, or color, learned without explicit labels.
- Rule Abstraction & Selection: The model maintains a Global Knowledge Set ($\psi$), a library of learnable "atomic rules." For every latent concept identified, the model selects a rule from this library using a categorical indicator. This allows the model to decompose complex matrix logic into simpler, reusable components.
- Rule Execution & Generation: The selected rules are applied to context images to predict the latent concepts of the missing panel. Finally, a decoder ($g^{dec}_\phi$) transforms these predicted concepts back into a visual image.
RAISE is trained by maximizing the Evidence Lower Bound (ELBO). To ensure stability in learning abstract rules, the authors utilize a semi-supervised approach, requiring rule annotations for a small fraction (5-20%) of the training data.
Experimental Evaluation
The model was evaluated on the RAVEN and I-RAVEN benchmarks. I-RAVEN is specifically designed to eliminate the candidate-set biases that allow for shortcut learning in traditional solvers. The tests covered various layouts, including Center, Left-Right (L-R), Up-Down (U-D), Out-InCenter (O-IC), and complex 2x2 and 3x3 grids.
Key Results
- State-of-the-Art Performance: RAISE outperformed powerful generative solvers like ALANS and PrAE, achieving an average accuracy of 90.0% on RAVEN and 92.1% on I-RAVEN.
- Zero-Shot Generalization: In "Held-Out" configurations—where the model encounters a combination of rule and attribute it has never seen together—RAISE maintained high accuracy (e.g., 99.2% on
Center-Held-Out), significantly outperforming baseline models. - Arbitrary Positioning: Unlike traditional solvers, RAISE successfully generated missing images at multiple and arbitrary positions within the matrix.
Discussion and Insights
RAISE demonstrates that a generative approach is inherently more robust than a discriminative one. By forcing the model to synthesize an answer, it becomes immune to the shortcut biases found in multiple-choice sets. Furthermore, the use of Atomic Rule Composition allows for compositional generalization; complex logic is treated as a combination of simpler rules (like "Constant" or "Progression") applied to different attributes.
Beyond simple completion, RAISE exhibits an "Odd-One-Out" capability. Because the model learns the "correct" latent concepts for every position, it can identify an anomalous image by finding the panel with the highest prediction error in the latent space. Additionally, the latent space is highly interpretable; interpolations show that specific latent dimensions correspond to human-understandable attributes like size or color, even without explicit supervision.
Conclusion and Future Work
While RAISE marks a significant step toward generative abstract reasoning, some limitations remain. The model's performance decreases in grid-based layouts with high attribute noise (e.g., random rotations). Furthermore, while RAISE is semi-supervised, it still relies on some rule annotations to prevent latent space collapse. Future research will focus on moving toward purely unsupervised rule discovery and scaling the framework to handle more complex, real-world visual reasoning tasks beyond geometric shapes.
Summary updated