已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
充电宝应助英勇的红酒采纳,获得10
刚刚
Hello应助老迟到的澜采纳,获得10
刚刚
白白发布了新的文献求助10
1秒前
科研通AI6.2应助纷飞采纳,获得10
4秒前
4秒前
上官若男应助科研通管家采纳,获得10
4秒前
4秒前
汉堡包应助科研通管家采纳,获得10
4秒前
大模型应助科研通管家采纳,获得10
4秒前
9秒前
老迟到的澜完成签到,获得积分20
9秒前
10秒前
10秒前
郝磊完成签到 ,获得积分10
11秒前
11秒前
英姑应助三三采纳,获得10
13秒前
14秒前
河神发布了新的文献求助10
15秒前
雾昂发布了新的文献求助10
17秒前
孤标傲世完成签到 ,获得积分10
17秒前
18秒前
20秒前
丘比特应助河神采纳,获得10
21秒前
23秒前
DC-CIK军团完成签到 ,获得积分10
24秒前
25秒前
newplayer发布了新的文献求助10
25秒前
zz完成签到 ,获得积分10
26秒前
27秒前
如初完成签到 ,获得积分10
27秒前
Caiyuping完成签到 ,获得积分10
27秒前
27秒前
29秒前
CC完成签到 ,获得积分10
29秒前
0303G发布了新的文献求助10
30秒前
uo完成签到 ,获得积分10
30秒前
清瓷完成签到 ,获得积分10
31秒前
31秒前
李沫沫完成签到,获得积分10
31秒前
大白发布了新的文献求助10
32秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Environmental Leverage in Times of Climate Crisis: Product Standards, Carbon Border Measures and Preferential Trade Agreements 1000
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
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7222915
求助须知:如何正确求助?哪些是违规求助? 8851927
关于积分的说明 18678485
捐赠科研通 6881718
什么是DOI,文献DOI怎么找? 3187594
关于科研通互助平台的介绍 2352407
邀请新用户注册赠送积分活动 2161915