arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.16466cs.CL
收藏

大型语言模型中的身份劫持

Persona Jailbreaking in Large Language Models

Kyoto University(京都大学);IIT Kanpur(印度理工学院坎普尔分校)

Jivnesh Sandhan, Fei Cheng, Tushar Sandhan, Yugo Murawaki

AI总结:

PHISH通过隐含引导历史的身份劫持框架,揭示LLM身份操控的新漏洞,实现对身份的可控操控。

摘要:

大型语言模型(LLMs)越来越多地应用于教育、心理健康和客户服务等领域,在这些领域中,稳定且一致的身份对于可靠性至关重要。然而,现有研究集中在叙述或角色扮演任务上,忽略了仅凭对抗性对话历史本身如何重塑诱导身份。黑盒身份操控仍处于未探索状态,这引发了对现实交互中鲁棒性的担忧。为此,我们引入了身份编辑任务,通过用户侧输入在黑盒、仅推理的设置下,对抗性地引导LLM的特性。为此,我们提出了PHISH(通过隐含引导历史的身份劫持),这是首个揭示LLM安全新漏洞的框架,该漏洞通过将语义加载的提示嵌入用户查询中,逐步诱导反向身份。我们还定义了一个指标来量化攻击成功率。在3个基准和8个LLM上,PHISH可预测地改变身份,触发相关特征的附带变化,并在多轮设置中表现出更强的效果。在高风险领域如心理健康、辅导和客户服务中,PHISH可靠地操控身份,通过人类和LLM-as-Judge评估验证。重要的是,PHISH仅导致推理基准性能的微小下降,总体效用基本保持不变,同时仍能实现显著的身份操控。尽管当前的防护措施提供部分保护,但在持续攻击下仍显得脆弱。我们的发现揭示了身份的新漏洞,并突显了LLM中需要具备上下文鲁棒性的身份的重要性。我们的代码库和数据集可在:https://github.com/Jivnesh/PHISH上获取。

英文摘要:

Large Language Models (LLMs) are increasingly deployed in domains such as education, mental health and customer support, where stable and consistent personas are critical for reliability. Yet, existing studies focus on narrative or role-playing tasks and overlook how adversarial conversational history alone can reshape induced personas. Black-box persona manipulation remains unexplored, raising concerns for robustness in realistic interactions. In response, we introduce the task of persona editing, which adversarially steers LLM traits through user-side inputs under a black-box, inference-only setting. To this end, we propose PHISH (Persona Hijacking via Implicit Steering in History), the first framework to expose a new vulnerability in LLM safety that embeds semantically loaded cues into user queries to gradually induce reverse personas. We also define a metric to quantify attack success. Across 3 benchmarks and 8 LLMs, PHISH predictably shifts personas, triggers collateral changes in correlated traits, and exhibits stronger effects in multi-turn settings. In high-risk domains mental health, tutoring, and customer support, PHISH reliably manipulates personas, validated by both human and LLM-as-Judge evaluations. Importantly, PHISH causes only a small reduction in reasoning benchmark performance, leaving overall utility largely intact while still enabling significant persona manipulation. While current guardrails offer partial protection, they remain brittle under sustained attack. Our findings expose new vulnerabilities in personas and highlight the need for context-resilient persona in LLMs. Our codebase and dataset is available at: https://github.com/Jivnesh/PHISH

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

↑