arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.03768cs.LG
收藏

数据点选择的贝叶斯方法

A Bayesian Approach to Data Point Selection

Samsung AI Center Cambridge(三星剑桥人工智能中心);Microsoft Research Cambridge(微软剑桥研究院);University of Edinburgh(爱丁堡大学)

Xinnuo Xu, Minyoung Kim, Royson Lee, Brais Martinez, Timothy Hospedales

AI总结:

针对数据点选择中双层优化方法计算昂贵且存在理论缺陷的问题,提出一种基于贝叶斯后验推断与随机梯度Langevin MCMC采样的新方法,可高效联合学习实例权重和网络参数,并扩展到大型语言模型。

摘要:

数据点选择(DPS)正成为深度学习中的一个关键话题,因为获取未经整理的训练数据相对容易,而获得经过整理或处理的数据则较为困难。现有的DPS方法主要基于双层优化(BLO)公式,这在内存和计算方面要求很高,并且在处理小批量数据时表现出一些理论缺陷。因此,我们提出了一种新颖的贝叶斯方法来解决DPS问题。我们将DPS问题视为一种新颖贝叶斯模型中的后验推断,在该模型中,实例级权重和主神经网络参数的后验分布在合理的先验和似然模型下进行推断。我们采用随机梯度Langevin MCMC采样来联合学习主网络和实例级权重,即使在小批量情况下也能确保收敛。我们的更新方程与广泛使用的SGD相当,并且比现有的基于BLO的方法高效得多。通过在视觉和语言领域进行的受控实验,我们展示了概念验证。此外,我们证明了我们的方法能够有效地扩展到大型语言模型,并促进指令微调数据集的自动化逐任务优化。

英文摘要:

Data point selection (DPS) is becoming a critical topic in deep learning due to the ease of acquiring uncurated training data compared to the difficulty of obtaining curated or processed data. Existing approaches to DPS are predominantly based on a bi-level optimisation (BLO) formulation, which is demanding in terms of memory and computation, and exhibits some theoretical defects regarding minibatches. Thus, we propose a novel Bayesian approach to DPS. We view the DPS problem as posterior inference in a novel Bayesian model where the posterior distributions of the instance-wise weights and the main neural network parameters are inferred under a reasonable prior and likelihood model. We employ stochastic gradient Langevin MCMC sampling to learn the main network and instance-wise weights jointly, ensuring convergence even with minibatches. Our update equation is comparable to the widely used SGD and much more efficient than existing BLO-based methods. Through controlled experiments in both the vision and language domains, we present the proof-of-concept. Additionally, we demonstrate that our method scales effectively to large language models and facilitates automated per-task optimization for instruction fine-tuning datasets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