CoSafe: Evaluating Large Language Model Safety in Multi-Turn Dialogue Coreference

Erxin Yu, Jing Li, Ming Liao, Siqi Wang, Zuchen Gao +2 more
6/25/2024
cs.CLcs.AI

No official code found. Best implementation: ErxinYu/CoSafe-Dataset (16 stars, last commit 2024-11-12).

Abstract

As large language models (LLMs) constantly evolve, ensuring their safety remains a critical research problem. Previous red-teaming approaches for LLM safety have primarily focused on single prompt attacks or goal hijacking. To the best of our knowledge, we are the first to study LLM safety in multi-turn dialogue coreference. We created a dataset of 1,400 questions across 14 categories, each featuring multi-turn coreference safety attacks. We then conducted detailed evaluations on five widely used open-source LLMs. The results indicated that under multi-turn coreference safety attacks, the highest attack success rate was 56% with the LLaMA2-Chat-7b model, while the lowest was 13.9% with the Mistral-7B-Instruct model. These findings highlight the safety vulnerabilities in LLMs during dialogue coreference interactions.

View on arXivView PDF

Code Implementations(1)

160Jun 17, 20241 years ago

Similar Papers

Cite this paper

@article{yu2024cosafe,
  title  = {CoSafe: Evaluating Large Language Model Safety in Multi-Turn Dialogue Coreference},
  author = {Erxin Yu and Jing Li and Ming Liao and Siqi Wang and Zuchen Gao and Fei Mi and Lanqing Hong},
  year   = {2024},
  eprint = {2406.17626},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17626v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17626.svg)](https://codeofpaper.com/paper/2406.17626)

Discussion