Table of Contents
Fetching ...

Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for LLM

Xikang Yang, Xuehai Tang, Songlin Hu, Jizhong Han

TL;DR

The paper addresses security and ethical risks of LLMs in multi-turn dialogues and introduces CoA, a semantic-driven contextual multi-turn attack that adaptively tunes its policy through contextual feedback and semantic relevance. Through experiments across multiple LLMs and datasets, CoA effectively exposes vulnerabilities and outperforms existing attack methods. The work offers a framework for attacking and defending LLMs, contributing to security, reliability, and ethical assessment of dialogue systems.

Abstract

Large language models (LLMs) have achieved remarkable performance in various natural language processing tasks, especially in dialogue systems. However, LLM may also pose security and moral threats, especially in multi round conversations where large models are more easily guided by contextual content, resulting in harmful or biased responses. In this paper, we present a novel method to attack LLMs in multi-turn dialogues, called CoA (Chain of Attack). CoA is a semantic-driven contextual multi-turn attack method that adaptively adjusts the attack policy through contextual feedback and semantic relevance during multi-turn of dialogue with a large model, resulting in the model producing unreasonable or harmful content. We evaluate CoA on different LLMs and datasets, and show that it can effectively expose the vulnerabilities of LLMs, and outperform existing attack methods. Our work provides a new perspective and tool for attacking and defending LLMs, and contributes to the security and ethical assessment of dialogue systems.

Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for LLM

TL;DR

The paper addresses security and ethical risks of LLMs in multi-turn dialogues and introduces CoA, a semantic-driven contextual multi-turn attack that adaptively tunes its policy through contextual feedback and semantic relevance. Through experiments across multiple LLMs and datasets, CoA effectively exposes vulnerabilities and outperforms existing attack methods. The work offers a framework for attacking and defending LLMs, contributing to security, reliability, and ethical assessment of dialogue systems.

Abstract

Large language models (LLMs) have achieved remarkable performance in various natural language processing tasks, especially in dialogue systems. However, LLM may also pose security and moral threats, especially in multi round conversations where large models are more easily guided by contextual content, resulting in harmful or biased responses. In this paper, we present a novel method to attack LLMs in multi-turn dialogues, called CoA (Chain of Attack). CoA is a semantic-driven contextual multi-turn attack method that adaptively adjusts the attack policy through contextual feedback and semantic relevance during multi-turn of dialogue with a large model, resulting in the model producing unreasonable or harmful content. We evaluate CoA on different LLMs and datasets, and show that it can effectively expose the vulnerabilities of LLMs, and outperform existing attack methods. Our work provides a new perspective and tool for attacking and defending LLMs, and contributes to the security and ethical assessment of dialogue systems.
Paper Structure (1 section, 1 figure)

This paper contains 1 section, 1 figure.

Table of Contents

  1. Introduction

Figures (1)

  • Figure :