Safoora Yousefi

Microsoft (United States)
5 previous affiliations
    • Senior RSDE · Since 2024
    • Senior Machine Learning Scientist · 2022–2024
    • ML scientist · 2020–2022
  • Emory University2016–2019
    • Postdoctoral Researcher · 2019
    • Research Assistant · 2016–2017
  • Roche2018
    • Research Associate · 2018
    • SWE intern · 2017
    • Google Summer of Code Mentor · 2016
    • Bachelor of Science (B.Sc.), Information Technology · 2008–2013
12Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Safoora Yousefi focuses on the mechanistic interpretability and behavioral control of large-scale generative models, with a particular emphasis on how internal representations mediate complex reasoning and instruction-following. Her work spans the development of latent-space metrics to track model "thinking" processes, the use of activation steering to enforce constraints without fine-tuning, and the analysis of in-context learning through the lens of representational similarity. By bridging high-dimensional data analysis with the functional requirements of foundation models, she investigates the trade-offs between model scale, inference-time computation, and the reliability of generated outputs.

Research Trajectory

The early stages of Yousefi’s research were grounded in the mathematical foundations of representation learning and image processing. In 2015, she contributed to the theoretical understanding of feature coding, specifically addressing the locality assumption in image processing algorithms. In From Local Similarities to Global Coding: A Framework for Coding Applications, she served as the senior author on a study that proposed a framework for capturing the underlying structure of data points using random walkers over anchor points. This work demonstrated that global sets of anchor points could be utilized effectively if their structural relationships were preserved, providing a fast approximation to diffusion map kernels.

By 2016, Yousefi transitioned these interests in high-dimensional representation to the domain of computational biology. As the lead author of Learning Genomic Representations to Predict Clinical Outcomes in Cancer, she investigated the use of neural networks to learn genomic representations from high-dimensional profiling data. This research addressed the challenges of survival analysis in cancer patients, demonstrating that deep learning approaches could outperform traditional statistical methods in predicting clinical outcomes by effectively compressing and interpreting complex biological signals.

Following a period of focus on Multimodal data fusion for systems improvement: A review, Yousefi’s work shifted toward the operational challenges of deploying deep learning models in dynamic environments. In 2023, she co-authored research on Streaming Active Learning with Deep Neural Networks, introducing the VeSSAL algorithm. This work addressed the limitations of pool-based active learning, which typically requires access to an entire unlabeled dataset. By enabling immediate, committal labeling decisions as data arrives, this research facilitated the application of deep learning to real-world streaming contexts such as robotics and augmented reality.

In 2024 and 2025, Yousefi’s focus consolidated around the internal mechanics of Large Language Models (LLMs). She led an investigation into the neuroscience-inspired analysis of In-Context Learning in Large Language Models: A Neuroscience-inspired Analysis of Representations. This work utilized Representational Similarity Analysis (RSA) and parameterized probing to reveal how LLM embeddings and attention mechanisms shift to align with task logic during in-context learning. This period also saw her participation in efforts to move beyond aggregate performance metrics toward "skill-level" insights. By analyzing model-generated rationales, this collaborative work identified specific "skill-slices" that revealed significant performance disparities between models that otherwise appeared similar on standard benchmarks.

Most recently, Yousefi has explored the paradigm of inference-time scaling and activation steering. As the senior author of Inference-Time Scaling for Complex Tasks: Where We Stand and What Lies Ahead, she has examined the shift from increasing model parameters to increasing test-time computation. This trajectory has led to the development of Tracing the Traces: Latent Temporal Signals for Efficient and Accurate Reasoning, which monitors the evolution of a model's hidden states during the generation of reasoning chains to predict the accuracy of the final output.

Current Directions

Yousefi’s current research is focused on the precise control of generative models through internal interventions rather than external fine-tuning. A primary area of interest is Steering Large Language Models with Internal Activation Vectors. This approach seeks to identify specific directions in a model's high-dimensional latent space that correspond to high-level concepts or instructions. By manipulating these vectors during the inference process, it becomes possible to modify model behavior—such as increasing truthfulness or safety—without the computational burden of parameter updates.

