RuleMatch: Matching Abstract Rules for Semi-supervised Learning of Human Standard Intelligence Tests

Yunlong Xu, Lingxiao Yang, Hongzhi You, Zonglei Zhen, Da-Hui Wang, Xiaohong Wan, Xiaohua Xie, Ru-Yuan Zhang

Abstract

Abstract Visual Reasoning (AVR) is a hallmark of human intelligence, yet modern deep learning models often require massive labeled datasets to master it. This paper introduces RuleMatch, a semi-supervised learning (SSL) framework designed for Raven’s Progressive Matrices (RPMs). By employing "RuleAug"—a novel augmentation technique that disrupts logical rules rather than pixels—and a rule consistency loss, RuleMatch significantly outperforms standard SSL methods. It achieves high accuracy with as little as 10% of labeled data, bridging the gap between data-intensive machine learning and efficient human reasoning.

The Challenge of Abstract Reasoning

Standard deep neural networks (DNNs) excel at object recognition but struggle with the abstract relationships found in IQ tests like Raven’s Progressive Matrices. While humans can infer a rule from a few examples, models typically need tens of thousands.

Existing SSL techniques like FixMatch rely on pixel-level augmentations (e.g., flipping, cropping). However, in the domain of abstract reasoning, visual similarity does not imply logical similarity. Two puzzles might look nearly identical but follow different rules, or look entirely different while sharing the same underlying logic. Standard methods fail because they prioritize visual features over these abstract relationships.

Comparison of visual similarity vs. logical rules in RPM puzzles.

Methodology: RuleMatch

RuleMatch addresses these limitations by shifting the focus from pixels to relationships. It introduces two core components:

Rule-level Augmentation (RuleAug)

Instead of distorting the image data, RuleAug disrupts the structure of the puzzle. This forces the model to reconstruct the missing logic. The strategies include:

  • MaskObj: Randomly masking a portion of a panel to disrupt object attributes.
  • MaskPanel: Completely hiding one of the eight context panels.
  • MaskRow: Hiding an entire row of the matrix.
Example of MaskPanel augmentation where one context panel is hidden to force rule-based inference.

Rule Consistency Loss

Unlike standard SSL that uses confidence thresholds, RuleMatch employs a consistency check. The model processes two differently augmented versions of the same unlabeled puzzle. If the model's predictions for both "broken" versions agree, that prediction is used as a pseudo-label. This ensures the model is learning robust logical features rather than superficial patterns.

Evaluation and Results

The framework was evaluated on the I-RAVEN and RAVEN-FAIR benchmarks, which are designed to eliminate visual shortcuts and test true reasoning. RuleMatch demonstrated significant improvements over both purely supervised baselines and standard SSL methods (like MeanTeacher and FixMatch):

  • Data Efficiency: On I-RAVEN with only 5,000 labeled samples (~11.9% of the set), RuleMatch boosted the RelBase model's accuracy from 70.05% to 88.14%.
  • Superiority over FixMatch: On RAVEN-FAIR with 3,000 labels, RuleMatch reached 86.43% accuracy, outperforming FixMatch’s 83.45%.

Conclusion

RuleMatch represents a significant step toward more human-like machine reasoning. By prioritizing logical consistency over visual fidelity, it enables models to learn complex abstract rules from sparse data. Future work will focus on reducing the "cold start" gap and incorporating symbolic priors to further approach human-level few-shot learning capabilities.

Summary updated

BibTeX
@inproceedings{xu2023rulematch,
  author = {Yunlong Xu and Lingxiao Yang and Hongzhi You and Zonglei Zhen and Da-Hui Wang and Xiaohong Wan and Xiaohua Xie and Ru-Yuan Zhang},
  title = {{RuleMatch: Matching Abstract Rules for Semi-supervised Learning of Human Standard Intelligence Tests}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/179},
}
Figure