Quentin Carbonneaux
· 1 previous affiliation
- Meta (United States)Since 2019
- Research Engineer · Since 2019
Research Overview
Quentin Carbonneaux focuses on formal verification, automated resource analysis, and the intersection of large language models (LLMs) with program execution. His work has evolved from the development of universal proof languages and the formal verification of low-level systems to the creation of automated tools for bounding the resource consumption of probabilistic programs. Most recently, his research has shifted toward improving the reasoning and code-generation capabilities of LLMs by integrating program execution traces and reinforcement learning into their training regimes.
Research Trajectory
Carbonneaux’s early research was centered on the foundations of formal logic and the interoperability of proof systems. In 2012, he contributed to the development of the $\lambda\Pi$-calculus modulo, a framework designed to serve as a universal language for formal proofs. This work resulted in the creation of Dedukti, a high-performance proof checker. The primary objective of this period was to provide a "melting pot" for proofs generated in disparate logical systems, such as Coq or Isabelle, allowing them to be hosted within a single framework while maintaining their native computational behavior.
By 2014, Carbonneaux’s focus shifted toward the practical application of formal methods to resource analysis and systems programming. He addressed the problem of verifying stack-space bounds for C programs, a critical requirement for ensuring the reliability of embedded and safety-critical systems. This trajectory expanded into the domain of compositional certified resource bounds, where he sought to develop methods for automatically deriving symbolic limits on execution time and memory usage.
Between 2017 and 2018, Carbonneaux extended these resource analysis techniques to the domain of probabilistic programming. During this period, he developed methods for deriving symbolic, multivariate polynomial upper bounds on the expected resource consumption of programs. This work was notable for combining the compositionality of weakest-precondition logic with the efficiency of Automatic Amortized Resource Analysis (AARA). By reducing complex probabilistic reasoning to linear programming problems, this research enabled the first fully automatic static analysis for expected resource bounds.
In the early 2020s, Carbonneaux applied his expertise in formal verification to industrial-scale systems. This included participation in efforts to verify microkernel inter-process communication (IPC) within the infrastructure at Meta. This work demonstrated the scalability of formal methods when applied to high-performance systems components.
Starting in 2025, Carbonneaux’s research underwent a significant pivot toward the intersection of machine learning and software engineering. This current phase of his work is driven by the observation that standard LLMs often treat code as static text rather than dynamic logic. To address this, he has pioneered "Execution Tuning" (E.T.), a method for training models on step-by-step program execution traces. This work introduces the concept of world models for code, where models are trained to predict the next state of a program rather than merely the next token of text. His recent contributions also include the development of reinforcement learning frameworks that use software evolution data—such as GitHub pull requests—to improve the reasoning capabilities of large-scale models.
Representative Work
The following papers represent key milestones in Carbonneaux’s research, illustrating his transition from formal logic to automated resource analysis and, finally, to execution-aware machine learning.
In The λΠ-calculus Modulo as a Universal Proof Language, Carbonneaux and his collaborators proposed an extension of standard dependent type theory with user-defined rewrite rules. This work established the theoretical basis for Dedukti, a tool that facilitates interoperability between different formal proof assistants. By allowing the definition of diverse logical systems within a single calculus, the paper addressed a fundamental challenge in the formal methods community: the fragmentation of proof libraries across incompatible tools.
Carbonneaux’s work on probabilistic systems is exemplified by Bounded Expectations: Resource Analysis for Probabilistic Programs. As the first author, he introduced a static analysis framework capable of deriving symbolic bounds on the average-case resource usage of programs containing probabilistic branching and sampling. The methodology leveraged AARA to transform the problem of resource analysis into a linear constraint satisfaction problem, allowing for the use of off-the-shelf solvers. This approach provided a rigorous yet automated way to reason about the efficiency of randomized algorithms.
In the domain of industrial verification, Carbonneaux participated in the research presented in Applying formal verification to microkernel IPC at meta. This work involved the application of formal methods to the communication protocols of microkernels, highlighting the challenges and successes of deploying verification tools in a large-scale production environment. The project emphasized the importance of ensuring the correctness of low-level systems primitives that underpin modern cloud infrastructure.
Carbonneaux’s recent shift to machine learning is defined by his first-author work, What I cannot execute, I do not understand: Training and Evaluating LLMs on Program Execution Traces. In this paper, he argues that true code understanding requires a model to simulate program execution. He introduced "Execution Tuning" (E.T.) and "dynamic scratchpads," a technique that enables LLMs to track complex program states over thousands of steps by updating a single state representation. This research represents a departure from traditional next-token prediction, moving toward models that internalize the semantics of code execution.
Continuing this theme, CWM: An Open-Weights LLM for Research on Code Generation with World Models, where Carbonneaux served as the second author, explores the development of "Code World Models." The paper posits that LLMs struggle with complex software engineering tasks because they lack an internal model of how code changes the state of a system. By training models to predict program states, the work aims to bridge the gap between superficial code generation and deep architectural reasoning.
Finally, Carbonneaux contributed to the development of SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution. This research introduced a framework for scaling reinforcement learning to real-world software engineering tasks using GitHub data. By employing a rule-based reward system based on the similarity of code patches, the resulting models demonstrated significant improvements in solving complex software issues. Notably, the work showed that training on software evolution data also enhanced the models' reasoning capabilities in non-coding domains, such as mathematics.
Current Directions
Carbonneaux’s current research continues to explore the boundaries of how machine learning models interact with structured logic and execution. His work is increasingly focused on the scalability of reinforcement learning for software engineering and the refinement of world models that can simulate the behavior of complex, multi-file software projects. By integrating the rigor of his earlier work in formal verification with the generative power of LLMs, he seeks to develop systems that are not only capable of writing code but also of reasoning about its dynamic behavior and long-term evolution.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake