Shagun Sodhani
· 8 previous affiliations
- Google (United States)Since 2025
- Researcher · Since 2025
- Google DeepMind (United Kingdom)Since 2025
- Staff Research Scientist · Since 2025
- Meta (United States)2019–2025
- Tech Lead and Staff Researcher · 2019–2025
- Graduate Student Researcher · 2017–2019
- Researcher - Intern · 2019
- Université de Montréal2017–2019
- MS student · 2017–2019
- Adobe Systems (United States)2015–2017
- Senior Member Of Technical Staff · 2016–2017
- Member of Technical Staff · 2015–2016
- Bachelor of Technology (BTech), Computer Science · 2011–2015
Research Overview
Shagun Sodhani focuses on reinforcement learning, multi-task learning, and the reasoning capabilities of large-scale neural models. His work investigates how agents can learn composable representations to navigate complex environments and how the structural properties of training data influence the latent reasoning abilities of language models. Currently, he explores the intersection of foundation models and decision-making, specifically focusing on leveraging prior knowledge from large language models to provide intrinsic motivation for reinforcement learning agents and understanding the impact of document-level data organization on multi-hop reasoning.
Research Trajectory
Sodhani’s early research, beginning around 2015, was centered on large-scale text classification and the development of diagnostic tools for natural language processing. This period included work on multilabel classification for technical datasets, such as the Stack Exchange Tagger, where he investigated the performance of various Support Vector Classification techniques. During this time, he also emphasized the importance of empirical rigor, as evidenced by his first-author reproducibility study on object counting in visual question answering.
By 2019, his focus shifted toward the formal evaluation of reasoning in neural networks. He contributed to the development of CLUTRR: A Diagnostic Benchmark for Inductive Reasoning from Text, which provided a structured environment for testing a model's ability to perform systematic generalization. This interest in reasoning extended to knowledge graphs, where he explored Topology Aware Inductive Reasoning in Knowledge Graphs. This work addressed the limitations of "identity-bound" models by proposing methods that could reason about new entities and relations in dynamic environments.
In 2020 and 2021, Sodhani’s work increasingly intersected with reinforcement learning (RL) and multi-task learning (MTL). He investigated the problem of "negative interference," where learning one task degrades performance on another. In Multi-Task Reinforcement Learning as a Hidden-Parameter Block MDP, he leveraged latent structure to improve sample efficiency in environments with rich observation spaces. This trajectory led to the development of the CARE framework, described in Multi-Task Reinforcement Learning with Context-based Representations, which utilized natural language task descriptions to learn more effective, composable representations. This period also saw his participation in the study of Unsupervised Discovery of Latent Task Structures, moving away from manual task grouping toward automated, data-driven relationship discovery.
More recently, Sodhani has focused on the role of pre-training and foundation models in robotics and decision-making. He has explored State Only Imitation Learning, addressing the scarcity of high-quality physical robot trajectories by leveraging human video data. This work is exemplified by VIP: Towards Universal Visual Reward and Representation via Value-Implicit Pre-Training, which enables the generation of reward functions for unseen tasks. His recent work also examines the training dynamics of large language models (LLMs), specifically how document-level organization affects their internal reasoning mechanisms.
Current Directions
Sodhani’s current research agenda is characterized by three primary pillars: the refinement of reasoning in foundation models, the integration of LLMs into RL agents, and the development of modular infrastructure for decision-making.
A significant portion of his recent work investigates the latent capabilities of LLMs. This includes studying the Effect of Document Packing on the Latent Multi-Hop Reasoning Capabilities of Large Language Models, where he explores how the common practice of concatenating documents during training influences a model's ability to connect disparate pieces of information. He also explores Formal Logic Synthesis for Verifiable Language Model Reasoning, seeking to move beyond statistical pattern matching toward models that can produce verifiable logical proofs.
In the domain of reinforcement learning, he is exploring how agents can be motivated by high-level feedback. Through his participation in the development of Motif: Intrinsic Motivation from Artificial Intelligence Feedback, he has worked on grounding LLMs for decision-making by eliciting preferences over environment states to construct intrinsic rewards. This approach allows agents to explore complex, procedurally generated environments like NetHack without manual reward engineering.
Finally, Sodhani contributes to the open-source ecosystem for machine learning research. He participated in the development of TorchRL: A data-driven decision-making library for PyTorch, which introduces modular components like TensorDict to standardize communication between environments, models, and replay buffers. This infrastructure work supports his broader goals of improving the scalability and efficiency of RL research.
Representative Work
Multi-Task Reinforcement Learning with Context-based Representations
In this first-author work, Sodhani proposes the CARE (Contextual Attention-based REpresentation learning) framework to address negative interference in multi-task reinforcement learning. The method leverages task metadata, such as natural language descriptions, to guide the learning of composable representations. By using a mixture of encoders and a context-driven attention mechanism, CARE allows the model to selectively share information across related tasks while maintaining task-specific nuances. The framework demonstrated significant improvements in sample efficiency and final performance on the Meta-World benchmark.
A Closer Look at Codistillation for Distributed Training
As the first author, Sodhani investigates codistillation as an alternative to synchronous data-parallel stochastic gradient descent (SGD) for distributed training. Codistillation encourages concurrently trained models to represent the same function through an auxiliary distillation loss, rather than forcing identical parameters through gradient averaging. The study finds that even at moderate batch sizes, codistillation can match the performance of synchronous methods while offering potential advantages in asynchronous or heterogeneous training environments.
CLUTRR: A Diagnostic Benchmark for Inductive Reasoning from Text
Sodhani served as a key contributor to the development of CLUTRR, a benchmark designed to evaluate the inductive reasoning capabilities of NLP models. Unlike standard question-answering datasets, CLUTRR requires models to infer relationship paths within a family tree based on short stories. The benchmark allows researchers to test for systematic generalization by varying the length and complexity of the reasoning chains, providing a diagnostic tool to identify where neural reasoning models fail.
VIP: Towards Universal Visual Reward and Representation via Value-Implicit Pre-Training
In this work, Sodhani explores the use of large-scale, action-free human videos to learn visual representations for robotic control. The proposed VIP method uses a self-supervised objective to pre-train a representation that implicitly encodes a value function. This allows the model to generate dense, smooth reward functions for new robot manipulation tasks without requiring task-specific robot data. The work demonstrates that representations learned from diverse human videos can generalize to unseen environments and provide a foundation for zero-shot reward generation.
Effect of Document Packing on the Latent Multi-Hop Reasoning Capabilities of Large Language Models
This research investigates a standard but under-studied practice in LLM training: document packing. Sodhani and his collaborators examine how concatenating multiple documents into a single training sequence affects the model's ability to perform multi-hop reasoning. The study finds that while packing improves computational efficiency, it also has a measurable impact on the model's latent ability to link information across document boundaries. The work includes an ablation study identifying the specific factors of the packing strategy that drive these performance changes.
Multi-Task Reinforcement Learning as a Hidden-Parameter Block MDP
Addressing the limitations of Hidden-Parameter MDPs (HiP-MDPs) in high-dimensional observation spaces, Sodhani and his co-authors propose a framework that combines HiP-MDPs with Block MDPs. This approach allows for robust state abstractions that capture common latent structures across tasks while remaining applicable to complex visual inputs. The work derives new instantiations for both multi-task and meta-reinforcement learning, providing a theoretical and empirical basis for more sample-efficient learning in environments with shared underlying dynamics.
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