paper-with-me

홈 › Papers

Curiosity-driven Red-teaming for Large Language Models

2024-02-29 · Zhang-Wei Hong, Idan Shenfeld, Tsun-Hsuan Wang, Yung-Sung Chuang, Aldo Pareja, James Glass, Akash Srivastava, Pulkit Agrawal

Large language models (LLMs) hold great potential for many natural language applications but risk generating incorrect or toxic content. To probe when an LLM generates unwanted content, the current paradigm is to recruit a \textit{red team} of human testers to design input prompts (i.e., test cases) that elicit undesirable responses from LLMs. However, relying solely on human testers is expensive and time-consuming. Recent works automate red teaming by training a separate red team LLM with reinforcement learning (RL) to generate test cases that maximize the chance of eliciting undesirable responses from the target LLM. However, current RL methods are only able to generate a small number of effective test cases resulting in a low coverage of the span of prompts that elicit undesirable responses from the target LLM. To overcome this limitation, we draw a connection between the problem of increasing the coverage of generated test cases and the well-studied approach of curiosity-driven exploration that optimizes for novelty. Our method of curiosity-driven red teaming (CRT) achieves greater coverage of test cases while mantaining or increasing their effectiveness compared to existing methods. Our method, CRT successfully provokes toxic responses from LLaMA2 model that has been heavily fine-tuned using human preferences to avoid toxic outputs. Code is available at \url{https://github.com/Improbable-AI/curiosity_redteam}

📄 PDF Abstract BibTeX arXiv:2402.19464

Code (1)

improbable-ai/curiosity_redteam 공식 구현 pytorch

Tasks

Red TeamingReinforcement Learning (RL)

Similar Papers 제목 키워드 기반

Summon a Demon and Bind it: A Grounded Theory of LLM Red Teaming

2023-11-10 · Nanna Inie, Jonathan Stray, Leon Derczynski

Engaging in the deliberate generation of abnormal outputs from Large Language Models (LLMs) by attacking them is a novel human activity. This paper presents a thorough exposition of how and why people perform such attack…

Red Teaming

Why Did Apple Fall: Evaluating Curiosity in Large Language Models

2025-10-23 · Haoyu Wang, Sihang Jiang, Yuyan Chen, Xiaojun Meng 외 arxiv

Curiosity serves as a pivotal conduit for human beings to discover and learn new knowledge. Recent advancements of large language models (LLMs) in natural language processing have sparked discussions regarding whether th…

Active Learning

Curiosity-Driven Development of Action and Language in Robots Through Self-Exploration

2025-10-06 · Theodore Jerome Tinker, Kenji Doya, Jun Tani arxiv

Infants acquire language with generalization from minimal experience, whereas large language models require billions of training tokens. What underlies efficient development in humans? We investigated this problem throug…

CDE: Curiosity-Driven Exploration for Efficient Reinforcement Learning in Large Language Models

2025-09-11 · Runpeng Dai, Linfeng Song, Haolin Liu, Zhenwen Liang 외 arxiv

Reinforcement Learning with Verifiable Rewards (RLVR) is a powerful paradigm for enhancing the reasoning ability of Large Language Models (LLMs). Yet current RLVR methods often explore poorly, leading to premature conver…

Reinforcement Learning

Curiosity-Driven Reinforcement Learning from Human Feedback

2025-01-20 · Haoran Sun, Yekun Chai, Shuohuan Wang, Yu Sun 외

Reinforcement learning from human feedback (RLHF) has proven effective in aligning large language models (LLMs) with human preferences, but often at the cost of reduced output diversity. This trade-off between diversity …

DiversityInstruction Followingreinforcement-learningReinforcement Learning+1