Jiayi Weng
· 6 previous affiliations
- OpenAI (United States)Since 2022
- Researcher · Since 2022
- Carnegie Mellon University2020–2022
- MS student · 2020–2022
- Sea2021
- Research Engineer · 2021
- Tsinghua University2016–2020
- Research Assistant · 2018–2020
- Undergrad student · 2016–2020
- Research Intern · 2019
- Research Intern · 2018
Research Overview
Jiayi Weng focuses on the intersection of reinforcement learning (RL) and systems engineering, with a specific emphasis on high-throughput training pipelines, distributed systems, and the alignment of foundation models. His work addresses the computational and architectural bottlenecks that arise when scaling RL algorithms to complex environments and large-scale models. By developing specialized execution engines and reproducible distributed platforms, Weng aims to reduce the "data movement tax" and improve the efficiency of Reinforcement Learning from Human Feedback (RLHF) and other post-training methodologies.
Research Trajectory
Weng’s research trajectory began with a focus on applying RL to complex, high-dimensional tasks and optimizing hardware-related algorithms. During his time at Tsinghua University, he explored hierarchical reinforcement learning in the context of first-person shooter (FPS) games. This work addressed the challenges of large action spaces and sparse rewards by utilizing a manager-worker architecture, where high-level policies directed low-level workers motivated by intrinsic rewards. Simultaneously, Weng applied his interest in computational efficiency to the field of microfluidics, developing the URBER method for ultrafast rule-based escape routing in large-scale drug delivery biochips. This early work demonstrated a dual interest in complex agent behavior and the underlying systems required to execute large-scale simulations efficiently.
As his work progressed, Weng shifted toward the development of core RL infrastructure and open-source systems. This period was marked by the creation of Tianshou, a modular PyTorch-based RL library, and the development of EnvPool: A Highly Parallel Reinforcement Learning Environment Execution Engine. This shift represented a move from application-specific research to addressing the fundamental "portability gap" and performance limitations of existing RL frameworks. By moving environment execution from Python to a C++ backend and utilizing Zero-Copy Data Sharing via Shared Memory, Weng sought to overcome the communication overhead that typically limits RL throughput. This work aligns with broader efforts in Engineering Portable and Interoperable Scientific Software Frameworks, ensuring that high-performance RL tools are accessible across diverse hardware configurations.
Current Directions
Currently, Weng’s research is centered on the post-training and alignment of foundation models, particularly within the context of large-scale distributed systems. His work at OpenAI involves designing and scaling RLHF pipelines for models such as GPT-4 and the o-series. A primary challenge in this domain is managing Asynchronous Decoupled Reinforcement Learning for Large Models, where the separation of data collection (rollout) and model optimization is necessary for throughput but introduces significant complexity.
Weng’s current focus includes addressing the problem of Learning from Stale Data in Asynchronous Reinforcement Learning. In large-scale distributed training, the delay between an agent’s interaction with an environment and the subsequent policy update can lead to training instability. His work involves developing infrastructure that mitigates these effects while maintaining high utilization across Asynchronous Optimization for Heterogeneous Distributed Systems. This includes research into GPU-Native Simulation for Accelerated Reinforcement Learning, which aims to eliminate the CPU-GPU communication bottleneck by keeping the entire training loop on the accelerator. Furthermore, Weng continues to emphasize reproducibility in distributed RL, ensuring that experiments yield consistent results regardless of the underlying cluster size.
Representative Work
In EnvPool: A Highly Parallel Reinforcement Learning Environment Execution Engine, Weng (as first author) introduced a C++-based engine designed to address the bottleneck of parallel environment execution in RL. Traditional RL frameworks often rely on Python-based multiprocessing, which incurs significant overhead due to serialization and inter-process communication. EnvPool utilizes a thread-based model and shared memory to achieve significantly higher throughput than existing baselines like OpenAI Gym or Ray. The system is designed to scale from personal workstations to high-end server configurations, demonstrating that optimized environment execution can lead to substantial reductions in total training time.
Weng contributed as a second author to Cleanba: A Reproducible and Efficient Distributed Reinforcement Learning Platform. This work addresses the lack of reproducibility in distributed RL, where non-deterministic synchronization and varying hardware configurations often lead to inconsistent results. Cleanba leverages JAX and a deterministic synchronization architecture to ensure that experiments remain reproducible across different scales. The platform achieves significant speedups over standard distributed baselines while providing a framework for researchers to iterate on large-scale RL algorithms with greater confidence in their results.
Weng also participated in the development of the Open RL Benchmark: Comprehensive Tracked Experiments for Reinforcement Learning. As part of a large community-driven effort, he contributed to the creation of a repository containing thousands of tracked RL experiments. This project aims to improve the transparency and reproducibility of RL research by providing not only episodic returns but also algorithm-specific and system metrics. By making raw learning curves and system data publicly available, the benchmark reduces the need for researchers to reproduce baseline experiments from scratch, thereby accelerating the pace of the field.
Earlier in his career, Weng co-led research on hierarchical RL for FPS games, which was presented at IJCAI. This work introduced an environment-aware hierarchical agent that utilized combined options and intrinsic rewards to drive exploration in complex 3D environments. The agent’s manager-worker fashion allowed it to learn rational behaviors in tasks requiring both maze solving and combat skills. This project was notable for achieving first place in the VDAIC 2018 Track(1) competition, highlighting Weng's ability to translate theoretical RL concepts into high-performing practical agents.
In the domain of hardware design, Weng developed URBER, an ultrafast rule-based escape routing method for microfluidic biochips. This research addressed the challenge of routing drug sample delivery channels in large-scale microwell arrays. By employing a set of pre-defined rules rather than exhaustive solution space exploration, URBER achieved near-optimal routing solutions with a runtime several orders of magnitude faster than previous methods. This work underscores Weng's foundational interest in building systems that prioritize computational efficiency and scalability.
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