Home | Blog

About Me

Kavi Gupta

Hello there! I'm Kavi Gupta, a PhD candidate at MIT, studying neurosymbolic approaches to machine learning, with a focus on interpretability. I am advised by Prof. Armando Solar-Lezama. Contact me at kavig at mit dot edu.

Recent Papers

E-Stitch

K. Gupta*, M. Bowers*, A. Solar-Lezama. “E-Stitch: Top-Down Library Learning with E-Graphs.” Proceedings of the ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (2027). [First two authors contributed equally.]

E-Stitch figure

We remove one of the key limitations of top-down library learning by introducing E-Stitch, an algorithm that can efficiently learn abstractions in corpora of programs even when the programs are not syntactically similar, by using e-graphs to represent equivalences over programs, and demonstrate that E-Stitch is far more scalable than existing methods that handle equivalences.

Frame Alignment Confound (Preprint)

K. Gupta, B. Wang, P. A. Sharp, C. B. Burge, A. Solar-Lezama. “Neural RNA splicing models rely on reading frame information unavailable to the splicing machinery.” bioRxiv (2026).

Frame Alignment Confound figure

We discover that many black-box models of RNA splicing are incorporating information about the reading frame, a different stage in the gene expression process, not available to the splicing machinery. We develop several metrics to quantify the extent of this confound, and confirm that it harms performance on real, off-distribution data.

Randomly Sampled Languages for LLM ICL Evaluation

K. Gupta, K. Sanders, A. Solar-Lezama. “Randomly Sampled Language Reasoning Problems Elucidate Limitations of In-Context Learning.” International Conference on Neuro-symbolic Systems (2026).

Randomly sampled languages in LLM ICL results figure

We demonstrate that even relatively sophisticated LLMs in a pure-ICL setting perform poorly on next-token-prediction tasks involving randomly sampled regular languages, when not given the structure of the language. We conclude that LLMs’ impressive capabilities lie somewhere other than a generalized ability to pick up on patterns in sequences.

Sparling

K. Gupta, O. Bastani, A. Solar-Lezama. “Sparling: End-to-End Spatial Concept Learning via Extremely Sparse Activations.” The Fourteenth International Conference on Learning Representations (2026).

Sparling figure

We prove it is possible to identify an extremely sparse intermediate latent variable with only end-to-end supervision, and introduce Sparling, an extreme activation sparsity layer and optimization algorithm that can learn such a latent variable.

Sparse Adjusted Motifs

K. Gupta, C. Yang, K. McCue, O. Bastani, P. A. Sharp, C. B. Burge, A. Solar-Lezama. “Improved modeling of RNA-binding protein motifs in an interpretable neural model of RNA splicing.” Genome Biology 25.1 (2024): 23.

Sparse Adjusted Motif figure

We introduce a new model of RNA splicing that refines predictions of RNA-protein binding, a known intermediate variable in the splicing process, by training on end-to-end splicing data. We validate that our model is superior to an unadjusted one in prediction of the intermediate as well as a causal counterfactual prediction task.

Github: kavigupta

Google Scholar: Kavi Gupta

Personal Projects

Urban Stats: database of various statistics related to density, housing, race, transportation, elections, and climate change in the United States for a variety of regions; as well as density globally.

Visiting Every MBTA station: I visited every station! I’m also trying to 100% Cambridge on foot.