Baptiste Roziere
· 3 previous affiliations
- Mistral AI (France)Since 2024
- Researcher · Since 2024
- Meta (United States)2019–2024
- Researcher · 2022–2024
- Research assistant · 2019–2022
- Université Paris Dauphine-PSL2019–2022
- PhD student · 2019–2022
Research Overview
Baptiste Roziere focuses on machine learning for source code translation, large language model optimization, and generative modeling. His early work explored evolutionary methods for steering generative adversarial networks and analyzing vulnerabilities in sequential learning. More recently, his research centers on developing foundation models for programming languages, evaluating code reasoning capabilities, and improving tokenization strategies for domain adaptation.
Research Trajectory
In 2020, Roziere's research explored the optimization of generative models and the security of sequential learning algorithms. He introduced methods for improving image generation by applying evolutionary algorithms to the latent space of Generative Adversarial Networks (GANs). This work included Tarsier: Evolving Noise Injection in Super-Resolution GANs, which optimized noise injection at inference time to enhance super-resolution quality, and EvolGAN: Evolutionary Generative Adversarial Networks, which searched the latent space of GANs trained on small datasets to improve image quality while preserving diversity. These contributions advanced broader research into steering generative models via latent variable evolution. He further extended this approach in Inspirational Adversarial Image Generation (2021), enabling users to discover new creative outputs from existing models without retraining. Concurrently, he investigated vulnerabilities in recommendation systems, co-authoring Adversarial Attacks on Linear Contextual Bandits.. This research demonstrated how attackers could manipulate rewards or user contexts to force systems to favor specific items, contributing to areas such as Sublinear Cost of Hijacking Online Learning and Adversarial Robustness for Linear Contextual Bandits.
A major theme in Roziere's trajectory is the application of machine learning to programming languages, particularly source-to-source translation. In 2020, he developed Unsupervised Translation of Programming Languages, addressing the lack of parallel data for training transcompilers. This work contributed to the research area of Automated Migration of Legacy Scientific Codebases, while also exploring the direction of Bridging Type Systems in Neural Code Translation. Recognizing that source code requires different pre-training strategies than natural language, he co-developed DOBF: A Deobfuscation Pre-Training Objective for Programming Languages (2021), which leveraged the structural aspects of code to recover obfuscated source code, advancing work in neural semantic restoration for binary decompilation.
To improve the reliability of unsupervised translation, Roziere introduced Leveraging Automated Unit Tests for Unsupervised Code Translation (2022). This approach used automated unit-testing to filter out invalid translations, addressing the research area of The Tradeoff Between Translation Adequacy and Naturalness. He further refined code translation by incorporating low-level compiler intermediate representations in Code Translation with Compiler Representations (2023). By moving beyond purely syntactic token sequences, this work improved semantic differentiation across languages, supporting directions like language-agnostic intermediate representations for code generation.
As large language models (LLMs) became central to AI research, Roziere's focus shifted toward augmenting their capabilities and optimizing them for code. He participated in a comprehensive review of the field in Augmented Language Models: a Survey (2023), which examined how LMs can be equipped with reasoning skills and external tools. In 2024, he played a key role in the development of Code Llama: Open Foundation Models for Code, a family of models designed for code generation, infilling, and instruction following. This work advanced the direction of repository-level reasoning for large-scale software engineering. Parallel to building foundation models, Roziere investigated fundamental LLM training efficiencies. He contributed to Better & Faster Large Language Models via Multi-token Prediction, which demonstrated that training models to predict multiple tokens simultaneously improves sample efficiency and enables self-speculative decoding. This research intersected with the area of Token Level Importance for Selective Optimization. He also directed research on domain adaptation strategies in Getting the most out of your tokenizer for pre-training and domain adaptation, showing that swapping tokenizers during fine-tuning yields significant efficiency gains without sacrificing downstream performance.
Most recently, Roziere has focused on rigorously evaluating how well LLMs understand and execute code, moving beyond simple generation metrics. He co-developed CRUXEval: A Benchmark for Code Reasoning, Understanding and Execution (2024), which revealed a gap between models' ability to write code and their capacity to predict its execution behavior. Building on this evaluation framework, he led the creation of TestGenEval: A Real World Unit Test Generation and Test Completion Benchmark (2025). This large-scale benchmark assessed LLMs on generating unit tests for complex Python projects, exposing significant limitations in code coverage and advancing research into the disconnect between structural coverage and bug detection.
Current Directions
Recent work investigates the rigorous evaluation of large language models in software engineering contexts, specifically focusing on their ability to reason about program execution and generate comprehensive unit tests. The most recent papers in the evidence address the gap between code generation and true program comprehension, developing benchmarks that test whether models can track mental states during execution and handle complex, real-world repositories. Additionally, ongoing themes include optimizing the underlying architecture of language models for domain-specific tasks, such as refining tokenization strategies and exploring multi-token prediction to improve both inference speed and reasoning capabilities.
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