20260706:新增一些文章
This commit is contained in:
35
concepts/attention-drifting.md
Normal file
35
concepts/attention-drifting.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
title: "注意力偏移 (Attention Drifting)"
|
||||
created: 2026-07-04
|
||||
updated: 2026-07-04
|
||||
type: concept
|
||||
tags: [agent, attention, context, cognitive-load, interface]
|
||||
sources: ["https://nokv.io/blog/agents-want-filesystems"]
|
||||
---
|
||||
|
||||
# 注意力偏移 (Attention Drifting)
|
||||
|
||||
当 Agent 的上下文窗口被塞进过多 schema、临时查询结果、无关日志和中间失败尝试时,模型容易被早期错误线索带偏,或在多轮调用后忘记最初的问题。
|
||||
|
||||
## 成因
|
||||
|
||||
Agent 在执行任务时不仅读取数据,还在**不断维护一张临时的任务地图**。当接口迫使 Agent 先理解复杂 schema、猜 join 路径、拼 blob_ref、回忆对应关系时,token 被花在「维持工作记忆」而非「做出判断」上。
|
||||
|
||||
## 与 token efficiency 的关系
|
||||
|
||||
Attention drifting 是 [[token-efficiency|Token 效率]] 问题的上层表征:
|
||||
- 低效接口 → 更多上下文垃圾 → 注意力稀释
|
||||
- 清晰接口(如文件系统形态) → 每一步看到更少但更相关的信息 → 注意力集中
|
||||
|
||||
## 缓解策略
|
||||
|
||||
- [[progressive-disclosure|渐进式披露]]:逐步披露信息,不预加载全部
|
||||
- [[pushdown-in-agent-interface|下推]]:过滤/排序/limit 一次完成,减少回灌
|
||||
- [[agent-workspace-filesystem|文件系统接口]]:路径稳定句柄,按需搜索
|
||||
|
||||
## 参考
|
||||
|
||||
- [[agents-want-filesystems-nokv-2026|新智元报道]]
|
||||
- [[progressive-disclosure|渐进式披露]]
|
||||
- [[token-efficiency|Token 效率]]
|
||||
- [[agent-interface-design|Agent 接口设计]]
|
||||
Reference in New Issue
Block a user