Manuscript Offprint
arXiv:2609.08354Geometry-Aware Bayesian Parameter-Efficient Fine-Tuning on the Stiefel Manifold via Stein Variational Gradient Descent
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Quang-Duy Tran*†§, Trung Le‡, Bao Duong*, Phuoc Nguyen*, Thin Nguyen*
*Deakin Applied Artificial Intelligence Initiative, Deakin University, Geelong, Australia
†Department of Computer Science, Aalto University, Espoo, Finland
‡Department of Data Science & AI, Monash University, Melbourne, Australia
quang-duy.tran@aalto.fi, trunglm@monash.edu, {b.duong, phuoc.nguyen, thin.nguyen}@deakin.edu.au
§This work was completed at the Deakin Applied Artificial Intelligence Initiative, Deakin University.
Abstract—Several geometry-aware approaches to low-rank adaptation have emerged for parameter-efficient fine-tuning of large pre-trained models. These methods aim to take full advantage of the geometric structure of low-rank manifolds for improving the efficiency in subspace utilization and reducing redundancy by enforcing orthogonality constraints during optimization. The strong empirical results of these techniques have motivated further study into whether predictions from such geometry-based adaptation methods could be overconfident. In this paper, we build on the singular value decomposition factorization of adapters to develop a framework based on Stein variational gradient descent (SVGD). In this formulation, the low-rank matrices are transported along the Stiefel manifold to match the targeted distributions while retaining their crucial geometric structure. Since this geometry-aware SVGD approach provides multiple solutions during inference, it supports uncertainty quantification and produces better-calibrated adapters on the Stiefel manifold. Extensive experiments show that our method delivers strong model calibration and attains higher prediction accuracy than SVGD and related uncertainty estimation methods that are formulated in Euclidean space.
Index Terms—PEFT, Bayesian Inference, Stiefel Manifold, Approximate Inference
I. INTRODUCTION
Various large pre-trained models, such as large language models (LLMs) [1]–[3], are emerging as valuable tools for safety-critical domains [4], [5]. To efficiently adapt these pre-trained models to a specific domain, parameter-efficient fine-tuning (PEFT) formulations are often utilized to create general instruction-following models [6]–[9]. Low-rank adaptation (LoRA) [6] treats the fine-tuned weights as an additive adapter to the pre-trained weights as and reduces the computational cost with a low-rank decomposition , where , , is the rank such that , and is a scale factor.
However, despite showing improved accuracy, it has been shown that fine-tuning can break the calibration of the models and cause them to produce overconfident predictions [1], [10], [11]. Bayesian deep learning [12]–[14] has been a principled choice for estimating the epistemic uncertainty as well
as allowing the production of better calibrated predictions through Bayesian posterior predictive distributions of these models. Although these methods are often challenging in large models due to the high dimensionality of the parameters, applying them to a significantly reduced subset of parameters during PEFT is more feasible. In addition, due to a lower amount of training data during, fine-tuning is more prone to epistemic uncertainty compared to pre-training [15]. Hence, various Bayesian inference studies have been presented [15]–[17] to address the uncertainty and calibration during LoRA fine-tuning.
On the other hand, to further enhance the rank efficiency of LoRA, approaches [8], [9], [18] have been introduced to enforce orthogonality between the basis vectors of the up-projection matrix, as in Stiefel-LoRA [9], or both the basis vectors of up-projection and down-projection matrices, as in StellA [8]. These constraints are based on the assumption that the weights belong to the Stiefel manifolds and geometry-aware optimization on Riemannian manifold [19] can straightforwardly be applied to enforce the orthogonality. With this constraint, these methods can fully exploit all subspace dimensions of the rank, leading to promising performance enhancements over diverse fine-tuning tasks [8], [9].
Despite promising predictive results, these methods lack evaluations on calibration and epistemic uncertainty. As a result, we present this study to examine the calibration errors of geometry-aware low-rank fine-tuning adaptations (specifically, StellA [8]) and proposed a Bayesian inference framework on the Stiefel manifold for evaluating their uncertainty and improving the calibration. Due to the complexity of distributional definitions for Bayesian inference on the manifold, particle-based variational inference approaches, notably Stein variational gradient descent (SVGD) [20], [21], are ideal for this setting due to their approximation flexibility compared to model-based variational inference and better iteration-effectiveness compared to Monte Carlo methods [21]. As a result, we choose SVGD [20], [21] as our inference engine and solve to find the optimal update function to iteratively transport the particles on the Riemannian/Stiefel manifold to the target distributions. Through evaluations on diverse experimental settings, our proposed approach—Riemannian Stein variational gradient descent for PEFT on the Stiefel manifold (StePS)—has demonstrated favorable accuracy and expected calibration errors compared to related methods on both in-distribution and out-of-distribution settings of the commonsense reasoning fine-tuning benchmarks.
Contributions: The key contributions of this work can be highlighted as follows:
-
We address the uncertainty estimation and calibration problems in geometry-aware PEFT by performing the Bayesian inference on the Stiefel manifold, allowing explicit and principled estimation of the epistemic uncertainty and enhancing the calibration of the predictions via the Bayesian posterior predictive distribution.
-
We find the optimal transport function with the gradient flow formulation on the Stiefel manifold, resulting in the closed-formed solution for steepest descent to iteratively transport the particles to match the target distributions on the manifold.
-
The effectiveness of our approach is evaluated through extensive experiments on fine-tuning and inference on both in-distribution and out-of-distribution data, demonstrating beneficial improvements on predictive accuracy and model calibration results compared to related Bayesian PEFT frameworks.
A. Geometry-Aware Parameter-Efficient Fine-Tuning
Low-rank adaptation (LoRA) [6] is a foundational parameter-efficient fine-tuning method that freezes the pretrained backbone weights and injects trainable low-rank updates ( ) into selected weight matrices. While LoRA is simple and effective, it treats the factors as unconstrained Euclidean parameters, which can ignore the vital geometric structure of the low-rank matrix spaces. Recent work has begun to utilize geometric structure into the low-rank adaptation. Stiefel-LoRA [9] directly constrains the B to lie on the Stiefel manifold to enforce the orthonormal columns that span across the adapted subspace. The A factor remains unconstrained and is optimized conventionally.
SVD-like tri-factor low-rank formulations of the adapter ( ), as adopted in, for example, [8], [18], [22], [23], provide a more meaningful geometric structure, where both U and V ideally form orthonormalized bases with respect to the subspace dimensions. Different strategies have been used to enforce or preserve the orthogonality. AdaLoRA [22] introduces additional regularization terms that “softly” encourages orthonormality of the factors. GeoLoRA [23] implicitly preserves low-rank orthogonality by updating the adapter parameters along a dynamical low-rank gradient flow, where orthonormality is maintained as an invariant of the integration scheme rather than enforced explicitly. Both PoLAR [18] and StellA [8] impose explicit manifold constraints on the factors. Specifically, PoLAR employs a landing algorithm with infeasibility penalty to guide the factors toward the Stiefel manifold, whereas StellA performs the optimization directly on the Stiefel manifold using tangent-space projection and retraction operations. Consequently, due to its principled geometry constraints, StellA is particularly well-suited for geometry-aware Bayesian inference.
B. Uncertainty Quantification of Large Models
Large pre-trained models tend to exhibit good calibration during pre-training [1], [10], [11]. However, they are often failed to express reliable predictive uncertainty after fine-tuning [15], [16], [24]. To address this issue, model-based uncertainty quantification methods [13]–[17], [24] can be integrated to the fine-tuning adapters to allow the models to efficiently provide epistemic uncertainty estimation and improved calibration.
While straightforward methods, such as Monte Carlo Dropout [13] and Deep Ensemble [14], [24], can be directly applied, they generally yield limited enhancements in model calibration. Laplace-LoRA [15] employs Laplace approximation to LoRA parameters to evaluate the uncertainty around the Maximum A Posteriori (MAP) solution. However, its post-hoc nature can lead to suboptimal uncertainty estimation. Model-based variational inference methods, BLoB [16] and ScalaBL [17], allow the joint optimization of the approximated variational posterior, which can enhance the efficiency and calibration. Nevertheless, their stochastic optimization procedures can be unstable and often requires additional techniques for enhancing the training stability. Despite the advantages, existing Bayesian PEFT methods are predominantly designed for Euclidean parameters, lacking the ability to capture inherent geometric structure of the low-rank parameters. This motivates the development of geometry-aware Bayesian approaches.
Beyond model-based variational inference, particle-based variational inference methods provide an alternative approach to uncertainty quantification. Stein variational gradient descent (SVGD) [20] approximates the posterior distribution with a pre-defined set of samples, called “particles”, which are deterministically transported toward the target distribution via functional gradient flows. Compared to the model-based approaches, SVGD avoids the restrictive distributional assumptions and allows more expressive approximations of the posterior distribution with a trade-off in computational cost. To account for non-Euclidean parameters, Riemannian SVGD [21] extends SVGD to parameters on Riemannian manifolds, enabling the inference to be performed directly on constrained parameter spaces. However, its application to large-scale deep learning models and PEFT remains unexplored.
III. PRELIMINARIES
A. Tri-Factor Factorization of Adapters and Optimization on the Stiefel Manifold
a) SVD-Based Adaptation: We follow the problem setting of StellA [8] by considering a low-rank factorization based on truncated singular value decomposition (SVD) of the fine-tuning adaptation for a pre-trained weight matrix as
where , , , , and is a scale factor. Since and define the orthonormal bases for the output and input subspaces, constraining them to the Stiefel manifold is necessary to retain their orthonormality during optimization.
Definition 1 (Stiefel Manifold). The Stiefel manifold of orthonormal matrices in ( ) is defined as
b) Optimization on the Stiefel Manifold: Operations on the Stiefel manifold [8], [19] requires additional choices relating to Riemannian geometry, including the local tangent space at a point containing matrices such that and the canonical metric between two matrices . Given an optimization objective , the Riemannian gradient of can be computed from its Euclidean gradient by
However, the modification made by the optimizer can cause the update step to deviate from the tangent space. Hence, for an update obtained after the optimizer step, we need to project it back to using the tangent-space projection function:
where . After updating along the tangent space with , the next point can be obtained from a retraction function chosen as
where returns the orthogonal matrix from a polar decomposition. These geometric operations are visualized in Fig. 1.
B. Stein Variational Gradient Descent for Bayesian Inference
a) Gradient Flow in Probability Space: Let us consider a problem of efficiently sampling from a distribution over a subspace , where is the energy function. In this case, is the solution of optimization problem:
where is the space of distributions over with the Wasserstein distance [25]. The gradient flow of in the Wasserstein space [25] at time s is described by the continuity equation
where is the first functional derivative of .

