Omar Khattab
· 4 previous affiliations
- Massachusetts Institute of TechnologySince 2025
- Assistant Professor · Since 2025
- Databricks (United States)2024–2025
- Researcher · 2024–2025
- Stanford University2019–2024
- PhD student · 2019–2024
- Carnegie Mellon University2015–2019
- Undergrad student · 2015–2019
Research Overview
Omar Khattab focuses on information retrieval, natural language processing, and the optimization of language model pipelines. His early work introduced highly efficient neural ranking architectures and multi-hop reasoning systems. More recently, he develops frameworks for compiling and optimizing modular language model programs, automating prompt engineering, and aligning retrieval mechanisms with generative models.
Research Trajectory
Early work involved distributed systems and graph analytics. He participated in developing LA3: A Scalable Link- and Locality-Aware Linear Algebra-Based Graph Analytics System in 2018, which optimized vertex-centric programming models using a linear algebra engine to achieve significant performance gains through computation and communication filtering.
Transitioning to natural language understanding and search, he introduced ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT. This architecture adapted deep language models for efficient retrieval by independently encoding queries and documents, significantly reducing the computational costs associated with traditional neural ranking. He later helped refine this approach in ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interaction. Building on these retrieval foundations, he developed Baleen: Robust Multi-Hop Reasoning at Scale via Condensed Retrieval, a system designed to navigate large search spaces and resolve ambiguity in multi-hop reasoning tasks by summarizing retrieved passages.
This focus on complex knowledge synthesis led to the creation of frameworks that compose retrieval and language models. He introduced Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLP, which programmatically structured interactions between frozen models to address the broader area of Iterative Retrieval Augmented Generation for Multi Hop Reasoning. This paradigm culminated in DSPy: Compiling Declarative Language Model Calls into State-of-the-Art Pipelines. DSPy treats language model pipelines as computational graphs, replacing manual prompt engineering with an automatic compiler that bootstraps and optimizes prompts. This work directly addresses challenges in the research direction of Understanding Prompt Sensitivity in Language Models.
Expanding on automated optimization, his research group explored methods to update prompts without module-level labels or gradients in Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs. They further investigated the intersection of weight updates and prompting in Fine-Tuning and Prompt Optimization: Two Great Steps that Work Better Together, bootstrapping training labels to optimize both simultaneously in pipelines lacking intermediate gold labels. Additionally, he oversaw the development of PATH in Prompts as Auto-Optimized Training Hyperparameters: Training Best-in-Class IR Models from Scratch with 10 Gold Labels, demonstrating that prompt engineering can generate synthetic training data to train high-performing retrieval models from minimal examples.
To further integrate search and generation, he developed LeReT in Grounding by Trying: LLMs with Reinforcement Learning-Enhanced Retrieval. This reinforcement learning framework teaches models to generate better search queries by learning from document quality, advancing the area of Jointly Optimizing Retrieval and Generation and the research direction of Aligning Retrieval with Language Model Preferences. He also addressed tasks requiring deep deduction and precise scoring with Reasoning-Intensive Regression, introducing the MENTAT framework to combine iterative prompt optimization with a neural aggregator. Continuing the integration of policy gradients and prompt optimization, his lab introduced mmGRPO in Multi-module GRPO: Composing Policy Gradients and Prompt Optimization for Language Model Programs, a multi-module generalization of Group Relative Policy Optimization designed for complex AI systems.
Most recently, his work has expanded into agent improvement and evolutionary search. He participated in the development of Meta-Harness: Beyond-Reward Agent Improvement from Language, Traces, and Sparse Task Outcomes, an outer-loop system enabling coding agents to rewrite retrieval and orchestration code directly. He also led the development of GEPA in GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning, an optimizer that uses natural language reflection and evolutionary search to improve sample efficiency over standard reinforcement learning. Finally, he proposed a new paradigm for continual adaptation in Machine Studying: A System-Level Reframing of Continual Adaptation from Declarative Corpora, introducing metrics to measure an AI agent's ability to convert study time into performance.
His research group has also turned toward recursive inference and harness-based architectures for long-context language model agents. They introduced Recursive Language Models, an inference-time scaling approach where prompts are treated as external environments that models programmatically decompose and recursively call themselves over. Extending this paradigm in Language Model Harnesses can be Compositional Generalizers, they demonstrated that training neurosymbolic harnesses can enable compositional generalization and transfer across task lengths and domains. In addition, Khattab participated in developing PEEK: Context Map as an Orientation Cache for Long-Context LLM Agents, which maintains reusable orientation knowledge about recurring contexts via a small, persistent context map cache.
Current Directions
The most recent papers in the evidence address the automated self-improvement of language model agents and the optimization of complex, multi-module programs. Recent work investigates evolutionary search and natural language reflection as alternatives to traditional reinforcement learning, aiming to improve sample efficiency and accuracy in prompt optimization. Additionally, current research explores "machine studying"—frameworks for evaluating how agents continually adapt and learn from declarative text corpora over time. Another active focus involves engineering outer-loop systems that allow agents to rewrite their own retrieval and orchestration code, as well as developing recursive harnesses and orientation caches that let agents scale over long contexts and generalize compositionally.
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