Kunhao Zheng
· 9 previous affiliations
- Meta (United States)Since 2023
- PhD student · 2024–2027
- Industrial PhD Program · Since 2024
- Current
- Research Scientist Intern · 2023–2024
- Hugging Face2023
- Research Intern · 2023
- Shanghai Jiao Tong University2016–2023
- B.S.& M.S in Information Engnieering, Information Engnieering · 2016–2023
- Undergrad student · 2016–2020
- Sea AI Lab (SAIL)2022–2023
- Research Engineer (Intern) · 2022–2023
- SAIL2022–2023
- Research Intern · 2022–2023
- ParisTech2016–2023
- B.S.& M.S in Information Engnieering, Information Engnieering · 2016–2023
- École Polytechnique2018–2023
- Diplôme d'ingénieur, Computer Science - Data Science · 2018–2023
- MS student · 2019–2022
- Research Intern · 2021
- Research Intern · 2020–2021
Research Overview
Kunhao Zheng focuses on machine learning for formal mathematics, code generation, and reinforcement learning applied to language models. His early trajectory spans automated theorem proving and compiler optimization, establishing foundations for rigorous evaluation and training. Recently, he investigates how large language models can internalize complex reasoning and optimize execution-based objectives through reinforcement learning.
Research Trajectory
In 2022, he introduced miniF2F: a cross-system benchmark for formal Olympiad-level mathematics, a dataset designed to unify evaluation for neural theorem proving across systems like Metamath, Lean, Isabelle, and HOL Light. Drawing problems from the AIME, AMC, and the International Mathematical Olympiad, this work established foundational metrics for the area of Taming Search Space Explosion in Formal Reasoning and contributed to the broader direction of Formalizing Mathematical Intuition Through Autoformalization, as well as neurosymbolic verification for large language model reasoning. Building on this focus on mathematical reasoning, he participated in research on Formal Mathematics Statement Curriculum Learning (2023). This work demonstrated that interleaving proof search with learning—a process known as expert iteration—dramatically outperforms proof search alone, advancing the research direction of Expert Iteration for Automated Theorem Proving and curriculum reinforcement learning for large reasoning models.
During this period, his work also spanned systems, scientific computing, and applied machine learning. He developed JAX-XC: Exchange Correlation Functionals Library in Jax, an open-source library integrating exchange-correlation functionals into the JAX ecosystem. This enabled end-to-end differentiability for Density Functional Theory calculations, contributing to compiler-integrated automatic differentiation and paving the way for novel machine learning applications in materials science. Additionally, he collaborated on deep learning compiler optimization in HloEnv: A Graph Rewrite Environment for Deep Learning Compiler Optimization Research, which provided a flexible interface for controlling graph optimization passes by converting them into sequential rewrite decisions. He also contributed to computer vision research, addressing incomplete temporal localization by distilling knowledge from vision-language models in Distilling Vision-Language Pre-Training to Collaborate with Weakly-Supervised Temporal Action Localization.
By 2025, his research trajectory concentrated heavily on optimizing large language models for reasoning and code generation through advanced reinforcement learning techniques. He led an investigation into prompt deconstruction with What Makes Large Language Models Reason in (Multi-Turn) Code Generation?. This work revealed how models can be fine-tuned to solve complex problems without explicit reasoning prompts at inference time, directly advancing the area of Internalizing Reasoning into Model Weights alongside research into the algorithmic reasoning gap in competitive programming and the inverted U-curve of chain-of-thought reasoning.
To further align models with specific inference-time objectives, he co-developed Optimizing Language Models for Inference Time Objectives using Reinforcement Learning. By employing a novel "leave-one-out" gradient estimator, this research improved performance in coding and mathematical reasoning by training models to excel at generation strategies like pass@k and majority voting, contributing to the research area of Counterfactual Credit Assignment for Cooperative Reinforcement Learning. He similarly applied reinforcement learning to compiler feedback in RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning. This method trained models to treat code generation as an iterative dialogue with a compiler, achieving strong results on competitive programming benchmarks with significantly fewer samples than prior agentic frameworks and advancing execution-guided reinforcement learning for code generation.
Addressing the core algorithms underlying these advancements, he co-authored Soft Policy Optimization: Online Off-Policy RL for Sequence Models, which introduced a memory-efficient off-policy RL method that eliminates the need for a separate critic network via a Cumulative Q-Parameterization. This work supports areas such as mitigating diversity collapse in reinforcement learning, reference-free preference optimization, and asynchronous decoupled reinforcement learning for large models. Concurrently, he participated in refining human preference sampling for reward modeling in PILAF: Optimal Human Preference Sampling for Reward Modeling, proposing a response sampling strategy that explicitly aligns preference learning with maximizing the underlying oracle reward. He also contributed to novel evaluation paradigms with The KoLMogorov Test: Compression by Code Generation, a benchmark assessing LLM intelligence by challenging models to generate the shortest possible computer program capable of reproducing specific data sequences, testing algorithmic compression and simplicity bias.
Most recently, he extended his work on execution-guided optimization with Making Execution Time a Trainable Reward for Code Generation (2026). This research introduced a training recipe that rewards models based on the execution speed of their generated code relative to human reference solutions, successfully improving computational efficiency without sacrificing correctness.
Current Directions
The most recent papers in the evidence indicate a strong focus on reinforcement learning for language models, execution-guided code generation, and the internalization of reasoning. Recent work investigates how to align and optimize large language models beyond standard next-token prediction by developing reinforcement learning algorithms that leverage execution feedback and execution time as direct reward signals. Additionally, his current research addresses how models can internalize complex reasoning steps into their weights, reducing the reliance on explicit chain-of-thought prompting at inference time, while exploring scalable, memory-efficient off-policy RL methods for sequence models.
Profile updated
| Paper | Venue | Year |
|---|---|---|
| The KoLMogorov Test: Compression by Code GenerationGitHubfacebookresearch/ | ICLR | 2025 |
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