A Hybrid System for Systematic Generalization in Simple Arithmetic Problems
Flavio Petruzzellis, Alberto Testolin, Alessandro Sperduti

TL;DR
This paper introduces a hybrid system that learns substitution rules to solve complex arithmetic problems requiring compositional reasoning, significantly outperforming traditional neural models and large language models on nested expressions.
Contribution
The work presents a novel hybrid approach that combines rule learning with iterative application for systematic generalization in arithmetic reasoning tasks.
Findings
Accurately solves nested arithmetic expressions out-of-distribution.
Outperforms sequence-to-sequence models trained end-to-end.
Outperforms large language models on the same tasks.
Abstract
Solving symbolic reasoning problems that require compositionality and systematicity is considered one of the key ingredients of human intelligence. However, symbolic reasoning is still a great challenge for deep learning models, which often cannot generalize the reasoning pattern to out-of-distribution test cases. In this work, we propose a hybrid system capable of solving arithmetic problems that require compositional and systematic reasoning over sequences of symbols. The model acquires such a skill by learning appropriate substitution rules, which are applied iteratively to the input string until the expression is completely resolved. We show that the proposed system can accurately solve nested arithmetical expressions even when trained only on a subset including the simplest cases, significantly outperforming both a sequence-to-sequence model trained end-to-end and a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling
