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

基于状态依赖重尾噪声的鲁棒朗之万采样及其在大语言模型微调中的应用

Robust Langevin Sampling under State-Dependent Heavy-Tailed Noise with Applications to LLM Fine-Tuning

Elmore Family School of Electrical and Computer Engineering, Purdue University(普渡大学埃尔莫尔家族电气与计算机工程学院);Weldon School of Biomedical Engineering, Purdue University(普渡大学韦尔顿生物医学工程学院)

M. Berk Sahin, Ege C. Kaya, Arda Fazla, Behzad Sharif, Abolfazl Hashemi

AI总结:

该研究针对SG-LMC的两个不切实际假设,提出三种鲁棒朗之万采样方法,建立非渐近收敛保证,实验验证其在合成数据及LLM、视觉语言模型微调上的有效性,性能优于或匹配现有最优方法。

摘要:

现有针对非对数凹采样的随机梯度朗之万蒙特卡洛(SG-LMC)收敛保证通常假设梯度全局利普希茨连续且噪声方差一致有界,这两个假设在基础采样问题中也可能不成立,放松这些假设能更好地反映大语言模型(LLM)贝叶斯微调等实际应用场景。我们通过广义光滑性和提出的具有有限p阶矩(1<p≤2)的状态依赖重尾神谕来放松这两个假设,该神谕在p<2时允许无穷方差,且包含Blum-Gladyshev(BG-0)条件。我们分别及联合研究这些放松条件,提出三种方法:在梯度全局利普希茨连续的情况下,鲁棒朗之万采样(R-LMC)通过几何中值中心化和残差裁剪处理所提神谕;在梯度精确的情况下,自适应朗之万采样(A-LMC)在广义光滑性下控制离散误差;鲁棒自适应朗之万采样(RA-LMC)通过鲁棒估计和感知噪声的步长同时处理两种放松条件。对于所有三种方法,我们在费舍尔信息(FI)下建立了非渐近收敛保证,且未假设耗散性或函数不等式。合成实验验证了FI收敛性及各机制的优势,针对LLM和视觉语言模型的贝叶斯微调实验支持了我们的神谕模型,且表明RA-LMC在准确率和不确定性量化方面与现有最优基线相当或更优。

英文摘要:

Existing convergence guarantees for non-log-concave sampling with stochastic gradient Langevin Monte Carlo (SG-LMC) typically assume globally Lipschitz gradients and uniformly bounded noise variance. Both assumptions can fail even in elementary sampling problems, and relaxing them better reflects practical applications such as Bayesian fine-tuning of large language models (LLMs). We relax both assumptions through generalized smoothness and our proposed state-dependent heavy-tailed oracle with finite $p$-th moments, $1<p\leq 2$. The oracle permits infinite variance when $p<2$ and includes the Blum-Gladyshev (BG-0) condition. We study these relaxations separately and jointly, proposing three methods. Under globally Lipschitz gradients, robust LMC (R-LMC) handles the proposed oracle through geometric-median centering and residual clipping. With exact gradients, adaptive LMC (A-LMC) controls discretization error under generalized smoothness. Robust adaptive LMC (RA-LMC) addresses both relaxations through robust estimation and a noise-aware step size. For all three methods, we establish non-asymptotic convergence guarantees in Fisher information (FI) without assuming dissipativity or a functional inequality. Synthetic experiments demonstrate FI convergence and the benefit of each mechanism. Bayesian fine-tuning experiments with LLMs and vision-language models support our oracle model and show that RA-LMC matches or outperforms state-of-the-art baselines in accuracy and uncertainty quantification.

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

↑