PromptRobust: Evaluating the robustness of large language models to adversarial promptsPromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Prompts
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.