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

不要执着于提示:针对LLM代理的推理劫持与约束紧缩

Stop Fixating on Prompts: Reasoning Hijacking and Constraint Tightening for Red-Teaming LLM Agents

School of Software, Henan University(河南大学软件学院);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);University of Chinese Academy of Sciences(中国科学院大学);Peking University(北京大学)

Yanxu Mao, Peipei Liu, Tiehan Cui, Congying Liu, Mingzhe Xing, Datao You

AI总结:

本文提出JailAgent框架,通过触发提取、推理劫持和约束紧缩三个阶段,避免修改用户提示,提升跨模型和跨场景的性能。

摘要:

随着LLM代理在各领域的广泛应用,其复杂性引入了新的安全威胁。现有红队方法大多依赖修改用户提示,缺乏对新数据的适应性且可能影响代理性能。为解决此问题,本文提出了JailAgent框架,完全避免修改用户提示。具体而言,它通过三个关键阶段隐式操纵代理的推理轨迹和记忆检索:触发提取、推理劫持和约束紧缩。通过精确的触发识别、实时自适应机制和优化的目标函数,JailAgent在跨模型和跨场景环境中表现出色。

英文摘要:

With the widespread application of LLM-based agents across various domains, their complexity has introduced new security threats. Existing red-team methods mostly rely on modifying user prompts, which lack adaptability to new data and may impact the agent's performance. To address the challenge, this paper proposes the JailAgent framework, which completely avoids modifying the user prompt. Specifically, it implicitly manipulates the agent's reasoning trajectory and memory retrieval with three key stages: Trigger Extraction, Reasoning Hijacking, and Constraint Tightening. Through precise trigger identification, real-time adaptive mechanisms, and an optimized objective function, JailAgent demonstrates outstanding performance in cross-model and cross-scenario environments.

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

↑