The paper shows that a small transformer can learn to execute programs written in MicroPy, a simplified yet computationally universal language. By training on randomly generated MicroPy programs, the model learns to predict small‑step execution using PENCIL scaffolding, enabling efficient evaluation within a bounded context window. The transformer generalizes to unseen human‑written programs—including tasks such as bit copying, binary arithmetic, and SAT solving—and even to programs from a different distribution, demonstrating out‑of‑distribution performance.
By Ruize Xu, Chenxiao Yang, Yanhong Li, David McAllester
arXiv:2603. 19954v2 Announce Type: replace Abstract: Transformers have shown inconsistent success in AI planning tasks, and theoretical understanding of when generalization should be expected has been limited.
By Yash Sarrof, Yupei Du, Katharina Stein, Alexander Koller, Sylvie Thi\'ebaux, Michael Hahn
arXiv:2609.08851v1 Announce Type: new
Abstract: Recent advancements in transformer length generalization theory enable us to reliably predict when a transformer can learn to solve a task. In particul...
By Georg Zetzsche, Hongjian Jiang, Andy Yang, Pascal Bergstr\"a{\ss}er, Marco S\"alzer, David Chiang, Anthony W. Lin
arXiv:2511. 13663v2 Announce Type: replace-cross Abstract: How to construct globally sound abstract interpreters to safely approximate program behaviors remains a bottleneck in abstract interpretation.
By Qiuhan Gu, Avaljot Singh, Gagandeep Singh
arXiv:2610.19238v1 Announce Type: new
Abstract: When writing code, the same computation can be expressed in different programming languages and through different implementation strategies. We show th...
By Casper L. Christensen, Kyle J. Ray, Dmitry Manning-Coe, Adam Shai, Paul Riechers
arXiv:2603. 02238v2 Announce Type: replace Abstract: Length generalization is a key property of a learning algorithm that enables it to make correct predictions on inputs of any length, given finite training data.
By Andy Yang, Pascal Bergstr\"a{\ss}er, Georg Zetzsche, David Chiang, Anthony W. Lin
The paper introduces a method for synthesizing programs from execution traces by treating traces as high‑dimensional rough paths and encoding them with the path signature transform. Experiments on Karel, List, and RASP domains show that the log‑signature encoder outperforms LSTM, Transformer, and Fourier baselines, especially with limited training data, and often produces shorter, valid programs. The approach also reveals redundancy in supervision and yields a more interpretable latent geometry where nearest neighbors lie on the same execution trace.
By Mohamed Ghanem, Bernd Finkbeiner
The paper investigates Transformer Programs (TP), a constrained Transformer architecture that outputs readable Python code. It shows that token‑level accuracy can mask incorrect full‑sequence outputs, and that inspecting the generated programs reveals failures missed by standard tests. By using program inspection to guide data augmentation, the authors achieved higher sequence accuracy on several algorithmic tasks, demonstrating the value of program‑level analysis for training TP models.
By Jonathan Lee, Narmeen Oozeer, Philip Quirke
arXiv:2505. 03818v3 Announce Type: replace-cross Abstract: Large Language Models (LLMs) can achieve strong performance on everyday coding tasks, but they can fail on complex tasks that require non-trivial reasoning about program semantics.
By Antonio Valerio Miceli-Barone, Vaishak Belle, Ali Payani
arXiv:2607. 17624v1 Announce Type: new Abstract: Transformers are remarkably versatile and their design is largely consistent across a variety of applications.
By Damien Teney, Liangze Jiang, Hemanth Saratchandran, Simon Lucey
When writing code, the same computation can be expressed in different programming languages and through different implementation strategies. We show that the activations of LLMs capture this shared st...
arXiv:2607. 11760v1 Announce Type: new Abstract: A theoretical understanding of Transformers is crucial to better understand the capacities and limitations of large language models (LLMs).
By Michael Rizvi-Martel, Satwik Bhattamishra, Guillaume Rabusseau, Michael Hahn