Lei M Zhang
· 2 previous affiliations
- Google (United Kingdom)Since 2020
- Research Scientist · Since 2020
- Current
Research Overview
Lei M Zhang focuses on large-scale reinforcement learning (RL) and the development of generalist agents capable of rapid, in-context adaptation. Zhang's work emphasizes the use of automated curricula, meta-learning, and synthetic data to bridge the gap between simulation and reality, as well as to enable agents to acquire complex skills such as social learning and formal reasoning. Currently a Senior Research Scientist at Google DeepMind, Zhang previously served as a Member of Technical Staff at OpenAI, where early work centered on physical robotics and sim-to-real transfer.
Research Trajectory
Zhang’s research trajectory began with a focus on high-dimensional physical control and the challenges of transferring policies from simulation to the real world. During the tenure at OpenAI, this work culminated in the development of techniques for training humanoid robotic hands to perform complex manipulation tasks. A central methodological contribution during this period was the use of Automatic Domain Randomization (ADR), which allowed for the emergence of meta-learning capabilities, enabling agents to adapt to physical perturbations in real-time without explicit retraining.
Following the transition to Google DeepMind around 2021, Zhang’s focus shifted toward the intersection of RL and formal reasoning. This period was characterized by an exploration of how agents can learn to solve complex logical problems without relying on human-generated proofs. This involved investigating Scaling Mathematical Reasoning with Synthetic Data Synthesis and Bootstrapping Logical Reasoning with Synthetic Proof Trees. By generating massive datasets of synthetic theorems and utilizing techniques like hindsight experience replay, Zhang contributed to the development of neural theorem provers that significantly outperformed traditional non-learning baselines. This work also touched upon Taming Search Space Explosion in Formal Reasoning, treating proof generation as a search problem that can be optimized through learning.
From 2022 to 2023, Zhang’s work evolved to address social learning and cultural transmission. This research direction sought to move beyond individual learning by enabling agents to acquire information from other agents or humans in real-time. By training agents in procedurally generated 3D environments, Zhang demonstrated that agents could learn to follow demonstrators and solve novel tasks, effectively internalizing a "social shortcut" for skill acquisition. This period also saw the development of the Adaptive Agent (AdA), which achieved human-timescale adaptation in open-ended task spaces by combining large-scale Transformer architectures with automated curricula.
More recently, Zhang has explored the role of foundation models in RL and the expansion of context windows in large language models (LLMs). This includes using vision-language models (VLMs) as zero-shot reward functions for training generalist agents and investigating the performance gains of many-shot in-context learning. This latest phase of work aligns with the broader theme of General Purpose Reasoning from Specialized Reinforcement Learning, where the focus is on building agents that can reason and act across diverse virtual and physical domains. Zhang has also participated in research regarding Neural Heuristics for Accelerating Combinatorial Search, further bridging the gap between deep learning and classical optimization.
Representative Work
In Solving Rubik's Cube with a Robot Hand, Zhang served as the senior author on a project demonstrating that a humanoid robot hand could be trained entirely in simulation to solve a Rubik’s cube. The work introduced Automatic Domain Randomization (ADR), a curriculum learning method that progressively increases the complexity of the simulated environment. This approach led to the emergence of meta-learning, where the robot learned to compensate for physical effects like friction and joint elasticity that were not explicitly modeled, facilitating a successful sim-to-real transfer for a highly complex manipulation task.
As senior author of Training a First-Order Theorem Prover from Synthetic Data, Zhang addressed the scarcity of high-quality data for formal reasoning. The research demonstrated that a Transformer-based prover could be trained using millions of randomly generated but valid theorems derived from basic axioms. By training exclusively on this synthetic data, the model achieved a significant performance increase over non-learning baselines on human-written problems in the TPTP library, suggesting that synthetic data can effectively substitute for human-curated proofs in complex logical domains.
Zhang contributed to the development of Proving Theorems using Incremental Learning and Hindsight Experience Replay, which applied Hindsight Experience Replay (HER) to formal logic. In this framework, failed proof attempts are re-labeled as successful attempts to reach an intermediate "hindsight" goal. This allowed the system to bootstrap its own learning process in environments with sparse rewards, eventually matching the performance of state-of-the-art traditional provers without requiring human demonstrations.
In the area of social learning, Zhang was the senior author of Learning few-shot imitation as cultural transmission. This work, published in Nature Communications, explored how AI agents can acquire new behaviors by observing others. By utilizing a "starter kit" of architectural and algorithmic components—including social attention and expert dropout—the research showed that agents could learn to solve tasks in novel 3D environments by following a demonstrator. This demonstrated that cultural transmission could be an emergent property of large-scale RL, providing a mechanism for rapid skill acquisition.
The development of the Adaptive Agent (AdA) is detailed in Human-Timescale Adaptation in an Open-Ended Task Space, where Zhang served as senior author. AdA utilizes a large-scale Transformer-based policy trained via RL on a vast, procedurally generated task space. The model demonstrates the ability to adapt to new, complex tasks within minutes of interaction, a timescale comparable to human learning. This work highlights the potential for "foundation models" in RL to achieve rapid, in-context adaptation without the need for further weight updates or fine-tuning.
Zhang also led research into the use of pre-trained models as reward signals in Vision-Language Models as a Source of Rewards. This paper investigated the feasibility of using frozen VLMs, such as CLIP, to provide rewards for RL agents based on the visual achievement of language-specified goals. By deriving rewards from the alignment between an agent's visual observations and a text prompt, Zhang and colleagues trained generalist agents to perform a wide variety of tasks in complex environments, bypassing the need for manually coded reward functions for every individual goal.
In more recent collaborative work, Zhang participated in the study of Many-Shot In-Context Learning. As a third author, Zhang contributed to the investigation of how LLMs behave when provided with hundreds or thousands of examples in their context window. The research found that this "many-shot" regime leads to substantial performance improvements across generative and discriminative tasks, sometimes rivaling supervised fine-tuning. The study also explored "Reinforced ICL," which uses model-generated rationales to overcome the limitations of human-generated data.
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