Yanhao Li
· 1 previous affiliation
- Peking UniversitySince 2024
- MS student · 2024–2027
2 other authors named Yanhao Li: Yanhao Li (Moonshot AI (China) · 1 paper), Yanhao Li (École Normale Supérieure - PSL · 1 paper)
Research Overview
Yanhao Li focuses on the development of large language model agents, reinforcement learning for complex reasoning, and autonomous environment orchestration. His work addresses the challenges of scaling agentic capabilities for long-horizon tasks and executable code actions. Currently based at Peking University, his research investigates how interleaved training methods and specialized models can improve the reliability of artificial intelligence systems in software engineering contexts.
Research Trajectory
The trajectory of Yanhao Li’s research centers on enhancing the reasoning capabilities, autonomy, and reliability of large language models (LLMs) when deployed as agents in complex environments. A significant portion of this work addresses the limitations of current training paradigms when models are tasked with extended interactions or specialized software engineering workflows.
In 2026, he participated in the development of systems designed to handle tasks that exceed standard context windows and demand sustained interaction. With collaborators, he contributed to KLong: Training LLM Agent for Extremely Long-horizon Tasks. This research addressed the challenge of persistent memory and extended agency by introducing a novel two-stage training approach. The methodology utilized trajectory-splitting supervised fine-tuning (SFT) for initial capability acquisition, followed by progressive reinforcement learning (RL) to scale the agent's performance, allowing it to successfully navigate highly complex, long-horizon benchmarks.
Expanding on the practical deployment of autonomous systems, Li's work intersects with the research direction of Autonomous Environment Orchestration for LLM Agents. He was part of the team that introduced DOCKSMITH: Scaling Reliable Coding Environments via an Agentic Docker Builder. This project tackled the persistent challenge of environment reproducibility—often referred to as the "it works on my machine" problem—in AI-driven software engineering. By framing Docker environment construction as a core reasoning task rather than a static prerequisite, the 30-billion-parameter DOCKSMITH model demonstrated advanced capabilities in setting up executable environments. This work also advanced the broader area of Autonomous Agents with Executable Code Actions, showing that skills acquired during environment orchestration transfer directly to improved tool use and bug-fixing. The methodology underlying this system drew upon techniques in the area of Trajectory Filtering for High Quality Imitation Learning and explored concepts related to the direction of Procedural Memory for Trajectory Augmented Planning. Furthermore, the agent's ability to navigate build failures contributed to the research direction of Error Recovery and Strategic Pivoting in Language Agents.
Parallel to his work on agentic environments, Li has investigated the fundamental training dynamics of reasoning models. In the area of Reinforcement Learning for Reasoning in Large Language Models, he collaborated on Learning What Reinforcement Learning Can't: Interleaved Online Fine-Tuning for Hardest Questions. This research identified a critical limitation in standard RL pipelines: while RL excels at refining existing reasoning skills, it struggles to instill entirely new concepts that the model has not previously glimpsed. To resolve this, the team developed ReLIFT, a framework that dynamically interleaves RL with targeted supervised fine-tuning on the specific "hardest" questions the model fails to solve during training. This approach achieved high reasoning performance while significantly optimizing data and compute efficiency.
Current Directions
The most recent papers in the evidence, all published in 2026, highlight an ongoing focus on the intersection of reinforcement learning and autonomous agent design. A primary theme in this recent work investigates how hybrid training methodologies—specifically the dynamic interleaving of supervised fine-tuning and reinforcement learning—can overcome the limitations of either approach in isolation. By targeting the specific reasoning failures of models during training, this research aims to efficiently instill novel concepts and improve overall problem-solving capabilities without requiring prohibitive amounts of compute.
Additionally, recent work addresses the practical deployment of these reasoning models in software engineering domains. This involves developing specialized, agentic models capable of autonomous environment orchestration and executable code actions. By treating infrastructure tasks, such as container building and error recovery, as fundamental reasoning challenges rather than mere operational steps, the current research trajectory seeks to create more reliable and adaptable AI systems. Ultimately, these efforts converge on the goal of enabling language agents to maintain procedural memory, execute strategic pivots during failures, and sustain long-horizon execution in dynamic computational environments.
Profile updated
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