Skip to content

RedRFT: A lightweight benchmark for red teaming based on reinforcement fine-tuningRedRFT: A Light-Weight Benchmark for Reinforcement Fine-Tuning-Based Red Teaming

arXiv· arXiv:2506.04302· Xiang Zheng, Xingjun Ma, Wei-Bin Lee, Cong Wang·Indexed by this site · 26 days ago· Originally publishedTools
AI summary

The researchers propose RedRFT, a lightweight benchmark for simplifying and standardizing the implementation and evaluation of red teaming based on reinforcement fine-tuning (RFT), with code open-sourced at https://github.com/x-zheng16/RedRFT.git。该基准结合单文件. It draws on the design strengths of CleanRL and the highly modular Tianshou, providing a high-quality single-file red teaming implementation and modular PPO core components (such as the General Advantage Estimator), supporting multiple token and sentence diversity metrics, with modular, plug-and-play intrinsic reward computation. The authors also conduct extensive ablation experiments on key components such as LoRA, KL divergence, and Lagrange multipliers to clarify their impact on RFT performance, with the goal of helping understand the implementation details of RFT red teaming algorithms and supporting rapid prototyping of innovative features.

Read originalarxiv.org