NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Matthias Gallé

Matthias Gallé

poolside · Cohere (Canada)
9 previous affiliations
50Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Matthias Gallé focuses on natural language processing, string algorithms, and the evaluation of large language models for code generation. His early work addressed fundamental problems in pattern matching and tokenization efficiency, establishing rigorous approaches to text representation. More recently, his research investigates model merging techniques and the robust verification of AI-generated software.

Research Trajectory

He began his research trajectory by addressing foundational problems in string algorithms and data compression. In In-Place Update of Suffix Array while Recoding Words, he developed an algorithm to efficiently update suffix arrays when specific words in an indexed text are substituted, motivated by applications in grammatical inference. He continued to expand on pattern matching techniques with Multi-view pattern matching, introducing a variant of string searching that represents a single text through multiple parallel sequences. This approach achieved significant speedups by shifting patterns across all data views simultaneously. This focus on the structural properties of text culminated in xkcd-repeats: A new taxonomy of repeats defined by their context diversity, which formalized a new family of string repeats based on the number of distinct symbols adjacent to their occurrences, providing an optimal linear-time algorithm for their computation.

Concurrently, his work expanded into applied natural language processing and human-robot interaction. He proposed a joint modeling approach for news analysis in Joint Event Detection and Entity Resolution: a Virtuous Cycle, demonstrating that document clustering and named entity resolution can iteratively improve one another. In the domain of dialogue systems, he contributed to Context-aware selection of multi-modal conversational fillers in human-robot dialogues, developing a Bayesian model to automatically generate contextualized verbal and physical fillers that manage inter-turn pauses while a robot processes responses.

As neural methods became central to NLP, he investigated the underlying mechanisms of tokenization and model robustness. In Investigating the Effectiveness of BPE: The Power of Shorter Sequences, he analyzed Byte-Pair Encoding, arguing that its success stems from its efficiency as a compression algorithm rather than linguistic properties, showing that shorter sequence lengths directly correlate with improved translation quality. He also addressed the challenge of deploying models to new environments in To Annotate or Not? Predicting Performance Drop under Domain Shift, proposing an unsupervised method to estimate accuracy degradation using distribution divergence and model confidence. Leading a team in applied machine translation, he oversaw the development of A Multilingual Neural Machine Translation Model for Biomedical Data, releasing a system optimized for translating biomedical texts across five languages to support large-scale analysis during the COVID-19 pandemic. Further contributing to neural network efficiency, he collaborated on Speeding Up Entmax, advancing the broader research direction of Self-Normalizing Neural Language Models by optimizing sparse probability distributions.

In recent years, his research has focused on the evaluation, training, and architectural optimization of large language models, particularly for code generation. Addressing the integrity of model evaluation, he participated in On Leakage of Code Generation Evaluation Datasets, which identified sources of test set contamination and introduced an uncontaminated benchmark for Python problems. He also explored techniques for combining model capabilities in If You Can't Use Them, Recycle Them: Optimizing Merging at Scale Mitigates Performance Tradeoffs, contributing to the area of Linear Weight Interpolation in Parameter Space. This work demonstrated how recycling suboptimal checkpoints can balance tradeoffs between distinct language capabilities. Relatedly, he contributed to the development of Command A: An Enterprise-Ready Large Language Model, which utilized decentralized training and advanced techniques in the area of Overcoming Parameter Interference in Model Merging to achieve high performance in retrieval-augmented generation and tool use.

A major recent theme is the rigorous assessment of AI coding agents. He participated in Commit0: Library Generation from Scratch, a benchmark testing the ability of models to build entire software libraries from specifications, advancing the direction of Dependency-Guided Topological Synthesis for Software Repositories. Investigating the data pipelines used to train these models, he co-authored Verification Limits Code LLM Training, which showed that rigid unit-testing filters can discard valuable, complex solutions. By relaxing these thresholds, the work demonstrated improvements in model performance, contributing to the broader area of Multi-Dimensional Quality Assessment for Neural Code Generation. Most recently, he led the research in Benchmarking Code Verification Strategies with LLMs-as-a-judge, conducting a comprehensive evaluation of how effectively language models can automatically verify generated code and proposing new approaches to overcome their limitations on complex problems.

Current Directions

The most recent papers in the evidence address the evaluation and verification of large language models in software engineering contexts. Recent work investigates how to reliably assess AI-generated code, moving beyond simple unit-test pass rates to more calibrated verification strategies and LLM-as-a-judge frameworks. Additionally, this research explores the limits of autonomous coding agents when tasked with generating full-scale software libraries from scratch, emphasizing the need to manage complex dependencies and long-form reasoning in enterprise-ready models.

Profile updated

See something wrong? Report a mistake