NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Kavi Gupta

Kavi Gupta

Massachusetts Institute of Technology
2 previous affiliations
6Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Kavi Gupta focuses on the interpretability, reliability, and generalization capabilities of deep learning models, with a particular emphasis on sparse representation learning and the evaluation of large language models (LLMs). Gupta's work investigates how extreme activation sparsity can facilitate the Provable Causal Representation Learning from end-to-end supervision, bridging the gap between high-dimensional neural activations and human-interpretable concepts. Currently, Gupta's research explores the limitations of in-context learning when faced with novel logical structures and the development of frameworks for learning spatial motifs in complex biological and visual data.

Research Trajectory

Gupta’s early research, beginning around 2019, was centered on neural program synthesis, specifically addressing the challenges of generating code from input-output specifications. This work identified critical bottlenecks in how synthetic data distributions influence the generalization of deep networks. By analyzing the bias in randomly generated examples for domain-specific languages, Gupta contributed to a more rigorous methodology for evaluating program synthesizers. This period was characterized by a focus on the "Synthesize, Execute, and Debug" (SED) paradigm, which moved away from monolithic generation toward an iterative, error-correcting approach to code synthesis.

In the early 2020s, Gupta’s focus shifted toward mechanistic interpretability and the problem of "polysemantic" neurons—units in neural networks that respond to multiple, unrelated concepts. To address this, Gupta began developing the SPARLING framework, which utilizes Top-k Sparsity for Mechanistic Interpretability. This transition marked a move from applied program generation to the fundamental study of latent representations. By enforcing extreme levels of activation sparsity, Gupta demonstrated that models could be forced to decompose dense information into discrete, identifiable "motifs." This work has applications ranging from computer vision to In Silico Perturbation Modeling for Biological Discovery, where identifying specific protein binding sites or genetic markers is essential.

Most recently, Gupta has expanded this investigation into the reasoning limits of LLMs. By utilizing randomly sampled language reasoning problems based on deterministic finite automata (DFAs), Gupta has probed whether LLMs truly acquire new logical rules in-context or merely rely on the recall of patterns seen during pretraining. This research highlights a significant gap between the perceived adaptability of LLMs and their performance on truly novel, out-of-distribution logical tasks.

Current Directions

Gupta’s current work is primarily organized around two pillars: the theoretical foundations of sparse representations and the empirical evaluation of model novelty.

The first pillar involves refining the SPARLING framework to achieve Progressive Sparsity Scheduling. This involves developing adaptive sparsity algorithms that prevent "representation collapse" while maintaining the interpretability of intermediate layers. A key goal of this direction is Scaling Object-Centric Representations to Real-World Scenes, moving beyond synthetic benchmarks to complex visual and sequence data where latent variables are naturally sparse and local.

The second pillar focuses on the "novelty gap" in LLM performance. By isolating novelty as a variable, Gupta aims to determine why LLMs struggle with simple mathematical or logical structures that differ from their training data. This work seeks to provide a more nuanced understanding of in-context learning, distinguishing between statistical pattern matching and genuine algorithmic reasoning.

Representative Work

In Synthetic Datasets for Neural Program Synthesis, Gupta participated in an empirical study of how test input generation techniques affect the generalization of neural networks in the context of domain-specific languages (DSLs). The research demonstrated that standard methods for generating synthetic I/O examples often introduce significant biases, causing models to fail when encountering data distributions with different control flow or input space characteristics. This work proposed a new methodology for controlling and evaluating these biases, providing a more robust foundation for training program synthesizers.

Gupta led the development of the SED framework in Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesis. Recognizing that synthesizing complex programs from scratch is often intractable for neural models, this work introduced a multi-stage process. The framework first generates an initial program, executes it against the specification, and then employs a neural debugger to iteratively repair errors. This integration of execution feedback into the learning loop significantly improved the consistency of synthesized programs compared to purely generative approaches.

The introduction of Sparling: Learning Latent Representations With Extremely Sparse Activations represented a major shift toward latent variable modeling. Gupta introduced a novel informational bottleneck that enforces levels of activation sparsity—often exceeding 99%—that were previously unachievable. The paper demonstrated that such extreme sparsity is a prerequisite for the model to "discover" intermediate states that match the underlying physical or logical process. On domains such as LaTeXOCR and AudioMNIST, the framework successfully localized intermediate features without explicit supervision.

Gupta further formalized these findings in Sparling: Learning Latent Representations with Extremely Sparse Activations by proving the "Motif Identifiability Theorem." This theoretical contribution establishes the conditions under which sparse and local latent variables can be precisely recovered using only end-to-end error reduction. This theorem provides a mathematical justification for using sparsity as a tool for unsupervised concept discovery, suggesting that Robust Vision via Spatially Restricted Receptive Fields can emerge naturally from the optimization process.

In Randomly Sampled Language Reasoning Problems Reveal Limits of LLMs, Gupta addressed the risk of dataset recall in LLM evaluation. By parameterizing large families of language tasks recognized by DFAs, the study created a benchmark of novel reasoning problems that could not have appeared in pretraining data. The results showed that even state-of-the-art LLMs were often outperformed by simple n-gram models on these tasks, suggesting that current in-context learning mechanisms are heavily reliant on similarities to known language structures rather than a generalized ability to learn new logics.

The most recent iteration of the SPARLING framework, Sparling: End-to-End Spatial Concept Learning via Extremely Sparse Activations, focuses on the recovery of spatial motifs. Gupta demonstrated that the framework could recover hidden latent variables, such as specific digits in noisy images or protein binding sites in RNA sequences, with over 90% accuracy. This work emphasizes the practical utility of extreme sparsity for scientific discovery, where the goal is to extract meaningful, localized entities from complex, high-dimensional datasets without the need for manual concept labeling.

Profile updated

See something wrong? Report a mistake