用奇异值集合量化基础模型的不确定性
Quantifying the Uncertainty of Foundation Models with Singular Value Ensembles
AI总结:
提出奇异值集成(SVE)方法,通过冻结奇异向量并仅训练每个成员的奇异值,以极小的参数开销实现隐式集成,从而有效量化基础模型的不确定性。
摘要:
基础模型已成为机器学习中的主导范式,通过大规模预训练在各种任务中取得了显著性能。然而,它们往往产生过度自信、未校准的预测。量化认知不确定性的标准方法是使用多个独立训练模型的集成。但它们的计算成本随集成规模线性增长,使得大型基础模型难以实用。我们提出奇异值集成(SVE),一种参数高效的隐式集成方法。SVE 基于一个简单而强大的核心假设:即权重矩阵的奇异向量对应于表示空间中有意义的方向。如果奇异向量确实是有意义的(正交)“知识方向”,那么可以通过仅调节每个方向对输出的贡献强度来获得模型集成。我们冻结奇异向量,而不是为每个集成成员学习新参数,仅训练每个成员的奇异值,这些奇异值重新缩放共享知识基中每个方向的贡献。集成多样性在联合训练期间自然出现,因为随机初始化和随机批次采样导致不同成员收敛到相同底层知识的不同组合。SVE 的性能与显式集成相当,同时将基础模型的参数数量增加不到1%,使得在资源受限环境中也能进行有原则的不确定性估计。我们在 NLP 和视觉任务上使用各种不同的骨干网络验证了 SVE,并表明它在保持预测准确性的同时改善了校准。
英文摘要:
Foundation models have become a dominant paradigm in machine learning, achieving remarkable performance across diverse tasks through large-scale pretraining. However, they often yield overconfident, uncalibrated predictions. The standard approach to quantifying epistemic uncertainty are ensembles of multiple independently trained models. But their computational cost scales linearly with ensemble size, making them impractical for large foundation models. We propose Singular Value Ensemble (SVE), a parameter-efficient implicit ensembling method. SVE builds on a simple, but powerful core assumption: namely, that the singular vectors of the weight matrices correspond to meaningful directions in the representation space. If the singular vectors are indeed meaningful (orthogonal) "knowledge directions", then a model ensemble can be obtained by modulating only how strongly each direction contributes to the output. Rather than learning new parameters for each ensemble member, we freeze the singular vectors and only train per-member singular values that rescale the contribution of each direction in that shared knowledge basis. Ensemble diversity emerges naturally during joint training as stochastic initialization and random batch sampling cause different members to converge to different combinations of the same underlying knowledge. SVE performs comparable to an explicit ensemble, while increasing the parameter count of the base model by <1%, making principled uncertainty estimation accessible in resource-constrained settings. We validate SVE on NLP and vision tasks with various different backbones and show that it improves calibration while maintaining predictive accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。