paper-with-me

Papers

PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Prompts

2023-06-07 · Kaijie Zhu, Jindong Wang, Jiaheng Zhou, Zichen Wang, Hao Chen, Yidong Wang, Linyi Yang, Wei Ye, Yue Zhang, Neil Zhenqiang Gong, Xing Xie

The increasing reliance on Large Language Models (LLMs) across academia and industry necessitates a comprehensive understanding of their robustness to prompts. In response to this vital need, we introduce PromptRobust, a robustness benchmark designed to measure LLMs' resilience to adversarial prompts. This study uses a plethora of adversarial textual attacks targeting prompts across multiple levels: character, word, sentence, and semantic. The adversarial prompts, crafted to mimic plausible user errors like typos or synonyms, aim to evaluate how slight deviations can affect LLM outcomes while maintaining semantic integrity. These prompts are then employed in diverse tasks including sentiment analysis, natural language inference, reading comprehension, machine translation, and math problem-solving. Our study generates 4,788 adversarial prompts, meticulously evaluated over 8 tasks and 13 datasets. Our findings demonstrate that contemporary LLMs are not robust to adversarial prompts. Furthermore, we present a comprehensive analysis to understand the mystery behind prompt robustness and its transferability. We then offer insightful robustness analysis and pragmatic recommendations for prompt composition, beneficial to both researchers and everyday users.

📄 PDF Abstract BibTeX arXiv:2306.04528

Code (1)

microsoft/promptbench 공식 구현 pytorch

Tasks

Cross-Lingual Paraphrase IdentificationMachine TranslationMathNatural Language InferenceReading ComprehensionSentenceSentiment Analysis

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

Are All Prompt Components Value-Neutral? Understanding the Heterogeneous Adversarial Robustness of Dissected Prompt in Large Language Models

2025-08-03 · Yujia Zheng, Tianhao Li, Haotian Huang, Tianyu Zeng 외 arxiv

Prompt-based adversarial attacks have become an effective means to assess the robustness of large language models (LLMs). However, existing approaches often treat prompts as monolithic text, overlooking their structural …

Adversarial Robustness

Evaluating Answer Leakage Robustness of LLM Tutors against Adversarial Student Attacks

2026-04-20 · Jin Zhao, Marta Knežević, Tanja Käser arxiv

Large Language Models (LLMs) are increasingly used in education, yet their default helpfulness often conflicts with pedagogical principles. Prior work evaluates pedagogical quality via answer leakage-the disclosure of co…

SelfPrompt: Autonomously Evaluating LLM Robustness via Domain-Constrained Knowledge Guidelines and Refined Adversarial Prompts

2024-12-01 · Aihua Pei, Zehua Yang, Shunan Zhu, Ruoxi Cheng 외

Traditional methods for evaluating the robustness of large language models (LLMs) often rely on standardized benchmarks, which can escalate costs and limit evaluations across varied domains. This paper introduces a novel…

DescriptiveKnowledge Graphs

On Evaluating Adversarial Robustness of Large Vision-Language Models

2023-05-26 · NeurIPS 2023 11 · Yunqing Zhao, Tianyu Pang, Chao Du, Xiao Yang 외

Large vision-language models (VLMs) such as GPT-4 have achieved unprecedented performance in response generation, especially with visual inputs, enabling more creative and adaptable interaction than large language models…

Adversarial Robustnessmultimodal generationResponse Generation

Revisiting DeepFool: generalization and improvement

2023-03-22 · Alireza Abdollahpoorrostam, Mahed Abroshan, Seyed-Mohsen Moosavi-Dezfooli

Deep neural networks have been known to be vulnerable to adversarial examples, which are inputs that are modified slightly to fool the network into making incorrect predictions. This has led to a significant amount of re…

Adversarial AttackAdversarial RobustnessComputational Efficiency