Skip to content
AI News HubLIVE
Original source3 min read

ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis

Summary

ReaComp compiles a small set of LLM reasoning traces into reusable symbolic program synthesizers using coding agents. These solvers require no LLM calls at test time, achieving 91.3% on PBEBench-Lite and 84.7% on PBEBench-Hard, outperforming LLMs with test-time scaling by 16.3 points with zero inference cost. They also complement LLM search, improving PBEBench-Hard accuracy from 68.4% to 85.8% while reducing token usage by 78%, and transfer zero-shot to historical linguistics tasks with 80.1% accuracy.

SourcearXiv Computational LinguisticsAuthor: Atharva Naik, Yash Mathur, Prakam, Carolyn Rose, David Mortensen
ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[2605.05485] ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis

Skip to main content

Learn about arXiv becoming an independent nonprofit.

We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate

> cs > arXiv:2605.05485

Help | Advanced Search

All fields Title Author Abstract Comments Journal reference ACM classification MSC classification Report number arXiv identifier DOI ORCID arXiv author ID Help pages Full text

Search

GO

quick links

Login

Help Pages

About

-->

Computer Science > Computation and Language

arXiv:2605.05485 (cs)

[Submitted on 6 May 2026]

Title:ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis

Authors:Atharva Naik, Yash Mathur, Prakam, Carolyn Rose, David Mortensen

View a PDF of the paper titled ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis, by Atharva Naik and 4 other authors

View PDF HTML (experimental)

Abstract:LLMs can solve program synthesis tasks but remain inefficient and unreliable on hard instances requiring large combinatorial search. Given a small set of reasoning traces, we use coding agents to compile them into reusable symbolic program synthesizers over constrained DSLs. The resulting solvers require no LLM calls at test time and are strong standalone systems: symbolic solver ensembles reach 91.3% accuracy on PBEBench-Lite and 84.7% on PBEBench-Hard, outperforming LLMs with test-time scaling for the latter by +16.3 percentage points at zero LLM inference cost. They also complement LLM search, improving PBEBench-Hard accuracy from 68.4% to 85.8% while reducing reported token usage by 78%, and raising SLR-Bench hard-tier accuracy from 34.4% to 58.0% in a neuro-symbolic hybrid setting. Compared to directly using coding agents as per-instance solvers, induced solvers are substantially more Pareto-efficient, amortizing a small one-time construction cost over many zero-token executions. Finally, most solvers transfer zero-shot to a real historical linguistics task - predicting sound changes in natural language data - reaching 80.1% accuracy under ensembling and recovering some plausible linguistic rules. Together, these results show that reasoning traces can be compiled into reusable symbolic solvers that solve many tasks directly, complement LLM inference on hard cases, and provide a scalable route to domain-general solver induction. We release code and data for reproducibility.

Subjects:

Computation and Language (cs.CL); Artificial Intelligence (cs.AI)

Cite as: arXiv:2605.05485 [cs.CL]

(or arXiv:2605.05485v1 [cs.CL] for this version)

https://doi.org/10.48550/arXiv.2605.05485

Focus to learn more

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Atharva Naik [view email] [v1] Wed, 6 May 2026 22:08:17 UTC (4,210 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis, by Atharva Naik and 4 other authors

View PDF

HTML (experimental)

TeX Source

view license

Current browse context:

cs.CL

new | recent | 2026-05

Change to browse by:

cs cs.AI

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

export BibTeX citation Loading...

BibTeX formatted citation

×

loading...

Data provided by:

Bookmark

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

About

Help

contact arXivClick here to contact arXiv Contact

subscribe to arXiv mailingsClick here to subscribe Subscribe

Copyright

Privacy Policy

Web Accessibility Assistance

arXiv Operational Status

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • Compiles LLM reasoning traces into symbolic solvers with no test-time LLM calls.
  • Achieves 84.7% on PBEBench-Hard, +16.3% over LLMs with test-time scaling at zero cost.
  • Combines with LLM search to boost PBEBench-Hard accuracy from 68.4% to 85.8%, reducing tokens by 78%.
  • Transfers zero-shot to historical linguistics, reaching 80.1% accuracy.

Highlights and analysis are generated automatically and may contain errors. Check the original source.