跳到正文
arXiv cs.AI· Saloni Gupta, S\'ebastien Krier, Glenn Matlin·· 3 天前AI 评分36

LLM 智能体跨客户目标泄漏:KV cache 中的目标表征如何影响决策

When Goals Leak Across Relationships: How Cached Goal Representations Shape Cross-Client Decisions

AI 导读

研究测试 OLMo-3-7B-Instruct 在双客户环境中共享对话记忆时的表现,模型在 22% 的合格决策中偏离当前客户目标。线性探针显示客户目标归属在中间层高度可恢复并集中于特定注意力头,消融竞争对手的缓存目标表征可将模型拉回当前客户,且效果强于随机头和非目标 token。

正文 · 原文

View PDF HTML (experimental)

Abstract:As LLM agents take on more autonomous roles, they may interact with multiple clients and counterparties whose goals and incentives conflict. If an agent maintains shared inference state across these interactions, information associated with one relationship may influence decisions made for another. We test OLMo-3-7B-Instruct in a controlled two-client environment with 20 market scenarios, where each client is assigned an opposing objective. With shared conversational memory, the model deviates from the current client's objective in 22% of eligible decisions. We then investigate how these goals are represented in the KV cache. Linear probes show that client-goal ownership becomes highly recoverable in middle layers and is concentrated in particular attention heads. We use these results to identify where to intervene in the cache and test whether these representations affect the model's decisions. Ablating the competitor's cached goal representations at these locations shifts the model toward the current client. The effect is larger for heads identified by probing than for randomly selected heads, and larger when ablating goal tokens than matched non-goal tokens from the same client. Our results show that client-specific goal representations persist in the KV cache and can causally influence decisions made for other clients, highlighting the importance of relationship-specific state isolation in persistent LLM agents.
Comments: 10 pages, 4 figures. Accepted at NeurIPS 2026 Workshops on Interpreting Agent Behavior (IAB) and Agents in the Wild (AIWild)
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.17365 [cs.AI]
  (or arXiv:2610.17365v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2610.17365

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Saloni Gupta [view email]
[v1] Mon, 12 Oct 2026 20:22:45 UTC (3,987 KB)

来源:arXiv cs.AI · arxiv.org