mlsanityData to 7 Oct 2026

A Hybrid System for Systematic Generalization in Simple Arithmetic Problems

arXiv 2306.17249 ↗First posted 29 Jun 2023cs.NE cs.AIcited by 1

On the map: LLM reasoning → Mathematical reasoning

Abstract (arXiv)

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 state-of-the-art large language model.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 16 of its 20 references that are in the map. First posted on arXiv 29 Jun 2023.

Builds on

16 of 20 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Can neural networks do arithmetic? A survey on the elementary numerical skills of state-of-the-art deep learning models14 Mar

Other references · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2018Self-Attention with Relative Position Representationscited by 1,112
  5. 2018Universal Transformerscited by 613
  6. 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 389
  7. 2019Compositionality decomposed: how do neural networks generalise?cited by 264
  8. 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
  9. 2018Neural Arithmetic Logic Unitscited by 69
  10. 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
  11. 2020Abductive Knowledge Induction From Raw Datacited by 38
  12. 2022Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Taskscited by 29
3 more
  1. 2022Systematic Generalization and Emergent Structures in Transformers Trained on Structured Taskscited by 19
  2. 2021Iterative Decoding for Compositional Generalization in Transformerscited by 6
  3. 2022Recursive Decoding: A Situated Cognition Approach to Compositional Generation in Grounded Language Understandingcited by 3

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2023Frugal LMs Trained to Invoke Symbolic Solvers Achieve Parameter-Efficient Arithmetic Reasoning
  2. 2023Do Deep Neural Networks Capture Compositionality in Arithmetic Reasoning?
  3. 2022Neural-Symbolic Recursive Machine for Systematic Generalization
  4. 2022Limitations of Language Models in Arithmetic and Symbolic Induction
  5. 2022Transformers discover an elementary calculation system exploiting local attention and grid-like problem representation
  6. 2023A Symbolic Framework for Evaluating Mathematical Reasoning and Generalisation with Transformers
  7. 2025Primender Sequence: A Novel Mathematical Construct for Testing Symbolic Inference and AI Reasoning
  8. 2024Unraveling Arithmetic in Large Language Models: The Role of Algebraic Structures