← All papers  /  Nov 11, 2026
Agents

Agentic Computational Algebra

First page
Agentic Computational Algebra
The curator’s take

Ryan Anderson, Matthew Trager, Stefano Soatto and colleagues at AWS propose computational algebra as a test of whether agents can find and reuse structure that makes polynomial systems faster to solve.

Ask this paper

Key points
01

Why algebra. General solvers are always correct but can be slow, while structure-aware reformulations are much faster. The domain gives unlimited verifiable problems with controllable structure and difficulty.

02

Independent instances. The agent solves every system that direct msolve completes plus 43 systems on which msolve times out. Among the 60 systems both complete, the agent is faster on only 12, because reasoning overhead outweighs the savings.

03

Memory streams. On streams of related quintic systems, persistent memory lowers cumulative cost, but agents settle on partial reductions and replay them, staying slower than the structural oracle.

04

Compilation. Agents that compile a reusable solver for a known family beat a baseline that already has the full reformulation, at a large upfront cost that pays back only with enough reuse.

Abstract

We explore the use of AI agents for solving computational problems in algebra. For the problems we consider, the main challenge is not correctness but \emph{time}: general-purpose algorithms are guaranteed to provide correct solutions but can be prohibitively slow, while reformulations that exploit special structure often allow solving a problem much faster. We propose to use this setting to evaluate how effectively agents discover and exploit structure within and across tasks to reduce computational costs. More broadly, computational algebra supplies infinitely many problems with independently verifiable answers and systematically controllable structure and difficulty. To illustrate these possibilities, we use benchmark families of systems with controlled shared structure and evaluate agents in three settings: solving independent instances, solving online streams of related instances using persistent memory, and compiling a fast reusable solver for a known problem family. Our experiments show that (i) agents can extend the range of systems solvable within a fixed budget, although reasoning overhead can sometimes outweigh computational savings; (ii) memory can reduce the cost of repeated solving but may preserve suboptimal strategies; (iii) compilation produces faster reusable solvers but at substantial upfront cost. Overall, computational algebra offers concrete, measurable targets for improving how agents discover and reuse structure.

Every Monday
Get next week’s papers.
Subscribe on Substack