K-文化的一切——从回归到 K-美妆,发送到您的邮箱订阅邮件

METAL MEDIA

Relevant but Incomplete: Referential Dangling as a Paradigm-Level Failure Mode in Hard Prompt Compression

arXiv:2608.045692026-08-04

压缩长文档的提示压缩器常常保留了答案句子,却删掉了理解这个答案所需的关键信息

硬提示压缩方法通过给句子或片段独立打分,只保留预算内得分最高的部分,但这样容易出现答案句子被保留、而解释这个答案所必需的前置定义或桥接事实却被删除的问题。论文将此失败模式命名为“指代悬空(referential dangling)”,测量了它在多种压缩器和数据集上的出现频率,并测试了恢复缺失内容或训练小型分类器自动修复是否能挽回准确率。在压缩率0.30下,该问题出现率最高达60%,而恢复缺失段落后准确率最多提升了34个百分点。

METAL MEDIA 解读图

指代悬空的产生与修复过程

证据状态已报告实测结果

  1. 1. 独立打分压缩压缩器对句子或片段分别打分,只保留预算内得分最高部分,可能把答案句子和定义它的上下文拆开
  2. 2. 指代悬空诊断在六种压缩器、三个多跳问答数据集及LongBench-v2文档上测量,悬空率在32%到60%之间
  3. 3. 固定预算内容重选恢复缺失的支持段落,同时移除等量的非支持段落以维持预算不变,测量准确率变化
  4. 4. 自动恢复分类器训练小型分类器判断被省略的句子是否为理解所必需,在推理时不依赖支持标注自动恢复排名靠前的候选句子
这是 METAL MEDIA 制作的解读图,并非论文作者提供的原图。

他们做了什么

  1. 使用基于Qwen3-0.6B嵌入的Beaver压缩器,在压缩率0.30时,HotpotQA、2WikiMultiHopQA和MuSiQue三个多跳问答数据集中,34%至54%的桥接样例保留了答案却丢失了理解答案所需的定义段落。
  2. 在同一批184个HotpotQA桥接样例上测试六种压缩器(分别基于嵌入相似度、自信息量、训练过的分类器、句法解析、困惑度和注意力信号),全部都出现该问题,比例在32%到60%之间,且与压缩器是否使用查询无关。
  3. LongBench-v2单文档问答的全部80篇文档中每篇都至少存在一处指代悬空,七个子领域的比例均在25%到37%之间,分布一致。
  4. 重新插入缺失的支持段落、同时移除等量的非支持段落以维持预算不变后,Qwen3-8B的准确率提升了29到34个百分点(p<0.0001),弥补了与完整支持情境之间差距的至少88%;而在MuSiQue上,即便是GPT-5.5,在压缩语境下的准确率也比完整支持语境低8.8个百分点,说明更强的模型并不能自动弥补这一损失。
  5. 训练一个小型bert-base-uncased分类器,用来判断被省略的句子是否是理解保留文本所必需的,并在推理时不使用支持标注自动恢复排名靠前的候选句子,结果在HotpotQA上配合Qwen3-8B使准确率提升了4.7个百分点,而压缩率仅从0.30变为0.31。
