A Small-Scale System for Autoregressive Program Synthesis Enabling Controlled Experimentation
Not on the map. Why?
Abstract (arXiv)
What research can be pursued with small models trained to complete true programs? Typically, researchers study program synthesis via large language models (LLMs) which introduce issues such as knowing what is in or out of distribution, understanding fine-tuning effects, understanding the effects of tokenization, and higher demand on compute and storage to carry out experiments. We present a system called Cadmus which includes an integer virtual machine (VM), a dataset composed of true programs of diverse tasks, and an autoregressive transformer model that is trained for under 200 of compute cost. The system can be used to study program completion, out-of-distribution representations, inductive reasoning, and instruction following in a setting where researchers have effective and affordable fine-grained control of the training distribution and the ability to inspect and instrument models. Smaller models working on complex reasoning tasks enable instrumentation and investigations that may be prohibitively expensive on larger models. To demonstrate that these tasks are complex enough to be of interest, we show that these Cadmus models outperform GPT-5 (by achieving 100% accuracy while GPT-5 has 95% accuracy) even on a simple task of completing correct, integer arithmetic programs in our domain-specific language (DSL) while providing transparency into the dataset's relationship to the problem. We also show that GPT-5 brings unknown priors into its reasoning process when solving the same tasks, demonstrating a confounding factor that prevents the use of large-scale LLMs for some investigations where the training set relationship to the task needs to be fully understood.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 16 references that are in the map. First posted on arXiv 9 Feb 2026.
Builds on
12 of 16 references.
References · 12
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
- 2023Looped Transformers as Programmable Computerscited by 224
- 2015Neural GPUs Learn Algorithmscited by 118
- 2014Learning to Executecited by 105
- 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 99
- 2018Neural Arithmetic Logic Unitscited by 69
- 2019Learning to Infer Program Sketchescited by 44
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesiscited by 17
- 2024Algorithmic Capabilities of Random Transformerscited by 17
- 2023Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learningcited by 12
- 2025Beyond Either-Or Reasoning: Transduction and Induction as Cooperative Problem-Solving Paradigmscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Program Synthesis via Test-Time Transduction
- 2025Compositional Machine Design as Program Synthesis with LLMs
- 2024VerMCTS: Synthesizing Multi-Step Programs using a Verifier, a Large Language Model, and Tree Search
- 2025Once Upon an Input: Reasoning via Per-Instance Program Synthesis
- 2026Beyond the Autoregressive Horizon: A Comprehensive Survey of Diffusion Models, World Modelling, and State Space Models for Code
- 2025OR-Toolformer: Modeling and Solving Operations Research Problems with Tool Augmented Large Language Models
- 2026Probabilistic Programs of Thought
- 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving