FactorLibrary: From Polynomials to Circuits via Recursive Subgoals

📅 2026-06-24
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the fundamental problem in algebraic complexity theory of finding minimal arithmetic circuits for polynomials over finite fields. The authors formulate this task as a reinforcement learning problem and introduce a FactorLibrary mechanism that stores and reuses factorizable subexpressions as recursive subgoals, effectively mitigating search space explosion and enhancing generalization. By integrating bottom-up and top-down strategies, they optimize the approach using variants of Gumbel-PPO-MCTS, PPO+MCTS, and SAC algorithms. Among these, the top-down PPO+MCTS agent achieves the best performance, successfully synthesizing verified optimal circuits with a success rate of 91.8% on polynomials of complexity at most eight.
📝 Abstract
Finding minimal arithmetic circuits for polynomials over finite fields is a combinatorially hard problem central to algebraic complexity theory. We formulate it as a reinforcement learning problem in two directions, bottom-up and top-down. To address the challenge of a fast-growing combinatorial search space, we introduce FactorLibrary, which stores factorizable subexpressions that serve as reusable subgoals across training episodes. We trained a bottom-up agent with Gumbel-PPO-MCTS and two top-down agents with PPO+MCTS and SAC. The PPO+MCTS top-down agent exhibited the most stable performance, finding certified optimal circuits up to complexity $8$ with a success rate of $91.8\%$.
Problem

Research questions and friction points this paper is trying to address.

arithmetic circuits
polynomials
finite fields
algebraic complexity
combinatorial optimization
Innovation

Methods, ideas, or system contributions that make the work stand out.

FactorLibrary
arithmetic circuits
reinforcement learning
subgoal reuse
polynomial factorization
Rohan Pandey
Rohan Pandey
Student, University of Washington
Applied MathematicsNumber TheoryMachine Learning
M
Michael Ruofan Zeng
University of Washington, Seattle, WA, USA
W
Weikun K. Zhang
University of Washington, Seattle, WA, USA
K
Kaijie Jin
University of Washington, Seattle, WA, USA
N
Naomi Morato
University of Washington, Seattle, WA, USA
A
Archit Ganapule
University of Washington, Seattle, WA, USA
B
Bhaumik Mehta
University of Washington, Seattle, WA, USA
Jarod Alper
Jarod Alper
Senior Lecturer of Mathematics, Australian National University
Algebraic Geometry