Figure 1: Referential dangling with a missing bridge. Independent scoring retains the query subject and the answer string but removes the fact that Tim DuBois was born in Southwest City, leaving the inference chain incomplete.
Figure 1: Referential dangling with a missing bridge. Independent scoring retains the query subject and the answer string but removes the fact that Tim DuBois was born in Southwest City, leaving the inference chain incomplete.
Table 1: Referential dangling and complete evidence retention under Beaver at r=0.30.
DatasetHopsρd (%)ρe (%)
HotpotQA234.261.0
2WikiMultiHopQA253.530.7
MuSiQue2 to 454.227.0
Figure 2: Referential dangling under Beaver. Panel (a) reports ρd across compression ratios on HotpotQA (n=269 to 300 per point, including partial paragraph retention). Panel (b) reports ρd by annotated hop count on HotpotQA (n=234), 2WikiMultiHopQA (n=241), and MuSiQue (n=286). Panel (c) reports dangling rates for 4,649 reference pairs in LongBench-v2 Single-Document QA by sentence distance from first mention to later reference. Error bars are bootstrap 95% confidence intervals.
Figure 2: Referential dangling under Beaver. Panel (a) reports ρd across compression ratios on HotpotQA (n=269 to 300 per point, including partial paragraph retention). Panel (b) reports ρd by annotated hop count on HotpotQA (n=234), 2WikiMultiHopQA (n=241), and MuSiQue (n=286). Panel (c) reports dangling rates for 4,649 reference pairs in LongBench-v2 Single-Document QA by sentence distance from first mention to later reference. Error bars are bootstrap 95% confidence intervals.
Table 2: Pairwise Jaccard similarities between dangling case sets on the shared HotpotQA bridge set (n=184) at compression ratio 0.30. The first row reports the dangling rate of each compressor. Abbreviations match Figure 3.
BEAVERPartPr.Sel.-CtxLLML-2DACLongLL
Dangling rate (%)32.147.851.656.058.759.8
BEAVERN/A0.360.230.300.290.32
PartPr.0.36N/A0.360.440.440.37
Sel.-Ctx0.230.36N/A0.390.350.51
LLML-20.300.440.39N/A0.470.45
DAC0.290.440.350.47N/A0.48
LongLL0.320.370.510.450.48N/A
Figure 3: Dangling rates for six compressors on the shared HotpotQA bridge set (n=184) at compression ratio 0.30. PartPr. denotes PartPrompt, Sel.-Ctx denotes Selective-Context, LLML-2 denotes LLMLingua-2, and LongLL denotes LongLLMLingua. All outputs are evaluated using the content-word overlap criterion with threshold 0.5. Light bars denote methods that use the query, and darker bars denote methods that do not.
Figure 3: Dangling rates for six compressors on the shared HotpotQA bridge set (n=184) at compression ratio 0.30. PartPr. denotes PartPrompt, Sel.-Ctx denotes Selective-Context, LLML-2 denotes LLMLingua-2, and LongLL denotes LongLLMLingua. All outputs are evaluated using the content-word overlap criterion with threshold 0.5. Light bars denote methods that use the query, and darker bars denote methods that do not.
Table 3: Answer accuracy with base contexts produced by Beaver at target compression ratio 0.30. Panel 1 uses the dangling subsets of HotpotQA (n=80), 2WikiMultiHopQA (n=72), and MuSiQue (n=102), with McNemar p values comparing Base and Reselected. Panel 2 uses a separate set of 200 HotpotQA examples, with McNemar p values comparing Base and Full support.
Panel 1: dangling subsets evaluated with Qwen3-8B
DatasetDownstream LLMBaseReselectedFull supportMcNemar p
HotpotQAQwen3-8B0.2870.5750.6001.6×10−6
2WikiMultiHopQAQwen3-8B0.0970.4030.4441.1×10−5
MuSiQueQwen3-8B0.1470.4900.4713.1×10−8
Panel 2: a 200 example HotpotQA evaluation set with four downstream LLMs
DatasetDownstream LLMBaseFull supportMcNemar p
HotpotQAQwen3-8B0.5350.6150.001
Qwen3-4B0.5000.5850.002
Llama-3.1-8B0.5750.6600.004
Mistral-7B0.4550.5450.0005
Figure 4: Mean salience percentiles (%) for answer and definition sentences among all sentences in 180 bridge examples. Beaver similarity is query-aware; self-information is not.
Figure 4: Mean salience percentiles (%) for answer and definition sentences among all sentences in 180 bridge examples. Beaver similarity is query-aware; self-information is not.
Table 4: Answer accuracy of proprietary models under Base and Full support, with base contexts produced by Beaver at target compression ratio 0.30. HotpotQA uses the full shared bridge set, while MuSiQue uses the dangling subset. GLM-5.2 returned answers for 95 of the 102 MuSiQue contexts because of API timeouts.
ModelDatasetnBaseFull supportMcNemar p
GPT-5.5HotpotQA1840.9130.9131.0
GPT-5.5MuSiQue1020.7750.8630.011
GLM-5.2MuSiQue950.6950.9372.4×10−7
Figure 5: Dangling rate across content-word-overlap thresholds for 184 bridge examples (Figure 3; ratio 0.30).
Figure 5: Dangling rate across content-word-overlap thresholds for 184 bridge examples (Figure 3; ratio 0.30).
Table 5: Changes in answer accuracy, in percentage points relative to Base, for candidate sources with a fixed classifier and Qwen3-8B (K=3). Hybrid augments first-mention candidates with embedding retrieval, and the final row includes the annotated supporting sentence in the candidate set.
Candidate sourceHotpotQA2WikiMultiHopQA
First mention+4.7 (p=0.022)+0.5 (not significant)
All mentions+4.5 (p=0.15)+4.0 (p=0.20)
Hybrid+4.5 (p=0.12)+5.5 (p=0.063)
Annotated support included+8.0 (p=0.008)N/A
Figure 6: Referential dangling examples from HotpotQA, 2WikiMultiHopQA, MuSiQue, and LongBench-v2 Single-Document QA. Each panel shows the original context and the compressed output.
Figure 6: Referential dangling examples from HotpotQA, 2WikiMultiHopQA, MuSiQue, and LongBench-v2 Single-Document QA. Each panel shows the original context and the compressed output.
Table 6: Dangling rate (%) across content-word overlap retention thresholds on the same 184 bridge examples as Figure 3 at compression ratio 0.30. The 0.5 column matches Figure 3.
Overlap threshold0.30.40.50.60.7
LLMLingua-2 (token)28.343.556.057.636.4
Beaver (chunk)19.625.032.136.440.2
Figure 7: Accuracy gains from full support and first-mention automatic restoration on HotpotQA (Beaver at ratio 0.30, K=3). Full support uses 200 examples; restoration uses 300 for Qwen3-8B and Llama-3.1-8B and 200 for Mistral-7B.
Figure 7: Accuracy gains from full support and first-mention automatic restoration on HotpotQA (Beaver at ratio 0.30, K=3). Full support uses 200 examples; restoration uses 300 for Qwen3-8B and Llama-3.1-8B and 200 for Mistral-7B.
Table 7: Robustness of the dangling diagnostic to its three main free choices (HotpotQA, n=300, ratio 0.30 unless swept). Embedding shifts are measured in percentage points relative to the released Qwen3-0.6B embedding setup.
CheckVariationOutcome
Embedding scorerQwen3-0.6B embeddings → GPT-2+0.9 points
Overlap threshold0.3 to 0.7substantial throughout
Compression ratio0.70 to 0.20monotonic increase
Table 8: Referential dangling on LongBench-v2 Single-Document QA by subdomain (Beaver, ratio 0.30, n=80 documents). “Mean rate” is the per-document average fraction of retained sentences that are dangling, macro-averaged over documents. “Affected docs” is the fraction of documents with at least one dangling reference.
SubdomainnMean rateAffected docs
Academic1336.5%100%
Literary1234.4%100%
Financial1232.3%100%
Legal829.1%100%
Detective1527.3%100%
Event ordering1127.0%100%
Governmental925.1%100%
All8030.5%𝟏𝟎𝟎%
Table 9: Official checkpoint and API identifiers. Display names are the shorthand used in the paper; exact identifiers are shown for reproducibility.
Role and reported nameOfficial checkpoint or API identifier
Beaver scorer Qwen3-0.6B embeddingsQwen/Qwen3-0.6B
Robustness scorer GPT-2openai-community/gpt2
DAC proxy Qwen3 0.6BQwen/Qwen3-0.6B
Downstream QA Qwen3 4B; Qwen3 8BQwen/Qwen3-4B; Qwen/Qwen3-8B
Downstream QA Llama 3.1 8B; Mistral 7Bmeta-llama/Llama-3.1-8B-Instruct mistralai/Mistral-7B-Instruct-v0.3
Self-information / perplexity proxy Llama 2 7Bmeta-llama/Llama-2-7b-hf
Compression / restoration classifiersmicrosoft/llmlingua-2-xlm-roberta-large- meetingbank; google-bert/bert-base-uncased
Proprietary downstream QA GPT-5.5; GLM-5.2API IDs: gpt-5.5; glm-5.2
Table 10: Automatic restoration results with the classifier fixed at K=3. The evaluation uses 300 HotpotQA examples, except for Mistral-7B, which uses 200. Base is Beaver at compression ratio 0.30, and Restored has an average ratio of 0.31. The reported p values use paired McNemar tests.
Downstream LLMCandidate sourceBaseRestoredp
Qwen3-8BFirst mention0.5670.6130.022
Mistral-7BFirst mention0.4550.5200.012
Llama-3.1-8BFirst mention0.5870.6000.60
Llama-3.1-8BHybrid0.5870.6100.17
Table 11: Restoration statistics when the Beaver baseline was incorrect (HotpotQA, n=300, compression ratio 0.30; downstream Qwen3-8B). SD denotes standard deviation.
FeatureFixed (23)Failed (107)
Sentences added, mean ± SD2.13 ± 1.081.79 ± 1.17
Sentences added, median3.02.0
McNemar: 23 fixes, 9 breaks, p=0.022
Table 12: Matched addition control on HotpotQA with Qwen3-8B (n=300). Random insertion and targeted restoration add the same number of sentences per example (m: mean 1.81, median 2, interquartile range [1,3]; approximately 40 tokens; compression ratio 0.30 to 0.31; K=3). Brackets report bootstrap 95% confidence intervals.
ConditionAccuracy [95% CI]Δ
Base compressor0.567 [.51,.62]N/A
Random insertion, m sentences0.587 [.53,.64]+2.0
Targeted restoration, m sentences0.613 [.55,.67]+4.7
Table 13: Transfer of one restoration configuration across four compressor outputs on HotpotQA with downstream Qwen3-8B (n≈150 to 300).
Compressor (output type)GainMcNemar p
Beaver (coherent chunks)+4.7p=0.022
PartPrompt (parse tree spans)+3.20.30
Selective-Context (self-information)+1.00.80
LLMLingua-2 (token fragments)+1.00.75

研究结果

  • 在压缩率0.30下,Beaver压缩器在三个数据集上的答案路径不完整率(rho_d)为34.2%至54.2%。
  • 在同一批184个HotpotQA桥接样例上,六种压缩器的指代悬空率从32.1%(Beaver)到59.8%(LongLLMLingua),与是否使用查询无关。
  • LongBench-v2单文档问答的全部80篇文档均至少存在一处指代悬空。
  • 重新选择内容(恢复缺失支持段落、移除非支持段落)相比基线使准确率提升28.8至34.3个百分点(p<0.0001),弥补了与完整支持条件差距的88%至92%。
  • 自动恢复分类器在HotpotQA上配合Qwen3-8B使准确率提升4.7个百分点(p=0.022),压缩率仅从0.30变为0.31。

可应用场景

  • 在多跳问答或证据分散于多段落的任务中使用提示压缩时,可采用这一指代悬空诊断方法检查支持内容是否在压缩后保留下来。
  • 可以在现有压缩流程中加入轻量级分类器后处理步骤,以少量增补的方式恢复缺失的支持句子。
  • 设计或评测压缩方法时,可参考将指代完整性指标与相关性得分一并报告的做法。

局限与待验证事项

  • 大部分测量以Beaver为对象,自动恢复分类器也是针对Beaver的段落/句子块结构设计的,迁移到其他压缩器输出上的效果未达到统计显著性。
  • 在匹配插入对照实验中,随机插入同等数量句子带来2.0个百分点的提升,而定向恢复带来4.7个百分点的提升,但在该样本量下两者差异未达统计显著(p=0.15)。
  • 该诊断方法只考虑原文中明确陈述的依赖关系,不包括常识推理或需要外部知识的关联。
  • LongBench-v2采用缺乏支持标注的首次提及诊断方法,其比率不能与其他数据集上的rho_d直接比较。
  • 该研究为单作者论文,实验范围限于六种压缩器、三到四个数据集及一种硬件配置(A100 80GB),在其他嵌入方式、压缩率或下游模型组合上的泛化性尚待验证。

