用平滑聚合提升小模型在噪声检索下的生成能力
RIMS: Preference Optimization via Smoothed Multi-pair Aggregation for Small-Scale LLM Retrieval-Augmented Generation

- 自动生成思维链偏好数据,不依赖大模型
- 平滑聚合所有偏好对,梯度利用率更高
- 适合资源受限场景下的小模型RAG应用
小规模语言模型(SLMs)在资源受限的检索增强生成(RAG)中具有吸引力,但其容量有限,对噪声或虚假检索证据高度敏感。现有基于偏好的方法如RoseRAG仅通过硬选择保留最困难的单个偏好对,忽略其余信号;另一些方法将多个偏好对视为独立二元比较,导致数据利用效率低。本文提出RIMS,一个三阶段偏好优化框架:(1)使用目标SLM自身进行拒绝采样,生成合成思维链偏好数据,无需依赖专有模型;(2)采用可微分的软聚合机制,以平滑算子替代硬选择,保留所有偏好对的梯度信号,同时保持边际感知选择的判别结构;(3)在多个对齐算法上应用平滑目标进行偏好优化。理论上证明平滑近似具有可控误差界,且平滑聚合相比硬选择能实现更紧的梯度对齐。在四个多跳问答基准测试中,该方法在多种SLM骨干网络下均超越现有最优基线,在噪声检索条件下持续提升精确匹配和F1分数。
原文摘要 · Abstract (English)
Small-scale language models (SLMs) are attractive for retrieval-augmented generation (RAG) in resource-constrained settings, but their limited capacity makes them highly sensitive to noisy or spurious retrieved evidence. Existing preference-based methods such as RoseRAG select only the hardest single preference pair via hard argmin/argmax, discarding the remaining signal; others treat multiple pairs as independent binary comparisons, resulting in low data utilization. We propose RIMS, a three-stage preference optimization framework comprising (1) synthetic chain-of-thought preference data generation via rejection sampling using the target SLM itself without relying on proprietary models, (2) a differentiable soft aggregation mechanism that replaces hard selection with a smooth operator, preserving gradient signal from all preference pairs while retaining the discriminative structure of margin-aware selection, and (3) preference optimization with the smoothed objective applied to multiple alignment algorithms. We theoretically show that the smoothed approximation admits a controllable error bound and that smooth aggregation yields provably tighter gradient alignment to the oracle objective than hard selection. Experiments on four multi-hop question answering benchmarks show that our approach outperforms state-of-the-art baselines across multiple SLM backbones, achieving consistent gains in Exact Match and F1 under noisy retrieval conditions. Our implementation is available at https://github.com/tptrix29/RIMS.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。