Saved in:
Bibliographic Details
Main Authors: Lee, Jaeha, Huh, Gio, Su, Ning, YU, Tony Yue
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.15766
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915455784976384
author Lee, Jaeha
Huh, Gio
Su, Ning
YU, Tony Yue
author_facet Lee, Jaeha
Huh, Gio
Su, Ning
YU, Tony Yue
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2508_15766
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Discovering Hidden Algebraic Structures via Transformers with Rank-Aware Beam GRPO
Lee, Jaeha
Huh, Gio
Su, Ning
YU, Tony Yue
Machine Learning
Artificial Intelligence
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.
title Discovering Hidden Algebraic Structures via Transformers with Rank-Aware Beam GRPO
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2508.15766