Chengran Yang
· 2 previous affiliations
- Current
- PhD student · 2021–2026
- Undergrad student · 2016–2020
Research Overview
Chengran Yang focuses on the intersection of large language models (LLMs), automated software engineering, and Execution-Guided Reinforcement Learning for Code Generation. Their work addresses the fundamental limitations of monotonic autoregressive decoding in code synthesis, proposing new paradigms that allow for real-time revision and self-correction. By investigating the "functionality-security paradox" in AI-assisted programming, Yang develops reinforcement learning frameworks and benchmarking protocols designed to ensure that generated code is both functionally correct and resilient against security vulnerabilities.
Research Trajectory
The trajectory of Yang’s research is defined by a transition from standard generative modeling toward specialized, security-aware alignment for code. While early developments in the field of large language models relied heavily on Model Based Data Selection for Language Model Training to improve general reasoning capabilities, Yang’s recent contributions focus on the unique structural and semantic requirements of source code. This shift recognizes that code is not merely a sequence of tokens to be predicted, but a functional artifact whose value is determined by its execution and security profile.
A central theme in this evolution is the move away from strictly monotonic generation. Traditional LLMs append tokens linearly to an immutable prefix, a process that contrasts with the iterative nature of human programming. Yang’s work introduces methods for "decoding revision," which elevates code generation from a static stream to a dynamic trajectory. This approach mirrors the cognitive processes involved in software development, where forward generation is frequently interleaved with on-the-fly corrections.
Furthermore, Yang’s research addresses the stability and efficiency of the reinforcement learning processes used to align these models. As the field moves toward more complex alignment objectives, such as balancing code utility with vulnerability mitigation, the computational overhead of traditional methods becomes a significant barrier. Yang’s work intersects with the development of Group Relative Policy Optimization for Large Reasoning Models, a technique that mitigates the need for large "critic" models, thereby reducing memory requirements and training instability during the alignment phase.
Current Directions
Yang’s current research is concentrated on three primary pillars: the development of revisable decoding paradigms, the implementation of online reinforcement learning for secure code generation, and the creation of rigorous benchmarking environments for code agents.
In the domain of secure alignment, Yang explores the "functionality-security paradox," where efforts to improve the security of generated code often lead to a degradation in the model's ability to solve complex functional tasks. To resolve this, Yang investigates online RL frameworks that utilize specialized vulnerability reward models. These models are designed to bridge the gap between vulnerability detection and code generation, repurposing mature detection resources to provide high-fidelity feedback during the training process. This direction is closely linked to broader efforts in Efficient and Semantic Tokenization for Multimodal Foundation Models, as the choice of tokenization and representation significantly impacts the model's ability to reason about fine-grained security flaws.
Another significant area of focus is the evaluation of code agents in realistic scenarios. Yang’s work emphasizes that existing benchmarks often fail to capture the genuine context in which vulnerabilities are introduced. By developing more comprehensive benchmarking protocols, Yang aims to provide a more accurate measure of how code agents perform when faced with complex, multi-step software engineering tasks. This work also touches upon the necessity of Decoupling Content Selection From Text Generation logic, as code agents must often "summarize" and understand vast codebases before generating or repairing specific snippets.
Finally, Yang’s research considers the architectural constraints of preserving modality-specific features. While primarily focused on code, the underlying challenges of synthesizing disparate information sources—such as natural language requirements, existing source code, and execution traces—parallel the challenges found in Multi-Stream Architectures for Preserving Modality Specific Features. Yang’s work seeks to ensure that the unique semantic properties of code are preserved and leveraged throughout the generation and revision process.
Representative Work
Autoregressive, Yet Revisable: In Decoding Revision for Secure Code Generation In this work, Yang serves as the lead author to propose "Stream of Revision," a paradigm shift in how LLMs generate code. The paper argues that the standard monotonic formulation of code generation is insufficient for capturing the self-correcting nature of programming. By leveraging the model's intrinsic semantic reasoning, the proposed framework allows the model to revise its own output during the decoding process. This approach aims to reduce the latency associated with post-hoc revision agents while improving the overall security and correctness of the generated code.
Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Model As a key contributor to this research, Yang explores the SecCoderX framework, which utilizes online reinforcement learning to address the functionality-security paradox. The research focuses on two primary innovations: the synthesis of reality-grounded, vulnerability-inducing coding tasks for RL rollouts and the training of a robust vulnerability reward model. This framework allows for functionality-preserving secure code generation, ensuring that the model remains useful for software development while significantly reducing the likelihood of introducing security flaws.
SecureAgentBench: Benchmarking Secure Code Generation under Realistic Vulnerability Scenarios In this collaborative effort, Yang contributes to the development of a rigorous benchmark designed to evaluate the security risks of LLM-powered code agents. SecureAgentBench consists of 105 coding tasks that reflect realistic vulnerability scenarios, moving beyond narrow evaluation protocols. The benchmark assesses both functional correctness and the introduction of new vulnerabilities, providing a more holistic view of an agent's capabilities in automated software engineering tasks such as testing, debugging, and repair.
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