Sweta Karlekar

Hi! I'm a Ph.D. student in Computer Science at Columbia University, advised by David Blei.

I’m a Columbia AI Ethics Fellow, NDSEG Fellow, and Provost Doctoral Fellow.

My research spans natural language processing, mechanistic interpretability, and probabilistic modeling. I’m interested in the concepts language models learn, how we can understand them, and how we can reason about their reliability.

Before Columbia, I was an applied machine learning researcher at Meta. I first worked on causal inference with the Bayesian Modeling team, then on AI safety with the Generative AI team.

During my undergraduate studies at UNC Chapel Hill, I researched applications of NLP for social good, advised by Mohit Bansal.

Research interests

  • Natural language processing
  • Mechanistic interpretability
  • Probabilistic modeling

A few recent highlights

2026
Became a Columbia AI Ethics Fellow as part of the fall cohort.
2026
CARE, our work on robust concept directions, was accepted at NeurIPS.
2026
Model Directions, Not Words was accepted to TACL and will be presented at EMNLP 2026 in Budapest.
2026
Duel-Evolve, our work on test-time scaling with LLM self-preferences, appeared at the ICLR Workshop on Recursive Self Improvement (RSI).
2026
Our work on concept representations under distribution shifts appeared at the ICLR Workshop on Unifying Concept Representation Learning (UCRL).

Selected publications

All publications
2026

NeurIPS 2026 · Poster

Do You CARE to Generalize? Extracting Robust Concept Directions from LLMs

Sweta Karlekar, Claudia Shi, Aahlad Manas Puli, Carolina Zheng, Maggie Makar, John Bowlan, Michal Kucer, David Blei

Abstract

Transformer-based large language models (LLMs) encode many high-level concepts as linear directions in the latent activation space. Once identified, these directions support both measurement, the quantification of a concept's presence, and intervention, the steering of the model's behavior. In practice, however, a direction learned from one context often fails when applied to prompts from a new context. This poor transfer can have two distinct sources: spurious correlation between the concept label and dataset-specific features, and genuine heterogeneity in how the concept is encoded across contexts. Methods from out-of-distribution (OOD) literature can address the first, but worsen the second by discarding context-specific structure that may carry concept signal. We introduce Context-Aided Representation Extraction (CARE), which bridges OOD generalization and mechanistic interpretability. Given activations labeled with a concept and an environment, CARE jointly learns a shared direction, optimized to be invariant across environments, and orthogonal environment-specific residuals that capture how the concept varies by context. We evaluate CARE on subject--verb agreement, refusal of harmful prompts, and toxicity. CARE produces directions that measure concepts more reliably under distribution shift and in unseen environments and datasets than existing methods while remaining effective for intervention. Its decomposition also supports a swap-cost diagnostic that identifies when context-specific structure carries concept-relevant signal.

2026

ICLR 2026 · Workshop on Recursive Self Improvement (RSI) · Poster

Duel-Evolve: Reward-Free Test-Time Scaling via LLM Self-Preferences

Sweta Karlekar*, Carolina Zheng*, Magnus Saebo*, Nicolas Beltran-Velez, Shuyang Yu, John Bowlan, Michal Kucer, David Blei

* Equal contribution

Abstract

Many applications seek to optimize LLM outputs at test time by iteratively proposing, scoring, and refining candidates over a discrete output space. Existing methods use a calibrated scalar evaluator for the target objective to guide search, but for many tasks such scores are unavailable, too sparse, or unreliable. Pairwise comparisons, by contrast, are often easier to elicit, still provide useful signal on improvement directions, and can be obtained from the LLM itself without external supervision. Building on this observation, we introduce Duel-Evolve, an evolutionary optimization algorithm that replaces external scalar rewards with pairwise preferences elicited from the same LLM used to generate candidates. Duel-Evolve aggregates these noisy candidate comparisons via a Bayesian Bradley–Terry model, yielding uncertainty-aware estimates of candidate quality. These quality estimates guide allocation of the comparison budget toward plausible optima using Double Thompson Sampling, as well as selection of high-quality parents to generate improved candidates. We evaluate Duel-Evolve on MathBench, where it achieves 20 percentage points higher accuracy over existing methods and baselines, and on LiveCodeBench, where it improves over comparable iterative methods by over 12 percentage points. Notably, the method requires no reward model, no ground-truth labels during search, and no hand-crafted scoring function. Results show that pairwise self-preferences provide strong optimization signal for test-time improvement over large, discrete output spaces.

2026

TACL 2026 · Presented at EMNLP 2026 · Poster

Model Directions, Not Words: Mechanistic Topic Models Using Sparse Autoencoders

Carolina Zheng*, Nicolas Beltran-Velez*, Sweta Karlekar*, Claudia Shi, Achille Nazaret, Asif Mallik, Amir Feder, David M. Blei

* Equal contribution

Abstract

Traditional topic models are effective at uncovering latent themes in large text collections. However, due to their reliance on bag-of-words representations, they struggle to capture semantically abstract features. While some neural variants use richer representations, they are similarly constrained by expressing topics as word lists, which limits their ability to articulate complex topics. We introduce Mechanistic Topic Models (MTMs), a class of topic models that operate on interpretable features learned by sparse autoencoders (SAEs). By defining topics over this semantically rich space, MTMs can reveal deeper conceptual themes with expressive feature descriptions. Moreover, uniquely among topic models, MTMs enable controllable text generation using topic steering vectors. To properly evaluate MTM topics against word list approaches, we propose topic judge, an LLM-based pairwise comparison evaluation framework. Across eight datasets, MTMs match or exceed traditional and neural baselines on coherence metrics, are consistently preferred by topic judge, and enable effective LLM steering.11 1 github.com/blei-lab/mechanistic-topic-models

2024

NeurIPS 2024 · Poster

Estimating the Hallucination Rate of Generative AI

Andrew Jesson, Nicolas Beltran-Velez, Quentin Chu, Sweta Karlekar, Jannik Kossen, Yarin Gal, John P. Cunningham, David Blei

Abstract

This paper presents a method for estimating the hallucination rate for in-context learning (ICL) with generative AI. In ICL, a conditional generative model (CGM) is prompted with a dataset and a prediction question and asked to generate a response. One interpretation of ICL assumes that the CGM computes the posterior predictive of an unknown Bayesian model, which implicitly defines a joint distribution over observable datasets and latent mechanisms. This joint distribution factorizes into two components: the model prior over mechanisms and the model likelihood of datasets given a mechanism. With this perspective, we define a hallucination as a generated response to the prediction question with low model likelihood given the mechanism. We develop a new method that takes an ICL problem and estimates the probability that a CGM will generate a hallucination. Our method only requires generating prediction questions and responses from the CGM and evaluating its response log probability. We empirically evaluate our method using large language models for synthetic regression and natural language ICL tasks.

Sweta Karlekar in Golden Gate Park, San Francisco

Beyond research

A little about me

I care about the ways technology can influence society for good, and about making computer science more welcoming through communities like Girls Who Code and Rewriting the Code.

Outside of research, I love cooking, reading science fiction and fantasy, going to jazz concerts, and painting little rocks.