NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Kaifeng Lyu

Kaifeng Lyu

Tsinghua University
3 previous affiliations
51Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Kaifeng Lyu focuses on machine learning theory, optimization, and the foundations of AI safety. His early work established rigorous theoretical frameworks for understanding the implicit bias and training dynamics of neural networks. More recently, his research addresses the generalization paradigms of large language models and the development of robust alignment techniques for frontier AI systems.

Research Trajectory

Lyu’s early research began in algorithmic graph theory. He collaborated on Single-Source Bottleneck Path Algorithm Faster than Sorting for Sparse Graphs (2018), which presented a comparison-based algorithm that broke the long-standing sorting barrier for computing widest paths in directed sparse graphs.

Following this, his focus shifted toward the theoretical underpinnings of deep learning and optimization, particularly the area of How Gradient Descent Selects Simple Solutions. He led foundational work demonstrating that gradient descent naturally converges to max-margin solutions in homogeneous neural networks, detailed in Gradient Descent Maximizes the Margin of Homogeneous Neural Networks (2020). This analysis contributed significantly to the broader research direction of The Implicit Max Margin Bias of Gradient Descent and advanced the theoretical area of Breaking the Homogeneity Assumption in Deep Learning Theory. He subsequently extended these margin maximization proofs to non-homogeneous settings in Gradient Descent on Two-layer Nets: Margin Maximization and Simplicity Bias (2021).

Concurrently, Lyu explored how architectural components influence optimization trajectories. With collaborators, he modeled stochastic gradient descent using stochastic differential equations to capture gradient noise in Reconciling Modern Deep Learning with Traditional Optimization Analyses: The Intrinsic Learning Rate (2020). He later provided a mathematical analysis of how normalization layers, combined with weight decay, encourage gradient descent to find flatter minima in Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction (2022). Directing research on implicit regularization in matrix factorization, he showed its mathematical equivalence to greedy low-rank learning in Towards Resolving the Implicit Bias of Gradient Descent for Matrix Factorization: Greedy Low-Rank Learning (2021), contributing to the domain of Generalizing Matrix and Tensor Recovery to Asymmetric Systems.

His investigation into training dynamics eventually led to rigorous proofs of delayed generalization phenomena. In Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking (2024), he established a theoretical mechanism for "grokking," demonstrating a sharp transition between an early phase biased toward overfitting and a late phase biased toward max-margin generalization. This work provided a formal foundation for the research area of The Mechanics of Delayed Generalization. Around this time, he also participated in research on efficient model inference, contributing to the direction of Speculative Decoding for Accelerated Autoregressive Inference through the development of a knowledge distillation framework in DistillSpec: Improving Speculative Decoding via Knowledge Distillation (2024).

The most recent phase of Lyu’s trajectory centers on the generalization, safety, and optimization of large language models (LLMs). In the domain of AI safety, his group introduced Safety Reflection Pretraining in Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection (2026), a method that embeds self-monitoring directly into the pretraining process to create robust defenses against jailbreaks and malicious fine-tuning. He also oversaw the creation of new evaluation frameworks, such as Beyond Problem Solving: UOJ-Bench for Evaluating Code Generation, Hacking, and Repair in Competitive Programming (2026), which tests the ability of frontier models to identify and fix subtle code vulnerabilities.

Addressing the practical constraints of scaling foundation models, Lyu investigated data scarcity in Larger Datasets Can Be Repeated More: A Theoretical Analysis of Multi-Epoch Scaling in Linear Regression (2026). He also explored efficient knowledge injection techniques, proposing a prompt-engineered augmentation baseline in SPA: A Simple but Tough-to-Beat Baseline for Knowledge Injection (2026). Investigating architectural limitations, his team demonstrated that frontier models struggle with exact copying due to 1D positional encodings, proposing a 2D grid approach in Frontier Language Models Struggle to Copy: Text Can Be Better Viewed in 2D (2026). Furthermore, he examined the impact of data distributions on complex tasks, showing that power-law distributions accelerate compositional reasoning in The Power of Power Law: Asymmetry Enables Compositional Reasoning (2026). Finally, he continued his foundational optimization research by analyzing the failure modes of quadratic approximations during full-batch gradient descent for language models in Does LLM Pre-Training Typically Occur at the Edge of Stability? (2026).

Current Directions

Based on the most recent papers in the evidence, Lyu’s current research investigates the foundational mechanics, safety, and scaling behaviors of large language models. A major theme is pretraining-stage alignment, where he explores methods to weave safety reflection directly into the initial training of models, moving beyond shallow post-training interventions to build intrinsic robustness against adversarial attacks.

Additionally, his recent work addresses the theoretical and practical challenges of the "data wall" in AI scaling. This includes analyzing multi-epoch training dynamics when novel human data is exhausted, and developing efficient, prompt-driven synthetic data pipelines for knowledge injection. He is also actively examining how architectural inductive biases—such as positional encodings—and long-tail data distributions fundamentally shape a model's capacity for compositional reasoning and basic algorithmic tasks. Finally, he continues to refine optimization theory by evaluating the limits of classical stability conditions and quadratic approximations in the context of modern LLM pretraining.

Profile updated

See something wrong? Report a mistake