arXiv:2506.10288cs.CLcs.AI2025-06EMNLP被引 3

用聚类+强化学习,高效筛选大模型微调数据。

ClusterUCB: Efficient Gradient-Based Data Selection for Targeted Fine-Tuning of LLMs

  • 按梯度特征聚类数据,相似样本影响相近
  • 多臂赌博机算法优化采样,节省90%以上计算量
  • 适合资源有限时的大模型精准微调

基于梯度的数据影响估计已被用于大语言模型的监督微调中以选择有效样本。然而,微调过程中持续计算梯度所需资源过高,难以实际应用。本文提出一种高效梯度驱动的数据选择框架ClusterUCB,结合聚类与改进的上限置信区间(UCB)算法。基于相似梯度特征的样本具有相近影响的直觉,我们首先对训练数据池进行聚类;随后将跨簇数据选择建模为受计算预算约束的分配问题,并视为多臂老虎机问题。采用改进的UCB算法求解,在迭代采样过程中记录历史数据影响信息,直接估计各簇分布,并引入冷启动策略平衡探索与利用。在多个基准上的实验表明,ClusterUCB在保持与原始梯度方法相当性能的同时,大幅降低计算消耗。

原文摘要 · Abstract (English)

Gradient-based data influence approximation has been leveraged to select useful data samples in the supervised fine-tuning of large language models. However, the computation of gradients throughout the fine-tuning process requires too many resources to be feasible in practice. In this paper, we propose an efficient gradient-based data selection framework with clustering and a modified Upper Confidence Bound (UCB) algorithm. Based on the intuition that data samples with similar gradient features will have similar influences, we first perform clustering on the training data pool. Then, we frame the inter-cluster data selection as a constrained computing budget allocation problem and consider it a multi-armed bandit problem. A modified UCB algorithm is leveraged to solve this problem. Specifically, during the iterative sampling process, historical data influence information is recorded to directly estimate the distributions of each cluster, and a cold start is adopted to balance exploration and exploitation. Experimental results on various benchmarks show that our proposed framework, ClusterUCB, can achieve comparable results to the original gradient-based data selection methods while greatly reducing computing consumption.

大模型微调数据选择聚类强化学习

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