Introduction
Abstract Visual Reasoning (AVR) represents a cornerstone of fluid intelligence, requiring the ability to deduce underlying rules from visual patterns and apply them to novel contexts. While deep learning has achieved significant success in specific AVR benchmarks, most existing models are "one-trick ponies"—task-specific solvers designed for a single puzzle format, such as Raven's Progressive Matrices. This paper introduces the Unified Conditional Generative Solver (UCGS), a framework that moves beyond task-specific architectures by treating diverse reasoning problems as a single conditional generation task.
What Problem Does This Paper Address?
Traditional AVR solvers are often constrained by their architecture to specific grid or sequence structures. A model trained for a 3x3 matrix cannot easily adapt to an "Odd-One-Out" puzzle or a visual analogy without significant redesign or retraining. This lack of flexibility is a major hurdle toward achieving human-like general intelligence.
As shown in the figure above, AVR tasks can take many forms, including (a) Raven's Progressive Matrices (RPM), (b) Visual Analogy Problems (VAP), (c) Odd-One-Out (O3), and (d) Synthetic Visual Reasoning Tasks (SVRT). The authors propose a unified approach that uses a single generative engine to solve all these formats by estimating the predictability of a target image given its context.
Methodology: The UCGS-T Framework
The authors developed UCGS-T, a Transformer-based architecture that reformulates reasoning as a "fill-in-the-blank" generative problem. The framework consists of five key modules:
- Image Encoder/Decoder: Utilizing a VQ-VAE-style approach, raw images are mapped into discrete patch representations (quantized codes), simplifying the reasoning space from pixels to abstract tokens.
- Patch Encoder: A Transformer decoder extracts image-level "visual concepts" (e.g., shape, color, count) into dedicated slots.
- Concept Encoder: Serving as the core "reasoning engine," this module aggregates visual concepts from all context images to infer the global abstract rule.
- Patch Decoder: This module takes the inferred rule and autoregressively predicts the patches for the missing or target image.
- Task-Specific Judgment Functions: Simple, training-free mathematical functions map the model's predictability scores to specific task requirements, such as selecting the best candidate in a multiple-choice test.
Datasets and Benchmarks
The model was trained on standard 3x3 matrix puzzles like RAVEN and PGM. To test its ability to generalize, the authors evaluated it on unseen task formats (Zero-Shot) and created new benchmarks:
- In-Distribution (ID) Training: RAVEN and PGM.
- Zero-Shot Evaluation: G1-set (Odd-one-out), VAP (Analogy), and SVRT (Spatial relationships).
- New Benchmarks (O3-ID, VAP-ID, SVRT-ID): These use the visual logic of RAVEN but rearranged into new puzzle formats to test structural generalization.
Key Results and Insights
- Superior Generative Performance: UCGS-T achieved 64.6% accuracy on RAVEN and 38.1% on PGM, significantly outperforming previous generative baselines like Attentive Neural Processes (ANP).
- Zero-Shot Task Generalization: The model demonstrated a remarkable ability to solve entirely new puzzle formats. For instance, on the SVRT-ID task, it achieved 84.6% accuracy without ever seeing that specific task structure during training.
- Outperforming Large Language Models: In direct comparisons on in-distribution tasks, UCGS-T (60.9%) significantly outperformed GPT-4o (12.6%), which struggled with the complex compositional logic inherent in these visual puzzles.
- Reasoning as Generation: By learning what a valid answer should look like rather than just picking from a list, the model develops a more robust understanding of abstract rules.
Limitations and Future Work
Despite its success as a unified framework, UCGS-T still trails behind state-of-the-art selective solvers—models engineered specifically to pick answers from a provided list. Additionally, the current study focuses on synthetic geometric shapes; extending this to real-world visual reasoning will require more sophisticated image tokenizers capable of handling complex, noisy environments. Future research will aim to bridge the performance gap with selective solvers while maintaining the flexibility of the generative approach.
Summary updated