ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis
Atharva Naik, Yash Mathur, Prakam, Carolyn Rose, David Mortensen

TL;DR
ReaComp introduces a method to compile LLM reasoning traces into symbolic solvers, enabling efficient, accurate, and scalable program synthesis without ongoing LLM calls, and demonstrating broad applicability including linguistics.
Contribution
The paper presents a novel approach to convert LLM reasoning traces into reusable symbolic solvers, significantly improving efficiency and accuracy in program synthesis tasks.
Findings
Symbolic solvers reach over 91% accuracy on benchmark tasks.
Induced solvers outperform direct coding agent use in efficiency.
Solvers transfer zero-shot to linguistic tasks with 80% accuracy.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
