Xuechen Li
4 previous affiliations
- xAI (United States)2024–2025
- Member of Technical Staff · 2024–2025
- Stanford University2021–2024
- PhD student · 2021–2024
- Google (United States)2019–2021
- AI Resident · 2019–2021
- University of Toronto2015–2019
- Undergrad student · 2015–2019
1 other author named Xuechen Li: Xuechen Li (Shanghai Warpdrive Technology · 5 papers)
Research Overview
Xuechen Li focuses on the intersection of machine learning optimization, differential privacy, and the systematic evaluation and safety of large language models (LLMs). Li’s work addresses the technical challenges of training high-capacity models under privacy constraints, the development of standardized benchmarks for foundation models, and the identification of vulnerabilities in instruction-following systems. Current research directions emphasize the alignment of language models through human feedback and the mitigation of dual-use risks in automated systems.
Research Trajectory
Li’s early research, beginning around 2018, centered on the fundamental properties of generative models and optimization landscapes. This period involved investigating the limitations of amortized inference in latent-variable models, specifically addressing how the capacity of inference networks and the choice of variational distributions contribute to suboptimality. This foundational interest in model behavior extended to the study of second-order optimization methods, where Li examined the trade-offs between the convergence speed of preconditioned gradients and their impact on a model's generalization capabilities. During this time, Li also participated in the development of Neural Stochastic Differential Equations (Neural SDEs), framing them as continuous-time generative models that can be interpreted as infinite-dimensional Generative Adversarial Networks (GANs).
By 2021, Li’s focus shifted significantly toward Scaling Differentially Private Training by Reducing Gradient Overhead. This transition addressed the "privacy tax" associated with training large-scale models, where the computational overhead of per-example gradient clipping often renders standard Differential Privacy (DP) methods impractical. Li’s work in this domain explored Subspace Methods for High-Dimensional Differentially Private Optimization, aiming to mitigate the "curse of dimensionality" that typically degrades model utility as parameter counts increase. This line of inquiry also investigated Scaling Batch Sizes for Differentially Private Machine Learning, noting that the optimization rules for DP-SGD differ fundamentally from standard stochastic gradient descent, particularly regarding the role of noise and batch size in escaping local minima.
Concurrent with these optimization studies, Li explored Differentially Private Parameter-Efficient Fine-Tuning. As LLMs began to be fine-tuned on increasingly sensitive datasets, Li’s research highlighted the risk of data memorization and the necessity of mathematical guarantees against leakage. This work investigated how to apply DP to models with billions of parameters without catastrophic loss in performance, often by focusing updates on small subsets of the model's weights.
Starting in 2022, Li’s trajectory moved toward the holistic assessment and safety of foundation models. This shift was marked by a leadership role in establishing standardized evaluation frameworks to move beyond narrow performance metrics. This research examined the multi-dimensional desiderata of language models, including fairness, toxicity, and calibration. Li’s recent work has increasingly focused on the security implications of instruction-tuning, identifying how How Persona Consistency Overrides Safety Alignment can undermine established guardrails. This includes investigating Latent Space Monitoring for LLM Safety to detect harmful trajectories before they manifest in generated text, bypassing the limitations of traditional refusal-based training.
Current Directions
Li’s current research is characterized by the development of simulation frameworks for Reinforcement Learning from Human Feedback (RLHF) and the study of "honest" uncertainty in long-form text generation. By creating low-cost simulators for human feedback, Li aims to make the complex workflow of instruction-following models more transparent and reproducible. Additionally, Li is investigating the calibration of language models, specifically how models can express linguistic confidence that correlates with actual accuracy, thereby improving user decision-making even in the presence of hallucinations.
Representative Work
Inference Suboptimality in Variational Autoencoders This work investigates the gap between the true posterior and the approximate posterior in variational inference. As a second author, Li contributed to the analysis of how amortized inference—while scalable—introduces suboptimality due to both the restricted capacity of the inference network (the approximation gap) and the challenges of the optimization process itself (the amortization gap). The paper provides a framework for decomposing these errors, offering insights into the trade-offs required for scaling latent-variable models to large datasets.
When Does Preconditioning Help or Hurt Generalization? In this first-author study, Li examines the impact of second-order optimizers, such as Natural Gradient Descent (NGD), on the generalization performance of deep neural networks. While these methods accelerate training by accounting for the curvature of the loss landscape, the research questions whether this speed comes at the expense of the model's ability to perform on unseen data. The analysis provides a nuanced view of how preconditioning interacts with the geometry of the training objective and the resulting generalization error.
A Closer Look at the Calibration of Differentially Private Learners As the lead author, Li presents a systematic study of miscalibration in classifiers trained with differentially private stochastic gradient descent (DP-SGD). The research identifies per-example gradient clipping—a core requirement of DP—as a primary driver of miscalibration across various vision and language tasks. Li demonstrates that while standard calibration techniques often fail in the DP context, differentially private adaptations of temperature scaling and Platt scaling are highly effective at restoring calibration without significantly compromising accuracy.
Holistic Evaluation of Language Models Li served as a lead author on this comprehensive effort to standardize the evaluation of large language models. The project, known as HELM, taxonomizes a vast space of scenarios and metrics to improve the transparency of foundation models. By evaluating dozens of models across diverse categories—including accuracy, calibration, fairness, and toxicity—the work reveals that instruction-tuning is a primary driver of performance and highlights significant gaps in the trustworthiness of current AI systems.
AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback In this second-author paper, Li contributes to the development of a simulation framework designed to lower the barriers to research in RLHF. AlpacaFarm addresses the high costs and lack of reproducibility in human feedback loops by using LLM-based prompts to simulate human evaluation. The framework enables the rapid testing of methods for learning from feedback, providing a cost-effective environment for developing models that follow instructions more effectively.
Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attacks This research, where Li is the second author, explores the security risks inherent in instruction-following LLMs. The study demonstrates that the same capabilities that make these models useful for natural language tasks also enable them to execute standard computer security attacks. Li and collaborators show that LLMs can be manipulated to produce targeted malicious content, such as scams and hate speech, by bypassing the safety filters implemented by API vendors, highlighting a fundamental challenge in preventing the dual-use of advanced AI systems.
Profile updated
| Paper | Venue | Year |
|---|---|---|
| Isolating Sources of Disentanglement in Variational AutoencodersGitHubrtqichen/ | NeurIPS | 2018 |
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake