arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.03244cs.CL
收藏

何时复杂度调节对冻结句子嵌入有帮助?基于逐句和句子对难度适配的受控研究

When Does Complexity Conditioning Help a Frozen Sentence Embedding? A Controlled Study of Per-Sentence and Pair-Level Difficulty Adaptation

Suhwan Hwang

Suhwan Hwang

AI总结:

通过受控实验研究冻结句子编码器后接轻量适配器时,基于句子级和句子对级难度信号的调节效果,发现句子对级残差门控在较大和分级任务上持续提升性能,而句子级方法无效。

摘要:

一个常见的直觉是句子嵌入应适应输入的难度。我们在受控的多随机种子设置中测试这一直觉:一个轻量后编码器适配器附加到冻结的Qwen3-Embedding-0.6B编码器上,仅访问其最终池化嵌入,并在四个释义和语义相似度任务(PAWS、MRPC、QQP、STS-B)上评估。该想法的朴素形式失败:基于表面的逐句复杂度与冻结基线误差几乎不相关(Pearson约0.05),且相比常数或打乱对照无优势,同时降低饱和基线。即使目标与非循环的句子对难度信号对齐,逐句门控仍无法可靠捕获难度,因为难度主要是句子对的属性,而非单个句子。相比之下,由留出的交叉编码器难度信号门控的小型句子对级残差在较大和分级任务上持续提升,包括STS-B上+0.022 Spearman和QQP上+0.037,同时所有随机种子均锚定于冻结基线。由于这种有用形式操作于句子对而非单个句子,所得模型最好理解为缓存冻结嵌入上的轻量重排序器,而非替代的单向量嵌入;我们不声称达到最先进。我们的贡献是对难度感知适配何时有帮助何时失败的受控说明,以及预测可用余量的预训练诊断。

英文摘要:

A common intuition is that sentence embeddings should adapt to the difficulty of the input. We test this intuition in a controlled, multi-seed setting: a lightweight post-encoder adapter attaches to a frozen Qwen3-Embedding-0.6B encoder, accessing only its final pooled embedding, and is evaluated on four paraphrase and semantic-similarity tasks (PAWS, MRPC, QQP, STS-B). The naive form of the idea fails: surface-based per-sentence complexity is nearly uncorrelated with frozen-baseline error (Pearson approximately 0.05) and provides no advantage over constant or shuffled controls, while degrading a saturated baseline. Even when the target is aligned to a non-circular pair-difficulty signal, the per-sentence gate still cannot reliably capture difficulty because difficulty is primarily a property of the pair, not the individual sentence. In contrast, a small pair-level residual gated by a held-out cross-encoder difficulty signal yields consistent gains on the larger and graded tasks, including +0.022 Spearman on STS-B and +0.037 on QQP, while remaining anchored to the frozen baseline across all seeds. Because this useful form operates on sentence pairs rather than individual sentences, the resulting model is best understood as a lightweight re-ranker over cached frozen embeddings, not a replacement single-vector embedding; we make no state-of-the-art claim. Our contribution is a controlled account of when difficulty-aware adaptation helps and when it fails, together with a pre-training diagnostic that predicts the available headroom.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