NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Miltiadis Allamanis

Miltiadis Allamanis

Google (United States) · Apple (United States)
4 previous affiliations
67Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Miltiadis Allamanis focuses on machine learning for source code, learned program analyses, and code generation. His early research established foundational probabilistic models for large-scale software repositories and bimodal representations of code and natural language. Currently, he investigates how large language models can reason about program execution and verify code semantics.

Research Trajectory

The trajectory of Miltiadis Allamanis's research reflects a progression from treating source code as flat text to modeling its complex, graph-like semantics, and most recently, to enabling large language models to reason about dynamic execution.

In the early 2010s, his work demonstrated that statistical language models could be scaled to massive software repositories. As first author of Mining source code repositories at massive scale using language modeling, he developed a giga-token probabilistic language model for Java, establishing that large-scale pattern recognition could significantly improve code suggestion tools. Building on this foundation, he expanded his focus to the intersection of programming and human intent. In Bimodal Modelling of Source Code and Natural Language, he introduced probabilistic models capable of jointly representing code snippets and natural language utterances. This bimodal approach laid early groundwork for subsequent developments in the research direction of Hybrid Graph and Sequence Modeling for Text.

By the late 2010s and early 2020s, his research increasingly emphasized the structural properties of programs. Recognizing that code contains rich, non-linear relationships, he led the development of Typilus: Neural Type Hints. This work utilized graph neural networks to probabilistically reason over a program's structure and variable names, enabling type inference in dynamically typed languages. This structural approach intersects with themes such as Project Level Context in Source Code Transformers, where understanding long-range dependencies is critical for accurate code modeling.

To address the scarcity of annotated training data in software engineering, Allamanis investigated self-supervised learning paradigms. In Self-Supervised Bug Detection and Repair, he co-trained a detector model to fix bugs alongside a selector model that intentionally injected realistic faults into code, significantly improving performance on real-world bug datasets without relying on manual annotations.

Most recently, his focus has shifted toward the dynamic behavior of code generated by large language models. In NExT: Teaching Large Language Models to Reason about Code Execution, he and his collaborators developed methods to teach models to inspect execution traces and generate chain-of-thought rationales about runtime behavior. Extending this focus on execution semantics, he authored Disproving Program Equivalence with LLMs, introducing a white-box method that leverages LLMs to generate inputs acting as counterexamples, effectively disproving the semantic equivalence of code snippets that otherwise pass standard unit tests.

Current Directions

Recent work investigates the capabilities and limitations of large language models in understanding program semantics and execution behavior. While earlier sequence models treated code primarily as static text, the most recent papers in the evidence address how models can dynamically reason about runtime states.

A major ongoing theme is bridging the gap between surface-level syntax and dynamic execution. This involves developing techniques that allow models to simulate and analyze execution traces, aligning with the broader area of Code as a Scaffold for General Logical Reasoning. By training models to generate rationales about how variables change during execution, this research aims to improve automated debugging, code synthesis, and program repair.

Furthermore, current research explores rigorous, execution-based validation of model outputs, contributing to the research direction of Semantic Alignment for Machine Verifiable Logic. Rather than relying solely on human-curated unit tests—which often miss edge cases—recent methodologies employ LLMs to actively search for counterexamples that expose semantic differences between programs. Collectively, these directions emphasize moving beyond syntactic code generation toward deep, semantic verification and robust, execution-aware AI systems.

Profile updated

See something wrong? Report a mistake