Scale-Localized Abstract Reasoning

Yaniv Benny, Niv Pekar, Lior Wolf

Abstract

We consider the abstract relational reasoning task, which is commonly used as an intelligence test. Since some patterns have spatial rationales, while others are only semantic, we propose a multi-scale architecture that processes each query in multiple resolutions. We show that indeed different rules are solved by different resolutions and a combined multi-scale approach outperforms the existing state of the art in this task on all benchmarks by 5-54%. The success of our method is shown to arise from multiple novelties. First, it searches for relational patterns in multiple resolutions, which allows it to readily detect visual relations, such as location, in higher resolution, while allowing the lower resolution module to focus on semantic relations, such as shape type. Second, we optimize the reasoning network of each resolution proportionally to its performance, hereby we motivate each resolution to specialize on the rules for which it performs better than the others and ignore cases that are already solved by the other resolutions. Third, we propose a new way to pool information along the rows and the columns of the illustration-grid of the query. Our work also analyses the existing benchmarks, demonstrating that the RAVEN dataset selects the negative examples in a way that is easily exploited. We, therefore, propose a modified version of the RAVEN dataset, named RAVEN-FAIR. Our code and pretrained models are available at https://github.com/yanivbenny/MRNet.

Introduction

Raven’s Progressive Matrices (RPM) are a hallmark of human intelligence testing, requiring subjects to identify complex patterns within a 3x3 grid of images. While deep learning models have attempted this task, they often fall into two traps: exploiting statistical biases in datasets to "cheat" without true reasoning, and failing to account for the multi-scale nature of visual rules. Some rules, like shape position, are inherently spatial and require high resolution, while others, like shape type or color, are semantic and better captured at lower resolutions.

The MRNet Architecture

To address these challenges, we introduce the Multi-scale Relation Network (MRNet). This architecture processes the input grid at three distinct resolutions simultaneously: High (20x20), Medium (5x5), and Low (1x1).

The MRNet architecture, showing the multi-scale encoder (E), DIST3 pooling, and the multi-head attentive loss mechanism.

Beyond the multi-scale encoder, MRNet incorporates two key innovations:

  1. DIST3 Pooling: Instead of standard sum pooling, we use a squared-difference operator. This forces the network to explicitly model the similarities and differences between grid elements, which is fundamental to relational reasoning.
  2. Multi-Head Attentive Loss ($L_3$): We optimize each resolution's reasoning head proportionally to its performance. This encourages a "mixture of experts" effect, where each scale specializes in the rules it is best equipped to solve.

Dataset Integrity and RAVEN-FAIR

A significant contribution of this work is the critique of the popular RAVEN dataset. We demonstrate that models can achieve high accuracy on RAVEN by looking only at the answer choices, ignoring the puzzle context entirely. To rectify this, we propose RAVEN-FAIR, a modified version where negative choices are generated via a graph-based process to eliminate statistical bias. We also advocate for the Single Choice (SC) protocol, evaluating each answer choice independently to prevent models from using comparative heuristics.

Results and Scale Specialization

MRNet achieves state-of-the-art performance across major benchmarks. On the PGM dataset, it reached 93.4% accuracy, a 27% improvement over previous SC baselines. On RAVEN-FAIR, it achieved 86.8%, significantly outperforming standard ResNet and WReN models.

Radar charts demonstrating scale specialization: different resolutions (a, b, c) excel at different rule types, such as spatial position versus semantic shape type.

Our analysis confirms that scale specialization is key to this success. As shown in the radar charts, high-resolution modules excel at spatial rules (e.g., "S-pos"), while lower resolutions are more effective for semantic rules (e.g., "S-type" or "S-color") where fine-grained spatial detail is a distraction.

Conclusion

By processing abstract reasoning queries across multiple resolutions, MRNet more closely mimics the human ability to switch between global semantic understanding and local spatial analysis. While "extrapolation" to entirely unseen logic types remains a challenge, the multi-scale approach provides a robust foundation for more general relational reasoning. Future work will explore applying these principles to other domains like visual question answering and causal analysis.

Summary updated

BibTeX
@inproceedings{benny2021scale,
  author = {Yaniv Benny and Niv Pekar and Lior Wolf},
  title = {{Scale-Localized Abstract Reasoning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=mHA6nDQEeyZ},
}
Figure