[论文解读] Calibrated Adaptation: Bayesian Stiefel Manifold Priors for Reliable Parameter-Efficient Fine-Tuning
引入 Stiefel-Bayes Adapters (SBA),一种在 Stiefel 流形上使用矩阵 Langevin 先验和切空间拉普拉斯推断的几何感知贝叶斯 PEFT 方法,在分布偏移下实现经过标定的不确定性与有竞争力的任务表现。
Parameter-efficient fine-tuning methods such as LoRA enable practical adaptation of large language models but provide no principled uncertainty estimates, leading to poorly calibrated predictions and unreliable behavior under domain shift. We introduce Stiefel-Bayes Adapters (SBA), a Bayesian PEFT framework that places a Matrix Langevin prior over orthonormal adapter factors on the Stiefel manifold $\St$ and performs approximate posterior inference via tangent space Laplace approximation with geodesic retraction. Unlike Gaussian priors in flat space projected onto orthogonality constraints, our prior on the manifold naturally encodes the inductive bias that adapter subspaces should be well conditioned and orthogonal, while the posterior provides calibrated predictive uncertainty without recalibration. We prove formally that the tangent space approximation strictly avoids the structural variance inflation inherent in projecting from ambient space, establishing a rigorous theoretical advantage for intrinsic manifold inference. Across GLUE and SuperGLUE benchmarks on RoBERTa-large, LLaMA-2-7B, LLaMA-2-13B, Mistral-7B, and Qwen2.5-7B, domain shift evaluations, selective prediction protocols, and an abstractive summarization task, SBA achieves task performance comparable to LoRA and DoRA while reducing Expected Calibration Error by 18 to 34\% over deterministic baselines, improving selective prediction AUROC by 12 to 25\% under domain shift, and outperforming deep ensembles of five LoRA models on OOD detection at a fraction of the parameter cost. Our results demonstrate that where you place uncertainty, on the right geometric structure, matters more than simply adding any Bayesian treatment to adapters.
研究动机与目标
- 为大语言模型的参数高效微调 (PEFT) 提供原理化不确定性的必要性作出动机说明。
- 提出一个尊重正交适配子空间的几何感知贝叶斯 PEFT 框架。
- 通过在 Stiefel 流形上使用测地线回撤和切空间拉普拉斯近似实现可扩展推断。
- 在跨多种模型与任务的域偏移下,展示更好的标定和可靠的不确定性。
提出的方法
- 将适配器定义为低秩更新 Delta W = U Sigma V^T,其中 U、V 位于 Stiefel 流形,Sigma 为对角。
- 对 U 和 V 独立放置 Matrix Langevin 先验,以通过 F 参数控制收敛性,确保子空间正交性。
- 对奇异值 Sigma 设高斯先验,以将子空间不确定性与尺度分离。
- 在 MAP 估计周围使用切空间拉普拉斯近似,通过 QR 回撤映射回流形,并从切空间后验采样以进行预测。
- 对于可扩展的后验计算,使用基于 KFAC 的赫西矩阵近似,并在推断阶段进行 S 次前向传播以获得集成预测。
实验结果
研究问题
- RQ1几何感知的适配器子空间先验相对于平坦空间先验如何影响后验标定?
- RQ2在 Stiefel 流形上进行切空间拉普拉斯推断是否能在域偏移和分布变化下获得可靠的不确定性和良好标定?
- RQ3相较于现有的 PEFT 方法和贝叶斯基线,SBA 在不同模型族上的性能成本权衡如何?
- RQ4几何感知的 SBA 是否将标定收益扩展到分类之外的生成任务?
主要发现
- SBA 的任务表现接近 LoRA/DoRA,同时显著提升标定性(相对于确定性基线,ECE 降低 18–34%)。
- 在域偏移下,SBA 提高选择性预测的 AUROC 12–25%,并以较低的参数成本优于 LoRA 模型的深度集合。
- SBA 降低标定误差并实现更强的 OOD 检测(与基线相比预测熵 AUROC 提升约 13–18 点)。
- 在 RoBERTa-large、LLaMA-2(7B 与 13B)、Mistral-7B、Qwen2.5-7B 上,SBA 显示一致的 ECE 降低和在 GLUE/SuperGLUE 基准上的具有竞争力的准确率。
- 生成任务 XSum 显示标定收益(序列层面的 ECE 从 .089 降至 .061),对 ROUGE-L 的损失可忽略;在域偏移下 epistemic 不确定性上升,提升可靠性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。