mlsanityData to 14 Oct 2026

Discovering Hidden Algebraic Structures via Transformers with Rank-Aware Beam GRPO

arXiv 2508.15766 ↗First posted 21 Aug 2025cs.LG cs.AIcited by 1

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

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models5 Feb
  2. 2020Generative Language Modeling for Automated Theorem Proving7 Sep

Other references · 14

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2017Proximal Policy Optimization Algorithmscited by 15,215
  4. 2020Scaling Laws for Neural Language Modelscited by 6,586
  5. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  6. 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,345
  7. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  8. 2022In-context Learning and Induction Headscited by 964
  9. 2015Sequence Level Training with Recurrent Neural Networkscited by 576
  10. 2019Deep Learning for Symbolic Mathematicscited by 270
  11. 2017Beam Search Strategies for Neural Machine Translationcited by 232
  12. 2021A Neural Network Solves, Explains, and Generates University Math Problems by Program Synthesis and Few-Shot Learning at Human Levelcited by 96
2 more
  1. 2018When to Finish? Optimal Beam Search for Neural Text Generation (modulo beam size)cited by 10
  2. 2022IK-Geo: Unified Robot Inverse Kinematics Using Subproblem Decompositioncited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Learning to Coordinate Symbolic Tools: LLM Agents for Verified Sum-of-Squares Certificates
  2. 2026FactorLibrary: From Polynomials to Circuits via Recursive Subgoals
  3. 2026Learning Fast Monomial Orders for Gr"obner Basis Computations
  4. 2026Reinforcement Learning for Symbolic Equation Solving
  5. 2026Breaking the Data Barrier in Learning Symbolic Computation: A Case Study on Variable Ordering Suggestion for Cylindrical Algebraic Decomposition
  6. 2026LieDiscover: Adaptive Symbolic Library Construction for Explicit Open-form Symmetry Discovery
  7. 2025Automated Proof of Polynomial Inequalities via Reinforcement Learning
  8. 2025Why Neural Network Can Discover Symbolic Structures with Gradient-based Training: An Algebraic and Geometric Foundation for Neurosymbolic Reasoning