Discovering Hidden Algebraic Structures via Transformers with Rank-Aware Beam GRPO
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Recent efforts have extended the capabilities of transformers in logical reasoning and symbolic computations. In this work, we investigate their capacity for non-linear latent pattern discovery in the context of functional decomposition, focusing on the challenging algebraic task of multivariate polynomial decomposition. This problem, with widespread applications in science and engineering, is proved to be NP-hard, and demands both precision and insight. Our contributions are threefold: First, we develop a synthetic data generation pipeline providing fine-grained control over problem complexity. Second, we train transformer models via supervised learning and evaluate them across four key dimensions involving scaling behavior and generalizability. Third, we propose Beam Grouped Relative Policy Optimization (BGRPO), a rank-aware reinforcement learning method suitable for hard algebraic problems. Finetuning with BGRPO improves accuracy while reducing beam width by up to half, resulting in approximately 75% lower inference compute. Additionally, our model demonstrates competitive performance in polynomial simplification, outperforming Mathematica in various cases.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 16 of its 38 references that are in the map. First posted on arXiv 21 Aug 2025.
Builds on
16 of 38 references.
Closest ancestors · 2
Same direction, newest first
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models5 Feb
- 2020Generative Language Modeling for Automated Theorem Proving7 Sep
Other references · 14
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,345
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2022In-context Learning and Induction Headscited by 964
- 2015Sequence Level Training with Recurrent Neural Networkscited by 576
- 2019Deep Learning for Symbolic Mathematicscited by 270
- 2017Beam Search Strategies for Neural Machine Translationcited by 232
- 2021A Neural Network Solves, Explains, and Generates University Math Problems by Program Synthesis and Few-Shot Learning at Human Levelcited by 96
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Learning to Coordinate Symbolic Tools: LLM Agents for Verified Sum-of-Squares Certificates
- 2026FactorLibrary: From Polynomials to Circuits via Recursive Subgoals
- 2026Learning Fast Monomial Orders for Gr"obner Basis Computations
- 2026Reinforcement Learning for Symbolic Equation Solving
- 2026Breaking the Data Barrier in Learning Symbolic Computation: A Case Study on Variable Ordering Suggestion for Cylindrical Algebraic Decomposition
- 2026LieDiscover: Adaptive Symbolic Library Construction for Explicit Open-form Symmetry Discovery
- 2025Automated Proof of Polynomial Inequalities via Reinforcement Learning
- 2025Why Neural Network Can Discover Symbolic Structures with Gradient-based Training: An Algebraic and Geometric Foundation for Neurosymbolic Reasoning