研究流式检索增强生成中工具调用何时能提前隐藏延迟。
When Does Streaming Tool Use Help? Characterizing Tool-Intent Stabilization in Streaming Retrieval-Augmented Generation

- 定义并测量查询意图稳定点,决定能否提前发起检索
- 73.9%的查询可在输入完成前稳定,实现延迟隐藏
- 无需训练,基于输入节奏和延迟即可预估隐藏上限
流式检索增强生成(Streaming RAG)通过在用户输入未完成时并行发起检索查询来隐藏工具延迟。但这一策略仅在用户语句中的正确查询可提前确定时有效——这是查询本身的属性,而非系统设计所致。本文提出并量化该属性:工具意图稳定点,即输入流中检索结果趋于收敛的时刻。在CRAG基准(1371个验证问题)上,我们(i)分析了稳定点在各类查询中的分布;(ii)推导出一个不依赖模型的上限值H,用于估计在给定工具延迟L和输入节奏delta下可隐藏的延迟比例;(iii)通过实际流式管道验证该边界;(iv)探究哪些查询特征能预测早期或晚期稳定。结果显示,多数查询早期稳定:在典型运行条件下,73.9%的查询支持延迟隐藏,且实际节省效果不低于理论下限H——尽管该模型不适用于逐条预测。问题类型虽有统计显著性差异,但影响较小。研究无需模型训练,可在普通CPU上运行;密集检索器复现确认早期稳定现象并非BM25词法偏差所致。
原文摘要 · Abstract (English)
Streaming Retrieval-Augmented Generation (Streaming RAG) hides tool latency by issuing retrieval queries in parallel with the user's still-arriving input, before the utterance is complete. Speculation can only help, though, when the correct query becomes determinable before the user stops speaking or typing -- a property of the query, not the system. We name and measure this property, tool-intent stabilization: the point in the input stream at which a speculative query's retrieval converges on the answer-bearing result. On the CRAG benchmark (1371 validation questions) we (i) characterize how stabilization is distributed across queries; (ii) derive a model-agnostic bound H on the share of tool latency hideable behind the remaining input, given tool latency L and input cadence delta; (iii) validate it against a working streaming pipeline; and (iv) ask which query properties predict early versus late stabilization. Stabilization is typically early: at a realistic operating point a 73.9% streamable fraction of the benchmark admits latency hiding, and H acts as a conservative aggregate floor that realized savings meet or exceed -- though it does not predict savings query by query. Question type yields a statistically significant but small early/late split. The study needs no model training and runs on commodity CPU hardware; a dense-retriever replication confirms the early-stabilization effect is not a BM25 lexical artifact.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。