Ruiyang Sun
1 previous affiliation
- Peking University2020–2026
- Undergrad student · 2021–2026
- Undergrad student · 2020–2026
Research Overview
Ruiyang Sun focuses on the safety and alignment of artificial intelligence systems, with an emphasis on safe reinforcement learning and large language model alignment. His recent work investigates methods for decoupling helpfulness from harmlessness in human feedback and developing robust benchmarks for constrained optimization in reinforcement learning.
Research Trajectory
In 2023, Sun's collaborative research heavily emphasized the infrastructure and empirical foundations necessary for training safe artificial intelligence systems. A major focus of this period was the development of robust environments and datasets to evaluate and improve agent behavior under strict safety constraints. Working with co-authors, Sun contributed to Safety Gymnasium: A Unified Safe Reinforcement Learning Benchmark, an environment suite designed to test reinforcement learning agents in safety-critical scenarios. Recognizing that the deployment of AI often faces obstacles due to safety concerns, this benchmark supports both single-agent and multi-agent tasks using vector and vision-based inputs. It provides a standardized platform for the research direction of Safe Reinforcement Learning via Constrained Markov Decision Processes. The project also introduced SafePO, a library of algorithms that facilitates work in areas such as PID Control for Stable Constrained Reinforcement Learning.
Alongside benchmarking environments, Sun was part of a team that developed OmniSafe: An Infrastructure for Accelerating Safe Reinforcement Learning Research. This infrastructure project aimed to streamline the deployment of safe reinforcement learning (SafeRL) algorithms. The core philosophy of this work was to align RL agents with harmless intentions and safe behavioral patterns by allowing them to learn optimal policies through environmental feedback while strictly minimizing the risk of unintended harm.
Concurrently, Sun's work expanded into the alignment of large language models (LLMs), addressing the nuanced challenge of balancing utility with safety. He participated in the creation of BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Dataset. This dataset provides over 333,000 question-answer pairs and 361,000 expert comparisons that explicitly separate annotations for helpfulness and harmlessness. By isolating these attributes, the dataset supports the broader area of Decoupling Helpfulness and Harmlessness in LLM Alignment and advances the research direction of Fine-Grained Safety Alignment for Generative Models. The BeaverTails project also highlighted practical applications in content moderation and reinforcement learning from human feedback (RLHF), touching upon the area of Pluralistic Alignment and the Subjectivity of Human Feedback.
Building on these foundational datasets and infrastructures, Sun's research in 2024 applied constrained optimization techniques directly to LLM alignment. He co-authored Safe RLHF: Safe Reinforcement Learning from Human Feedback, which introduced a novel alignment algorithm that frames AI safety as a formal constrained optimization problem rather than a heuristic balancing act. By leveraging the decoupled dimensions of helpfulness and harmlessness explored in his earlier work, this method trains models to maximize utility while strictly adhering to defined safety constraints. This contribution significantly advanced the research direction of Multi-Dimensional Preference Alignment for Language Models, demonstrating improved performance over standard RLHF methods in maintaining both safety and helpfulness.
Current Directions
The most recent papers in the evidence indicate a continued focus on refining the alignment of large language models through structured optimization techniques. Recent work investigates how to formally integrate safety constraints into the reinforcement learning from human feedback (RLHF) pipeline, moving beyond simple reward scalarization. By treating alignment as a constrained optimization problem, this approach seeks to reliably decouple and independently manage multiple dimensions of model behavior, such as helpfulness and harmlessness. This ongoing research aims to produce generative models that can maximize user utility without compromising strict safety guarantees, bridging the gap between theoretical safe reinforcement learning and practical language model deployment.
Profile updated
| Paper | Venue | Year |
|---|---|---|
| Safe RLHF: Safe Reinforcement Learning from Human FeedbackGitHubPKU-Alignment/ | ICLR | 2024 |
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