This work extends into the challenge of Negative Constraint Adherence in Large Language Models. LLMs frequently struggle with "ironic rebound," where being told not to do something (e.g., "do not use the word 'the'") makes them more likely to do it. Yousefi investigates how activation steering can be used to enforce these negative constraints more effectively than natural language prompting alone. This involves the Linear Composition of Semantic Steering Vectors, where multiple control signals are combined to guide the model toward complex, multi-constraint outputs.

Furthermore, she is addressing the Performance Cliff of Long-Form Generation. While modern models possess large context windows for reading, their ability to maintain coherence and follow instructions over long generated sequences remains limited. Her research explores Adaptive Scaling for Inference Time Activation Steering as a potential solution, dynamically adjusting the strength of steering vectors to maintain performance throughout extended generation tasks. Additionally, she has contributed to the exploration of Negative Guidance for Steering Diffusion Models, applying similar principles of latent-space repulsion to the domain of text-to-image generation.

Representative Work

From Local Similarities to Global Coding: A Framework for Coding Applications Serving as senior author, Yousefi established a framework for feature coding that challenges the necessity of strict locality. By modeling the relationship between data points and anchor points as a random walker, the study demonstrated that global structural information could be preserved to improve image processing tasks. This work provided a computationally efficient approximation to diffusion map kernels, showing that considering the underlying manifold of anchor points is critical for effective representation.

Learning Genomic Representations to Predict Clinical Outcomes in Cancer In this first-author paper, Yousefi applied neural networks to the problem of survival analysis in oncology. The research focused on learning low-dimensional representations from high-dimensional genomic data, such as gene expression profiles. By training models to predict patient survival, the study demonstrated that deep learning could capture non-linear interactions within genomic data that traditional Cox proportional hazards models often miss, particularly in complex cases like brain tumors.

In-Context Learning in Large Language Models: A Neuroscience-inspired Analysis of Representations This first-author study investigated the internal mechanisms of in-context learning (ICL) in models like Llama-2 and Vicuna. Using Representational Similarity Analysis (RSA), a technique borrowed from systems neuroscience, Yousefi showed that providing examples in a prompt fundamentally reshapes the model's internal embeddings to align with the task's logical structure. The paper introduced methods for measuring the ratio of attention directed toward task-relevant versus irrelevant information, providing a mechanistic explanation for how ICL improves behavioral performance.

Inference-Time Scaling for Complex Tasks: Where We Stand and What Lies Ahead As senior author, Yousefi provided a comprehensive analysis of the shift toward inference-time scaling in reasoning models. The paper examines the trade-off between additional computation during generation (e.g., through "chain-of-thought" or search algorithms) and the resulting performance on complex reasoning tasks. This work categorizes the conditions under which throwing more tokens at a problem yields diminishing returns versus significant breakthroughs in accuracy.

Streaming Active Learning with Deep Neural Networks In this second-author paper, Yousefi contributed to the development of VeSSAL, an algorithm designed for active learning in streaming environments. The method addresses the "committal" nature of streaming data, where a model must decide whether to request a label for a data point immediately or discard it. The algorithm balances model uncertainty with data diversity and operates significantly faster than traditional pool-based methods, making it suitable for large-scale, real-time applications.

Tracing the Traces: Latent Temporal Signals for Efficient and Accurate Reasoning This research, where Yousefi served as second author, introduced latent-space metrics to monitor the "trajectories" of a model's hidden states during reasoning. By analyzing the geometry and magnitude of changes in internal representations as the model generates intermediate tokens, the study found that these latent signals are highly predictive of the final answer's correctness. Implementing these metrics allows for a significant reduction in computational costs by early-terminating incorrect reasoning paths.

Profile updated

See something wrong? Report a mistake