Analyzing the Nuances of Transformers' Polynomial Simplification Abilities
Not on the map. Why?
Abstract (arXiv)
Symbolic Mathematical tasks such as integration often require multiple well-defined steps and understanding of sub-tasks to reach a solution. To understand Transformers' abilities in such tasks in a fine-grained manner, we deviate from traditional end-to-end settings, and explore a step-wise polynomial simplification task. Polynomials can be written in a simple normal form as a sum of monomials which are ordered in a lexicographic order. For a polynomial which is not necessarily in this normal form, a sequence of simplification steps is applied to reach the fully simplified (i.e., in the normal form) polynomial. We propose a synthetic Polynomial dataset generation algorithm that generates polynomials with unique proof steps. Through varying coefficient configurations, input representation, proof granularity, and extensive hyper-parameter tuning, we observe that Transformers consistently struggle with numeric multiplication. We explore two ways to mitigate this: Curriculum Learning and a Symbolic Calculator approach (where the numeric operations are offloaded to a calculator). Both approaches provide significant gains over the vanilla Transformers-based baseline.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 7 of its 12 references that are in the map. First posted on arXiv 29 Apr 2021.
Builds on
7 of 12 references.
References · 7
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Deep Learning for Symbolic Mathematicscited by 266
- 2017Automated Curriculum Learning for Neural Networkscited by 251
- 2017Teacher-Student Curriculum Learningcited by 197
- 2019Can Neural Networks Learn Symbolic Rewriting?cited by 12
- 2020Mastering Rate based Curriculum Learningcited by 9
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 1; 2024: 3; 2025: 1.
9 papers.
- 2022Unveiling Transformers with LEGO: a synthetic reasoning taskcited by 105
- 2022Towards Learning Universal Hyperparameter Optimizers with Transformerscited by 81
- 2021Symbolic Brittleness in Sequence Models: on Systematic Generalization in Symbolic Mathematicscited by 27
- 2024Large Language Model-Based Evolutionary Optimizer: Reasoning with elitismcited by 27
- 2023Learning to Compute Gr"obner Basescited by 7
- 2024Making Hard Problems Easier with Custom Data Distributions and Loss Regularization: A Case Study in Modular Arithmeticcited by 4
- 2024A Neural Rewriting System to Solve Algorithmic Problemscited by 2
- 2022Generating Intermediate Steps for NLI with Next-Step Supervisioncited by 0
- 2025Learning neuro-symbolic convergent term rewriting systemscited by 0
- 2025Learning neuro-symbolic convergent term rewriting systems25 Jul 2025
- 2024Making Hard Problems Easier with Custom Data Distributions and Loss Regularization: A Case Study in Modular Arithmetic4 Oct 2024
- 2024Large Language Model-Based Evolutionary Optimizer: Reasoning with elitism4 Mar 2024
- 2024A Neural Rewriting System to Solve Algorithmic Problems27 Feb 2024
- 2023Learning to Compute Gr"obner Bases21 Nov 2023
- 2022Generating Intermediate Steps for NLI with Next-Step Supervision31 Aug 2022
- 2022Unveiling Transformers with LEGO: a synthetic reasoning task9 Jun 2022
- 2022Towards Learning Universal Hyperparameter Optimizers with Transformers26 May 2022
- 2021Symbolic Brittleness in Sequence Models: on Systematic Generalization in Symbolic Mathematics28 Sep 2021