arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.29580cs.LGstat.ML
收藏

基于LoRA的贝叶斯推理中低损失谷的构造与启示

On the Construction and Implications of Low-Loss Valleys in LoRA-based Bayesian Inference

HTWG Konstanz(康斯坦茨应用科学大学);LMU Munich(慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心)

Daniel Dold, Emanuel Sommer, Julius Kobialka, Oliver Dürr, David Rügamer

AI总结:

本文提出LoRA-Curve方法,通过分段贝塞尔曲线参数化在LoRA空间中连接独立最优解,形成连续低损失谷,并结合平坦极小扰动和JS散度正则化,在不牺牲性能的前提下提高预测分布的互信息,实现功能多样性。

摘要:

虽然低秩适应(LoRA)等参数高效微调方法已成为大型语言模型的标准方法,但对认知不确定性的原则性估计仍然具有挑战性。最近在LoRA机制下的结果表明,深度集成等离散多模态方法相比单模态方法几乎没有优势。这与深度学习中的更广泛观察相矛盾,在深度学习中,集成独立最优解通常能改善泛化,而通过连续低损失谷连接这些模态能进一步增强贝叶斯模型平均(BMA)。LoRA空间中是否存在这种结构,以及它是否能产生局部或离散方法所遗漏的功能多样性,尚未被研究。我们引入了LoRA-Curve,一种在LoRA空间中的分段贝塞尔曲线参数化,包含两种变体:一种自由配置,联合优化所有控制点;另一种锚定配置,连接独立微调的LoRA最优解。我们证明了损失沿曲线的路径连续性和Lipschitz正则性,并通过Qwen2.5 7B在推理和分类基准上的实验表明,线性插值会遇到损失障碍,而我们的锚定多段曲线通过连续低损失谷连接独立最优解。结合平坦极小扰动和詹森-香农散度正则化,LoRA-Curve在不牺牲性能的情况下,可测量地提高了预测分布的互信息,并将连续参数空间遍历与功能多样性联系起来。

英文摘要:

While parameter-efficient fine-tuning methods like low-rank adaptation (LoRA) are standard for large language models, principled estimation of epistemic uncertainty remains challenging. Recent results in the LoRA regime suggest that discrete multi-mode approaches such as deep ensembles offer little benefit over single-mode methods. This contradicts broader observations in deep learning, where ensembling independent optima typically improves generalization, and linking these modes through continuous low-loss valleys further enhances Bayesian model averaging (BMA). Whether such structure exists in the LoRA space and whether it yields functional diversity missed by local or discrete methods has not been studied. We introduce LoRA-Curve, a segmented Bézier curve parameterization in the LoRA space, with two variants: a free configuration that jointly optimizes all control points, and an anchored configuration that connects independently fine-tuned LoRA optima. We prove pathwise continuity and Lipschitz regularity of the loss along the curve and empirically show, across reasoning and classification benchmarks with Qwen2.5 7B, that linear interpolation encounters loss barriers, while our anchored multi-segment curves connect independent optima through continuous low-loss valleys. Combined with flat-minima perturbations and a Jensen-Shannon divergence regularizer, LoRA-Curve yields measurably higher mutual information of the predictive distribution without sacrificing performance, and links continuous parameter-space traversal to functional diversity.

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

↑