Dhruv Gautam

Dhruv Gautam

University of California, Berkeley
3 previous affiliations
5Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Dhruv Gautam focuses on machine learning interpretability, code generation, and the application of artificial intelligence to biological sciences. His work spans the evaluation of stateful reasoning in language agents and the mechanistic analysis of in-context learning dynamics. Recently, his research has expanded to include transformer-based architectures for predicting cellular responses to perturbations.

Research Trajectory

During his time at UC Berkeley, BAIR, and the Arc Institute, Gautam's research has rapidly developed across several distinct domains of machine learning, encompassing language agent reasoning, model interpretability, and computational biology.

In the domain of code generation and agentic systems, he developed RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Code, contributing to the research direction of Active State Management for Long Horizon Agents. This work introduced a handcrafted benchmark of multi-file refactoring tasks designed to expose the memory limitations of AI coding agents. By demonstrating that these agents frequently lose track of their previous actions—a stark contrast to human performance—he and his collaborators proposed state-aware interfaces that substantially improved the agents' ability to maintain context over extended tasks.

Concurrently, Gautam has participated in research investigating the internal mechanics of large language models, specifically focusing on how these models learn and retrieve information. In the broader area of Mechanistic Localization of Algorithmic Circuits in Language Models, he contributed to Different simultaneous mechanisms for in-context recall have distinct learning dynamics. This research demonstrated that in-context learning is not a monolithic capability, but rather relies on distinct mechanisms that develop specialized sub-skills with separate learning trajectories. Expanding on the study of model capabilities, he also collaborated on Emergence, pretraining loss and associative recall: a toy model. This work utilized a novel family of toy problems—combining continuous in-context learning with discrete associative recall—to analyze how specific abilities emerge as a function of pretraining loss in transformer models.

Applying transformer architectures to the biological sciences, Gautam contributed to Predicting cellular responses to perturbation across diverse contexts with State. This work advances research in areas such as Generalizing Machine Learning Across Unseen Cellular Contexts and Implicit Bias of Gradient Descent in Overparameterized Networks. The project introduced STATE, a transformer-based architecture trained on large-scale single-cell data to predict how cells respond to various perturbations. By modeling cellular heterogeneity, this approach facilitates the development of virtual cell models for applications in drug discovery and biological analysis.

Current Directions

The most recent papers in the evidence, all published in 2025, indicate a dual focus on improving the reliability of autonomous language agents and applying advanced machine learning architectures to scientific domains. His work addresses the open problem of state management in long-horizon coding tasks, seeking to build agents that can reliably track and execute complex workflows. Simultaneously, his involvement in computational biology highlights an ongoing interest in leveraging large-scale representation learning to model complex biological systems and predict cellular behavior under novel conditions.

Profile updated

See something wrong? Report a mistake