arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.02865cs.CLcs.LG
收藏

魔术师的提示词:利用语言细微差别暴露大型语言模型的事实性漏洞

The Illusionist's Prompt: Exposing the Factual Vulnerabilities of Large Language Models with Linguistic Nuances

Fudan University(复旦大学)

Yining Wang, Yuquan Wang, Xi Li, Mi Zhang, Geng Hong, Min Yang

AI总结:

提出The Illusionist's Prompt新型幻觉攻击,通过在对抗性查询中融入语言细微差别和五种事实增强策略,自动生成高度可迁移的幻觉提示词,成功破坏包括GPT-4o和Gemini-2.0在内的黑盒LLM的事实准确性。

摘要:

随着大型语言模型(LLM)持续发展,非专家用户越来越依赖其作为实时信息源。为确保信息的真实性,大量研究致力于减轻LLM响应中的幻觉,但仅限于正式用户查询,而非恶意构造的查询。在本研究中,我们提出了The Illusionist's Prompt,这是一种新型幻觉攻击,将语言细微差别融入对抗性查询中,通过五种事实增强策略挑战LLM的事实准确性。我们的攻击自动生成高度可迁移的幻觉提示词以诱发内部事实错误,同时保留用户意图和语义。大量实验证实了我们的攻击在破坏黑盒LLM方面的有效性,包括GPT-4o和Gemini-2.0等商业API,即使存在各种防御机制也是如此。

英文摘要:

As Large Language Models (LLMs) continue to advance, they are increasingly relied upon as real-time sources of information by non-expert users. To ensure the factuality of the information they provide, much research has focused on mitigating hallucinations in LLM responses, but only in the context of formal user queries, rather than maliciously crafted ones. In this study, we introduce The Illusionist's Prompt, a novel hallucination attack that incorporates linguistic nuances into adversarial queries, challenging the factual accuracy of LLMs against five types of fact-enhancing strategies. Our attack automatically generates highly transferrable illusory prompts to induce internal factual errors, all while preserving user intent and semantics. Extensive experiments confirm the effectiveness of our attack in compromising black-box LLMs, including commercial APIs like GPT-4o and Gemini-2.0, even with various defensive mechanisms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