Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Model

Tianyi Wu, Mingzhe Du, Yue Liu, Chengran Yang, Yue Zhuo, Jiaheng Zhang, See-Kiong Ng · 2026

Read Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Model by Tianyi Wu, Mingzhe Du, Yue Liu, Chengran Yang, Yue Zhuo, Jiaheng Zhang, See-Kiong Ng (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2602-07422.txt.

Description

Language models that write code often write insecure code, and current safety match tends to buy security by sacrificing functionality. Tianyi Wu and six co-authors present SecCoderX, an online reinforcement learning method that aims to keep both.

The method repurposes mature vulnerability detection resources twice: synthesizing real vulnerability-inducing tasks for rollouts, and training a thinking-based vulnerability reward model for scalable security supervision. An online loop then aligns code models toward secure and functional output. Software teams get an match approach that treats security as a skill to learn alongside correctness, not a tax on it.

Catalog record

CREATORTianyi Wu, Mingzhe Du, Yue Liu, Chengran Yang, Yue Zhuo, Jiaheng Zhang, See-Kiong Ng
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE101 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2602-07422

Browse the full library · About the Tower of Babel