Disha Shrivastava
· 6 previous affiliations
- Google DeepMind (United Kingdom)Since 2022
- Senior Research Scientist · Since 2024
- Research Scientist · 2023–2024
- Research Scientist Intern · 2022
- Google (United Kingdom)2019–2024
- Researcher · 2023–2024
- Student Researcher · 2019–2022
- Visiting Researcher · 2023
- Doctor of Philosophy - PhD, Artificial Intelligence · 2018–2023
- IBM Research - India2016–2018
- Research Engineer · 2016–2018
- Indian Institute of Technology Delhi2014–2016
- Master of Technology - MTech, Computer Technology · 2014–2016
Research Overview
Disha Shrivastava focuses on enhancing the coding and reasoning capabilities of large language models (LLMs) through post-training methodologies, repository-level context integration, and the development of autonomous agents. Her work spans the intersection of machine learning for source code, natural language processing, and reinforcement learning, with a particular emphasis on how models can adapt to local contexts and self-correct during complex problem-solving tasks. Currently a Senior Research Scientist at Google DeepMind, her research trajectory has evolved from foundational work in distributed systems and unsupervised NLP to the design of sophisticated Repository-Level Code Intelligence for Large Language Models.
Research Trajectory
The early stages of Shrivastava’s research were characterized by a dual focus on scalable machine learning infrastructure and unsupervised linguistic analysis. During her tenure at IIT Delhi and IBM Research India, she addressed the computational bottlenecks of deep learning by developing frameworks for distributed training. This work emphasized the necessity of both data and model parallelism to handle large-scale datasets on commodity hardware, providing an economical alternative to specialized supercomputing environments. Simultaneously, she explored unsupervised methods for knowledge graph construction and discourse analysis, developing metrics for topical coherence and hypernym detection that relied on structural cues within text rather than extensive labeled datasets.
During this period, Shrivastava also contributed to the emerging field of computational creativity. Her work at IBM Research involved quantifying subjective attributes such as novelty, value, and unexpectedness in creative artifacts. By establishing objective machine learning frameworks to evaluate these pillars, she sought to bridge the gap between standard AI intelligence and human-level creativity, applying these metrics to domains such as cinematic evaluation.
Shrivastava’s doctoral research at Mila marked a significant shift toward deep learning models of code and program synthesis. A central theme of this phase was the challenge of local adaptation: the ability of a model to adjust its predictions based on the specific, often unseen, context of a particular codebase. She moved away from standard dynamic evaluation—which updates models token-by-token—toward more targeted adaptation strategies. This involved identifying "support tokens" within a local context to learn adapted parameters, a method designed to improve the Behavioral Repertoires for Robustness and Rapid Adaptation in source code models.
This focus on context culminated in her work on repository-level intelligence. Recognizing that standard LLMs often struggle with the interdependencies of large-scale software projects—such as cross-file imports and class hierarchies—she developed frameworks to pull relevant information from an entire repository into the model’s prompt. This research introduced the concept of Dynamic Retrieval for In-Context Learning specifically for code, using learned classifiers to select the most pertinent "prompt proposals" from a repository to guide the LLM.
Current Directions
At Google DeepMind, Shrivastava’s work has transitioned into the development and refinement of large-scale production models and autonomous agents. She is a core contributor to the Gemini project, where she focuses on post-training recipes and data strategies to bolster coding and reasoning performance. This involves not only improving the base capabilities of the models but also designing rigorous evaluation frameworks to measure their progress in complex logical tasks.
A significant portion of her current efforts is dedicated to the creation of general-purpose agents, such as Jules, an asynchronous coding agent. These agents are designed to operate in critical environments, moving beyond simple code completion toward autonomous problem-solving. In line with this, she has participated in research regarding self-correction mechanisms, such as SCoRe (Self-Correction via Reinforcement Learning). This approach utilizes multi-stage reinforcement learning to enable models to identify and fix their own errors in mathematics and coding without external feedback, addressing a long-standing limitation in LLM reliability.
Representative Work
RepoFusion: Training Code Models to Understand Your Repository In this work, Shrivastava addresses the limitations of coding assistants when faced with unfamiliar or proprietary codebases. While previous methods focused on retrieving repository context only during inference, RepoFusion introduces a framework for training models to actively incorporate this context. By training the model to integrate information such as imports and parent classes, the framework improves the accuracy of code completions in complex, multi-file environments.
Repository-Level Prompt Generation for Large Language Models of Code Shrivastava proposed the Repo-Level Prompt Generator (RLPG) to bridge the gap between isolated function generation and repository-scale software development. RLPG uses a trained classifier to select the most relevant context from a repository—such as method signatures from related files—to include in the LLM's prompt. This approach demonstrated that significant performance gains could be achieved in code generation without requiring access to the underlying model's weights, relying instead on intelligent context retrieval.
On-the-Fly Adaptation of Source Code Models This paper tackles the problem of adapting source code models to the specific stylistic and structural nuances of unseen files. Shrivastava introduces a two-step "Targeted Support Set Adaptation" framework. Instead of continuous updates, the model selects specific support tokens from the local context to learn adapted parameters for a target prediction. This method provides a more efficient and targeted way for models to handle the high degree of local regularity found in source code.
Learning to Combine Per-Example Solutions for Neural Program Synthesis Shrivastava explores a modular approach to program synthesis from input-output examples. Rather than attempting to find a single program that satisfies all examples simultaneously, this work proposes a two-stage process: first finding programs that satisfy individual examples, and then using a "Cross Aggregator" neural network module to combine these per-example solutions into a global solution. This multi-head attention mechanism allows the model to synthesize complex programs by aggregating cues from simpler, partial solutions.
Hypernyms Through Intra-Article Organization in Wikipedia In this early NLP work, Shrivastava introduced an unsupervised measure for detecting hypernyms (is-a relationships) by leveraging the physical structure of Wikipedia articles. The research demonstrates that the relative location of words within explanatory text and the presence of phrases in section titles provide sufficient signal for hypernym detection and directionality. This approach offered a computationally light and language-portable alternative to more complex supervised models.
A Data and Model-Parallel, Distributed and Scalable Framework for Training of Deep Networks in Apache Spark This foundational work addresses the scalability challenges of training deep neural networks. Shrivastava developed a framework within Apache Spark that implements both data and model parallelism. By enabling distributed training across clusters of commodity CPU hardware, the framework allows for the processing of large datasets and models that exceed the memory capacity of a single machine, emphasizing economic scalability in deep learning infrastructure.
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