Research Papers 论文研究 9h ago Updated 5h ago 更新于 5小时前 46

RIMS: Preference Optimization via Smoothed Multi-pair Aggregation for Small-Scale LLM Retrieval-Augmented Generation RIMS:通过平滑多对聚合进行偏好优化以用于小型语言模型检索增强生成

RIMS introduces a three-stage preference optimization framework specifically designed to enhance small-scale language models (SLMs) in Retrieval-Augmented Generation (RAG) scenarios. The method utilizes synthetic chain-of-thought data generation via rejection sampling with the target SLM, eliminating reliance on proprietary models for data creation. A novel differentiable soft aggregation mechanism replaces hard selection operators, preserving gradient signals from all preference pairs while mai 提出RIMS框架,通过平滑多对聚合机制优化小规模语言模型在检索增强生成中的偏好对齐问题。 采用自举拒绝采样生成合成思维链偏好数据,无需依赖闭源大模型即可构建训练信号。 引入可微分的软聚合算子替代硬选择,保留所有偏好对的梯度信号并证明其误差可控且梯度对齐更紧密。 在四个多跳问答基准上验证,该方法在噪声检索条件下显著优于现有基线,提升Exact Match和F1分数。

60
Hot 热度
75
Quality 质量
65
Impact 影响力

Analysis 深度分析

TL;DR

  • RIMS introduces a three-stage preference optimization framework specifically designed to enhance small-scale language models (SLMs) in Retrieval-Augmented Generation (RAG) scenarios.
  • The method utilizes synthetic chain-of-thought data generation via rejection sampling with the target SLM, eliminating reliance on proprietary models for data creation.
  • A novel differentiable soft aggregation mechanism replaces hard selection operators, preserving gradient signals from all preference pairs while maintaining discriminative power.
  • Theoretical analysis proves that smoothed approximation offers controllable error bounds and tighter gradient alignment to the oracle objective compared to hard selection methods.
  • Empirical results demonstrate consistent improvements in Exact Match and F1 scores across four multi-hop QA benchmarks under noisy retrieval conditions.

Why It Matters

This research addresses a critical bottleneck in deploying efficient AI systems: the vulnerability of small-scale models to noise in retrieval-augmented contexts. By providing a method that improves performance without requiring expensive proprietary models for data generation, RIMS enables more accessible and cost-effective fine-tuning strategies for resource-constrained environments.

Technical Details

  • Synthetic Data Generation: Employs rejection sampling using the target SLM itself to generate chain-of-thought preference data, avoiding dependency on larger or proprietary teacher models.
  • Smoothed Multi-pair Aggregation: Replaces traditional hard argmin/argmax selection with a differentiable soft operator, allowing gradients to flow from all preference pairs rather than just the single hardest one.
  • Theoretical Guarantees: Provides mathematical proofs showing that the smoothed objective has a controllable error bound and achieves better gradient alignment with the true oracle objective than discrete selection methods.
  • Benchmark Performance: Evaluated on four multi-hop question answering benchmarks, showing superior performance over state-of-the-art baselines like RoseRAG across various SLM backbones, particularly when retrieved evidence contains noise.

Industry Insight

  • Organizations deploying edge devices or low-latency services should consider adopting smoothed aggregation techniques to maximize the utility of smaller, more efficient models.
  • The self-supervised nature of the data generation process reduces operational costs and dependency on external API providers, making high-quality preference optimization more scalable for independent developers and smaller enterprises.
  • As retrieval systems become more complex, robustness to noisy evidence will be a key differentiator; methods like RIMS offer a pathway to maintain accuracy without increasing model size.

TL;DR

  • 提出RIMS框架,通过平滑多对聚合机制优化小规模语言模型在检索增强生成中的偏好对齐问题。
  • 采用自举拒绝采样生成合成思维链偏好数据,无需依赖闭源大模型即可构建训练信号。
  • 引入可微分的软聚合算子替代硬选择,保留所有偏好对的梯度信号并证明其误差可控且梯度对齐更紧密。
  • 在四个多跳问答基准上验证,该方法在噪声检索条件下显著优于现有基线,提升Exact Match和F1分数。

为什么值得看

本文针对资源受限场景下小规模LLM易受噪声检索干扰的痛点,提供了一种不依赖昂贵闭源模型的自监督偏好优化方案。其提出的平滑聚合机制在理论上证明了比传统硬选择更优的梯度对齐效果,为低成本部署高性能RAG系统提供了新的技术路径。

技术解析

  • 三阶段优化框架:RIMS包含三个阶段:首先利用目标小模型自身进行拒绝采样以生成合成思维链偏好数据;其次设计可微分的软聚合机制处理多对偏好比较;最后将平滑后的目标应用于多种对齐算法。
  • 平滑多对聚合机制:区别于RoseRAG等仅选取最困难单对(hard argmin/argmax)或独立处理二元比较的方法,RIMS使用平滑算子保留所有偏好对的判别结构,确保梯度信号不丢失,同时提供可控的理论误差边界。
  • 理论保证与实验验证:理论分析表明平滑聚合比硬选择具有更紧密的oracle目标梯度对齐。实验覆盖四个多跳QA基准,在多个小模型骨干网络上均取得一致的性能提升,特别是在检索证据存在噪声时表现稳健。

行业启示

  • 降低RAG部署门槛:通过自举生成偏好数据,企业可在无闭源大模型支持的情况下优化小模型,显著降低私有化部署RAG系统的成本和算力依赖。
  • 数据利用效率革新:从“硬选择”转向“平滑聚合”的思路,提示在偏好学习领域应重视全量数据的梯度贡献,避免信息丢弃,这对提升小模型在复杂任务上的鲁棒性至关重要。
  • 噪声环境下的模型韧性:研究强调了小模型对噪声检索的高敏感性,建议在实际工业应用中优先采用此类具备抗噪能力的偏好优化策略,以保障RAG系统在真实世界非理想检索条件下的稳定性。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 RAG 检索增强生成 Fine-tuning 微调 Research 科学研究 Alignment 对齐