跳到正文
arXiv:cs.AI· Saloni Gupta, S\'ebastien Krier, Glenn Matlin·· 16 小时前

目标跨关系泄漏:KV cache 中的客户端目标表征如何影响跨客户决策

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

AI 导读

研究者在双客户端市场场景中测试 OLMo-3-7B-Instruct,发现共享对话记忆下模型有 22% 的决策偏离当前客户目标。线性探针显示,客户目标归属信息在中间层高度可恢复,并集中于特定注意力头;在这些位置消融竞争对手的缓存目标表征,可将模型拉回当前客户,且效果强于随机注意力头和非目标 token。结果表明客户专属目标表征会持续存在于 KV cache 中并因果性地影响对其他客户的决策。

正文

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