为什么重要

提示压缩正成为降低长上下文推理成本的常用手段,但这项研究表明,仅按相关性打分并不能保证压缩后的提示仍然可用。对于构建或部署压缩系统的人来说,这提供了一个具体的设计准则:除了相关性,还要兼顾指代完整性。

本文术语

  • 硬提示压缩(hard prompt compression) · 对token、句子或片段独立打分,只保留预算内得分最高部分的原文压缩方式
  • 指代悬空(referential dangling) · 保留的文本中包含答案,但解释这个答案所需的定义或桥接事实被删除,导致推理链断裂的情况
  • 桥接样例(bridge example) · 需要经过一个中间实体才能得到答案的多跳问答题型
  • 压缩率(compression ratio, r) · 压缩后保留的token数占原文token数的比例
  • McNemar检验 · 比较同一批样例在两种条件下答对/答错变化情况的统计检验方法

论文原文摘要(英文)

Hard prompt compression reduces long-context inference cost by independently scoring tokens, sentences, or chunks and retaining the highest-scoring units under a budget. We identify a structural failure in this procedure: independent selection can split dependent evidence pairs, retaining one member while deleting the other. When retained text contains an answer but deleted text defines the entity needed to interpret it, we call the result referential dangling. At a compression ratio of 0.30, Beaver, which ranks coherent chunks using Qwen3-0.6B embeddings, leaves the answer path incomplete in 34-54% of bridge examples across three multi-hop question answering datasets. On a shared HotpotQA bridge set, all six hard compressors we test exhibit dangling at rates up to 60%, and every document in LongBench-v2 Single-Document QA contains at least one dangling reference. On dangling examples evaluated with Qwen3-8B, reinserting the missing supporting paragraph while removing nonsupporting paragraphs to maintain the token budget improves accuracy by 29-34 percentage points (p < 0.0001), recovering at least 88% of the gap to contexts retaining both supporting paragraphs. Stronger answer models do not absorb the loss: on MuSiQue, GPT-5.5 is 8.8 points less accurate on compressed contexts than on contexts retaining both supporting paragraphs. Finally, we train a compact classifier to rank omitted sentences by whether they are needed to interpret retained text and reinsert the top-ranked candidates without support annotations at inference. On HotpotQA with Qwen3-8B, this automatic restoration improves accuracy by 4.7 points while changing the compression ratio only from 0.30 to 0.31. Hard compressors should optimize both relevance and referential completeness.

作者 · Zhengpei Hu

在 arXiv 阅读

最新论文

全部论文 →

METAL MEDIA 最新报道

图片来源: Zhengpei Hu et al., arXiv:2608.04569, CC BY 4.0