有向信息$\gamma$-覆盖:一种面向上下文工程的信息论框架
Directed Information $γ$-covering: An Information-Theoretic Framework for Context Engineering
AI总结:
该研究提出有向信息$\gamma$-覆盖这一具备冗余感知的上下文工程框架,将上下文选择建模为$\gamma$-覆盖问题并给出有理论保证的贪心算法,其查询无关可离线计算,在HotpotQA上优于BM25基线,为LLM流水线提供了有理论依据的自组织基础。
摘要:
我们提出了**有向信息$\gamma$-覆盖(Directed Information $\gamma$-covering)**,这是一种简洁且通用的、具备冗余感知能力的上下文工程框架。有向信息(Directed Information, DI)是互信息的因果对应量,用于衡量文本块之间的非对称预测性。若$\operatorname{DI}_{i \to j} \ge H(C_j) - \gamma$,则$C_i$足以在$\gamma$比特的误差范围内表征$C_j$。基于这一准则,我们将上下文选择建模为$\gamma$-覆盖问题,并提出了一种具备可证明保证的贪心算法:它能将查询信息的损失控制在有界松弛范围内,继承了子模集合覆盖的$(1+\ln n)$和$(1-1/e)$近似比,还能强制保证多样性裕度。重要的是,构建$\gamma$-覆盖是**查询无关**的:它不会产生在线计算成本,可一次性离线计算并在所有查询中摊销成本。在HotpotQA数据集上的实验表明,$\gamma$-覆盖的性能始终优于具有竞争力的基线BM25,并且在上下文压缩、单槽提示选择等硬决策场景下具备明显优势。这些结果证明,DI $\gamma$-覆盖可作为现代大语言模型(LLM)流水线的一种有理论依据的自组织基础框架。
英文摘要:
We introduce \textbf{Directed Information $γ$-covering}, a simple but general framework for redundancy-aware context engineering. Directed information (DI), a causal analogue of mutual information, measures asymmetric predictiveness between chunks. If $\operatorname{DI}_{i \to j} \ge H(C_j) - γ$, then $C_i$ suffices to represent $C_j$ up to $γ$ bits. Building on this criterion, we formulate context selection as a $γ$-cover problem and propose a greedy algorithm with provable guarantees: it preserves query information within bounded slack, inherits $(1+\ln n)$ and $(1-1/e)$ approximations from submodular set cover, and enforces a diversity margin. Importantly, building the $γ$-cover is \emph{query-agnostic}: it incurs no online cost and can be computed once offline and amortized across all queries. Experiments on HotpotQA show that $γ$-covering consistently improves over BM25, a competitive baseline, and provides clear advantages in hard-decision regimes such as context compression and single-slot prompt selection. These results establish DI $γ$-covering as a principled, self-organizing backbone for modern LLM pipelines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。