Uri Alon
· 6 previous affiliations
- Google DeepMind (United Kingdom)Since 2023
- Staff Research Scientist · Since 2025
- Senior Research Scientist · 2023–2025
- Google (United States)2018–2025
- Researcher · 2023–2025
- Intern · 2018
- Carnegie Mellon University2021–2023
- Postdoctoral Researcher · 2021–2023
- Doctor of Philosophy - PhD, Computer Science · 2017–2021
- Microsoft (United States)2014–2016
- Software Engineering Intern · 2014–2016
- Israeli Navy2006–2012
- Deputy Commander on a Missile Ship · 2006–2012
Research Overview
Uri Alon focuses on machine learning for programming languages, structured representations of code, and the mechanics of large language models. His early work established foundational methods for embedding abstract syntax trees to predict semantic properties of software. More recently, his research investigates retrieval-augmented generation, transformer expressivity, and the scaling behaviors of long-context models.
Research Trajectory
Alon’s early research during his PhD at the Technion addressed the challenge of applying neural networks to source code, focusing heavily on the research direction of Structural Inductive Biases for Specialized Domain Performance. A central contribution from this period is code2vec: Learning Distributed Representations of Code (2018). As first author, Alon introduced a method to decompose code snippets into paths within an Abstract Syntax Tree (AST), learning continuous vector representations that could predict semantic properties such as method names.
Building on these structural representations, his work evolved toward generative tasks, engaging with the broader area of Open Vocabulary Learning for Source Code Identifiers. In Structural Language Models for Any-Code Generation (2019), he co-authored an approach that modeled code as a tree rather than a flat sequence. By utilizing AST paths and a syntactic copy mechanism, the model was able to generate complex, unrestricted code snippets while handling user-defined symbols.
During his postdoctoral research at Carnegie Mellon University, Alon’s focus expanded to include retrieval-augmented generation and the integration of external knowledge into language models. As first author of DocCoder: Generating Code by Retrieving and Reading Docs (2022), he developed a "retrieve-then-generate" framework that explicitly fetches relevant documentation before generating code. This approach allowed models to utilize libraries and functions unseen during training, significantly improving functional correctness on programming benchmarks.
In recent years, while serving as a Staff Research Scientist at Google DeepMind, Alon has increasingly investigated the fundamental mechanics and reasoning capabilities of large language models. His first-author paper On the Expressivity Role of LayerNorm in Transformers' Attention (2023) analyzed the geometric function of LayerNorm. The work demonstrated how decomposing LayerNorm into projection and scaling operations enables attention heads to perform majority voting and ensures that every input token remains selectable by the attention mechanism.
Parallel to architectural analysis, he has contributed to methods for improving model outputs, touching on themes such as Autonomous Self-Correction Loops for Generative Output Refinement. As second author of Universal Self-Consistency for Large Language Model Generation (2023), he helped extend self-consistency decoding to free-form text generation. The method uses the model itself as a judge to select the most consistent response from a set of candidates, improving reasoning performance without requiring exact-match answer extraction.
Continuing to probe the limits of Transformer architectures, his recent first-author work includes Transformers Can Achieve Length Generalization But Not Robustly (2024). This research tested the ability of standard Transformers to extrapolate to longer sequences than seen during training, revealing that success in length generalization is highly dependent on the specific combination of data formatting and positional encodings.
Current Directions
The most recent papers in the evidence indicate a dual focus on the scaling behaviors of large language models and their application to complex algorithmic tasks. Recent work investigates the extremes of in-context learning, exploring how models behave when provided with hundreds or thousands of demonstrations within vastly expanded context windows. Additionally, Alon participates in collaborative research evaluating the capacity of language models to suggest functionally correct, performance-improving code edits, moving beyond basic code generation to high-level algorithmic optimization.
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