Skip to content

PromptRobust: Evaluating the robustness of large language models to adversarial promptsPromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Prompts

arXiv· arXiv:2306.04528· ACM Workshop on Large AI Systems and Models with Privacy and Safety Analysis· Kaijie Zhu, Jindong Wang, Jiaheng Zhou, Zichen Wang, Hao Chen, Yidong Wang, Linyi Yang, Wei Ye, Yue Zhang, Neil Zhenqiang Gong, Xing Xie·Indexed by this site · 27 days ago· Originally publishedEvaluation
AI summary

The researchers propose the PromptRobust benchmark, which measures the robustness of large language models via adversarial prompts, and find that contemporary large language models are not robust to adversarial prompts. The benchmark applies adversarial perturbations at four levels—character, word, sentence and semantic—simulating deviations that real users may produce, such as spelling errors and synonym substitution, while preserving semantic integrity. The study generates 4,788 adversarial prompts in total and completes evaluation on 8 tasks and 13 datasets, including sentiment analysis, natural language inference, reading comprehension, machine translation and mathematical problem solving. The authors also analyze the causes of prompt robustness and its transferability, and provide prompt-writing suggestions for researchers and ordinary users.

Read originalACM Workshop on Large AI Systems and Models with Privacy and Safety Analysis