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

Purpose IR:为隐私保护智能体工作流状态编译用户意图

Purpose IR: Compiling User Purpose for Privacy-Preserving Agent Workflow State

Southern University of Science and Technology(南方科技大学);City University of Hong Kong(香港城市大学);The University of Tokyo(东京大学);Lingnan University(岭南大学)

Dongsheng Chen, Xiangyu Zhao, Lei Ma, Xin Yao, Xuetao Wei

AI总结:

该研究提出Purpose IR,一种有界类型化中间表示,通过编译用户意图构建智能体可复用状态的语义边界,在多数据集上的隐私、任务及合规表现均优于基线方法。

摘要:

大语言模型智能体工作流通常会将丰富的观测结果转化为计划、摘要、记忆、交接及其他可复用状态,这形成了一种隐私边界,仅任务相关性无法覆盖该边界:某观测结果可能作为任务所需证据留存,但其完整语义却不被授权永久保留。我们将这种不匹配称为意图-状态语义鸿沟,核心区别在于证据权限并非发布权限。我们提出Purpose IR,一种有界类型化中间表示,用于将自然语言用户意图编译为可执行的智能体可复用状态语义边界。Purpose程序是一种无环语义数据流图,其中证据节点指定任务所需语义,类型化依赖约束授权推导,声明的汇点确定哪些值或动作可跨越可复用状态边界。确定性编译器构建并验证权威程序,而类型化运行时仅从验证后的汇点输出中重构可复用状态。在显式执行契约下,该设计实现了发布限制和意图非干扰,明确了可发布的事实语义以及哪些观测差异必须与可复用状态无关。在覆盖LangGraph、CrewAI和MobileRun的1200个案例中,Purpose IR实现了99.6%的隐私指标、83.3%的任务指标和83.3%的隐私合规成功(PCS),比最强的高隐私基线高出27.5个PCS点;在493条PrivacyLens轨迹上,其安全动作率达77.3%,为最高值,比次优方法高10.4个百分点,将相同边界从可复用状态扩展至下游动作。这些结果表明,隐私保护智能体状态仅过滤敏感或任务无关内容是不够的,还需要用户意图授权留存内容的显式可执行表示。

英文摘要:

LLM-agent workflows routinely transform rich observations into plans, summaries, memories, handoffs, and other reusable state. This creates a privacy boundary that task relevance alone does not capture: an observation may be needed as evidence for a task without its full semantics being authorized to persist. We call this mismatch the purpose-to-state semantic gap. The key distinction is that evidence authority is not release authority. We introduce Purpose IR, a bounded typed intermediate representation that compiles natural-language user purpose into an executable semantic boundary for reusable agent state. A Purpose program is an acyclic semantic dataflow graph in which evidence leaves specify task-required semantics, typed dependencies constrain authorized derivations, and declared sinks determine which values or actions may cross the reusable-state boundary. A deterministic compiler constructs and validates the authoritative program, while a typed runtime reconstructs reusable state only from validated sink outputs. Under explicit execution contracts, this design yields release confinement and purpose noninterference, characterizing what factual semantics may be released and which observation differences must become irrelevant to reusable state. Across 1,200 cases spanning LangGraph, CrewAI, and MobileRun, Purpose IR achieves 99.6% Privacy, 83.3% Task, and 83.3% Privacy-Compliant Success (PCS), outperforming the strongest high-privacy baseline by 27.5 PCS points. On 493 PrivacyLens trajectories, it achieves the highest Safe Action Rate at 77.3%, 10.4 points above the next-best method, extending the same boundary from reusable state to downstream actions. These results show that privacy-preserving agent state requires more than filtering sensitive or task-irrelevant content: it requires an explicit, executable representation of what the user's purpose authorizes to survive.

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

↑