事实变化时哪些决策会失效?面向Agent的依赖感知上下文图研究
When Facts Change, Which Decisions Break? Dependency-Aware Context Graphs for Agents
研究基于Agent实际读取轨迹提取字段级依赖图,在120个工作流、两个模型上对比全量重算、滚动摘要记忆、词法检索与轨迹依赖图等方案。轨迹依赖图可减少需复核的决策数和估算总成本,但遗漏替代支撑与修复上下文会降低完整计划正确率。在60个新工作流上,目录感知图对gpt-6.1-sol达到100%完整计划正确率并估算降低4.0%总成本,对gpt-6-luna仅为84.8%对99.6%。
arXiv:2611.19859v1 Announce Type: new Abstract: When an observed fact changes, an agent must identify and repair the decisions that depend on it while preserving unaffected outputs. We investigate the reliability-cost trade-off of field-level dependency graphs extracted from actual agent read traces. A controlled benchmark spans three executable workflow domains and four successive updates, with independent imperative and expression-based references. Across 120 workflows, two models and two repeated runs, we compare full recomputation, rolling summary memory, lexical retrieval, trace-extracted dependencies and verified dependency upper bounds. Trace-derived graphs reduce reviewed decisions and estimated total cost, but omitted alternative supports and missing repair context can reduce complete-plan correctness. Paired ablations isolate the effects of edge deletion, spurious edges, transitive propagation and context scope. An exploratory enhancement supplies the existing record ID/field directory during extraction without revealing unread values or reference edges. We evaluate this enhancement on 60 fresh workflows with two repeats per model. On this fresh set, the directory-aware graph matches observed full-context complete-plan correctness for gpt-6.1-sol (100%) with an estimated 4.0% total-cost reduction, but reaches only 84.8% versus 99.6% for gpt-6-luna. The results distinguish potential dependency impact from actual decision invalidity and show why selective repair must be evaluated with both executable correctness and full memory-processing cost. The evidence concerns explicit procedural workflows; broad real-world agent-memory generalization remains untested.
来源:arXiv (AI + Vision + Imaging) · arxiv.org