Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ma, Chengdong, Yang, Ziran, Ci, Hai, Gao, Jun, Gao, Minquan, Pan, Xuehai, Yang, Yaodong
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:https://arxiv.org/abs/2310.00322
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913449557098496
author Ma, Chengdong
Yang, Ziran
Ci, Hai
Gao, Jun
Gao, Minquan
Pan, Xuehai
Yang, Yaodong
author_facet Ma, Chengdong
Yang, Ziran
Ci, Hai
Gao, Jun
Gao, Minquan
Pan, Xuehai
Yang, Yaodong
contents The primary challenge in deploying Large Language Model (LLM) is ensuring its harmlessness. Red team can identify vulnerabilities by attacking LLM to attain safety. However, current efforts heavily rely on single-round prompt designs and unilateral red team optimizations against fixed blue teams. These static approaches lead to significant reductions in generation diversity, known as the mode collapse, which makes it difficult to discover the potential risks in the increasingly complex human-LLM interactions. Here we introduce dynamic Red Team Game (RTG) to comprehensively analyze the multi-round offensive and defensive interactions between red team and blue team. Furthermore, we develop a Gamified Red Team Solver (GRTS) with diversity measures to mitigate mode collapse and theoretically guarantee the convergence of approximate Nash equilibrium which results in better strategies for both teams. Empirical results demonstrate that GRTS explore diverse and implicit attacks to adaptively exploit various LLMs, surpassing the constraints of specific modes. Insightfully, the geometrical structure we unveil of the red team task aligns with the spinning top hypothesis, confirming the necessity of constructing a diverse LLM population as a promising proxy for heterogeneous human expert red-teamers. This paves the way for scalable toxicity detection and safe alignment for LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2310_00322
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Evolving Diverse Red-team Language Models in Multi-round Multi-agent Games
Ma, Chengdong
Yang, Ziran
Ci, Hai
Gao, Jun
Gao, Minquan
Pan, Xuehai
Yang, Yaodong
Computation and Language
Computer Science and Game Theory
The primary challenge in deploying Large Language Model (LLM) is ensuring its harmlessness. Red team can identify vulnerabilities by attacking LLM to attain safety. However, current efforts heavily rely on single-round prompt designs and unilateral red team optimizations against fixed blue teams. These static approaches lead to significant reductions in generation diversity, known as the mode collapse, which makes it difficult to discover the potential risks in the increasingly complex human-LLM interactions. Here we introduce dynamic Red Team Game (RTG) to comprehensively analyze the multi-round offensive and defensive interactions between red team and blue team. Furthermore, we develop a Gamified Red Team Solver (GRTS) with diversity measures to mitigate mode collapse and theoretically guarantee the convergence of approximate Nash equilibrium which results in better strategies for both teams. Empirical results demonstrate that GRTS explore diverse and implicit attacks to adaptively exploit various LLMs, surpassing the constraints of specific modes. Insightfully, the geometrical structure we unveil of the red team task aligns with the spinning top hypothesis, confirming the necessity of constructing a diverse LLM population as a promising proxy for heterogeneous human expert red-teamers. This paves the way for scalable toxicity detection and safe alignment for LLMs.
title Evolving Diverse Red-team Language Models in Multi-round Multi-agent Games
topic Computation and Language
Computer Science and Game Theory
url https://arxiv.org/abs/2310.00322