Fig. 1. An example of an update step on the Riemannian manifold . Starting from a point on the manifold with a Euclidean vector , is first projected (depicted in blue) to the local tangent space of to obtain . Then, the retraction operation (depicted in red) is conducted to find the next point on the manifold corresponding on the tangent space.
b) Steepest Descent Solution: To solve the gradient flow problem, with each a current distribution at the time , we need to find the velocity field by finding the steepest descent direction:
where is the push-forward distribution of by . With an additional assumption that belongs to a reproducing kernel Hilbert space (RKHS) defined by a positive semi-definite kernel , Stein variational gradient descent (SVGD) [20] achieves a closed-form solution for the optimal update step as follows
In practice, this formula can be approximated with M particles as follows
IV. STEPS: RIEMANNIAN SVGD FOR BAYESIAN PEFT ON THE STIEFEL MANIFOLD
The orthonormality offered by the Stiefel manifold allows the full utilization of the subspace rank as well as disentanglement between the dimensions. This is particularly beneficial with low-rank adapters since . Despite the ability to enhance the expressiveness of the subspace and the effectiveness in learning, research regarding estimating the uncertainty with models having parameters on the Stiefel manifold. As mentioned in the previous section SVGD is appropriate for this task due to its flexibility. However, the canonical Euclidean SVGD cannot directly be applied to the adaptation for Bayesian inference. In this section, we introduce the necessary adjustments to the optimization problem and the transportation map, and present the necessary formulation to find the optimal solution with these adjustments.
A. Gradient Flow on the Riemannian Manifold
To define the optimization problem for U and V in the SVD-based adaptation, we consider a Riemannian manifold with a corresponding set of distributions over it in place of the Euclidean subspace . The target distribution over the manifold that we aim to sample is defined as follows
Similar to SVGD [20], we start from an initial prior distribution and iteratively transport it to match via a flow of distribution on the manifold. Assume that at the time step , we are at the distribution , our objective is to learn a transportation map to transport it to the next distribution that further reduces the objective function .
Proposition 2 (Transportation Map on the Riemannian Manifold). Let the Riemannian manifold be equipped with and respectively being the projection map to the tangent space at a point and the retraction operation from back to . We can formulate the transportation map as follows
where is a function in the RKHS with the kernel .
B. Steepest Descent Solution for the Stiefel Manifold
a) Theoretical Development for the Riemannian Manifold: With the aforementioned transportation map, we aim to find the optimal by solving
where is the distribution obtained by transporting through the map T.
Let us denote , we derive as follows:
(14)
Let us consider a sufficiently small step size so that is a bijection. As a result, using the formula of the density change for a bijection: , we can rewrite the objective function of interest as:
Let and respectively denote the first and second term of defined in (15). The derivative of the first term can be calculated as
where can be computed using the Riemannian gradient in (3). Furthermore, the derivative of the second term can be formulated as
where with . It appears that
(17)
Therefore, we can reach
(18)
b) Theoretical Development for the Stiefel Manifold: Without loss of generality, we assume that is a matrix lying on the Stiefel manifold. Additionally, more complex model parameter can be thought as a collection of matrices on the Stiefel manifolds.
Through some manipulations (see Appendix A), we arrive at the following result:
where we have found that
As a result, the steepest descent is satisfied when . This result is formally presented in Theorem 3 below.
Algorithm 1 Riemannian Stein Variational Gradient Descent for Bayesian PEFT on the Stiefel Manifold (StePS)
Require: Training dataset , pre-trained weight , rank , scale factor , number of particles , a step function of a Euclidean optimizer step for minimization, and number of iterations
1: for to do
2: Randomly initialize and and set
3: end for
4: for to do
5: for to do
6: Compute
7: Compute the loss using (22)
8: Compute the Euclidean gradients , , and
9: Compute Riemannian gradients and using (3)
10: end for
11: for to do
12: Compute the update for and using (20), and for using (10) with the RBF kernel in (21)
13: end for
14: for to do
15: Project to the tangent space by and using (4)
16: Compute the next values by , , and
17: Project the update step to the tangent spaces by and using (4)
18: Update and retract back to the manifold by and using (5)
19: end for
20: end for
21: return Final particles
Theorem 3 (Steepest Descent for the Stiefel Manifold). We can choose the optimal solution for the transportation map in (12) to solve the optimization problem in (11) as follows
(19)
C. Practical Implementation
To practically implement the expectation in the optimal solution in (19), we follow SVGD [20] and approximate with particles as
Regarding the choice for the kernel , we opt for the radial basis function (RBF) kernel:
where is the bandwidth of the kernel and denotes the Frobenius norm. Note that this choice is equivalent up to a multiplicative constant to the commonly used von Mises–Fisher (vMF) kernel with for the Stiefel manifold [21]. Consequently, this choice enables a unified kernel formulation that applies consistently to parameters on both the Stiefel manifold and the Euclidean space. In particular, we compute a joint kernel for all parameters (i.e., , , and ) of the adapters and perform additional Stiefel tangent-space projection and retraction for and . Regarding the value for the kernel bandwidth , we adaptively evaluate the bandwidth at each step with as proposed in SVGD [20], where is the median of the pairwise distances between each pair and ().
The selection for the energy function in (11) is the empirical loss computed over a training set as follows:
where is the prediction made by the model f with the parameters and is a loss function depending on the current task (e.g., cross-entropy loss in classification task). The detailed optimization process of our method is presented in Algorithm 1.
V. EXPERIMENTS
A. Experimental Settings
a) Fine-Tuning Task: Following the experimental set-ups of prior works [15]–[17], we evaluate our approach using a collection of commonsense reasoning benchmarks. We fine-tune Llama2-7B [2] to answer multiple-choice questions where the answers are evaluated via next-token logits corresponding to possible answers for each dataset. The fine-tuning objective is minimizing the Negative Log-Likelihood of the correct answer tokens.
We consider two settings in the evaluation: in-distribution and out-of-distribution. The former one involves six tasks: Winogrande-Small (WG-S) and Winogrande-Medium (WG-M) [26], ARC-Challenge (ARC-C) and ARC-Easy (ARC-E) [27], OpenBookQA (OBQA) [28], and BoolQ [29]. For each of them, the models are fine-tuned on the training set and evaluated on the test set. In the latter out-of-distribution setting, the models are fine-tuned on the training set of OBQA and evaluated on the test sets of ARC-C and ARC-E, as well as on the MMLU-Chemistry and MMLU-Physics [30] to assess the generalization ability under smaller and larger distribution shifts. The details of these evaluation datasets are available in Table I.
b) Evaluation Metrics: For evaluation, we use accuracy to evaluate the ability of the models to correctly answer the questions. In addition, we utilize the Expected Calibration Error (ECE) [31] and Negative Log-Likelihood (NLL) to evaluate the uncertainty estimation ability of these models. Higher accuracy, and lower ECE and NLL values are preferable, which demonstrate that a model can provide accurate predictions without overconfidence.
c) Baseline Methods: We compare our StePS framework against a range of uncertainty quantification methods for LoRA [6] and SteILA [8]. For the standard LoRA and SteILA training, we report two deterministic configurations: Maximum Likelihood Estimation (MLE), without weight decay regularization, and Maximum A Posteriori (MAP) estimation, with weight decay regularization. We further include standard Bayesian deep learning baselines for both LoRA and SteILA, consisting of Monte Carlo Dropout (MCD) [13] and Deep Ensemble [14], [24]. For recent state-of-the-art approaches for LoRA, we consider Laplace-LoRA [15], BLoB [16], and ScalaBL [17] for comparison. Finally, as a particle-based variational inference baseline, we include Stein variational gradient descent (SVGD) [20] applied in the Euclidean parameter space for LoRA.
d) Implementation Details: We incorporate the adapters into the query and value projections of each self-attention layer, as well as into the softmax output head of the LLM as in prior works [15]–[17]. For both LoRA and SteILA, we choose the rank and the scale factor . All approaches are trained for 5,000 optimization steps using the AdamW optimizer [32], [33], with a batch size of 4, a linear learning rate scheduler, a warm-up ratio of 0.06, and the maximum learning rate of . For MAP baselines, a weight decay value of
TABLE I OVERVIEW OF THE COMMONSENSE REASONING DATASETS USED IN THE EXPERIMENTS.
| Dataset | No. Classes | Train Size | Test Size |
| WG-S [26] | 2 | 0.64K | 1.27K |
| WG-M [26] | 2 | 2.56K | 1.27K |
| ARC-C [27] | 4 | 1.12K | 0.30K |
| ARC-E [27] | 4 | 2.25K | 0.57K |
| OBQA [28] | 4 | 4.96K | 0.50K |
| BoolQ [29] | 2 | 2.49K | 3.27K |
| MMLU-Chemistry* [30] | 4 | — | 0.10K |
| MMLU-Physics* [30] | 4 | — | 0.10K |
*MMLU datasets are only used for out-of-distribution evaluations.
is applied. During training and evaluation, the frozen base weights of the models are quantized to 8-bit, while trainable parameters remain in 32-bit precision. Except for MLE and MAP baselines, all methods are evaluated using 4 inference samples or particles to ensure a leveling ground for comparison among stochastic and particle-based methods. All remaining method-specific hyperparameters are set to the default values specified by each method. All experiments are performed on a single 32GB NVIDIA V100 or 48GB NVIDIA L40S GPU with 3 random initializations. The implementation of StePS is available at github.com/quangdzyutran/StePS. Additional experimental results are available at Appendix B.
B. In-Distribution Inference Results
The in-distribution results of all methods are presented in Table II. Across six benchmarks, Deep Ensemble, SVGD, and StePS consistently achieve higher accuracy than other benchmarks. Among these approaches, StePS attains relatively low Expected Calibration Errors (ECE) and Negative Log-Likelihood (NLL), achieving the lowest values on several datasets and the second-lowest on most others. Notably, StePS maintains strong calibration while simultaneously achieving the highest accuracy on five out of six datasets. Compared to the MLE and MAP variants of SteILA, StePS also exhibits improvements in all evaluation metrics, which provides a clear evidence that our geometry-aware variational inference approach enhances both accuracy and reliability. Furthermore, SteILA-based methods consistently outperform their corresponding LoRA-based counterparts. This confirms the effectiveness of the Stiefel manifold constraints in learning expressive low-rank parameters.
While Laplace-LoRA and ScalaBL score competitively high accuracy on several benchmarks, their calibration improvements are relatively minimal compared to other baselines for uncertainty quantification. Although BLoB generally obtains the competitive calibration results with lowest ECE and NLL on most benchmarks. These calibration gains are not accompanied by meaningful predictive accuracy. In contrast, our method, StePS, delivers simultaneous improvements in accuracy and calibration that provides a more balanced trade-off. Overall, these results further highlight the advantages of combining geometry-aware optimization with particle-based variational inference for parameter-efficient fine-tuning.
TABLE II IN-DISTRIBUTION EXPERIMENTS USING LLAMA2-7B.
| Adapter | Method | Datasets | ||||||
|---|---|---|---|---|---|---|---|---|
| WG-S | ARC-C | ARC-E | WG-M | OBQA | BoolQ | |||
| Accuracy (↑) | ||||||||
| LoRA | MLE | 70.94 ± 0.65 | 68.58 ± 2.63 | 86.44 ± 0.87 | 76.66 ± 1.04 | 82.13 ± 0.41 | 88.56 ± 0.28 | |
| MAP | 70.78 ± 1.32 | 68.58 ± 1.72 | 86.21 ± 0.94 | 76.29 ± 0.77 | 82.00 ± 0.43 | 88.44 ± 0.28 | ||
| MCD | 70.75 ± 0.13 | 69.37 ± 1.52 | 86.15 ± 0.54 | 68.28 ± 12.65 | 83.80 ± 1.30 | 88.51 ± 0.14 | ||
| Ensemble | 72.78 ± 0.62 | 70.27 ± 0.83 | 87.21 ± 0.17 | 77.56 ± 0.19 | 83.73 ± 0.47 | 89.09 ± 0.04 | ||
| Laplace | 70.75 ± 0.52 | 69.14 ± 1.52 | 86.09 ± 1.63 | 75.87 ± 0.79 | 82.07 ± 0.93 | 88.04 ± 0.13 | ||
| BLoB | 52.80 ± 1.99 | 64.08 ± 1.77 | 70.89 ± 15.88 | 62.29 ± 9.08 | 79.67 ± 1.64 | 86.84 ± 0.27 | ||
| ScalaBL | 71.55 ± 0.78 | 68.36 ± 1.15 | 87.03 ± 0.33 | 77.56 ± 0.13 | 83.33 ± 0.66 | 88.30 ± 0.05 | ||
| SVGD | 73.07 ± 0.91 | 69.37 ± 0.97 | 86.68 ± 0.54 | 78.19 ± 0.48 | 84.33 ± 0.34 | 88.84 ± 0.17 | ||
| StelLA | MLE | 71.36 ± 0.76 | 68.47 ± 1.11 | 86.44 ± 0.29 | 76.77 ± 0.36 | 82.67 ± 1.06 | 88.60 ± 0.21 | |
| MAP | 71.36 ± 0.76 | 68.47 ± 1.11 | 86.44 ± 0.29 | 76.77 ± 0.36 | 82.67 ± 1.06 | 88.60 ± 0.21 | ||
| MCD | 71.33 ± 0.65 | 68.81 ± 1.88 | 86.27 ± 0.80 | 77.03 ± 0.97 | 81.53 ± 0.81 | 88.57 ± 0.31 | ||
| Ensemble | 73.13 ± 0.87 | 69.82 ± 1.88 | 87.09 ± 0.41 | 78.93 ± 0.16 | 83.80 ± 0.33 | 89.18 ± 0.12 | ||
| StePS (Ours) | 73.58 ± 1.13 | 70.50 ± 1.30 | 86.80 ± 0.66 | 79.17 ± 0.19 | 84.50 ± 0.65 | 89.18 ± 0.08 | ||
| Expected Calibration Error (↓) | ||||||||
| LoRA | MLE | 27.87 ± 0.55 | 28.60 ± 2.81 | 11.86 ± 1.27 | 20.44 ± 1.20 | 14.84 ± 0.83 | 4.98 ± 0.38 | |
| MAP | 28.44 ± 1.55 | 29.46 ± 1.28 | 12.59 ± 0.76 | 19.58 ± 0.82 | 14.36 ± 0.40 | 5.04 ± 0.43 | ||
| MCD | 27.34 ± 0.60 | 27.73 ± 1.45 | 12.41 ± 0.59 | 12.82 ± 8.88 | 12.93 ± 1.11 | 4.77 ± 0.46 | ||
| Ensemble | 24.11 ± 1.11 | 26.38 ± 0.82 | 11.05 ± 0.27 | 17.00 ± 0.57 | 12.79 ± 0.32 | 4.88 ± 0.82 | ||
| Laplace | 28.07 ± 0.35 | 28.28 ± 1.71 | 12.62 ± 1.51 | 21.01 ± 0.90 | 14.06 ± 0.81 | 5.20 ± 0.14 | ||
| BLoB | 2.72 ± 0.80 | 7.67 ± 1.66 | 10.51 ± 4.29 | 3.37 ± 0.18 | 6.92 ± 3.10 | 1.51 ± 0.29 | ||
| ScalaBL | 27.55 ± 1.00 | 29.72 ± 1.03 | 11.74 ± 0.62 | 19.34 ± 0.48 | 13.02 ± 1.09 | 5.15 ± 0.28 | ||
| SVGD | 19.79 ± 0.83 | 21.10 ± 1.06 | 10.13 ± 0.39 | 11.44 ± 5.29 | 10.87 ± 0.37 | 4.87 ± 0.09 | ||
| StelLA | MLE | 27.31 ± 1.29 | 28.26 ± 0.87 | 11.76 ± 0.35 | 19.82 ± 0.61 | 13.45 ± 1.08 | 5.05 ± 0.40 | |
| MAP | 27.31 ± 1.29 | 28.26 ± 0.87 | 11.76 ± 0.35 | 19.82 ± 0.61 | 13.45 ± 1.08 | 5.05 ± 0.40 | ||
| MCD | 26.85 ± 1.05 | 27.88 ± 2.74 | 11.74 ± 0.80 | 18.90 ± 0.90 | 14.61 ± 0.76 | 4.98 ± 0.23 | ||
| Ensemble | 24.11 ± 1.17 | 26.54 ± 1.05 | 11.02 ± 0.12 | 15.09 ± 1.15 | 12.64 ± 0.69 | 4.59 ± 0.00 | ||
| StePS (Ours) | 17.68 ± 1.22 | 17.61 ± 2.70 | 7.89 ± 0.37 | 11.39 ± 2.55 | 9.23 ± 0.47 | 4.15 ± 0.25 | ||
| Negative Log-Likelihood (↓) | ||||||||
| LoRA | MLE | 2.49 ± 0.34 | 2.58 ± 0.14 | 0.93 ± 0.11 | 1.11 ± 0.11 | 0.97 ± 0.06 | 0.32 ± 0.00 | |
| MAP | 3.09 ± 0.11 | 2.93 ± 0.08 | 1.01 ± 0.11 | 0.99 ± 0.08 | 0.93 ± 0.04 | 0.32 ± 0.01 | ||
| MCD | 2.31 ± 0.21 | 2.68 ± 0.28 | 1.05 ± 0.03 | 0.91 ± 0.17 | 0.88 ± 0.05 | 0.32 ± 0.00 | ||
| Ensemble | 1.80 ± 0.28 | 2.17 ± 0.10 | 0.82 ± 0.01 | 0.84 ± 0.03 | 0.81 ± 0.02 | 0.30 ± 0.01 | ||
| Laplace | 3.05 ± 0.51 | 2.50 ± 0.27 | 1.13 ± 0.05 | 1.15 ± 0.04 | 0.88 ± 0.03 | 0.32 ± 0.01 | ||
| BLoB | 0.69 ± 0.01 | 0.95 ± 0.03 | 0.76 ± 0.34 | 0.63 ± 0.05 | 0.56 ± 0.04 | 0.31 ± 0.01 | ||
| ScalaBL | 2.72 ± 0.08 | 3.05 ± 0.19 | 0.96 ± 0.03 | 1.08 ± 0.12 | 0.88 ± 0.07 | 0.32 ± 0.00 | ||
| SVGD | 1.80 ± 0.25 | 1.91 ± 0.13 | 0.86 ± 0.04 | 0.78 ± 0.21 | 0.80 ± 0.04 | 0.32 ± 0.00 | ||
| StelLA | MLE | 2.64 ± 0.18 | 2.80 ± 0.35 | 0.99 ± 0.03 | 1.01 ± 0.06 | 0.87 ± 0.04 | 0.32 ± 0.01 | |
| MAP | 2.64 ± 0.18 | 2.80 ± 0.35 | 0.99 ± 0.03 | 1.01 ± 0.06 | 0.87 ± 0.04 | 0.32 ± 0.01 | ||
| MCD | 2.47 ± 0.42 | 2.50 ± 0.20 | 0.84 ± 0.04 | 1.07 ± 0.10 | 0.94 ± 0.02 | 0.32 ± 0.00 | ||
| Ensemble | 1.89 ± 0.09 | 2.15 ± 0.20 | 0.81 ± 0.03 | 0.75 ± 0.06 | 0.79 ± 0.03 | 0.30 ± 0.00 | ||
| StePS (Ours) | 1.47 ± 0.06 | 1.66 ± 0.04 | 0.63 ± 0.01 | 0.67 ± 0.12 | 0.70 ± 0.03 | 0.30 ± 0.01 | ||
The reported results are mean±std of the metrics evaluated on the test sets over 3 random initializations. Bold and underlined results denote the best and second-best mean values on each metric for each dataset.
C. Out-of-Distribution Inference Results
Table III presents the out-of-distribution evaluation results under both smaller and larger distribution shifts. In general, all methods achieve satisfactory results on datasets with smaller distribution shifts, ARC-C and ARC-E, while demonstrating obvious degradation in accuracy and calibration on the datasets with larger distribution shifts, MMLU-Chemistry and MMLU-Physics. This behavior aligns with previous observations that domain shifts involving specialized knowledge can create a great challenge for fine-tuned LLMs [16], [17]. A consistent pattern also emerges where StelLA-based methods outper-
form their respective LoRA-based variants on most out-of-distribution benchmarks. This suggests that the Stiefel manifold formulation yields more robust low-rank representations under distribution shifts, especially when the domain gaps are wider as observed on the MMLU datasets.
Although StePS does not always have the highest predictive accuracy, its performance remains highly competitive in comparison to the baselines. Crucially, StePS achieves robust and consistent calibration results with the second-lowest ECE and NLL over all datasets. While BLoB obtains the lowest ECE and NLL scores, its accuracy still remains lower than
TABLE III OUT-OF-DISTRIBUTION EXPERIMENTS USING Llama2-7B.
| Adapter | Method | In-Distribution | Smaller Distribution Shift | Larger Distribution Shift | |||
|---|---|---|---|---|---|---|---|
| OBQA | ARC-C | ARC-E | MMLU-Chemistry | MMLU-Physics | |||
| Accuracy (↑) | |||||||
| LoRA | MLE | 82.13 ± 0.41 | 70.16 ± 0.42 | 75.41 ± 1.71 | 34.00 ± 1.63 | 22.67 ± 1.25 | |
| MAP | 82.00 ± 0.43 | 70.16 ± 0.42 | 75.65 ± 2.04 | 34.00 ± 1.63 | 23.33 ± 0.47 | ||
| MCD | 83.80 ± 1.30 | 69.03 ± 1.84 | 76.53 ± 0.22 | 37.67 ± 3.30 | 26.33 ± 3.09 | ||
| Ensemble | 83.73 ± 0.47 | 71.73 ± 1.11 | 77.58 ± 0.54 | 39.67 ± 2.62 | 27.33 ± 1.25 | ||
| Laplace | 82.07 ± 0.93 | 70.16 ± 2.25 | 76.23 ± 0.38 | 36.33 ± 1.89 | 28.67 ± 5.19 | ||
| BLoB | 79.67 ± 1.64 | 68.98 ± 1.84 | 75.89 ± 1.16 | 39.24 ± 2.73 | 31.25 ± 0.00 | ||
| ScalaBL | 83.33 ± 0.66 | 69.21 ± 1.28 | 76.67 ± 1.19 | 36.46 ± 2.55 | 29.51 ± 2.73 | ||
| SVGD | 84.33 ± 0.34 | 68.81 ± 1.77 | 76.53 ± 0.33 | 33.67 ± 3.86 | 31.00 ± 2.16 | ||
| StelLA | MLE | 82.67 ± 1.06 | 70.05 ± 1.39 | 77.00 ± 0.84 | 39.00 ± 2.16 | 27.33 ± 3.40 | |
| MAP | 82.67 ± 1.06 | 71.28 ± 1.10 | 77.00 ± 0.33 | 40.00 ± 3.56 | 29.33 ± 0.94 | ||
| MCD | 81.53 ± 0.81 | 69.03 ± 0.57 | 77.29 ± 1.98 | 33.33 ± 3.40 | 31.00 ± 3.56 | ||
| Ensemble | 83.80 ± 0.33 | 70.95 ± 0.28 | 77.40 ± 0.50 | 39.33 ± 0.47 | 31.33 ± 2.87 | ||
| StePS (Ours) | 84.50 ± 0.65 | 70.50 ± 0.69 | 77.76 ± 0.22 | 40.67 ± 1.70 | 32.67 ± 4.11 | ||
| Expected Calibration Error (↓) | |||||||
| LoRA | MLE | 14.84 ± 0.83 | 23.55 ± 0.77 | 18.08 ± 1.34 | 29.69 ± 1.11 | 39.29 ± 0.38 | |
| MAP | 14.36 ± 0.40 | 23.64 ± 0.73 | 17.90 ± 1.60 | 30.19 ± 0.41 | 38.75 ± 1.14 | ||
| MCD | 12.93 ± 1.11 | 23.72 ± 2.15 | 16.74 ± 0.16 | 27.45 ± 3.33 | 33.54 ± 3.51 | ||
| Ensemble | 12.79 ± 0.32 | 21.54 ± 1.39 | 15.44 ± 0.65 | 25.36 ± 2.00 | 32.55 ± 0.41 | ||
| Laplace | 14.06 ± 0.81 | 22.11 ± 1.01 | 16.73 ± 0.74 | 27.04 ± 0.96 | 31.99 ± 6.02 | ||
| BLoB | 6.92 ± 3.10 | 12.01 ± 1.24 | 8.08 ± 0.87 | 13.96 ± 0.50 | 18.10 ± 1.51 | ||
| ScalaBL | 13.02 ± 1.09 | 23.33 ± 0.72 | 16.27 ± 1.01 | 26.05 ± 2.23 | 31.95 ± 1.70 | ||
| SVGD | 10.87 ± 0.37 | 23.17 ± 1.33 | 15.47 ± 0.62 | 29.55 ± 6.16 | 30.18 ± 3.15 | ||
| StelLA | MLE | 13.45 ± 1.08 | 23.59 ± 2.28 | 17.06 ± 0.75 | 28.33 ± 0.79 | 38.31 ± 3.33 | |
| MAP | 13.45 ± 1.08 | 21.37 ± 1.23 | 16.54 ± 0.50 | 27.72 ± 0.66 | 35.53 ± 1.76 | ||
| MCD | 14.61 ± 0.76 | 22.98 ± 0.65 | 16.20 ± 1.22 | 34.92 ± 5.02 | 35.30 ± 3.01 | ||
| Ensemble | 12.64 ± 0.69 | 21.47 ± 0.23 | 13.86 ± 0.54 | 23.60 ± 0.90 | 31.13 ± 2.84 | ||
| StePS (Ours) | 9.23 ± 0.47 | 18.12 ± 0.27 | 12.36 ± 0.26 | 22.34 ± 1.33 | 30.10 ± 2.21 | ||
| Negative Log-Likelihood (↓) | |||||||
| LoRA | MLE | 0.97 ± 0.06 | 1.50 ± 0.03 | 1.16 ± 0.06 | 1.81 ± 0.12 | 1.95 ± 0.11 | |
| MAP | 0.93 ± 0.04 | 1.51 ± 0.04 | 1.17 ± 0.04 | 1.81 ± 0.12 | 1.95 ± 0.11 | ||
| MCD | 0.88 ± 0.05 | 1.51 ± 0.09 | 1.10 ± 0.04 | 1.81 ± 0.06 | 1.88 ± 0.08 | ||
| Ensemble | 0.81 ± 0.02 | 1.39 ± 0.02 | 1.02 ± 0.02 | 1.71 ± 0.02 | 1.81 ± 0.02 | ||
| Laplace | 0.88 ± 0.03 | 1.43 ± 0.07 | 1.09 ± 0.01 | 1.70 ± 0.09 | 1.78 ± 0.08 | ||
| BLoB | 0.56 ± 0.04 | 0.90 ± 0.07 | 0.70 ± 0.04 | 1.43 ± 0.02 | 1.50 ± 0.02 | ||
| ScalaBL | 0.88 ± 0.07 | 1.45 ± 0.04 | 1.08 ± 0.06 | 1.66 ± 0.05 | 1.74 ± 0.07 | ||
| SVGD | 0.80 ± 0.04 | 1.42 ± 0.03 | 1.04 ± 0.02 | 1.87 ± 0.11 | 1.90 ± 0.13 | ||
| StelLA | MLE | 0.87 ± 0.04 | 1.57 ± 0.12 | 1.13 ± 0.03 | 1.77 ± 0.11 | 2.02 ± 0.04 | |
| MAP | 0.87 ± 0.04 | 1.47 ± 0.07 | 1.07 ± 0.06 | 1.80 ± 0.03 | 1.99 ± 0.14 | ||
| MCD | 0.94 ± 0.02 | 1.58 ± 0.12 | 1.13 ± 0.07 | 1.90 ± 0.10 | 2.04 ± 0.03 | ||
| Ensemble | 0.79 ± 0.03 | 1.34 ± 0.04 | 0.93 ± 0.01 | 1.65 ± 0.02 | 1.80 ± 0.04 | ||
| StePS (Ours) | 0.70 ± 0.03 | 1.23 ± 0.03 | 0.87 ± 0.02 | 1.63 ± 0.04 | 1.73 ± 0.06 | ||
The reported results are mean±std of the metrics evaluated on the test sets over 3 random initializations. Bold and underlined results denote the best and second-best mean values on each metric for each dataset.
other baselines on ARC-C and ARC-E datasets. As a result, StePS still demonstrates a more favorable balance between the predictive performance and uncertainty calibration on the out-of-distribution setting.
VI. CONCLUSION
In this work, we have proposed a framework based on Riemannian Stein variational gradient descent, StePS, to both quantify the uncertainty and calibrate geometry-aware PEFT. StePS allows explicit and principled estimation of the epistemic uncertainty by iteratively transporting the particles on the Stiefel manifold toward the target distribution. To achieve
this, we derive a closed-form update from the steepest descent of the associated gradient flow on the Stiefel manifold, providing a clear theoretical foundation for our method. The extensive in-distribution and out-of-distribution evaluations of our methods on diverse benchmarks demonstrate the effectiveness of our approach. StePS delivers promising results with better accuracy and comparable model calibration on in-distribution and out-of-distribution settings. In future work, we will explore model-based variational inference on the Riemannian manifold to further enhance the computational efficiency of geometry-aware Bayesian PEFT.
REFERENCES
[1] OpenAI, “GPT-4 technical report,” arXiv preprint arXiv:2303.08774, 2023.
[2] H. Touvron, L. Martin, K. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale et al., “Llama 2: Open foundation and fine-tuned chat models,” arXiv preprint arXiv:2307.09288, 2023.
[3] A. Grattafori, A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, A. Letman, A. Mathur, A. Schelten, A. Vaughan et al., “The Llama 3 herd of models,” arXiv preprint arXiv:2407.21783, 2024.
[4] J. Clusmann, F. R. Kolbinger, H. S. Muti, Z. I. Carrero, J.-N. Eckardt, N. G. Laleh, C. M. L. Löffler, S.-C. Schwarzkopf, M. Unger, G. P. Veldhuizen et al., “The future landscape of large language models in medicine,” Communications Medicine, vol. 3, no. 1, p. 141, 2023.
[5] Y. Zhang, X. Chen, B. Jin, S. Wang, S. Ji, W. Wang, and J. Han, “A comprehensive survey of scientific large language models and their applications in scientific discovery,” in Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), 2024, pp. 8783–8817.
[6] E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen, “LoRA: Low-rank adaptation of large language models,” in Proceedings of International Conference on Learning Representations (ICLR), 2022.
[7] Y. Wang, Y. Kordi, S. Mishra, A. Liu, N. A. Smith, D. Khashabi, and H. Hajishirzi, “Self-Instruct: Aligning language models with self-generated instructions,” in Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL), 2023, pp. 13484–13508.
[8] Z. Li, S. Sajadmanesh, J. Li, and L. Lyu, “StellaA: Subspace learning in low-rank adaptation using Stiefel manifold,” in Advances on Neural Information Processing Systems (NeurIPS), vol. 38, 2025.
[9] J. Park, M. Kang, S. Lee, H. Lee, S. Kim, and J. Lee, “Riemannian optimization for LoRA on the Stiefel manifold,” in Findings of the Association for Computational Linguistics: EMNLP 2025, 2025, pp. 20971–20985.
[10] Z. Jiang, J. Araki, H. Ding, and G. Neubig, “How can we know when language models know? On the calibration of language models for question answering,” Transactions of the Association for Computational Linguistics, vol. 9, pp. 962–977, 2021.
[11] S. Kadavath, T. Conerly, A. Askell, T. Henighan, D. Drain, E. Perez, N. Schiefer, Z. Hatfield-Dodds, N. DasSarma, E. Tran-Johnson et al., “Language models (mostly) know what they know,” arXiv preprint arXiv:2207.05221, 2022.
[12] C. Blundell, J. Cornebise, K. Kavukcuoglu, and D. Wierstra, “Weight uncertainty in neural network,” in Proceedings of the International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 37, 2015, pp. 1613–1622.
[13] Y. Gal and Z. Ghahramani, “Dropout as a Bayesian approximation: Representing model uncertainty in deep learning,” in Proceedings of the International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 48, 2016, pp. 1050–1059.
[14] B. Lakshminarayanan, A. Pritzel, and C. Blundell, “Simple and scalable predictive uncertainty estimation using deep ensembles,” Advances in Neural Information Processing Systems (NIPS), vol. 30, 2017.
[15] A. X. Yang, M. Robeyns, X. Wang, and L. Aitchison, “Bayesian low-rank adaptation for large language models,” in Proceedings of the International Conference on Learning Representations (ICLR), 2024.
[16] Y. Wang, H. Shi, L. Han, D. N. Metaxas, and H. Wang, “BLOB: Bayesian low-rank adaptation by backpropagation for large language models,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 37, 2024, pp. 67758–67794.
[17] C. Samplawski, A. D. Cobb, M. Acharya, R. Kaur, and S. Jha, “Scalable Bayesian low-rank adaptation of large language models via stochastic variational subspace inference,” in Proceedings of the Conference on Uncertainty in Artificial Intelligence (UAI), ser. Proceedings of Machine Learning Research, vol. 286, 2025, pp. 3587–3604.
[18] K. Lion, L. Zhang, B. Li, and N. He, “PoLAR: Polar-decomposed low-rank adapter representation,” in Proceedings of the International Conference on Machine Learning (ICML) Workshop on Efficient Systems for Foundation Models, 2025.
[19] P.-A. Absil, Optimization Algorithms on Matrix Manifolds. Princeton University Press, 2008.
[20] Q. Liu and D. Wang, “Stein variational gradient descent: A general purpose Bayesian inference algorithm,” in Advances in Neural Information Processing Systems (NIPS), vol. 29, 2016.
[21] C. Liu and J. Zhu, “Riemannian Stein variational gradient descent for Bayesian inference,” in Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), vol. 32, no. 1, 2018, pp. 3627–3634.
[22] Q. Zhang, M. Chen, A. Bukharin, P. He, Y. Cheng, W. Chen, and T. Zhao, “Adaptive budget allocation for parameter-efficient fine-tuning,” in Proceedings of the International Conference on Learning Representations (ICLR), 2023.
[23] S. Schottöfer, E. Zangrando, G. Ceruti, F. Tudisco, and J. Kusch, “GeoLoRA: Geometric integration for parameter efficient fine-tuning,” in Proceedings of the International Conference on Learning Representations (ICLR), 2025.
[24] O. Balabanov and H. Linander, “Uncertainty quantification in fine-tuned LLMs using LoRA ensembles,” in Proceedings of the International Conference on Learning Representations (ICLR) Workshop on Quantify Uncertainty and Hallucination in Foundation Models: The Next Frontier in Reliable AI, 2025.
[25] L. Ambrosio, N. Gigli, and G. Savaré, Gradient Flows: In Metric Spaces and in the Space of Probability Measures, ser. Lectures in Mathematics. ETH Zürich. Basel Boston Berlin: Birkhäuser, 2008.
[26] K. Sakaguchi, R. L. Bras, C. Bhagavatula, and Y. Choi, “WinoGrande: An adversarial Winograd schema challenge at scale,” Communications of the ACM, vol. 64, no. 9, pp. 99–106, 2021.
[27] P. Clark, I. Cowhey, O. Etzioni, T. Khot, A. Sabharwal, C. Schoenick, and O. Tafjord, “Think you have solved question answering? try ARC, the AI2 reasoning challenge,” arXiv preprint arXiv:1803.05457, 2018.
[28] T. Mihaylov, P. Clark, T. Khot, and A. Sabharwal, “Can a suit of armor conduct electricity? a new dataset for open book question answering,” in Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), 2018, pp. 2381–2391.
[29] C. Clark, K. Lee, M.-W. Chang, T. Kwiatkowski, M. Collins, and K. Toutanova, “BoolQ: Exploring the surprising difficulty of natural yes/no questions,” in Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics (NAACL), 2019, pp. 2924–2936.
[30] D. Hendrycks, C. Burns, S. Basart, A. Zou, M. Mazeika, D. Song, and J. Steinhardt, “Measuring massive multitask language understanding,” in Proceedings of the International Conference on Learning Representations (ICLR), 2021.
[31] C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, “On calibration of modern neural networks,” in Proceedings of the International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 70, 2017, pp. 1321–1330.
[32] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” in Proceedings of the International Conference for Learning Representations (ICLR), 2015.
[33] I. Loshchilov and F. Hutter, “Decoupled weight decay regularization,” in Proceedings of the International Conference on Learning Representations (ICLR), 2019.
APPENDIX A PROOF OF THEOREM 3
Proof. Let us recall the formula in (18) as follow
(18)
The first term in (18) can be derived as
\begin{align*}\beta\int\left\langle\mathrm{Proj}_{\boldsymbol{\theta}}\left(\nabla_{\boldsymbol{\theta}}\Psi\left(\boldsymbol{\theta}\right)\right),\phi\left(\boldsymbol{\theta}\right)\right\rangle d\rho_{t}\\=\beta\int\left\langle\mathrm{Proj}_{\boldsymbol{\theta}}\left(\nabla_{\boldsymbol{\theta}}\Psi\left(\boldsymbol{\theta}\right)\right),\left\langle\kappa\left(\boldsymbol{\theta},\cdot\right),\phi\left(\cdot\right)\right\rangle_{\mathcal{H}_{\kappa}^{d}}\right\rangle d\rho_{t}\\=\beta\int\left\langle\kappa\left(\boldsymbol{\theta},\cdot\right)\right\rangle\mathrm{Proj}_{\boldsymbol{\theta}}\left(\nabla_{\boldsymbol{\theta}}\Psi\left(\boldsymbol{\theta}\right)\right),\phi\left(\cdot\right)\right\rangle_{\mathcal{H}_{\kappa}^{d}}d\rho_{t},\end{align*}(23) where is the RKHS with the kernel and . For the second term, we consider the derivative of the tangent-projection in (4) as
The trace of its first part can be formulated as
For the remaining part, let us denote and . We flatten the matrix into a vector of dimensions. The trace of its derivative becomes
Let us denote , the trace of its derivative can be formulated as
(27)
Combining (25)–(27) yields the trace of (24) as follow
Finally, from (23) and (28), we reach the following form of (18):
This concludes our proof as the rest is obvious.
APPENDIX B
ADDITIONAL EXPERIMENTAL RESULTS
A. Runtime
Table IV presents the estimated runtime (both training and evaluation) for all methods on the Winogrande-Small (WG-S) [26] dataset. From these results, it is apparent that model-based variational inference baselines, Laplace-LoRA, BLoB, and ScalaBL, have an advantage in their scalability due to their inherent design. Deep Ensemble, SVGD, and StePS, require substantially longer runtime due to the need of evaluating multiple solutions in every forward pass. In addition, geometry-aware optimizations on the Stiefel manifold demand more computation with the tangent-space projection and retraction. However, these extra costs are minimal compared to the costs of ensemble evaluations.
TABLE IV
ESTIMATED RUNTIME COMPARISON ON WG-S DATASET.
| Adapter | Method | Runtime (h) |
|---|---|---|
| LoRA | MLE/MAP/MCD | 1.4 |
| Ensemble | 10.7 | |
| Laplace | 1.7 | |
| BLoB | 2.8 | |
| ScalaBL | 1.6 | |
| SVGD | 9.1 | |
| StelLA | MLE/MAP/MCD | 1.7 |
| Ensemble | 11.1 | |
| StePS (Ours) | 10.5 |
B. Ablation Study on the Number of Particles
We train StePS on the Winogrande-Small (WG-S) [26] dataset for 4 epochs with M = 1, 2, 4, 6, and 8 particles to examine the effect of number of particles on the model performance. The accuracy, ECE, NLL, and estimated runtime results over 3 random restarts are presented in Table V. From these results, it is apparent that the accuracy of the model increases with more particles involved in the approximation. However, starting from 6 particles, the ECE scores also begin to increase with the NLL values slightly fluctuating. Overall, M = 4 achieves the best trade-off between accuracy and calibration. Additionally, using a lower number of particles also facilitates the training process with shorter runtime and reduced computational cost.
TABLE V
ABLATION STUDY ON THE NUMBER OF PARTICLES ON WG-S DATASET.
| M | Acc ( ) | ECE ( ) | NLL ( ) | Runtime (h) |
|---|---|---|---|---|
| 1 | 66.38 0.58 | 20.49 1.74 | 0.88 0.08 | 0.47 |
| 2 | 68.88 0.78 | 13.13 0.61 | 0.70 0.01 | 0.93 |
| 4 | 69.22 0.84 | 11.91 0.27 | 0.66 0.01 | 1.55 |
| 6 | 70.02 1.25 | 11.92 0.88 | 0.65 0.01 | 2.39 |
| 8 | 70.60 0.21 | 12.48 0.42 | 0.66 0.01 | 3.10 |