arXiv:2512.15765cs.LGcs.GT2025-12被引 1

用高效方法计算大模型对齐中各数据集的贡献值

Shapley-based Data Valuation for LLM Alignment via Sequential Preference Optimization

  • 逐个引入数据源,更新策略并重建联合模型
  • 仅需训练单个数据集模型,计算量从指数级降为线性
  • 揭示真实数据集对模型对齐的实际影响

数据估值是理解多个来源偏好数据在对齐大语言模型时重要性的自然框架。标准博弈论方法通过谢尔利值为每个数据集分配贡献分。但实际中,谢尔利估值计算成本过高,因需为每种可能的数据集组合分别微调模型,即呈指数级数量的对齐任务。本文针对包括DPO和IPO在内的广义偏好优化目标,提出顺序偏好优化(Sequential Preference Optimization)——一种离线过程,按源逐一应用现有偏好优化方法,每次更新当前策略。在精确优化下,该方法在奖励空间中产生可加性组合规则,在策略空间中等价于算术组合规则。这一发现使得谢尔利值可高效近似:仅需为每个数据集训练一个模型,并在推理时由单源模型重建联合策略,将所需对齐次数从指数级降至线性。基于此,我们计算了多个真实世界偏好数据集的谢尔利值,揭示各来源对模型对齐的实际驱动作用。

原文摘要 · Abstract (English)

Data valuation is a natural framework for understanding which preference datasets matter most when aligning a Large Language Model (LLM) using multiple sources. The standard game-theoretic approach assigns each dataset a contribution score via the Shapley value. In practice, however, Shapley-based valuation is computationally prohibitive because it requires fine-tuning a separate model for every possible coalition of preference datasets, i.e., an exponential number of alignments. We address this challenge for a broad family of preference-optimization objectives, including DPO and IPO, that learn directly from log-policy ratios with respect to a reference policy. We introduce Sequential Preference Optimization, an offline procedure that applies existing preference optimization methods sequentially, source by source, updating the current policy after each dataset. Under exact optimization, this procedure yields an additive composition rule in reward space and an equivalent arithmetic composition rule in policy space. This observation enables an efficient approximation of the Shapley value: we train one model per preference dataset and reconstruct coalition policies at inference time from the singleton models, reducing the required alignments from exponential to linear in the number of sources. Leveraging this property, we compute Shapley values for several real-world preference datasets and reveal how each source drives model alignment.

数据估值大模型对齐偏好优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。