paper-with-me

홈 › Papers

Reverse Constitutional AI: A Framework for Controllable Toxic Data Generation via Probability-Clamped RLAIF

2026-04-20 · Yuan Fang, Yiming Luo, Aimin Zhou, Fei Tan arxiv

Ensuring the safety of large language models (LLMs) requires robust red teaming, yet the systematic synthesis of high-quality toxic data remains under-explored. We propose Reverse Constitutional AI (R-CAI), a framework for automated and controllable adversarial data generation that moves beyond isolated jailbreak prompts. By inverting a harmless constitution into a constitution of toxicity and iteratively refining model outputs through a critique--revision pipeline, R-CAI enables scalable synthesis of multi-dimensional adversarial data without human annotation. Optimizing solely for toxicity-related rewards, however, can lead to reward hacking and degraded semantic coherence. To address this challenge, we introduce probability clamping within reinforcement learning from AI feedback, which stabilizes adversarial optimization while preserving adversarial intent. Experiments demonstrate that R-CAI generates diverse, high-quality toxic data and that probability clamping substantially improves semantic coherence (15%) without sacrificing adversarial strength. Overall, R-CAI provides a fully automated framework for red teaming data generation and systematic safety evaluation of aligned language models.

📄 PDF Abstract BibTeX arXiv:2604.17769

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningRed Teaming

Similar Papers 제목 키워드 기반

Constructing Highly Inductive Contexts for Dialogue Safety through Controllable Reverse Generation

2022-12-04 · Zhexin Zhang, Jiale Cheng, Hao Sun, Jiawen Deng 외

Large pretrained language models can easily produce toxic or biased content, which is prohibitive for practical use. In order to detect such toxic generations, existing methods rely on templates, real-world data extracti…

Response Generation

Detoxifying Text with MaRCo: Controllable Revision with Experts and Anti-Experts

2022-12-20 · Skyler Hallinan, Alisa Liu, Yejin Choi, Maarten Sap

Text detoxification has the potential to mitigate the harms of toxicity by rephrasing text to remove offensive meaning, but subtle toxicity remains challenging to tackle. We introduce MaRCo, a detoxification algorithm th…

RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models

2020-09-24 · Findings of the Association for Computational Linguistics 2020 · Samuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi 외

Pretrained neural language models (LMs) are prone to generating racist, sexist, or otherwise toxic language which hinders their safe deployment. We investigate the extent to which pretrained LMs can be prompted to genera…

SentenceText Generation

Constitutional On-Policy Safe Distillation

2026-06-02 · Ming Wen, Yuxuan Liu, Kun Yang, Yunhao Feng 외 arxiv

On-policy self-distillation (OPSD) has emerged as an efficient post-training paradigm by using a teacher conditioned on privileged information to provide dense token-level supervision. Prior work has shown that OPSD can …

QA-LIGN: Aligning LLMs through Constitutionally Decomposed QA

2025-06-09 · Jacob Dineen, Aswin RRV, Qin Liu, Zhikun Xu 외

Alignment of large language models with explicit principles (such as helpfulness, honesty, and harmlessness) is crucial for ensuring safe and reliable AI systems. However, standard reward-based alignment methods typicall…

Large Language Model