Lei Zhao

University of Pennsylvania
2 previous affiliations
3Machine learning papers tracked by Lacuna

7 other authors named Lei Zhao: Lei Zhao (Zhejiang University · 143 papers), Lei Zhao (16 papers), Lei Zhao (2 papers), Lei Zhao (2 papers), Lei Zhao (Northwestern Polytechnical University · 1 paper), and 2 more

Is this you?

Research Overview

Lei Zhao focuses on the theoretical foundations of reinforcement learning and the mechanistic interpretability of Transformer architectures. Zhao’s research primarily addresses the sample complexity of learning from expert demonstrations and the internal computational strategies that enable large language models to perform in-context learning. By bridging the gap between algorithmic theory and the empirical behavior of neural networks, Zhao seeks to clarify how complex models optimize for specific tasks without explicit weight updates.

Research Trajectory

Zhao’s documented research contributions are concentrated in 2024, reflecting a dual focus on the rigorous analysis of reinforcement learning (RL) and the structural mechanisms of attention-based models. This work is characterized by a transition from high-level algorithmic design to a more granular, mechanistic understanding of how models process information.

In the domain of reinforcement learning, Zhao has focused on the theoretical parity between standard RL and Inverse Reinforcement Learning (IRL). While IRL—the process of inferring reward functions from expert behavior—has traditionally been viewed as more complex than standard RL, Zhao’s work provides a theoretical framework suggesting that both problems share comparable sample complexity. This trajectory emphasizes the development of provably efficient algorithms that can operate in both online and offline settings, particularly through the application of the "pessimism principle" to handle the distribution shift inherent in pre-collected datasets.

Simultaneously, Zhao has contributed to the burgeoning field of mechanistic interpretability. This line of inquiry moves beyond the "black box" view of Transformers to investigate how they function as implicit solvers for mathematical problems. By using sparse linear regression as a diagnostic task, Zhao has explored how trained models utilize multi-head attention to filter noise and perform iterative optimization. This work aligns with broader efforts in the field to understand Implicit Gradient Descent in Transformer Forward Passes, suggesting that the forward pass of these models mimics classical optimization algorithms like gradient descent.

Current Directions

Zhao’s current research directions are centered on the intersection of optimization theory and neural architecture. A primary focus is the "preprocess-then-optimize" strategy observed in multi-layer Transformers. Zhao investigates how initial layers of a network perform feature selection—a task critical for Extracting Sparse Evidence from Low Information Density Documents—while subsequent layers execute the actual computational logic.

Furthermore, Zhao continues to refine the theoretical understanding of IRL. Current efforts are directed toward establishing whether the "why" of agent behavior (reward functions) is fundamentally more difficult to recover than the "how" (optimal policies). This involves developing new bounds for sample complexity that account for the quality of the behavior policy and the coverage of the state-action space in offline datasets.

Representative Work

Is Inverse Reinforcement Learning Harder than Standard Reinforcement Learning? A Theoretical Perspective In this first-author work, Zhao addresses a long-standing question in RL theory regarding the relative difficulty of IRL compared to standard RL. The paper proves that IRL is not fundamentally harder in terms of sample complexity, provided appropriate algorithms are employed. Zhao introduces the first line of provably efficient algorithms for IRL in the offline setting, where the learner must infer rewards from a fixed dataset without further environment interaction. By adapting the pessimism principle—a technique that penalizes uncertainty in poorly explored regions of the state space—Zhao demonstrates that nearly optimal reward functions can be recovered with polynomial sample complexity. This work provides a rigorous theoretical basis for developing imitation learning systems that are as efficient as their direct reinforcement learning counterparts.

How Transformers Utilize Multi-Head Attention in In-Context Learning? A Case Study on Sparse Linear Regression As a second author, Zhao contributes to a mechanistic study of how trained Transformers solve sparse linear regression problems during in-context learning. The research reveals a specialized division of labor within the model's architecture: the first layer utilizes multi-head attention to identify and reweight significant features, effectively performing a form of data preprocessing. Subsequent layers then use a single dominant attention head to execute iterative optimization steps, similar to gradient descent, on the refined feature set. This study is significant for its shift away from theoretical "parameter construction" (showing what a Transformer could do) toward an empirical analysis of what a trained Transformer actually does, providing concrete evidence for the "transformer-as-optimizer" hypothesis.

The available evidence for Zhao's research is currently focused on these two primary pillars of machine learning theory and interpretability. While the corpus indicates a high level of technical rigor in these areas, the temporal scope is presently limited to 2024, suggesting an active and evolving research program in the foundations of artificial intelligence.

Profile updated

See something wrong? Report a mistake