亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

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

计算机科学 对抗制 稳健性(进化) 自然语言处理 人工智能 理解力 判决 推论 词典 可读性 数据科学 程序设计语言 生物化学 化学 基因
作者
Kaijie Zhu,Jindong Wang,Jiaheng Zhou,Zichen Wang,Hao Chen,Yidong Wang,Linyi Yang,Wei Ye,Neil Zhenqiang Gong,Yue Zhang,Xing Xie
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:35
标识
DOI:10.48550/arxiv.2306.04528
摘要

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 PromptBench, 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, such as sentiment analysis, natural language inference, reading comprehension, machine translation, and math problem-solving. Our study generates 4788 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 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. Code is available at: https://github.com/microsoft/promptbench.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
12秒前
junzzz完成签到 ,获得积分10
15秒前
彭于晏应助科研通管家采纳,获得10
19秒前
小二郎应助科研通管家采纳,获得10
19秒前
Kevin发布了新的文献求助10
32秒前
酷盖不太冷完成签到 ,获得积分10
33秒前
笨笨老三完成签到,获得积分10
45秒前
46秒前
LL发布了新的文献求助10
56秒前
56秒前
kylian完成签到 ,获得积分10
57秒前
传奇3应助Llm采纳,获得10
58秒前
田様应助石榴汁的书采纳,获得10
1分钟前
深情的雁发布了新的文献求助10
1分钟前
科研通AI6.3应助栗子采纳,获得10
1分钟前
1分钟前
1分钟前
yiaya完成签到,获得积分10
1分钟前
哦豁拐咯发布了新的文献求助10
1分钟前
lxg完成签到 ,获得积分10
1分钟前
大个应助zzz采纳,获得10
1分钟前
molihuakai应助fufu采纳,获得10
2分钟前
2分钟前
栗子发布了新的文献求助10
2分钟前
LL发布了新的文献求助10
2分钟前
无花果应助哦豁拐咯采纳,获得10
2分钟前
LL完成签到,获得积分10
2分钟前
在水一方应助Jodie采纳,获得30
2分钟前
3分钟前
zzz发布了新的文献求助10
3分钟前
3分钟前
Benjamin发布了新的文献求助10
3分钟前
星辰大海应助深情的雁采纳,获得10
3分钟前
整齐的梦露完成签到 ,获得积分10
3分钟前
3分钟前
手帕很忙完成签到,获得积分0
3分钟前
Benjamin完成签到,获得积分10
3分钟前
3分钟前
贪玩丸子完成签到 ,获得积分10
3分钟前
soler发布了新的文献求助10
3分钟前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Matrix Methods in Data Mining and Pattern Recognition 510
Social Skills Improvement System-Rating Scales--Chinese Version 500
Dynamische Polarisation von H-1 und B-11 in (CH-3)-3NBH-3 500
CLSI M07 2024 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7247471
求助须知:如何正确求助?哪些是违规求助? 8870625
关于积分的说明 18711941
捐赠科研通 6925448
什么是DOI,文献DOI怎么找? 3197919
关于科研通互助平台的介绍 2373534
邀请新用户注册赠送积分活动 2172760