Xiaoyan Bai

Xiaoyan Bai

University of Chicago
4 previous affiliations
    • PhD student · 2024–2029
    • Current
    • Graduate Teaching Assistant: Mathematical Foundation of ML · 2024
    • Undergrad Research Assistant | LIT Lab · 2022–2024
    • Undergrad Research Assistant | IoT/CPS Research Group · 2023
    • Teaching Assistant for Serious Game and AI · 2023
  • emogent2021–2022
    • AI Designer Assistant · 2021–2022
11Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Xiaoyan Bai focuses on natural language processing, mechanistic interpretability, and the behavioral evaluation of large language models. Early work investigated the internal mechanisms of alignment algorithms and inference-time efficiency through structured sparsity. More recently, the focus has shifted toward understanding how models represent concepts like time and persona, alongside rigorous assessments of their self-recognition capabilities.

Research Trajectory

Xiaoyan Bai’s research trajectory begins in the available corpus around 2024, initially focusing on the foundational challenges of deploying large language models: computational efficiency and safety alignment. Operating as a second author during this period, Bai contributed to structural and mechanistic evaluations of existing architectures. In the domain of inference efficiency, Bai co-authored Learn To be Efficient: Build Structured Sparsity in Large Language Models. This research introduced the "Learn-To-be-Efficient" (LTE) framework, a novel training algorithm designed to induce structured activation sparsity. By training models to activate only a fraction of their neurons via a custom Mixture-of-Experts approach, the work demonstrated significant wall-clock speedups during inference while maintaining model performance.

Simultaneously, Bai engaged with the growing field of mechanistic interpretability to understand how alignment techniques alter model behavior at the parameter level. In A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity, Bai and collaborators investigated Direct Preference Optimization (DPO). The study revealed that DPO does not cause a model to "unlearn" toxic behavior; rather, it teaches the model to internally navigate around it. By identifying specific "toxic neurons," the research provided a mechanistic explanation for why safety alignments are often fragile and susceptible to jailbreaks.

Moving into 2025, Bai’s work demonstrates a shift toward first-author leadership, with a pronounced focus on the behavioral anomalies, internal representations, and prompting vulnerabilities of language models. A major line of inquiry examines how models handle complex, abstract constraints like time and identity. In Concept Incongruence: An Exploration of Time and Death in Role Playing, Bai led an investigation into scenarios where user instructions conflict with a model's pre-trained knowledge. The paper demonstrated that asking a model to role-play as a historical figure warps its internal representation of time, causing it to fail at respecting chronological boundaries and leading to drops in factual accuracy. This work directly advances the research direction of Temporal Grounding for Large Language Models and contributes to the broader area of Enforcing Knowledge Boundaries in Role-Playing Agents.

Continuing the critical examination of role-playing, Bai led ``You are a brilliant mathematician'' Does Not Make LLMs Act Like One. This systematic evaluation across mathematics, psychology, and law revealed that popular persona-prompting techniques are often inconsistent. The study found that domain priming (using non-persona cues) frequently outperforms explicit persona adoption, challenging widespread assumptions about how best to instruct large language models.

In parallel, Bai expanded on earlier mechanistic interpretability work by applying reverse-engineering techniques to algorithmic reasoning. As the lead author of Why Can't Transformers Learn Multiplication? Reverse-Engineering Reveals Long-Range Dependency Pitfalls, Bai explored why standard transformers struggle with multi-digit multiplication. The research uncovered that successful models build internal "attention trees" and represent digits in Fourier space, insights that were subsequently used to improve standard models via a targeted auxiliary loss.

Finally, Bai has investigated the meta-cognitive capabilities of language models, specifically their ability to recognize their own outputs. In Know Thyself? On the Incapability and Implications of AI Self-Recognition, Bai led a systematic study revealing that state-of-the-art models perform near random chance at identifying their own generated text. The work highlighted a "hierarchical bias" where models frequently misattribute high-quality text to specific dominant model families, regardless of the actual source.

Current Directions

The most recent papers in the evidence suggest a continued focus on the intersection of mechanistic interpretability and the behavioral evaluation of large language models. A primary ongoing theme is the rigorous testing of model capabilities that are often taken for granted, such as self-recognition, temporal reasoning, and the ability to adopt distinct personas. Current work investigates the fundamental conflicts that arise when a model's pre-trained knowledge clashes with user-imposed constraints, seeking to understand how these incongruences warp internal representations.

Additionally, recent research points toward a sustained interest in reverse-engineering transformer architectures to diagnose and correct their algorithmic shortcomings. By mapping how models represent complex dependencies—such as mathematical operations—in latent space, the current trajectory aims to bridge the gap between empirical behavioral failures and their underlying mechanistic causes. This dual approach of behavioral probing and mechanistic analysis continues to inform strategies for building more transparent and reliable language models.

Profile updated

See something wrong? Report a mistake