@inproceedings{342d9336a72e4daea6c1b56e9d8ccfcb,
title = "Target-Driven Attack for Large Language Models",
abstract = "Current large language models (LLM) provide a strong foundation for large-scale user-oriented natural language tasks.Many users can easily inject adversarial text or instructions through the user interface, thus causing LLM model security challenges like the language model not giving the correct answer.Although there is currently a large amount of research on black-box attacks, most of these black-box attacks use random and heuristic strategies.It is unclear how these strategies relate to the success rate of attacks and thus effectively improve model robustness.To solve this problem, we propose our target-driven black-box attack method to maximize the KL divergence between the conditional probabilities of the clean text and the attack text to redefine the attack's goal.We transform the distance maximization problem into two convex optimization problems based on the attack goal to solve the attack text and estimate the covariance.Furthermore, the projected gradient descent algorithm solves the vector corresponding to the attack text.Our target-driven black-box attack approach includes two attack strategies: token manipulation and misinformation attack.Experimental results on multiple Large Language Models and datasets demonstrate the effectiveness of our attack method.",
author = "Chong Zhang and Mingyu Jin and Dong Shu and Taowen Wang and Dongfang Liu and Xiaobo Jin",
note = "Publisher Copyright: {\textcopyright} 2024 The Authors.; 27th European Conference on Artificial Intelligence, ECAI 2024 ; Conference date: 19-10-2024 Through 24-10-2024",
year = "2024",
month = oct,
day = "16",
doi = "10.3233/FAIA240685",
language = "English",
series = "Frontiers in Artificial Intelligence and Applications",
publisher = "IOS Press BV",
pages = "1752--1759",
editor = "Ulle Endriss and Melo, {Francisco S.} and Kerstin Bach and Alberto Bugarin-Diz and Alonso-Moral, {Jose M.} and Senen Barro and Fredrik Heintz",
booktitle = "ECAI 2024 - 27th European Conference on Artificial Intelligence, Including 13th Conference on Prestigious Applications of Intelligent Systems, PAIS 2024, Proceedings",
}