NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Sashrika Pandey

Figma
6 previous affiliations
3Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Sashrika Pandey focuses on the development of controllable inference-time mechanisms for large language models (LLMs), with a specific emphasis on the intersection of personalization and algorithmic safety. Her work investigates how user-specific demographic, cultural, and professional contexts can be integrated into model responses to enhance utility while simultaneously mitigating the risk of reinforcing harmful stereotypes. By developing methods that operate during the decoding phase, her research seeks to provide developers and users with fine-grained control over how much a model adapts to a specific persona versus maintaining a neutral or context-free stance.

Research Trajectory

Pandey’s research trajectory is characterized by a concentrated focus on the "Context Steering" (CoS) framework, a methodology designed to navigate the tension between personalization and bias. This work emerged in 2024, addressing a fundamental challenge in generative AI: while models benefit from knowing a user's background (e.g., tailoring a technical explanation for a child versus a subject matter expert), this same background information can trigger latent biases within the model’s training data.

The evolution of this work shows a progression from identifying the risks of inappropriate contextual influence to developing robust, training-free technical solutions. Initial efforts focused on the conceptual framework of how personal and demographic information shapes LLM outputs. This involved analyzing the dual nature of context—as both a tool for relevance and a vector for stereotypical associations, such as the problematic linking of gender markers with specific domestic or professional roles.

By 2025, the research shifted toward the refinement of inference-time interventions. This phase of work emphasized the "controllability" of personalization, moving beyond binary applications of context toward a gradient-based approach. The methodology relies on contrastive decoding techniques, where the model’s output is steered by comparing the probability distributions of context-aware and context-free forward passes. This trajectory reflects a broader interest in making LLM behavior more predictable and adjustable without the computational overhead of fine-tuning or the rigidity of prompt engineering alone.

Representative Work

The foundational elements of Pandey’s research are established in CoS: Enhancing Personalization and Mitigating Bias with Context Steering, where she served as first author. This work introduces the problem of "inappropriate contextual influence," where demographic information leads to biased generations. The paper proposes the Context Steering framework as a means to strike a balance between leveraging context for personalization and suppressing it when it leads to harmful outputs. By analyzing how different contexts—such as "toddler" versus "physics professor"—alter the model's response to the same query, the research demonstrates the necessity of a nuanced control mechanism.

In a related first-author publication, CoS: Enhancing Personalization with Context Steering, presented at NeurIPS 2024, Pandey further details the technical implementation of the steering mechanism. This work focuses on the ability of the framework to enhance the relevance of responses by precisely managing how much the model "leans" into the provided user context. The research is significant for its focus on the inference stage, providing a method for personalization that does not require altering the underlying weights of the model, thus making it applicable to a wide range of pre-trained LLMs.

Pandey’s contributions to the refinement of these techniques are continued in Context Steering: Controllable Personalization at Inference Time. In this work, she and her collaborators present CoS as a training-free decoding method that allows for the precise "dialing in" of personalization levels. The core of the method involves contrasting the log-probabilities of a context-aware forward pass against a context-free one. This approach enables a mathematical control over the influence of a user’s background on the final output, allowing for a high degree of customization in how the model responds to different personas. The paper highlights the utility of this method for developers who require fine-grained control over model behavior in diverse deployment environments.

Given the recent nature of these publications, the evidence indicates an active and focused research program at the University of California, Berkeley, centered on the technical challenges of safe and personalized generative AI. The work consistently prioritizes inference-time solutions that address the practical needs of controlling large-scale language models.

Profile updated

See something wrong? Report a mistake