密集检索何时需要非对称几何?共享与双投影的偏差-方差理论

·

研究论文 · 2026/09/30

稠密检索为检索增强生成、语义搜索和问答提供支持,但在共享投影与双投影之间选择的理论基础尚不明确。我们提出了低秩双线性评分的偏差-方差理论。共享投影诱导半正定算子,而双投影实现任意低秩算子。我们推导了它们的精确近似差距,并证明了局部高斯边界:当平方方向信号超过其额外自由度的估计成本时,双投影的风险恰好更低。这一边界启发了交叉拟合不对称风险选择器(CARS),它从训练对中估计可复现的方向信号;其高斯对应物具有精确的选择功效和遗憾公式。在理论指导下,我们在多个数据集和嵌入模型上进行了检索实验。随着查询旋转从0度增加到90度,双投影减共享投影的平均NDCG@10优势增加了一倍以上。在秩-样本量网格中,n=32时共享投影在16个单元中胜出13个,而n=1024和n=2048时双投影在所有32个单元中胜出。与这一转变一致,随着训练数据增长,所有168条可比较的算子风险曲线都向双投影移动。与两个固定几何基线相比,CARS将留出遗憾降低了49-96%,并达到90.1%的平均几何选择准确率。

该研究为稠密检索中共享与双投影的选择提供了理论基础,并提出了实用的选择器CARS,在多个数据集上验证了其有效性,对检索增强生成和语义搜索有重要指导意义。

Dense retrieval powers retrieval-augmented generation, semantic search, and question answering, yet the theoretical basis for choosing between shared and dual query-document projections remains unclear. We introduce a bias-variance theory for low-rank bilinear scoring. Shared projections induce positive-semidefinite operators, whereas dual projections realize arbitrary low-rank operators. We derive their exact approximation gap and prove a local Gaussian boundary: dual has lower risk exactly when squared directional signal exceeds the estimation cost of its additional degrees of freedom. This boundary motivates the Cross-fitted Asymmetry Risk Selector (CARS), which estimates reproducible directional signal from training pairs; its Gaussian counterpart admits exact selection-power and regret formulas. Guided by the theory, we run retrieval experiments across multiple datasets and embedding models. The mean Dual-minus-Shared NDCG@10 advantage more than doubles as query rotation increases from 0 degrees to 90 degrees. In the rank-sample-size grids, Shared wins 13 of 16 cells at n=32, whereas Dual wins all 32 cells at n=1024 and n=2048. Consistent with this shift, all 168 comparable operator-risk curves move toward Dual as training data grow. Compared to the two fixed-geometry baselines, CARS reduces held-out regret by 49-96% and achieves 90.1% mean geometry-selection accuracy.

阅读原文

参与讨论