Introduction
Individual models that perform well on training data may remain fragile in deployment due to sensitivity to inherent stochasticity [1 ] , or spurious correlations in the training data [2 ] . Model aggregation is a common response to this fragility. Deep ensembles [3 ] , ensemble search [4 ] , and combinatorial or averaging-based aggregation schemes [5 , 6 ] exploit diversity across predictors to reduce variance and improve uncertainty estimation. These gains, however, are distribution-dependent. Because aggregation weights and selection rules are typically tuned on finite reference data, these configurations frequently fail when deployment conditions change. Recent studies for predictive uncertainty and real-world shift consistently report substantial in-distribution / out-of-distribution gaps, including under natural, temporal, and subgroup shift [7 , 8 , 9 ] . Under such shifts, constituent predictors can fail coherently rather than independently, so naive aggregation may inherit rather than cancel their errors.
Recent work detects or adapts to shift at test time, through label-shift correction and test-time adaptation [10 , 11 , 12 ] ; recent benchmarks also document substantial practical pitfalls in these adaptation pipelines [13 ] . Yet standard aggregation objectives still optimize weights for a fixed reference distribution, leaving the learned combination vulnerable when deployment conditions vary. Moreover, this vulnerability is not confined to distribution shift: even under the standard i.i.d. assumption, optimizing aggregation weights on finite calibration data can exploit sampling noise in the empirical metric, inducing a gap between calibration performance and true out-of-sample reliability, an instance of the optimizer’s curse [14 ] .
We introduce the RSE, a probabilistic aggregation framework for fixed pre-trained predictors under distribution shift grounded in a novel robust satisficing (RS) formulation. Figure 1 previews the central effect: under increasing label shift, RSE remains substantially more stable than its constituent models and the Distributionally Robust Optimization (DRO) method. Our contributions are:
Figure 1. RSE combines stable and high-peak models to prevent catastrophic failure. (a) Constituent models face a trade-off between high initial accuracy that decays rapidly (f p e a k f_{\mathrm{peak}} f peak , dashed red triangles) and lower, stable performance (f s t a b l e f_{\mathrm{stable}} f stable , dashed green squares). The faded solid lines represent the remaining active constituent models participating in the ensemble. The resulting RSE ensemble (thick blue with circles) consistently outperforms individual models across the entire shift trajectory. (b) Colors match (a). While DRO yields a suboptimal weight allocation, RSE explicitly minimizes fragility to strategically balance highly stable and high-peak predictors. (c) This integration allows RSE to maintain superior, stable accuracy across all shift severities α \alpha α , achieving a significant gain (Δ g a i n \Delta_{\mathrm{gain}} Δ gain ) over DRO, which collapses alongside its fragile components. (Note: Visualizations reflect actual empirical results on the TREC dataset. See § 4 for detailed setups and benchmarks. )
First tractable robust satisficing for aggregation. We propose the first RS framework designed for the aggregation of fixed pre-trained models through a fundamental reformulation of its optimization mechanics. Specifically, under KL label shift and Brier-score risk, the inner adversary takes an exact exponential-tilt form, allowing the scalar fragility root to be computed via a Lagrange–Bürmann expansion rather than bisection.
Scalable and efficient optimization with guarantees. By operating purely on precomputed sufficient statistics, RSE reduces weight updates to simplex-constrained convex Quadratic Programs (QP). This decouples the optimization complexity from the dataset size N N N . With proximal stabilization, we prove sufficient decrease, stationarity of limit points, and a stopping certificate.
Robustness gains across benchmarks. Across diverse distribution-shift tasks, RSE outperforms standard aggregation and robust optimization baselines, especially in severe-shift regimes where competing methods degrade sharply.
Related Works
Classical ensemble methods improve predictive reliability by aggregating diverse models [15 , 3 ] , with deep learning extensions leveraging optimization-trajectory diversity or direct weight averaging [16 , 17 ] . With large-scale foundation models, inference-time aggregation has emerged as a primary mechanism for reliability [18 , 19 ] . Let Δ K \Delta_K Δ K denote probability simplex of dimension K K K , w ∈ Δ M \mathbf{w} \in\Delta_M w ∈ Δ M aggregation weights, q r e f ∈ Δ K \mathbf{q}_{\mathrm{ref}} \in\Delta_K q ref ∈ Δ K the reference data distribution, and R ( w , q ) R(\mathbf{w}, \mathbf{q}) R ( w , q ) the ensemble risk. Most calibration-based aggregation schemes choose weights by solving, explicitly or implicitly, min w ∈ Δ M R ( w , q r e f ) \min_{\mathbf{w}\in\Delta_M} R(\mathbf{w}, \mathbf{q}_{\mathrm{ref}}) min w ∈ Δ M R ( w , q ref ) . This average-risk objective can improve performance on the calibration distribution, but it gives no direct control of R ( w , q ) R(\mathbf{w}, \mathbf{q}) R ( w , q ) when the deployment distribution q \mathbf{q} q moves away from q r e f \mathbf{q}_{\mathrm{ref}} q ref .
A parallel line of work addresses distribution shift through DRO, replacing the fixed-reference objective with min w ∈ Δ M sup q ∈ U ρ ( q r e f ) R ( w , q ) \min_{\mathbf{w}\in\Delta_M} \sup_{\mathbf{q}\in U_\rho(\mathbf{q}_{\mathrm{ref}})} R(\mathbf{w}, \mathbf{q}) min w ∈ Δ M sup q ∈ U ρ ( q ref ) R ( w , q ) , where U ρ ( q r e f ) : = { q ∈ Δ K : Δ ( q , q r e f ) ≤ ρ } U_\rho(\mathbf{q}_{\mathrm{ref}}) := \{\mathbf{q} \in\Delta_K : \Delta(\mathbf{q}, \mathbf{q}_{\mathrm{ref}}) \le\rho\} U ρ ( q ref ) := { q ∈ Δ K : Δ ( q , q ref ) ≤ ρ } is an ambiguity set around q r e f \mathbf{q}_{\mathrm{ref}} q ref [20 , 21 ] . This formulation protects against shifts contained in U ρ U_\rho U ρ , but its behavior depends critically on the radius ρ \rho ρ : small sets may miss the deployment distribution, while large sets can yield overly conservative weights. Moreover, the resulting min–max objectives introduce significant computational overhead. Structure-informed Risk Minimization (SRM) applies DRO to ensemble learning by dynamically adjusting ensemble weights using a distributional graph [22 ] . Yet, it still relies on an iterative alternating gradient procedure, inheriting computational bottlenecks (see Table 1 ).
Table 1. Conceptual comparison of RSE against existing aggregation frameworks. Analytical Inner Solution refers to an analytical determination of the inner solution, including any parameters needed to specify the adversary, for given model weights.
RS replaces the ambiguity-set radius ρ \rho ρ with an aspiration level τ \tau τ and optimizes fragility, the degradation rate needed to maintain a risk guarantee. With ensemble weights w ∈ Δ M \mathbf{w} \in\Delta_M w ∈ Δ M , fragility is defined as κ τ ( w ) : = inf { κ ≥ 0 : R ( w , q ) ≤ τ + κ Δ ( q , q r e f ) , ∀ q ∈ Δ K } \kappa_\tau(\mathbf{w}) := \inf\{\kappa\ge0 : R(\mathbf{w}, \mathbf{q}) \le\tau+ \kappa\Delta(\mathbf{q}, \mathbf{q}_{\mathrm{ref}}),\ \forall\mathbf{q} \in\Delta_K\} κ τ ( w ) := inf { κ ≥ 0 : R ( w , q ) ≤ τ + κ Δ ( q , q ref ) , ∀ q ∈ Δ K } , and the RS objective is min w ∈ Δ M κ τ ( w ) \min_{\mathbf{w}\in\Delta_M} \kappa_\tau(\mathbf{w}) min w ∈ Δ M κ τ ( w ) [23 , 24 ] . Thus, unlike DRO, which optimizes worst-case risk over a prescribed ambiguity ball, RS specifies an interpretable aspiration level τ \tau τ and controls risk deterioration away from the reference distribution, reducing sensitivity to conservative or misspecified ambiguity sets. Early studies demonstrate its effectiveness in decision making and Bayesian satisficing [25 , 26 ] . Current RS implementations, however, are bottlenecked by intractable minimax dual problems and rely on slow iterative bisection searches [27 ] . Ours is the first work to adapt RS for pre-trained model aggregation. By coupling the RS objective with a quadratic risk surrogate, RSE derives an analytical series representation of the fragility parameter through Lagrange–Bürmann inversion. Together with precomputed quadratic risk statistics, this yields an optimization procedure whose weight updates are simplex-constrained convex QPs independent of the training set size.
Problem Formulation
We consider supervised prediction with an ensemble of M M M pre-trained models on a K K K -class task with the label set Y : = { y 1 , … , y K } \mathcal{Y} := \{y_1,\ldots,y_K\} Y := { y 1 , … , y K } . Let F = { f 1 , … , f M } \mathcal{F} = \{f_1,\ldots,f_M\} F = { f 1 , … , f M } denote the set of base models and let Δ d : = { z ∈ R ≥ 0 d : 1 T z = 1 } \Delta_d := \{\mathbf{z} \in\mathbb{R}_{\ge0}^d : \mathbf{1}^{\mathsf{T}}\mathbf{z} = 1\} Δ d := { z ∈ R ≥ 0 d : 1 T z = 1 } denote the probability simplex in d d d dimensions. Given an input x x x , model f m f_m f m outputs a probability vector p m ( x ) ∈ Δ K \mathbf{p}_m(x) \in\Delta_K p m ( x ) ∈ Δ K . The ensemble is parameterized by weights w = ( w 1 , … , w M ) T ∈ Δ M \mathbf{w} = (w_1,\ldots,w_M)^\mathsf{T} \in\Delta_M w = ( w 1 , … , w M ) T ∈ Δ M and outputs the aggregated probability distribution p ^ w ( x ) = ∑ m = 1 M w m p m ( x ) \widehat{\mathbf{p}}_{\mathbf{w}}(x) = \sum_{m=1}^{M} w_m\mathbf{p}_m(x) p w ( x ) = ∑ m = 1 M w m p m ( x ) . Let L : Y × Δ K → R ≥ 0 L:\mathcal{Y} \times\Delta_K \to\mathbb{R}_{\ge0} L : Y × Δ K → R ≥ 0 be a loss function. For each class y j ∈ Y y_j \in\mathcal{Y} y j ∈ Y we define the class-conditional risk
r ( w , y j ) : = E X ∼ P ( X ∣ Y = y j ) [ L ( y j , p ^ w ( X ) ) ] . (1) r(\mathbf{w},y_j) := \mathbb{E}_{X\sim P(X\mid Y=y_j)}\left[L\left(y_j,\widehat{\mathbf{p}}_{\mathbf{w}}(X)\right)\right]. \tag*{(1)} r ( w , y j ) := E X ∼ P ( X ∣ Y = y j ) [ L ( y j , p w ( X ) ) ] . (1)
Collecting these into a vector gives
r ( w ) : = ( r ( w , y 1 ) , … , r ( w , y K ) ) T ∈ [ 0 , ∞ ) K . (2) \mathbf{r}(\mathbf{w}) := \left(r(\mathbf{w},y_1),\ldots,r(\mathbf{w},y_K)\right)^\mathsf{T} \in[0,\infty)^K. \tag*{(2)} r ( w ) := ( r ( w , y 1 ) , … , r ( w , y K ) ) T ∈ [ 0 , ∞ ) K . (2)
A label distribution is a vector q : = ( q 1 , … , q K ) T ∈ Δ K \mathbf{q} := (q_1,\ldots,q_K)^\mathsf{T} \in\Delta_K q := ( q 1 , … , q K ) T ∈ Δ K with q j : = P ( Y = y j ) q_j := P(Y=y_j) q j := P ( Y = y j ) . We fix a reference label distribution q r e f ∈ Δ K \mathbf{q}_{\mathrm{ref}} \in\Delta_K q ref ∈ Δ K , representing the nominal operating regime (e.g., a held-out calibration set, the training set). Throughout our KL-based theoretical analysis, we assume that the reference distribution has full support, i.e., ( q r e f ) j > 0 (q_{\mathrm{ref}})_j > 0 ( q ref ) j > 0 for every j j j . For any q ∈ Δ K \mathbf{q} \in\Delta_K q ∈ Δ K , the corresponding expected risk of the ensemble is
R ( w , q ) : = ∑ j = 1 K q j r ( w , y j ) = q T r ( w ) . (3) R(\mathbf{w},\mathbf{q}) := \sum_{j=1}^{K}q_jr(\mathbf{w},y_j)=\mathbf{q}^{\mathsf{T}}\mathbf{r}(\mathbf{w}). \tag*{(3)} R ( w , q ) := j = 1 ∑ K q j r ( w , y j ) = q T r ( w ) . (3)
To quantify how different a prospective deployment distribution q \mathbf{q} q is from the reference q r e f \mathbf{q}_{\mathrm{ref}} q ref , we use a nonnegative discrepancy Δ ( q , q r e f ) ≥ 0 \Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}}) \ge0 Δ ( q , q ref ) ≥ 0 , with Δ ( q , q r e f ) = 0 \Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}}) = 0 Δ ( q , q ref ) = 0 if and only if q = q r e f \mathbf{q} = \mathbf{q}_{\mathrm{ref}} q = q ref . The framework below is stated for a general Δ \Delta Δ ; in our algorithm, we instantiate Δ \Delta Δ with KL divergence.
Instead of minimizing R ( w , q r e f ) R(\mathbf{w},\mathbf{q}_{\mathrm{ref}}) R ( w , q ref ) directly, we adopt a robust satisficing view. We fix an aspiration level τ > 0 \tau> 0 τ > 0 and require the ensemble to be satisfactory at the reference distribution: R ( w , q r e f ) ≤ τ R(\mathbf{w},\mathbf{q}_{\mathrm{ref}}) \le\tau R ( w , q ref ) ≤ τ . The parameter τ \tau τ sets the target in-distribution performance: smaller τ \tau τ demands a stronger baseline at q r e f \mathbf{q}_{\mathrm{ref}} q ref , while larger τ \tau τ allows more slack in exchange for stability under changes in data distribution. Our goal is to find robustly satisfactory weights w \mathbf{w} w by minimizing the ensemble’s “fragility” against distribution shifts.
Definition 2.1 (Fragility). Fix a reference distribution q r e f ∈ Δ K \mathbf{q}_{\mathrm{ref}} \in\Delta_K q ref ∈ Δ K and an aspiration level τ > 0 \tau> 0 τ > 0 . For a weight vector w ∈ Δ M \mathbf{w} \in\Delta_M w ∈ Δ M , the fragility κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w ) is defined as the minimum κ ≥ 0 \kappa\ge0 κ ≥ 0 such that for all q ∈ Δ K \mathbf{q} \in\Delta_K q ∈ Δ K : R ( w , q ) ≤ τ + κ Δ ( q , q r e f ) R(\mathbf{w},\mathbf{q}) \le\tau+ \kappa\Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}}) R ( w , q ) ≤ τ + κ Δ ( q , q ref ) .
Remark 2.2. (Shift-dependent certificate). Definition 2.1 implies that for any w \mathbf{w} w with finite κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w ) and any shift budget ε ≥ 0 \varepsilon\ge0 ε ≥ 0 , sup q ∈ Δ K : Δ ( q , q r e f ) ≤ ε R ( w , q ) ≤ τ + κ τ ( w ) ε \sup_{\mathbf{q}\in\Delta_K:\Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}})\le\varepsilon}R(\mathbf{w},\mathbf{q}) \le\tau+ \kappa_\tau(\mathbf{w})\varepsilon sup q ∈ Δ K : Δ ( q , q ref ) ≤ ε R ( w , q ) ≤ τ + κ τ ( w ) ε . Hence κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w ) is the certified slope of worst-case risk deterioration away from q r e f \mathbf{q}_{\mathrm{ref}} q ref .
Fix τ > 0 \tau> 0 τ > 0 , q r e f ∈ Δ K \mathbf{q}_{\mathrm{ref}} \in\Delta_K q ref ∈ Δ K . Let W τ : = { w ∈ Δ M : R ( w , q r e f ) < τ < max j ∈ { 1 , … , K } r ( w , y j ) } \mathcal{W}_\tau:= \{\mathbf{w} \in\Delta_M : R(\mathbf{w},\mathbf{q}_{\mathrm{ref}}) < \tau< \max_{j\in\{1,\ldots,K\}} r(\mathbf{w},y_j)\} W τ := { w ∈ Δ M : R ( w , q ref ) < τ < max j ∈ { 1 , … , K } r ( w , y j )} . Outside W τ \mathcal{W}_\tau W τ , we follow the extended-value convention: κ τ ( w ) = 0 \kappa_\tau(\mathbf{w}) = 0 κ τ ( w ) = 0 if τ ≥ max j r ( w , y j ) \tau\ge\max_j r(\mathbf{w},y_j) τ ≥ max j r ( w , y j ) ; otherwise, κ τ ( w ) = + ∞ \kappa_\tau(\mathbf{w}) = +\infty κ τ ( w ) = + ∞ if R ( w , q r e f ) ≥ τ R(\mathbf{w},\mathbf{q}_{\mathrm{ref}}) \ge\tau R ( w , q ref ) ≥ τ .
Remark 2.3. While the theoretical formulation relies on the restricted domain W τ \mathcal{W}_\tau W τ , in our experiments we found it sufficient to constrain w ∈ Δ M \mathbf{w} \in\Delta_M w ∈ Δ M . Across all datasets evaluated, the entire optimization trajectory naturally remained within W τ \mathcal{W}_\tau W τ without explicit enforcement.
Equivalently, κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w ) can be viewed as the largest excess risk per unit discrepancy from q r e f \mathbf{q}_{\mathrm{ref}} q ref . As shown in [25 ] , this definition implies that fragility can be expressed as:
κ τ ( w ) = sup q ∈ Δ K , q ≠ q r e f R ( w , q ) − τ Δ ( q , q r e f ) . (4) \kappa_\tau(\mathbf{w}) = \sup_{\mathbf{q}\in\Delta_K,\ \mathbf{q}\ne\mathbf{q}_{\mathrm{ref}}}\frac{R(\mathbf{w},\mathbf{q})-\tau}{\Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}})}. \tag*{(4)} κ τ ( w ) = q ∈ Δ K , q = q ref sup Δ ( q , q ref ) R ( w , q ) − τ . (4)
We therefore choose w ∈ W τ \mathbf{w} \in\mathcal{W}_\tau w ∈ W τ minimizing κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w ) . Equivalently, we may view the optimization over Δ M \Delta_M Δ M under the extended definition, which assigns κ τ ( w ) = + ∞ \kappa_\tau(\mathbf{w}) = +\infty κ τ ( w ) = + ∞ when R ( w , q r e f ) ≥ τ R(\mathbf{w},\mathbf{q}_{\mathrm{ref}}) \ge\tau R ( w , q ref ) ≥ τ .
The RSE Algorithm
Quadratic Risk Surrogate for Model Aggregation
We take L L L to be the Brier Score between the one-hot label and the ensemble predicted label distribution: L ( y j , p ^ w ( x ) ) = ∥ e j − p ^ w ( x ) ∥ 2 2 L(y_j,\widehat{\mathbf{p}}_{\mathbf{w}}(x)) = \lVert\mathbf{e}_j-\widehat{\mathbf{p}}_{\mathbf{w}}(x)\rVert_2^2 L ( y j , p w ( x )) = ∥ e j − p w ( x ) ∥ 2 2 using p ^ w ( x ) = ∑ m = 1 M w m p m ( x ) \widehat{\mathbf{p}}_{\mathbf{w}}(x) = \sum_{m=1}^{M}w_m\mathbf{p}_m(x) p w ( x ) = ∑ m = 1 M w m p m ( x ) and expanding the square in (1) gives exactly, r ( w , y j ) : = E X ∣ y j [ ∥ e j − ∑ m = 1 M w m p m ( X ) ∥ 2 2 ] = r(\mathbf{w},y_j) := \mathbb{E}_{X\mid y_j}\left[\left\lVert\mathbf{e}_j-\sum_{m=1}^{M}w_m\mathbf{p}_m(X)\right\rVert_2^2\right] = r ( w , y j ) := E X ∣ y j [ e j − ∑ m = 1 M w m p m ( X ) 2 2 ] = E X ∣ y j [ e j T e j − 2 ∑ a w a e j T p a ( X ) + ∑ a , b w a w b p a ( X ) T p b ( X ) ] \mathbb{E}_{X\mid y_j}\left[\mathbf{e}_j^{\mathsf{T}}\mathbf{e}_j-2\sum_a w_a\mathbf{e}_j^{\mathsf{T}}\mathbf{p}_a(X)+\sum_{a,b}w_aw_b\mathbf{p}_a(X)^{\mathsf{T}}\mathbf{p}_b(X)\right] E X ∣ y j [ e j T e j − 2 ∑ a w a e j T p a ( X ) + ∑ a , b w a w b p a ( X ) T p b ( X ) ] . By linearity of expectation, and noting e j T e j = 1 \mathbf{e}_j^{\mathsf{T}}\mathbf{e}_j=1 e j T e j = 1 , we can bring the expectation inside the summations: r ( w , y j ) = 1 − 2 ∑ a w a E X ∣ y j [ p a , j ( X ) ] + ∑ a , b w a w b E X ∣ y j [ p a ( X ) T p b ( X ) ] r(\mathbf{w},y_j)=1-2\sum_a w_a\mathbb{E}_{X\mid y_j}[p_{a,j}(X)]+\sum_{a,b}w_aw_b\mathbb{E}_{X\mid y_j}[\mathbf{p}_a(X)^{\mathsf{T}}\mathbf{p}_b(X)] r ( w , y j ) = 1 − 2 ∑ a w a E X ∣ y j [ p a , j ( X )] + ∑ a , b w a w b E X ∣ y j [ p a ( X ) T p b ( X )] . Define the per-class first and second moments p ˉ m ( j ) : = E X ∣ Y = y j [ p m ( X ) ] \bar{\mathbf{p}}_m^{(j)}:=\mathbb{E}_{X\mid Y=y_j}[\mathbf{p}_m(X)] p ˉ m ( j ) := E X ∣ Y = y j [ p m ( X )] , P a b ( j ) : = E X ∣ Y = y j [ p a ( X ) T p b ( X ) ] P_{ab}^{(j)}:=\mathbb{E}_{X\mid Y=y_j}[\mathbf{p}_a(X)^{\mathsf{T}}\mathbf{p}_b(X)] P ab ( j ) := E X ∣ Y = y j [ p a ( X ) T p b ( X )] and collect them into A j ∈ R M × M , ( A j ) a b = P a b ( j ) A_j\in\mathbb{R}^{M\times M},(A_j)_{ab}=P_{ab}^{(j)} A j ∈ R M × M , ( A j ) ab = P ab ( j ) , b j ∈ R M , ( b j ) m = − 2 ( p ˉ m ( j ) ) j \mathbf{b}_j\in\mathbb{R}^M,(\mathbf{b}_j)_m=-2(\bar{\mathbf{p}}_m^{(j)})_j b j ∈ R M , ( b j ) m = − 2 ( p ˉ m ( j ) ) j . Then r ( w , y j ) r(\mathbf{w},y_j) r ( w , y j ) can be written as the convex quadratic form
r ( w , y j ) = w T A j w + b j T w + 1. (5) r(\mathbf{w},y_j)=\mathbf{w}^{\mathsf{T}}A_j\mathbf{w}+\mathbf{b}_j^{\mathsf{T}}\mathbf{w}+1. \tag*{(5)} r ( w , y j ) = w T A j w + b j T w + 1. (5)
Each A j A_j A j is positive semidefinite. In practice, the expectations in p ˉ m ( j ) \bar{\mathbf{p}}_m^{(j)} p ˉ m ( j ) and P a b ( j ) P_{ab}^{(j)} P ab ( j ) are estimated from the training data. The derivation and further details are in Appendix § 11 .
KL-Based Fragility and Inner Adversary
We instantiate the discrepancy in Definition 2.1 with the Kullback–Leibler divergence between label distributions: Δ ( q , q r e f ) = D K L ( q ∥ q r e f ) = ∑ j = 1 K q j log q j ( q r e f ) j \Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}})=D_{\mathrm{KL}}(\mathbf{q}\mathbin\Vert\mathbf{q}_{\mathrm{ref}})=\sum_{j=1}^{K}q_j\log\frac{q_j}{(q_{\mathrm{ref}})_j} Δ ( q , q ref ) = D KL ( q ∥ q ref ) = ∑ j = 1 K q j log ( q ref ) j q j . For fixed w \mathbf{w} w and κ > 0 \kappa>0 κ > 0 , it is convenient to work with the KL-penalized inner problem where we want to find the label shift that maximizes the penalized expected risk.
Φ ( κ ; w ) = sup q ∈ Δ K { q T r ( w ) − κ D K L ( q ∥ q r e f ) } . (6) \Phi(\kappa;\mathbf{w})=\sup_{\mathbf{q}\in\Delta_K}\left\{\mathbf{q}^{\mathsf{T}}\mathbf{r}(\mathbf{w})-\kappa D_{\mathrm{KL}}(\mathbf{q}\mathbin\Vert\mathbf{q}_{\mathrm{ref}})\right\}. \tag*{(6)} Φ ( κ ; w ) = q ∈ Δ K sup { q T r ( w ) − κ D KL ( q ∥ q ref ) } . (6)
where r ( w ) \mathbf{r}(\mathbf{w}) r ( w ) is built from (2) . See Appendix § 12 for the derivation. The form of the optimal adversary and the value of (6) can be made explicit.
Lemma 3.1 (KL inner problem). For any fixed w \mathbf{w} w and κ > 0 \kappa>0 κ > 0 , the problem (6) has a unique maximizer q ⋆ ∈ Δ K \mathbf{q}^{\star}\in\Delta_K q ⋆ ∈ Δ K given by
( q ⋆ ) j = ( q r e f ) j exp ( r ( w , y j ) / κ ) ∑ k = 1 K ( q r e f ) k exp ( r ( w , y k ) / κ ) . (7) (q^{\star})_j=\frac{(q_{\mathrm{ref}})_j\exp\left(r(\mathbf{w},y_j)/\kappa\right)}{\sum_{k=1}^{K}(q_{\mathrm{ref}})_k\exp\left(r(\mathbf{w},y_k)/\kappa\right)}. \tag*{(7)} ( q ⋆ ) j = ∑ k = 1 K ( q ref ) k exp ( r ( w , y k ) / κ ) ( q ref ) j exp ( r ( w , y j ) / κ ) . (7) and the corresponding optimal value is
Φ ( κ ; w ) = κ log ( ∑ j = 1 K ( q r e f ) j exp ( r ( w , y j ) / κ ) ) . (8) \Phi(\kappa;\mathbf{w})=\kappa\log\left(\sum_{j=1}^{K}(q_{\mathrm{ref}})_j\exp\left(r(\mathbf{w},y_j)/\kappa\right)\right). \tag*{(8)} Φ ( κ ; w ) = κ log ( j = 1 ∑ K ( q ref ) j exp ( r ( w , y j ) / κ ) ) . (8)
The proof is given in Appendix § 13 . Thus, under a KL penalty, the adversary corresponds to an exponential tilt of the reference label distribution and Φ ( κ ; w ) \Phi(\kappa;\mathbf{w}) Φ ( κ ; w ) plays the role of a log-moment generating function of the class-wise risks. Combining this explicit inner solution with the fragility ratio definition in (4) yields a one-dimensional characterization of the fragility index in the KL case.
Lemma 3.2 (Fragility for KL discrepancy). Let w ∈ W τ \mathbf{w}\in\mathcal{W}_{\tau} w ∈ W τ , i.e., R ( w , q r e f ) < τ < max j r ( w , y j ) R(\mathbf{w},\mathbf{q}_{\mathrm{ref}})<\tau<\max_j r(\mathbf{w},y_j) R ( w , q ref ) < τ < max j r ( w , y j ) . Then there exists a unique κ τ ( w ) ∈ ( 0 , ∞ ) \kappa_{\tau}(\mathbf{w})\in(0,\infty) κ τ ( w ) ∈ ( 0 , ∞ ) such that
τ = Φ ( κ τ ( w ) ; w ) = κ τ ( w ) log ( ∑ j = 1 K ( q r e f ) j exp ( r ( w , y j ) / κ τ ( w ) ) ) . (9) \tau=\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})=\kappa_{\tau}(\mathbf{w})\log\left(\sum_{j=1}^{K}(q_{\mathrm{ref}})_j\exp\left(r(\mathbf{w},y_j)/\kappa_{\tau}(\mathbf{w})\right)\right). \tag*{(9)} τ = Φ ( κ τ ( w ) ; w ) = κ τ ( w ) log ( j = 1 ∑ K ( q ref ) j exp ( r ( w , y j ) / κ τ ( w ) ) ) . (9) and the associated worst-case label distribution is obtained by substituting κ = κ τ ( w ) \kappa=\kappa_{\tau}(\mathbf{w}) κ = κ τ ( w ) into (7).
(9) characterizes KL fragility as a scalar root in κ \kappa κ . Its derivation follows from Appendix § 12 together with the closed form of Φ \Phi Φ in Appendix § 13 ; existence and uniqueness are established in Appendix § 14 . To evaluate this root without inner bisection, we apply Lagrange–Bürmann expansion after the change of variables S = κ − 1 S=\kappa^{-1} S = κ − 1 .
Proposition 3.3 (Lagrange–Bürmann expansion of KL fragility). Fix w ∈ W τ \mathbf{w}\in\mathcal{W}_{\tau} w ∈ W τ and set α j : = r ( w , y j ) \alpha_j:=r(\mathbf{w},y_j) α j := r ( w , y j ) , τ 0 : = R ( w , q r e f ) \tau_0:=R(\mathbf{w},\mathbf{q}_{\mathrm{ref}}) τ 0 := R ( w , q ref ) , and z : = τ − τ 0 z:=\tau-\tau_0 z := τ − τ 0 . Define f : R → R f:\mathbb{R}\to\mathbb{R} f : R → R by f ( 0 ) : = τ 0 f(0):=\tau_0 f ( 0 ) := τ 0 and f ( S ) : = S − 1 log ( ∑ j = 1 K ( q r e f ) j e α j S ) f(S):=S^{-1}\log\left(\sum_{j=1}^{K}(q_{\mathrm{ref}})_j e^{\alpha_jS}\right) f ( S ) := S − 1 log ( ∑ j = 1 K ( q ref ) j e α j S ) for S ≠ 0 S\ne0 S = 0 , and write its Taylor expansion at S = 0 S=0 S = 0 as f ( S ) = ∑ m = 0 ∞ a m + 1 S m = τ 0 + a 2 S + a 3 S 2 + ⋯ f(S)=\sum_{m=0}^{\infty}a_{m+1}S^m=\tau_0+a_2S+a_3S^2+\cdots f ( S ) = ∑ m = 0 ∞ a m + 1 S m = τ 0 + a 2 S + a 3 S 2 + ⋯ . Thus a 1 = τ 0 a_1=\tau_0 a 1 = τ 0 and a 2 = 1 2 ∑ j = 1 K ( q r e f ) j ( α j − τ 0 ) 2 a_2=\frac{1}{2}\sum_{j=1}^{K}(q_{\mathrm{ref}})_j(\alpha_j-\tau_0)^2 a 2 = 2 1 ∑ j = 1 K ( q ref ) j ( α j − τ 0 ) 2 ,
the half-variance of the class-wise risks under q r e f \mathbf{q}_{\mathrm{ref}} q ref . Lagrange–Bürmann inversion yields a local inverse series whose convergence radius R z ( w ) > 0 R_z(\mathbf{w})>0 R z ( w ) > 0 is defined in (44) . For 0 < z = τ − τ 0 < R z ( w ) 0<z=\tau-\tau_0<R_z(\mathbf{w}) 0 < z = τ − τ 0 < R z ( w ) , S τ ( w ) : = κ τ ( w ) − 1 = ∑ n = 1 ∞ c n z n S_\tau(\mathbf{w}):=\kappa_\tau(\mathbf{w})^{-1}=\sum_{n=1}^{\infty}c_nz^n S τ ( w ) := κ τ ( w ) − 1 = ∑ n = 1 ∞ c n z n , where the coefficients { c n } n ≥ 1 \{c_n\}_{n\ge1} { c n } n ≥ 1 are given by (42) . Taking the reciprocal gives, for sufficiently small z > 0 z>0 z > 0 , the induced Laurent expansion κ τ ( w ) = ∑ m = − 1 ∞ d m z m \kappa_\tau(\mathbf{w})=\sum_{m=-1}^{\infty}d_mz^m κ τ ( w ) = ∑ m = − 1 ∞ d m z m , whose first two terms, for fixed w \mathbf{w} w , are κ τ ( w ) = a 2 z + a 3 2 + O ( z ) \kappa_\tau(\mathbf{w})=\frac{a_2}{z}+\frac{a_3}{2}+O(z) κ τ ( w ) = z a 2 + 2 a 3 + O ( z ) , z = τ − τ 0 ↓ 0 z=\tau-\tau_0\downarrow0 z = τ − τ 0 ↓ 0 . Here a 3 = 1 6 ∑ j = 1 K ( q r e f ) j ( α j − τ 0 ) 3 a_3=\frac{1}{6}\sum_{j=1}^{K}(q_{\mathrm{ref}})_j(\alpha_j-\tau_0)^3 a 3 = 6 1 ∑ j = 1 K ( q ref ) j ( α j − τ 0 ) 3 , and the remainder vanishes at least linearly as τ \tau τ approaches τ 0 \tau_0 τ 0 from above.
Corollary 3.4 (Finite-truncation error). Let S N ( z ) : = ∑ n = 1 N c n z n S_N(z):=\sum_{n=1}^{N}c_nz^n S N ( z ) := ∑ n = 1 N c n z n and κ N ( z ) : = ∑ m = − 1 N d m z m \kappa_N(z):=\sum_{m=-1}^{N}d_mz^m κ N ( z ) := ∑ m = − 1 N d m z m denote the order-N N N truncations of the Lagrange–Bürmann inverse expansion and the induced Laurent expansion in Proposition 3.3. For the fixed weight vector w \mathbf{w} w , choose ϱ \varrho ϱ and B H B_H B H satisfying Assumption G.1, and set U : = ϱ / B H U:=\varrho/B_H U := ϱ / B H and η ( z ) : = ∣ z ∣ / U \eta(z):=|z|/U η ( z ) := ∣ z ∣/ U . Here U ≤ R z ( w ) U\le R_z(\mathbf{w}) U ≤ R z ( w ) is a sufficient convergence radius for the inverse series, as established after Theorem G.3. The fragility bounds below are evaluated at z = τ − τ 0 > 0 z=\tau-\tau_0>0 z = τ − τ 0 > 0 for w ∈ W τ \mathbf{w}\in\mathcal{W}_\tau w ∈ W τ . Then, for ∣ z ∣ < U |z|<U ∣ z ∣ < U , ∣ S τ ( w ) − S N ( z ) ∣ ≤ ϱ η ( z ) N + 1 1 − η ( z ) |S_\tau(\mathbf{w})-S_N(z)|\le\frac{\varrho\eta(z)^{N+1}}{1-\eta(z)} ∣ S τ ( w ) − S N ( z ) ∣ ≤ 1 − η ( z ) ϱ η ( z ) N + 1 .
Moreover, fix any r ∈ ( 0 , U ) r\in(0,U) r ∈ ( 0 , U ) satisfying B H η r 1 − η r ≤ c 1 2 \frac{B_H\eta_r}{1-\eta_r}\le\frac{c_1}{2} 1 − η r B H η r ≤ 2 c 1 , η r : = r / U \eta_r:=r/U η r := r / U . Then, for 0 < ∣ z ∣ < r 0<|z|<r 0 < ∣ z ∣ < r , ∣ κ τ ( w ) − κ N ( z ) ∣ ≤ 2 c 1 ( ∣ z ∣ / r ) N + 2 1 − ∣ z ∣ / r 1 ∣ z ∣ |\kappa_\tau(\mathbf{w})-\kappa_N(z)|\le\frac{2}{c_1}\frac{(|z|/r)^{N+2}}{1-|z|/r}\frac{1}{|z|} ∣ κ τ ( w ) − κ N ( z ) ∣ ≤ c 1 2 1 − ∣ z ∣/ r ( ∣ z ∣/ r ) N + 2 ∣ z ∣ 1 . Thus the inverse-series error decays geometrically in N N N , and the induced Laurent approximation error for κ τ \kappa_\tau κ τ decays geometrically up to the expected pole factor 1 / ∣ z ∣ 1/|z| 1/∣ z ∣ .
RSE computes κ t \kappa_t κ t by truncating the Lagrange–Bürmann inverse expansion and taking the reciprocal of the resulting finite sum, avoiding a root solve inside each iteration. The coefficient formula and Laurent recursion are given in (42) and (45)–(46); the proof of the truncation bounds is given in Appendix § 14 .§ 4 .
Robust Satisficing Ensemble Algorithm
We combine the quadratic risk model and the KL-based fragility into an alternating procedure that approximately solves min w ∈ W τ κ τ ( w ) \min_{\mathbf{w}\in\mathcal{W}_\tau}\kappa_\tau(\mathbf{w}) min w ∈ W τ κ τ ( w ) by reweighting the ensemble on the simplex. Given w t \mathbf{w}_t w t , we first compute the per-class risks r j : = r ( w t , y j ) r_j:=r(\mathbf{w}_t,y_j) r j := r ( w t , y j ) using (5) . We then compute κ t \kappa_t κ t , an approximation to κ τ ( w t ) \kappa_\tau(\mathbf{w}_t) κ τ ( w t ) obtained by truncating the inverse series in Proposition 3.3 and taking its reciprocal.
( q t ⋆ ) j = ( q r e f ) j exp ( r j ( t ) / κ t ) ∑ k = 1 K ( q r e f ) k exp ( r k ( t ) / κ t ) . (q_t^\star)_j=\frac{(q_{\mathrm{ref}})_j\exp\left(r_j^{(t)}/\kappa_t\right)}{\sum_{k=1}^{K}(q_{\mathrm{ref}})_k\exp\left(r_k^{(t)}/\kappa_t\right)}. ( q t ⋆ ) j = ∑ k = 1 K ( q ref ) k exp ( r k ( t ) / κ t ) ( q ref ) j exp ( r j ( t ) / κ t ) .
For a candidate w \mathbf{w} w we define the adversarially tilted quadratic risk R ~ t ( w ) = ∑ j = 1 K ( q t ⋆ ) j r ( w , y j ) = w T A a d v , t w + b a d v , t T w + 1 \widetilde{R}_t(\mathbf{w})=\sum_{j=1}^{K}(q_t^\star)_jr(\mathbf{w},y_j)=\mathbf{w}^{\mathsf T}A_{\mathrm{adv},t}\mathbf{w}+\mathbf{b}_{\mathrm{adv},t}^{\mathsf T}\mathbf{w}+1 R t ( w ) = ∑ j = 1 K ( q t ⋆ ) j r ( w , y j ) = w T A adv , t w + b adv , t T w + 1 , where A a d v , t = ∑ j = 1 K ( q t ⋆ ) j A j A_{\mathrm{adv},t}=\sum_{j=1}^{K}(q_t^\star)_jA_j A adv , t = ∑ j = 1 K ( q t ⋆ ) j A j , b a d v , t = ∑ j = 1 K ( q t ⋆ ) j b j \mathbf{b}_{\mathrm{adv},t}=\sum_{j=1}^{K}(q_t^\star)_j\mathbf{b}_j b adv , t = ∑ j = 1 K ( q t ⋆ ) j b j . Since each A j A_j A j is PSD and ( q t ⋆ ) j ≥ 0 (q_t^\star)_j\ge0 ( q t ⋆ ) j ≥ 0 , A a d v , t A_{\mathrm{adv},t} A adv , t is PSD as well. The quadratic subproblem induced by A a d v , t ⪰ 0 A_{\mathrm{adv},t}\succeq0 A adv , t ⪰ 0 can be ill-conditioned (or admit multiple minimizers on the simplex) when the base models are highly correlated. We therefore perform a proximal update by adding a stabilizer ρ 2 ∥ w − w t ∥ 2 2 \frac{\rho}{2}\lVert\mathbf{w}-\mathbf{w}_t\rVert_2^2 2 ρ ∥ w − w t ∥ 2 2 with ρ > 0 \rho>0 ρ > 0 . This keeps the step a simplex-constrained convex QP while making it ρ \rho ρ -strongly convex, hence ensuring a unique update w t + 1 \mathbf{w}_{t+1} w t + 1 .
Beyond well-posedness, the proximal term also provides a principled optimization guarantee: Appendix I shows that, under mild regularity conditions on the KL fragility root, the update yields a uniform sufficient decrease in the fragility objective and converges to a stationary point of κ τ ( ⋅ ) \kappa_\tau(\cdot) κ τ ( ⋅ ) over the simplex. Also, the commonly used stopping criterion ∥ w t + 1 − w t ∥ 2 ≤ ε s t o p \lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2\le\varepsilon_{\mathrm{stop}} ∥ w t + 1 − w t ∥ 2 ≤ ε stop admits an explicit certificate in terms of the KKT residual of the QP subproblem. The weight update solves the QP:
w t + 1 = arg min w w T A a d v , t w + b a d v , t T w + ρ 2 ∥ w − w t ∥ 2 2 s.t. w ∈ Δ M . (10) \mathbf{w}_{t+1}=\mathop{\arg\min}_{\mathbf{w}}\quad\mathbf{w}^{\mathsf T}A_{\mathrm{adv},t}\mathbf{w}+\mathbf{b}_{\mathrm{adv},t}^{\mathsf T}\mathbf{w}+\frac{\rho}{2}\lVert\mathbf{w}-\mathbf{w}_t\rVert_2^2\quad\text{s.t.}\quad\mathbf{w}\in\Delta_M. \tag*{(10)} w t + 1 = arg min w w T A adv , t w + b adv , t T w + 2 ρ ∥ w − w t ∥ 2 2 s.t. w ∈ Δ M . (10)
Any off-the-shelf convex QP solver (e.g., via cvxpy) can be used to compute w t + 1 \mathbf{w}_{t+1} w t + 1 . See Algorithm 1 for the overall procedure for implementing RSE.
We analyze the idealized exact-root iteration in Proposition 3.5 and separately provide a stationarity error certificate for the implemented truncated-root update in Proposition 3.6.
Proposition 3.5 (Descent, stationarity, and a stopping certificate for proximal RSE). Assume that the iterates { w t } \{\mathbf{w}_t\} { w t } produced by Algorithm 1 remain in a compact subset K ⊂ W τ \mathcal{K}\subset\mathcal{W}_\tau K ⊂ W τ . Let c min > 0 c_{\min}>0 c m i n > 0
Algorithm 1 Robust Satisficing Ensemble (RSE)
Require: q r e f \mathbf{q}_{\mathrm{ref}} q ref , τ \tau τ , { A j , b j } j = 1 K \{\mathbf{A}_j,\mathbf{b}_j\}_{j=1}^{K} { A j , b j } j = 1 K , truncation order N N N , ρ > 0 \rho> 0 ρ > 0 , ε s t o p \varepsilon_{\mathrm{stop}} ε stop
1: Init w 0 ∈ Δ M \mathbf{w}_0 \in\Delta_M w 0 ∈ Δ M ; Δ w ← + ∞ \Delta_w \leftarrow+\infty Δ w ← + ∞ , t ← 0 t \leftarrow0 t ← 0 2: while Δ w > ε s t o p \Delta_w > \varepsilon_{\mathrm{stop}} Δ w > ε stop do 3: for j = 1 , … , K j = 1,\ldots,K j = 1 , … , K do 4: r j ← r ( w t , y j ) r_j \leftarrow r(\mathbf{w}_t,y_j) r j ← r ( w t , y j ) // Eq. (5) 5: end for 6: κ t ← κ τ ( w t ) \kappa_t \leftarrow\kappa_\tau(\mathbf{w}_t) κ t ← κ τ ( w t ) // Prop. 3.3 7: for j = 1 , … , K j = 1,\ldots,K j = 1 , … , K do 8: ( q t ⋆ ) j ∝ ( q r e f ) j e r j / κ t (q_t^\star)_j \propto(q_{\mathrm{ref}})_j e^{r_j/\kappa_t} ( q t ⋆ ) j ∝ ( q ref ) j e r j / κ t // Eq. (7) 9: end for 10: A a d v , t ← ∑ j ( q t ⋆ ) j A j \mathbf{A}_{\mathrm{adv},t} \leftarrow\sum_j (q_t^\star)_j \mathbf{A}_j A adv , t ← ∑ j ( q t ⋆ ) j A j 11: b a d v , t ← ∑ j ( q t ⋆ ) j b j \mathbf{b}_{\mathrm{adv},t} \leftarrow\sum_j (q_t^\star)_j \mathbf{b}_j b adv , t ← ∑ j ( q t ⋆ ) j b j 12: w t + 1 ← \mathbf{w}_{t+1} \leftarrow w t + 1 ← solve (10) 13: Δ w ← ∥ w t + 1 − w t ∥ 2 \Delta_w \leftarrow\lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2 Δ w ← ∥ w t + 1 − w t ∥ 2 ; t ← t + 1 t \leftarrow t+1 t ← t + 1 14: end while 15: return w t , κ τ ( w t ) \mathbf{w}_t,\kappa_\tau(\mathbf{w}_t) w t , κ τ ( w t )
be the uniform lower bound from Lemma I.5. Let ϵ > 0 \epsilon> 0 ϵ > 0 be such that the closed ϵ \epsilon ϵ -neighborhood K ϵ ⊂ W τ \mathcal{K}_\epsilon\subset\mathcal{W}_\tau K ϵ ⊂ W τ , and M g r a d < ∞ M_{\mathrm{grad}} < \infty M grad < ∞ be as in Lemma I.13. Let L L L be a Lipschitz constant of ∇ κ τ \nabla\kappa_\tau ∇ κ τ on K ϵ \mathcal{K}_\epsilon K ϵ . If ρ > max { L 2 c min , M g r a d ϵ } \rho> \max\left\{\frac{L}{2c_{\min}},\frac{M_{\mathrm{grad}}}{\epsilon}\right\} ρ > max { 2 c m i n L , ϵ M grad } , then the sequence { κ τ ( w t ) } t ≥ 0 \{\kappa_\tau(\mathbf{w}_t)\}_{t\geq0} { κ τ ( w t ) } t ≥ 0 is nonincreasing and convergent, ∥ w t + 1 − w t ∥ 2 → 0 \lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2 \to0 ∥ w t + 1 − w t ∥ 2 → 0 , and every limit point of { w t } \{\mathbf{w}_t\} { w t } is stationary for min w ∈ Δ M κ τ ( w ) \min_{\mathbf{w}\in\Delta_M}\kappa_\tau(\mathbf{w}) min w ∈ Δ M κ τ ( w ) in the sense of Definition I.14. Furthermore, the stopping rule ∥ w t + 1 − w t ∥ 2 ≤ ε s t o p \lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2 \leq\varepsilon_{\mathrm{stop}} ∥ w t + 1 − w t ∥ 2 ≤ ε stop guarantees that the stationarity residual of the tilted-risk problem at w t + 1 \mathbf{w}_{t+1} w t + 1 is at most ρ ε s t o p \rho\varepsilon_{\mathrm{stop}} ρ ε stop (Corollary I.12).
Proof sketch. Differentiate the KL root Φ ( κ ; w ) = τ \Phi(\kappa;\mathbf{w})=\tau Φ ( κ ; w ) = τ to express ∇ κ τ ( w ) \nabla\kappa_\tau(\mathbf{w}) ∇ κ τ ( w ) via the tilted risk gradient, then use ρ \rho ρ -strong convexity of the proximal QP to obtain sufficient decrease and the KKT-based stopping certificate. Full proofs are given in Appendix I.
Proposition 3.6 (Stationarity certificate with truncated fragility roots). Proposition 3.5 treats the KL fragility root as exact, whereas Algorithm 1 uses the finite Lagrange–Bürmann truncation κ ^ t \widehat{\kappa}_t κ t in place of κ t = κ τ ( w t ) \kappa_t=\kappa_\tau(\mathbf{w}_t) κ t = κ τ ( w t ) . The root residual ϵ t : = Φ ( κ ^ t ; w t ) − τ \epsilon_t := \Phi(\widehat{\kappa}_t;\mathbf{w}_t)-\tau ϵ t := Φ ( κ t ; w t ) − τ controls the stationarity gap of the exact fragility objective. Assume κ ^ t > 0 \widehat{\kappa}_t > 0 κ t > 0 for all t t t and the iterates remain in a compact subset of W τ \mathcal{W}_\tau W τ and the segment between κ ^ t \widehat{\kappa}_t κ t and κ t \kappa_t κ t lies in a region where ∣ ∂ κ Φ ( κ ; w t ) ∣ ≥ m κ > 0 \lvert\partial_\kappa\Phi(\kappa;\mathbf{w}_t)\rvert\geq m_\kappa> 0 ∣ ∂ κ Φ ( κ ; w t )∣ ≥ m κ > 0 uniformly in t t t . Let q ^ t = q ⋆ ( κ ^ t , w t ) \widehat{\mathbf{q}}_t=\mathbf{q}^\star(\widehat{\kappa}_t,\mathbf{w}_t) q t = q ⋆ ( κ t , w t ) , and let w t + 1 \mathbf{w}_{t+1} w t + 1 be the proximal QP update formed with q ^ t \widehat{\mathbf{q}}_t q t . Then there exist constants C ϵ , C d < ∞ C_\epsilon,C_d < \infty C ϵ , C d < ∞ , independent of t t t , such that dist ( 0 , ∇ w κ τ ( w t + 1 ) + N Δ M ( w t + 1 ) ) ≤ C ϵ ∣ ϵ t ∣ + C d ∥ w t + 1 − w t ∥ 2 \operatorname{dist}(0,\nabla_{\mathbf{w}}\kappa_\tau(\mathbf{w}_{t+1})+N_{\Delta_M}(\mathbf{w}_{t+1}))\leq C_\epsilon\lvert\epsilon_t\rvert+C_d\lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2 dist ( 0 , ∇ w κ τ ( w t + 1 ) + N Δ M ( w t + 1 )) ≤ C ϵ ∣ ϵ t ∣ + C d ∥ w t + 1 − w t ∥ 2 where N Δ M ( w ) N_{\Delta_M}(\mathbf{w}) N Δ M ( w ) denotes the normal cone of the simplex Δ M \Delta_M Δ M at w \mathbf{w} w . Consequently, if ∣ ϵ t ∣ ≤ ϵ r o o t \lvert\epsilon_t\rvert\leq\epsilon_{\mathrm{root}} ∣ ϵ t ∣ ≤ ϵ root and ∥ w t + 1 − w t ∥ 2 ≤ ϵ s t o p \lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2\leq\epsilon_{\mathrm{stop}} ∥ w t + 1 − w t ∥ 2 ≤ ϵ stop , then w t + 1 \mathbf{w}_{t+1} w t + 1 is ( C ϵ ϵ r o o t + C d ϵ s t o p ) (C_\epsilon\epsilon_{\mathrm{root}}+C_d\epsilon_{\mathrm{stop}}) ( C ϵ ϵ root + C d ϵ stop ) -stationary for min w ∈ Δ M κ τ ( w ) \min_{\mathbf{w}\in\Delta_M}\kappa_\tau(\mathbf{w}) min w ∈ Δ M κ τ ( w ) .
Proof sketch. Let κ t = κ τ ( w t ) \kappa_t=\kappa_\tau(\mathbf{w}_t) κ t = κ τ ( w t ) be the exact root. Since Φ ( κ t ; w t ) = τ \Phi(\kappa_t;\mathbf{w}_t)=\tau Φ ( κ t ; w t ) = τ , the mean-value theorem and the uniform slope condition imply ∣ κ ^ t − κ t ∣ ≤ ∣ ϵ t ∣ / m κ \lvert\widehat{\kappa}_t-\kappa_t\rvert\leq\lvert\epsilon_t\rvert/m_\kappa ∣ κ t − κ t ∣ ≤ ∣ ϵ t ∣ / m κ . On the compact well-posed region, the adversarially tilted gradient is Lipschitz, so using κ ^ t \widehat{\kappa}_t κ t instead of κ t \kappa_t κ t perturbs the exact gradient by O ( ∣ ϵ t ∣ + ∥ w t + 1 − w t ∥ 2 ) O(\lvert\epsilon_t\rvert+\lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2) O (∣ ϵ t ∣ + ∥ w t + 1 − w t ∥ 2 ) . Combining this perturbation bound with the proximal-QP KKT condition and the implicit-gradient identity for ∇ κ τ \nabla\kappa_\tau ∇ κ τ yields the stated stationarity residual. The stopping certificate follows by substituting the two stopping tolerances. Full proof is given in Appendix I.5.
Experiments
We evaluate RSE across four diverse tasks targeting core vulnerabilities of pre-trained model aggregation. For adversarial label shifts, we apply a severe-shift protocol to SST-5 [28 ] and TREC [29 ] . For natural distribution shifts, we use CivilComments [8 ] (subpopulation) and HUFFPost [30 ] (temporal drift). Implementation details, including baseline hyperparameters, aspiration level τ \tau τ selection, and input formatting, are provided in Appendix A; individual-model results, additional experiments, and extended results are in Appendix B. Our code is available at https://github.com/Bilkennt-CYBORG/RSE.
Baselines. We compare RSE against Non-optimization baselines (Uniform, Accuracy-Weighted, Majority Vote) and Optimization-based baselines: Empirical Risk Minimization (ERM) [31 ] , Group DRO [21 ] , Invariant Risk Minimization (IRM) [32 ] , SRM [22 ] , and KL-Divergence-based Robust Satisficing (KL-RS) [27 ] .
Models and Setup. To construct the ensemble, we employ a set of M = 8 M = 8 M = 8 pre-trained Large Language Models (LLMs) with varying architectures and sizes: Mistral-Small-24B-Instruct [33 ] , Mistral-7B-Instruct-v0.3 [34 ] , Phi-4 [35 ] , Phi-3.5 mini [36 ] , Qwen3-4B [37 ] , Gemma-3-12B-Instruct [38 ] , GPT-oss-20B [39 ] , and Falcon-3-7B-Instruct [40 ] . We extract token-level confidence scores to yield normalized probability vectors rather than relying on verbalized confidence.
Robustness to Adversarial Shifts
To validate RSE in adversarial environments, we evaluate it on SST-5 and TREC. We partition each original training set into training and test pools by randomly splitting within each class, preserving the original label proportions. We then synthesize label shifts on the test pools using a minority target shift protocol. For α ∈ [ 0 , 1 ] \alpha\in[0, 1] α ∈ [ 0 , 1 ] , the target label distribution is P t e s t = ( 1 − α ) P p o o l + α δ h a r d P_{\mathrm{test}} = (1 - \alpha)P_{\mathrm{pool}} + \alpha\delta_{\mathrm{hard}} P test = ( 1 − α ) P pool + α δ hard , where P p o o l P_{\mathrm{pool}} P pool is the empirical label distribution of the unshifted test pool and δ h a r d \delta_{\mathrm{hard}} δ hard concentrates mass on the hardest class, identified by the lowest mean accuracy across the M M M base models on a held-out validation set. Thus, α = 0 \alpha= 0 α = 0 corresponds to the unshifted test-pool label distribution, while α = 1 \alpha= 1 α = 1 yields a test set containing only the hardest class.
SST-5 Dataset. We first evaluate RSE on SST-5, a fine-grained sentiment classification benchmark consisting of movie reviews labeled on a scale of 1 (very negative) to 5 (very positive). This domain offers a challenging test for robustness due to the nuanced semantic differences between adjacent sentiment classes. We use the official training split (8,544 instances).
TREC Dataset. Then, we evaluate RSE on the TREC dataset, a widely used benchmark for question classification that comprises questions categorized into six semantic types: abbreviation, description, entity, human, location, and numeric. The dataset’s distinct semantic categories make it an effective testbed for robust classification. We use the official train split of TREC (5452 instances).
Severe Shift Results. Figure 2 shows how accuracy changes with shift severity on SST-5 and TREC. While RSE achieves the highest average accuracy across all shift spectrums (detailed in Appendix § 9 ), its primary mathematical objective is preventing catastrophic failure in highly unpredictable environments. Table 2 isolates the Severe Shift (α = 1.00 \alpha= 1.00 α = 1.00 ) regime. Standard baselines collapse under these conditions. On the nuanced sentiment analysis of SST-5, RSE achieves 36.3%, outperforming the strongest robust baseline (DRO) by +3.8% and ERM by +8.0% . On the TREC dataset, RSE achieves 72.0%, surpassing DRO by +2.1% . Two-sided paired t t t -tests on 20 split-level mean accuracies support RSE’s advantage over all five optimization baselines at the evaluated shift levels α ≥ 0.45 \alpha\ge0.45 α ≥ 0.45 on SST-5 (p < 0.05 p < 0.05 p < 0.05 ) and α ≥ 0.32 \alpha\ge0.32 α ≥ 0.32 on TREC (p < 0.01 p < 0.01 p < 0.01 ). Detailed results are reported in Table 7 and Table 8 .
Table 2. Under Severe Distribution Shifts. We report accuracy under extreme out-of-distribution conditions: complete adversarial shift to the hardest class for SST-5 and TREC (α = 1.00 \alpha= 1.00 α = 1.00 ). Across both tasks, RSE significantly outperforms baselines in high-risk regimes. Best results in bold .
Figure 2. Performance under adversarial shift. We report overall accuracy across 11 shift magnitudes with α \alpha α values selected to produce equally-spaced KL divergences D K L ( P t e s t ∥ P t r a i n ) D_{\mathrm{KL}}(P_{\mathrm{test}}\Vert P_{\mathrm{train}}) D KL ( P test ∥ P train ) , ranging from α = 0 \alpha= 0 α = 0 (in-distribution) to α = 1 \alpha= 1 α = 1 (most severe shift: test set composed entirely of the hardest class). RSE consistently maintains higher accuracy compared to baselines as shift severity increases.
Table 7. SST-5 accuracy (%) under increasing label shift. Values are means ± sample standard deviations across 20 split averages, each averaging five test draws. Two-sided paired t t t -tests compare each baseline with RSE using these split averages. * and ** denote p < 0.05 p < 0.05 p < 0.05 and p < 0.01 p < 0.01 p < 0.01 , respectively, for each individual comparison. Bold indicates the highest mean accuracy.
Table 8. Significance testing on TREC under increasing minority target shift. Accuracy (%) is reported as mean ± sample standard deviation across 20 randomized splits, averaging five test draws within each split. Two-sided paired t t t -tests compare each baseline with RSE using these split averages. ∗ and ∗∗ denote p < 0.05 p < 0.05 p < 0.05 and p < 0.01 p < 0.01 p < 0.01 , respectively, for each individual comparison. Bold indicates the highest mean accuracy.
Robustness to Natural Distribution Shifts
Subpopulation Shift: CivilComments. To evaluate robustness under subpopulation shift, we use the CivilComments dataset from the WILDS benchmark, which contains online comments annotated for toxicity along with demographic group labels (e.g., Christian, Muslim, LGBTQ, male, female, White, Black). Following standard protocol with official train and test splits, we report both overall accuracy and Worst-Group Accuracy (WGA), which is a critical metric for fairness-aware applications. Table 3 presents the results. Detailed per-group accuracy breakdowns are available in Table 12 of Appendix § 9 . RSE achieves highest overall accuracy (72.1%) and substantially outperforms all baselines on WGA (59.7%), representing 2.0 points of absolute improvement over the next-best method (DRO at 57.7%).
Table 3. Performance under natural distribution shifts. Worst Group (Year) and overall accuracies across all groups (years) are given for CivilComments and HuffPost. Best results in bold .
Table 12. CivilComments: Detailed accuracy breakdown across subpopulation shifts for specific demographic groups.
Temporal Shift: HuffPost. Temporal distribution shifts pose a significant challenge for language models, as changes in writing style, topic prevalence, and current events lead to performance degradation over time. We evaluate temporal robustness on the HuffPost dataset, where the task is news category prediction from article headlines. We retain categories that appear consistently across all years, resulting in 9 categories. Following the same temporal split protocol from [30 ] , we train algorithms on articles from 2012–2015 and evaluate on 2016–2018. Table 3 reports overall accuracy and Worst-Year Accuracy (WYA). Year-wise performance details are provided in Table 14 of Appendix § 9 . RSE achieves the best WYA (77.2%) and overall accuracy (78.8%), outperforming the second-best methods (IRM and SRM) by 0.4%.
Table 14. HuffPost: Detailed accuracy breakdown across temporal shifts (2016–2018) for models trained on 2012–2015 data.
Bootstrap comparisons on the fixed test sets (B = 1000 B = 1000 B = 1000 ) provide additional evidence for these gains. Results and statistical procedures are reported in Table 11 and Table 13 in Appendix § 9 .
Table 11. CivilComments performance under subpopulation shift. Values are bootstrap mean accuracies (%) ± \pm ± bootstrap standard deviations from B = 1000 B = 1000 B = 1000 paired resamples. ∗ ^{*} ∗ and ∗ ∗ ^{**} ∗∗ indicate one-sided bootstrap tail fractions p ^ t a i l < 0.05 \hat{p}_{\mathrm{tail}} < 0.05 p ^ tail < 0.05 and < 0.01 < 0.01 < 0.01 , respectively. Bold indicates the highest mean.
Table 13. Significance testing on HuffPost under temporal shift. We report mean accuracy (%) ± standard deviation obtained via B = 1000 B = 1000 B = 1000 bootstrap resamples of the test set (2016–2018). The highest accuracy for each metric is marked in bold . Statistical significance against our proposed method (RSE) is determined via a one-sided bootstrap hypothesis test: * denotes p < 0.05 p < 0.05 p < 0.05 and ** denotes p < 0.01 p < 0.01 p < 0.01 . RSE significantly outperforms all baselines across both Average Yearly Accuracy (AYA) and Worst-Year Accuracy (WYA) metrics.
Ablation Study
Computational Complexity. RSE has a one-time preprocessing stage that constructs the moment matrices, followed by weight optimization using only these cached statistics. Table 4 compares the optimization runtimes on HuffPost; RSE is the fastest (1.41s), achieving a 1.2–6× speedup. The moment construction took only 0.03s and the subsequent RSE optimization took 1.41s (1.44s total), excluding the shared base-LLM inference cost. Crucially, RSE’s per-iteration cost O ( M 2 K + M 3 ) O(M^{2}K + M^{3}) O ( M 2 K + M 3 ) is independent of dataset size N N N . By precomputing moment matrices { A j , b j } j = 1 K \{A_j, b_j\}_{j=1}^{K} { A j , b j } j = 1 K once in O ( N M 2 K ) O(NM^{2}K) O ( N M 2 K ) time, optimization iterations operate purely on O ( M 2 K ) O(M^{2}K) O ( M 2 K ) sufficient statistics. This decoupling is invaluable for large-scale deployments where N N N is massive but M M M and K K K remain modest. This architecture makes RSE exceptionally scalable, effectively managing the massive sample sizes of CivilComments (over 269,000 instances) and HuffPost (over 84,000 instances) without computational burden. Memory overhead is similarly independent of N N N , requiring only O ( M 2 K ) O(M^{2}K) O ( M 2 K ) space, unlike DRO and IRM which must retain per-sample predictions (O ( N M K ) O(NMK) O ( N M K ) ). While the O ( M 3 ) O(M^{3}) O ( M 3 ) QP solve dominates as M M M grows, it remains computationally negligible for typical ensemble sizes.
Table 4. Per-iteration complexity and optimization times on HuffPost. M M M : models, K K K : classes, N N N : samples.
Comparison with Best Single Model. As shown in Table 6 , RSE consistently outperforms the best model across all datasets. Notably, on TREC, RSE improves accuracy by over 2.8 points (74.1% vs. 71.3%). This confirms that RSE effectively leverages the diversity of the model pool to achieve robustness superior to any individual model.
Table 6. Average test accuracy (%) of best single model versus RSE. (For SST-5 and TREC numbers are avg. accuracy across all shift magnitudes.)
Aspiration level sensitivity analysis for RSE. To assess the role of τ \tau τ as a reference-risk target, we vary this hyperparameter within the solvable range τ ∈ [ 0.65 , 0.94 ] \tau\in[0.65, 0.94] τ ∈ [ 0.65 , 0.94 ] on SST-5. The results reveal a clear robustness-accuracy trade-off governed by τ \tau τ . Under severe shift (Figure 3 a), increasing τ \tau τ substantially improves worst-case accuracy, with RSE surpassing DRO and IRM beyond τ ≈ 0.75 \tau\approx0.75 τ ≈ 0.75 and peaking near τ ≈ 0.9 \tau\approx0.9 τ ≈ 0.9 . Conversely, under no shift (Figure 3 b), higher τ \tau τ values degrade in-distribution accuracy, allowing practitioners to mathematically bound their risk tolerance.
Figure 3. Sensitivity of RSE to aspiration level τ \tau τ on SST-5.
Sensitivity to Model-Pool Composition. We further test whether RSE’s gains depend on the particular eight-model pool used in the main experiments. We consider leave-one-out ensembles, random subsets containing 2–7 models, and pools augmented with highly correlated, uncalibrated, or weak predictors. As shown for TREC in Table 5 , RSE achieves the highest mean accuracy in every evaluated configuration. The same pattern holds on SST-5, with the corresponding results and full construction details reported in Appendix B.5.
Table 5. Sensitivity to model-pool composition on TREC. Mean accuracy (%) across the full shift-severity spectrum. We modify the original eight-model pool through leave-one-out removal, random subsets, or the addition of correlated, uncalibrated, or weak predictors. The highest mean accuracy before rounding in each row is in bold.
Conclusion, Limitations, and Future Work
We introduced RSE, a probabilistic aggregation framework that secures pre-trained model ensembles against unpredictable distribution shifts by optimizing for fragility . Evaluated across a diverse spectrum of shifts, RSE consistently prevented catastrophic failures and outperformed strong robust baselines while remaining the computationally lightest optimization-based method. Currently, RSE requires access to full predictive probability distributions. Extending it to black-box systems, where predictions can be represented as one-hot vectors but confidence information is unavailable, remains an important empirical direction. Additionally, adapting RSE for online sequential monitoring, dynamically updating moment matrices as q r e f q_{\mathrm{ref}} q ref drifts, is a critical direction for non-stationary environments. Finally, extending the quadratic risk surrogate beyond the Brier score to handle complex structured prediction tasks will further broaden RSE’s applicability.
Acknowledgements
Funding Transparency Statement. This work was supported by the Scientific and Technological Research Council of Türkiye (TUBITAK) under Grant 124E065; TUBITAK 2024 Incentive Award; by the Turkish Academy of Sciences Distinguished Young Scientist Award Program (TUBA-GEBIP-2023).
Competing Interests Statement. The authors declare no competing interests.
References
Implementation Details
For our computational setup, the LLMs were executed using an NVIDIA A100 GPU server (80 GB VRAM), whereas the experimental evaluations were performed locally on a personal computer.
RSE Parameters and Selection of the Aspiration Level (τ \tau τ )
In all reported experiments, the reference label distribution q r e f \mathbf{q}_{\mathrm{ref}} q ref was set exactly to the empirical marginal class distribution of the calibration training set. Because all evaluated datasets contain strictly positive sample counts for every class within their respective training splits, no artificial smoothing was required or applied. The proximal weight ρ \rho ρ and ε s t o p \varepsilon_{\mathrm{stop}} ε stop are chosen as 5 and 10 − 5 10^{-5} 1 0 − 5 , respectively. The infinite series obtained from the Lagrange–Bürmann expansion is approximated by retaining terms up to order N = 8 N = 8 N = 8 . All approximate fragility estimates κ ^ t \widehat{\kappa}_t κ t remained strictly positive throughout the reported experiments. To determine the aspiration level τ \tau τ , we employ a data-driven heuristic that balances performance on the source distribution with robustness against worst-case class shifts. We first compute the standard Empirical Risk Minimization (ERM) solution, denoted as w E R M \mathbf{w}_{\mathrm{ERM}} w ERM , on the training source distribution P t r a i n P_{\mathrm{train}} P train . Using this baseline, we evaluate the corresponding class-conditional risks { r ( w E R M , y j ) } j = 1 K \{r(\mathbf{w}_{\mathrm{ERM}}, y_j)\}_{j=1}^{K} { r ( w ERM , y j ) } j = 1 K . We then define the source risk and worst-class risk as
R s o u r c e : = R ( w E R M , q r e f ) = ∑ j = 1 K ( q r e f ) j r ( w E R M , y j ) , R w o r s t : = max j ∈ { 1 , … , K } r ( w E R M , y j ) . R_{\mathrm{source}} := R(\mathbf{w}_{\mathrm{ERM}}, \mathbf{q}_{\mathrm{ref}}) = \sum_{j=1}^{K}(\mathbf{q}_{\mathrm{ref}})_j r(\mathbf{w}_{\mathrm{ERM}}, y_j), \qquad R_{\mathrm{worst}} := \max_{j \in\{1,\ldots,K\}} r(\mathbf{w}_{\mathrm{ERM}}, y_j). R source := R ( w ERM , q ref ) = j = 1 ∑ K ( q ref ) j r ( w ERM , y j ) , R worst := j ∈ { 1 , … , K } max r ( w ERM , y j ) .
The threshold τ \tau τ is then defined as a linear interpolation between the source risk and the worst-case risk, controlled by a hyperparameter λ ∈ [ 0 , 1 ] \lambda\in[0, 1] λ ∈ [ 0 , 1 ] :
τ = R s o u r c e + λ ( R w o r s t − R s o u r c e ) (11) \tau= R_{\mathrm{source}} + \lambda(R_{\mathrm{worst}} - R_{\mathrm{source}}) \tag*{(11)} τ = R source + λ ( R worst − R source ) (11)
The hyperparameter λ \lambda λ determines the tolerance for relaxing the source risk constraint to gain robustness. In our experiments, we intentionally selected τ \tau τ values that correspond to the maximum feasible values within the solvable range. Specifically, we set λ = 0.70 \lambda= 0.70 λ = 0.70 for SST-5, λ = 0.62 \lambda= 0.62 λ = 0.62 for TREC, λ = 0.95 \lambda= 0.95 λ = 0.95 for selective copying, λ = 0.80 \lambda= 0.80 λ = 0.80 for CivilComments, and λ = 0.19 \lambda= 0.19 λ = 0.19 for HuffPost. This strategy ensures the lowest possible fragility κ \kappa κ , thereby maximizing the ensemble’s robustness against severe distribution shifts.
How to Pick τ \tau τ in Practice: Higher values of τ \tau τ typically reduce the fragility coefficient κ \kappa κ , but they also relax the nominal risk requirement. Therefore, picking τ \tau τ is not a blind hyperparameter search, but a deterministic reflection of the deployment environment. Our mathematical bounds provide the exact minimum and maximum feasible values for τ \tau τ . Practitioners simply use an interpolation parameter λ ∈ [ 0 , 1 ] \lambda\in[0, 1] λ ∈ [ 0 , 1 ] to select their desired risk profile:
Low-Risk, Predictable Environments: If the practitioner expects minimal distribution shift, they set τ \tau τ close to the nominal ERM risk (λ ≈ 0 \lambda\approx0 λ ≈ 0 ). This explicitly guarantees on-par performance at low shift regimes.
High-Risk, Volatile Environments: If the practitioner expects severe shifts, the optimal strategy is to select a high value of τ \tau τ (λ → 1 \lambda\to1 λ → 1 ). In practice, the upper limit of λ \lambda λ is dictated by the numerical stability of the inner fragility root. As τ \tau τ approaches the worst-case risk, the fragility κ \kappa κ approaches 0. The practitioner can therefore increase λ \lambda λ to the highest value before the exponential tilt adversary (e r j / κ e^{r_j/\kappa} e r j / κ ) encounters numerical overflow limits, thereby guaranteeing the maximum computationally stable protection.
This approach is completely deterministic and automatically ensures the ensemble gains the optimal level of protection without breaking the numerical optimization. Crucially, it entirely eliminates the need for expensive hyperparameter tuning on a validation set.
Hyperparameter Settings for the Baseline Algorithms
For the competing methods, we used the hyperparameter settings reported in their original papers or official implementations, and then kept these settings fixed across the corresponding experiments. In particular, we did not perform per-dataset or per-shift hyperparameter sweeps for other methods. We provide below complete hyperparameter settings for all methods to ensure reproducibility. In label shift experiments, we repeated the experiments 20 times and reported the averaged results.
ERM. It optimizes ensemble weights by minimizing cross-entropy loss on the training set. We use a learning rate of 0.01 with 500 optimization iterations. The weights are parameterized via softmax to ensure simplex constraints.
Group DRO. We implement Group DRO using exponentiated gradient ascent for the adversarial distribution q q q and gradient descent for the ensemble weights w w w . The method runs for 200 iterations, utilizing a step size of η q = 0.1 \eta_q = 0.1 η q = 0.1 for the q q q update and a learning rate of η w = 0.1 \eta_w = 0.1 η w = 0.1 for the w w w update. We perform 5 inner optimization steps per iteration and optimize using the cross-entropy loss function.
IRM. For Invariant Risk Minimization, we treat each class as a distinct environment and apply the IRMv1 penalty. The model is trained for 200 iterations using a learning rate of 0.01 and a penalty weight set to λ I R M = 0.4 \lambda_{\mathrm{IRM}} = 0.4 λ IRM = 0.4 .
SRM. For Structure-informed Risk Minimization, we construct the distributional graph utilizing 2-Wasserstein distances between class-conditional prediction distributions, employing an extended feature representation of concatenated per-model predictions. We determine node importance via closeness centrality and train for 200 iterations with a KL regularization weight of λ r e g = 1.0 \lambda_{\mathrm{reg}} = 1.0 λ reg = 1.0 , using a learning rate of 0.1 for both the weights w w w and the distribution q q q .
KL-RS. For KL-Divergence-based Robust Satisficing, we employ a bisection search over the range λ ∈ [ 10 − 5 , 10 3 ] \lambda\in[10^{-5}, 10^3] λ ∈ [ 1 0 − 5 , 1 0 3 ] to identify the optimal robustness parameter λ ∗ \lambda^* λ ∗ . We set the target loss factor to τ f a c t o r = 1.1 \tau_{\mathrm{factor}} = 1.1 τ factor = 1.1 (yielding τ = 1.1 × L E R M \tau= 1.1 \times L_{\mathrm{ERM}} τ = 1.1 × L ERM ) and utilize a convergence threshold of ϵ = 10 − 3 \epsilon= 10^{-3} ϵ = 1 0 − 3 . The inner optimization process involves 300 iterations with a learning rate of 0.05.
Non-optimization Baselines. For the static methods, the Uniform Ensemble assigns equal weights w m = 1 / M w_m = 1/M w m = 1/ M for all models m ∈ [ M ] m \in[M] m ∈ [ M ] . The Accuracy-Weighted approach assigns weights proportional to the validation accuracy of each model, such that w m ∝ Acc m w_m \propto\operatorname{Acc}_m w m ∝ Acc m . Finally, the Majority Vote baseline utilizes hard voting derived from the arg max predictions of each individual model.
Dataset Splits and Partitioning
To ensure rigorous evaluation and reproducibility across our diverse experimental settings, we apply specific partitioning strategies depending on the nature of the distribution shift.
Adversarial Label Shift Datasets (SST-5 and TREC): For the SST-5 and TREC datasets, we utilize their respective official training splits as our primary foundational data. Because our adversarial shift protocol requires synthesizing specific target shifts from a held-out pool, we partition this main official train split into three subsets:
Test Pool: 10% of the primary split is reserved as the test pool (TEST_POOL_FRACTION = 0.1). We draw from this pool to synthesize the varying degrees of test-time label shift (α \alpha α ).
Validation Set: 10% of the primary split is allocated for validation purposes (VALIDATION_FRACTION = 0.1), which is utilized to identify the hardest class for the severe shift protocol.
Training Set: The remaining 80% of the primary split is used as the calibration training set to estimate the base class-conditional risks and compute the moment matrices for the ensemble.
Our SST-5 experiments utilize the official training split containing 8,544 instances. For TREC, we use the official train split consisting of 5,452 instances.
Natural Distribution Shift Datasets (CivilComments and HuffPost): For our evaluations targeting natural, real-world distribution shifts, we strictly adhere to the established benchmark splits from the WILDS framework to maintain comparability with prior literature.
HuffPost: We utilize the official temporal train and test splits provided by the WILDS benchmark, where the ensemble is calibrated on the earlier years (2012–2015, comprising 35,558 training samples) and evaluated on the subsequent years (2016–2018, comprising 23,103 test samples) to measure robustness against temporal drift.
Probability Vector Extraction and Prompt Templates
To obtain a probability distribution p m ( x ) ∈ Δ K p_m(x) \in\Delta_K p m ( x ) ∈ Δ K for a given input x x x and model m m m , we utilize a constrained log-probability scoring method. This approach bypasses the stochasticity of standard text generation and ensures valid, dense probability vectors even for smaller models that might otherwise hallucinate formats.
For each task, we map the K K K class labels to a fixed set of identifiers A = { A , B , … } \mathcal{A} = \{A, B, \ldots\} A = { A , B , … } . For every candidate identifier y k ∈ A y_k \in\mathcal{A} y k ∈ A , we construct a target continuation string s k s_k s k that represents the strictly formatted answer expected from the model (e.g., {"answer": "A"}).
We compute the scalar score z k z_k z k for class k k k as the sum of the log-probabilities of the tokens in s k s_k s k , conditioned on the input prompt x p r o m p t x_{\mathrm{prompt}} x prompt :
z k = ∑ t = 1 ∣ s k ∣ log P θ ( s k ( t ) ∣ x p r o m p t , s k ( 1 : t − 1 ) ) (12) z_k = \sum_{t=1}^{|s_k|} \log P_\theta\left(s_k^{(t)} \mid x_{\mathrm{prompt}}, s_k^{(1:t-1)}\right) \tag*{(12)} z k = t = 1 ∑ ∣ s k ∣ log P θ ( s k ( t ) ∣ x prompt , s k ( 1 : t − 1 ) ) (12)
where s k ( t ) s_k^{(t)} s k ( t ) denotes the t t t -th token of the answer string. Once the raw scores z = [ z 1 , … , z K ] \mathbf{z} = [z_1, \ldots, z_K] z = [ z 1 , … , z K ] are computed for all K K K classes, we apply a softmax function to normalize them into a probability distribution:
p m ( x ) k = exp ( z k ) ∑ j = 1 K exp ( z j ) (13) p_m(x)_k = \frac{\exp(z_k)}{\sum_{j=1}^{K} \exp(z_j)} \tag*{(13)} p m ( x ) k = ∑ j = 1 K exp ( z j ) exp ( z k ) (13)
This vector p m ( x ) \mathbf{p}_m(x) p m ( x ) is then used directly as the input to the ensemble aggregation algorithms.
We employ a standard zero-shot formatting across all models. In Figure 4 , the specific prompt templates used for each dataset can be seen.
Dataset: SST-5 (Sentiment Analysis)
[System Instruction]
You are an expert at sentiment analysis. Classify the user’s text into one of five categories: very negative, negative, neutral, positive, or very positive. Select the correct answer. Respond with ONLY a JSON object in this exact format: {"answer": "A"} where the value is A, B, C, D, or E.
[User Input]
Review: [Input Text]
Choices:
A. very negative B. negative C. neutral D. positive E. very positive
Target: {"answer": "E"}
Dataset: TREC (Question Classification)
[System Instruction]
You are an expert at question classification. Classify the user’s question into one of six categories: description and abstract concepts, entities, abbreviation, human beings, numeric values, or locations. Select the correct answer. Respond with ONLY a JSON object in this exact format: {"answer": "A"} where the value is A, B, C, D, E, or F.
[User Input]
Question: [Input Question]
Choices:
A. abbreviation B. description and abstract concepts C. entities D. human beings E. locations F. numeric values
Target: {"answer": "F"}
Dataset: CivilComments (Toxicity)
[System Instruction]
You are an expert at detecting toxic comments online. Classify whether the following comment is toxic or non-toxic. A toxic comment is rude, disrespectful, or likely to make someone leave a discussion. Respond with ONLY: {"answer": "X"} where X is A or B.
[User Input]
Comment: [Input Text]
Choices:
A. non-toxic B. toxic
Target: {"answer": "B"}
Dataset: Selective Copying (Context Position Bias)
[System Instruction]
Extract the single uppercase letter hidden in the sequence of numbers below.
[User Input — Easy split: target at END]
Sequence: [Noise Tokens] [Target Letter]
The hidden letter is: [Target Letter]
[User Input — Hard split: target in MIDDLE]
Sequence: [Noise Tokens] [Target Letter] [Noise Tokens]
The hidden letter is: [Target Letter]
Target: "X"
Dataset: HuffPost (News Categorization)
[System Instruction]
You are an expert at news classification. Classify the user’s headline into one of 9 categories. Select the correct answer. Respond with ONLY a JSON object in this exact format: {"answer": "A"} where the value is the corresponding letter.
[User Input]
Headline: [Input Headline]
Choices:
A. Black Voices B. Business C. Comedy D. Entertainment E. Science F. Travel G. Sports H. Crime I. Queer Voices
Target: {"answer": "A"}
Figure 4. Prompt templates used for the five evaluated datasets. The system instruction defines the task and response format, while the user input contains the instance and, where applicable, the answer choices. Target entries illustrate example outputs in the expected format.
A Note on Probability Calibration and the Brier Score. Constrained log-probability scoring inherently sharpens output distributions, yielding overconfident vectors that distort absolute risk. Crucially, this empirical misalignment does not compromise our theoretical guarantees. The framework’s mathematical foundation, specifically the positive semi-definiteness of the moment matrices A j A_j A j and the convergence of proximal updates, relies solely on the simplex constraint (p m ∈ Δ K p_m \in\Delta_K p m ∈ Δ K ) and the algebraic structure of the Brier score, making it entirely agnostic to perfect calibration. Miscalibration can change the numerical values of the Brier risks, but the positive-semidefiniteness and optimization results require only that p m ( x ) ∈ Δ K p_m(x) \in\Delta_K p m ( x ) ∈ Δ K ; they do not require perfectly calibrated probabilities.
Additional Experiments
In this section, we present comprehensive numerical results supplementing the main experimental evaluation. We provide granular performance breakdowns for both the adversarial distribution shift experiments (SST-5, TREC) and the natural distribution shift experiments (CivilComments, HuffPost).
Label Shift Datasets
In this subsection, we present the extended results under minority target label shift for the SST-5 and TREC datasets. We evaluate the performance stability of RSE compared to baselines across the full spectrum of shift severities, denoted by the shift magnitude parameter α ∈ [ 0 , 1 ] \alpha\in[0, 1] α ∈ [ 0 , 1 ] .
α = 0.00 \alpha= 0.00 α = 0.00 : Represents the In-Distribution setting (test distribution matches training).
α = 1.00 \alpha= 1.00 α = 1.00 : Represents the Worst-Case shift, where the test set is composed entirely of the class that is hardest for the ensemble to predict.
Statistical Significance. For SST-5 and TREC, we average the five test-draw accuracies within each randomized split and report the mean and sample standard deviation across 20 splits. All methods use the same test examples within each draw. For each baseline and shift level, we apply a two-sided paired t t t -test to the 20 split-level accuracy differences from RSE. The statistic is t = d / ( s d / 20 ) t = d/(s_d/\sqrt{20}) t = d / ( s d / 20 ) , where d d d and s d s_d s d are the mean and sample standard deviation of these differences, with 19 degrees of freedom. No multiple-testing correction is applied. Because the test uses paired differences, overlapping standard deviations of individual methods do not preclude a significant difference. These comparisons assess variability across randomized splits of the fixed dataset.
Extended Accuracy Breakdowns. For complete transparency, Tables 9 and 10 supply the granular accuracy breakdowns for both datasets. These tables include not only the primary optimization algorithms but also simple non-optimization heuristics and the raw performance of all individual constituent models in the ensemble.
We use B = 1000 B = 1000 B = 1000 paired bootstrap resamples of the fixed CivilComments test set. Each resample contains the original number of observations sampled with replacement, with identical sampled indices used for all methods and ensemble weights held fixed. Overall accuracy and WGA are recomputed in each resample; WGA is the minimum accuracy over groups present in that resample. We report bootstrap means and standard deviations. For each baseline, the one-sided bootstrap tail fraction is p ^ t a i l = B − 1 ∑ b = 1 B 1 { T b b a s e l i n e ≥ T b R S E } \hat{p}_{\mathrm{tail}} = B^{-1}\sum_{b=1}^{B} 1\{T_b^{\mathrm{baseline}} \ge T_b^{\mathrm{RSE}}\} p ^ tail = B − 1 ∑ b = 1 B 1 { T b baseline ≥ T b RSE } , where T T T is the evaluated metric. This provides an approximate bootstrap comparison conditional on the fitted ensembles; no multiple-testing correction is applied.
Table 9. SST-5: Detailed accuracy (%) for all methods and individual models across shift magnitudes. Bold indicates the best ensemble results at the displayed precision.
Table 10. TREC: Detailed accuracy breakdown for all methods and individual models across shift magnitudes.
Statistical Significance. Table 11 reports bootstrap mean overall accuracy and WGA. RSE outperforms all five optimization baselines in both metrics, with one-sided bootstrap tail fractions below 0.01. Its mean WGA exceeds DRO’s by 2.0 percentage points, while also achieving higher overall accuracy.
Detailed Subpopulation Breakdown. For granular transparency, Table 12 details the accuracy across the eight specific demographic groups. RSE consistently dominates or matches the best performance across almost all individual groups, demonstrating broad robustness across diverse subpopulations rather than over-optimizing for a single demographic.
Temporal Shift: HuffPost
In this subsection, we evaluate robustness against temporal distribution shifts using the HuffPost dataset. Models are trained on articles published between 2012 and 2015, and evaluated on subsequent years (2016–2018). As with the subpopulation shift analysis, we employ non-parametric bootstrap resampling (B = 1000 B = 1000 B = 1000 iterations) on the test predictions to rigorously compute statistical significance over the fixed temporal split.
Statistical Significance. Table 13 presents the bootstrapped Overall Accuracy and Worst-Year Accuracy (WYA). RSE yields statistically significant improvements across both metrics. Notably, RSE maintains a definitive edge (p < 0.05 p < 0.05 p < 0.05 ) in worst-year performance even against strong invariant-learning baselines like IRM and SRM, while vastly outperforming DRO (p < 0.01 p < 0.01 p < 0.01 ). This confirms that explicitly optimizing for ensemble stability translates directly into resilience against chronological data drift.
Detailed Temporal Breakdown. For granular transparency, Table 14 details the accuracy for each specific year in the test phase. RSE shows consistent temporal resilience, achieving the best absolute performance in every single evaluation year (2016, 2017, and 2018) compared to all optimization baselines and individual constituent models.
Additional Aspiration Level Sensitivity Analysis
In this section, we extend the sensitivity analysis of the aspiration level τ \tau τ to the TREC dataset to verify the generalizability of the observations made on SST-5.
TREC Dataset
Figure 5 illustrates the performance on TREC. Similar to the SST-5 results, we observe a trade-off governed by τ \tau τ . Under severe shift (Figure 5a), increasing τ \tau τ generally improves robustness.
Conversely, in the absence of distribution shift (Figure 5 b), aggressive constraints (higher τ \tau τ ) can lead to a slight degradation in in-distribution accuracy.
Figure 5. Sensitivity of RSE to aspiration level τ \tau τ on the TREC dataset. (a) Performance under severe shift. (b) Performance under no shift.
Sensitivity to Model-Pool Composition
We examine whether the performance of RSE depends on the size or composition of the constituent-model pool. Starting from the original eight-model ensemble used in the main experiments, we construct five alternative pool settings while retaining the same label-shift evaluation protocol.
Pool construction. For leave-one-out , each of the eight original predictors is removed once, producing eight seven-model pools. For random subsets , we consider pool sizes from 2 through 7 and sample up to eight distinct subsets at each size. These settings test sensitivity to both pool size and the particular combination of available predictors.
For the correlated setting , we identify the predictor with the highest validation accuracy and append four near-duplicate copies. Each copy is formed by adding independent Gaussian noise to the model’s log-probabilities, followed by renormalization. This preserves predictions close to those of the original model while substantially increasing redundancy within the pool.
For the uncalibrated setting, we append four temperature-scaled predictors using
T ∈ { 0.15 , 0.25 , 4.0 , 8.0 } . T \in\{0.15, 0.25, 4.0, 8.0\}. T ∈ { 0.15 , 0.25 , 4.0 , 8.0 } .
Given a probability vector p \mathbf{p} p , temperature scaling is applied as
p ~ = softmax ( log p T ) . \widetilde{\mathbf{p}} = \operatorname{softmax}\left(\frac{\log\mathbf{p}}{T}\right). p = softmax ( T log p ) .
Since all temperatures are positive, this transformation preserves the predicted class while altering the confidence of the probability vector. Temperatures below one make predictions more concentrated, whereas temperatures above one make them less concentrated.
For the weak-model setting, we use five additional real LLMs that are available for both SST-5 and TREC but are not members of the original eight-model pools. These are Falcon3-10B, Llama-3.1-8B, Phi-3-mini, Qwen3-8B, and Qwen3-14B. We rank the five candidates by their mean held-out validation accuracy across the experimental splits and append the three lowest-performing models to the original pool, resulting in an eleven-model ensemble. The target class used to construct the label shift is determined from the original eight-model pool and is therefore unchanged when the weak models are added.
All variants use the same underlying train, validation, and shifted-test construction as the corresponding main experiments. The reported scenario-level values average performance across the evaluated shift severities and the relevant pool configurations.
As shown in Table 15 , the SST-5 results are consistent with the TREC results in Table 5 . RSE attains the highest mean accuracy in every evaluated pool configuration, including substantial reductions in pool size and the addition of redundant, miscalibrated, or weak predictors. These results indicate that the gains of RSE are not tied to a particular choice of the original eight constituent models.
Table 15. Sensitivity to model-pool composition on SST-5. Mean accuracy (%) across the full shift-severity spectrum. We modify the original eight-model pool through leave-one-out removal, random subsets, or the addition of correlated, uncalibrated, or weak predictors. The highest mean accuracy in each row is in bold .
Input Shift: Selective Copying
Real-world sequence-processing and retrieval-augmented systems often suffer from the “Lost in the Middle” phenomenon, where pre-trained models attend poorly to information positioned in the center of extended input contexts [41 ] . To formalize this vulnerability against input shifts, we constructed a synthetic Selective Copying extraction task where models must identify a single target class hidden within a sequence of 500 noise tokens. We calibrated the ensemble on 500 input sequences where the target information was located at the end. We then evaluated the framework on a shifted test set of 500 sequences where the critical context was buried in the exact middle .
Model Selection for Selective Copying. Across all adversarial and natural distribution shift experiments, we utilize a fixed suite of 8 models (including Gemma-3-12B-Instruct). However, evaluating input shift via Selective Copying requires constituent models that actually fail to positional sequence bias. Gemma-3-12B-Instruct demonstrates an unusually high native resilience to extraction failures within 500-token noise sequences. Including it masks the aggregation dynamics we aim to isolate, as the task would merely measure the performance of a single natively robust model. To construct a rigorous testbed where constituent models natively suffer from middle-context extraction failures, we substituted Gemma-3-12B-Instruct with Llama-3.1-8B-Instruct.
Results. RSE outperformed ERM by +6.6% and DRO by +5.0% , effectively mitigating position-induced extraction failures. Non-optimization baselines collapse because they cannot selectively downweight the majority of individual models that exploit the positional bias present in the calibration set.
Statistical Significance. Because the evaluation relies on a single fixed, shifted test set, we utilize non-parametric bootstrap resampling (B = 1000 B = 1000 B = 1000 iterations) to estimate variance and statistical significance. Table 18 details the bootstrapped accuracy across all baselines.
Table 18. Significance testing on the Selective Copying task under input shift. We report mean accuracy (%) ± standard deviation obtained via B = 1000 B = 1000 B = 1000 bootstrap resamples of the shifted test set. The highest accuracy is marked in bold . Statistical significance against our proposed method (RSE) is determined via a one-sided bootstrap hypothesis test: * denotes p < 0.05 p < 0.05 p < 0.05 and ** denotes p < 0.01 p < 0.01 p < 0.01 . RSE significantly outperforms both individual models and all ensemble baselines.
Runtime and Memory Scaling
We further evaluate the computational scaling of RSE as the number of constituent models M M M and the number of classes K K K increase. These experiments are controlled computational stress tests based on synthetic probability tensors. Their purpose is to isolate the aggregation cost of RSE rather than to evaluate predictive performance on an additional classification benchmark.
Experimental setup. We generate prediction tensors of shape M × N × K M \times N \times K M × N × K with approximately balanced class labels. For each model, logits are initialized with independent Gaussian noise and the logit corresponding to the true class is increased by a model-specific signal sampled uniformly from [ 0.8 , 2.2 ] [0.8, 2.2] [ 0.8 , 2.2 ] . We additionally introduce a small model-specific class bias before applying a numerically stable softmax. This produces diverse, non-degenerate probability vectors while allowing M M M and K K K to be varied independently.
We consider two scaling experiments. For model-count scaling, we fix N = 10,000 N = 10{,}000 N = 10 , 000 and K = 10 K = 10 K = 10 and vary
M ∈ { 2 , 4 , 8 , 16 , 32 , 64 } . M \in\{2, 4, 8, 16, 32, 64\}. M ∈ { 2 , 4 , 8 , 16 , 32 , 64 } .
For class-count scaling, we fix N = 10,000 N = 10{,}000 N = 10 , 000 and M = 16 M = 16 M = 16 and report
K ∈ { 5 , 10 , 20 , 50 , 100 } . K \in\{5, 10, 20, 50, 100\}. K ∈ { 5 , 10 , 20 , 50 , 100 } .
Each configuration is repeated three times with independent random seeds.
We separately measure the one-time construction of the class-conditional moment statistics { A j , b j } j = 1 K \{A_j, b_j\}_{j=1}^{K} { A j , b j } j = 1 K and the subsequent RSE weight optimization using these cached quantities. Synthetic tensor generation is excluded from all timing measurements, as is base-model inference, which is a shared offline cost in the real-data experiments. The benchmark uses the same project implementation of the RSE moment computation and proximal solver as the main experiments. We use a Lagrange–Bürmann truncation order and solver configuration consistent with the RSE implementation, with aspiration interpolation fraction 0.1, maximum iteration count 2000, convergence tolerance 10 − 4 10^{-4} 1 0 − 4 , and proximal stepsize 0.2.
The memory comparison reports two quantities. “Stats” is the exact memory occupied by the cached matrices and vectors { A j , b j } j = 1 K \{A_j, b_j\}_{j=1}^{K} { A j , b j } j = 1 K , which scales as O ( M 2 K ) O(M^2K) O ( M 2 K ) . “Cache” is the memory required to retain the complete M × N × K M \times N \times K M × N × K prediction tensor together with the labels. Thus, the reported memory values measure the objects that must be retained for the corresponding computation rather than process-level memory of the Python runtime.
Table 16 shows that the optimization stage grows only moderately as the model pool becomes substantially larger. At M = 64 M = 64 M = 64 , the one-time moment construction takes 0.60 s and the subsequent optimization takes 0.66 s. The cached RSE statistics require 324.6 KB, compared with 24.5 MB for retaining the complete prediction cache.
Table 16 : RSE runtime and memory scaling with the number of models. The experiment fixes N = 10,000 N = 10{,}000 N = 10 , 000 and K = 10 K = 10 K = 10 and varies M M M . Runtime is reported as mean ± standard deviation over three runs. “Moment” denotes the one-time construction of { A j , b j } j = 1 K \{A_j, b_j\}_{j=1}^{K} { A j , b j } j = 1 K and “Opt.” denotes the subsequent RSE optimization. Times exclude synthetic tensor generation and base-model inference.
Table 16.
Table 17 shows the corresponding behavior as the number of classes increases. At K = 100 K = 100 K = 100 , moment construction requires 0.27 s and optimization requires 1.77 s, while the cached sufficient statistics occupy only 213.0 KB compared with a 61.1 MB prediction cache.
Table 17. RSE runtime and memory scaling with the number of classes. The experiment fixes N = 10,000 N = 10{,}000 N = 10 , 000 and M = 16 M = 16 M = 16 and varies K K K . Runtime is reported as mean ± standard deviation over three runs. “Moment” denotes the one-time construction of { A j , b j } j = 1 K \{A_j, b_j\}_{j=1}^{K} { A j , b j } j = 1 K and “Opt.” denotes the subsequent RSE optimization. Times exclude synthetic tensor generation and base-model inference.
Overall, these experiments support the computational scaling claim in the main paper. Once the one-time moments have been constructed, RSE operates only on the cached sufficient statistics, whose storage is O ( M 2 K ) O(M^{2}K) O ( M 2 K ) and does not depend on the number of calibration samples N N N . The increasing moment-construction cost with M M M is expected because constructing A j ∈ R M × M A_j \in\mathbb{R}^{M \times M} A j ∈ R M × M requires the pairwise model moments.
Expanding Theoretical Scope Beyond Label Shift
The main formulation indexes distribution shift by the class label because labels provide a natural and universally available finite shift index. However, the RSE construction is not intrinsically restricted to labels. The same formulation applies whenever the anticipated distribution shift can be represented as a change in the proportions of a fixed finite set of cells.
Finite-cell reindexing. Let S ∈ S : = { 1 , … , E } S \in\mathcal{S} := \{1, \ldots, E\} S ∈ S := { 1 , … , E } denote a finite cell index. Depending on the application, these cells may represent demographic groups, domains, environments, time periods, or joint label–group cells. We assume that the cells form a fixed partition and that the shift changes their mixture proportions while preserving the cell-conditional distributions. In particular,
P t a r g e t ( X , Y ∣ S = s ) = P r e f ( X , Y ∣ S = s ) , s = 1 , … , E , P_{\mathrm{target}}(X,Y \mid S=s) = P_{\mathrm{ref}}(X,Y \mid S=s), \qquad s=1,\ldots,E, P target ( X , Y ∣ S = s ) = P ref ( X , Y ∣ S = s ) , s = 1 , … , E ,
while the marginal distribution of S S S may change.
For each cell s s s , define the cell-conditional risk
r G ( w , s ) : = E X , Y ∣ S = s [ L ( Y , p ^ w ( X ) ) ] . (14) r_G(\mathbf{w},s) := \mathbb{E}_{X,Y\mid S=s}\left[L\left(Y,\widehat{\mathbf{p}}_{\mathbf{w}}(X)\right)\right]. \tag*{(14)} r G ( w , s ) := E X , Y ∣ S = s [ L ( Y , p w ( X ) ) ] . (14)
Collecting these quantities gives
r G ( w ) = ( r G ( w , 1 ) , … , r G ( w , E ) ) ⊤ . \mathbf{r}_G(\mathbf{w})=\left(r_G(\mathbf{w},1),\ldots,r_G(\mathbf{w},E)\right)^{\top}. r G ( w ) = ( r G ( w , 1 ) , … , r G ( w , E ) ) ⊤ .
Let
q = ( q 1 , … , q E ) ⊤ ∈ Δ E , q s = P ( S = s ) , \mathbf{q}=(q_1,\ldots,q_E)^{\top}\in\Delta_E,\qquad q_s=P(S=s), q = ( q 1 , … , q E ) ⊤ ∈ Δ E , q s = P ( S = s ) ,
and let q r e f G ∈ Δ E \mathbf{q}_{\mathrm{ref}}^G\in\Delta_E q ref G ∈ Δ E denote the reference cell distribution. The corresponding mixture risk is
R G ( w , q ) = ∑ s = 1 E q s r G ( w , s ) = q ⊤ r G ( w ) . (15) R_G(\mathbf{w},\mathbf{q})=\sum_{s=1}^{E}q_s r_G(\mathbf{w},s)=\mathbf{q}^{\top}\mathbf{r}_G(\mathbf{w}). \tag*{(15)} R G ( w , q ) = s = 1 ∑ E q s r G ( w , s ) = q ⊤ r G ( w ) . (15)
The robust satisficing fragility is therefore defined exactly as in Definition 2.1,
κ τ , G ( w ) : = inf { κ ≥ 0 : R G ( w , q ) ≤ τ + κ D K L ( q ∥ q r e f G ) , ∀ q ∈ Δ E } . (16) \kappa_{\tau,G}(\mathbf{w}):=\inf\left\{\kappa\geq0:R_G(\mathbf{w},\mathbf{q})\leq\tau+\kappa D_{\mathrm{KL}}(\mathbf{q}\Vert\mathbf{q}_{\mathrm{ref}}^G),\quad\forall\mathbf{q}\in\Delta_E\right\}. \tag*{(16)} κ τ , G ( w ) := inf { κ ≥ 0 : R G ( w , q ) ≤ τ + κ D KL ( q ∥ q ref G ) , ∀ q ∈ Δ E } . (16)
In the well-posed interior regime, this is equivalently
κ τ , G ( w ) = sup q ∈ Δ E , q ≠ q r e f G q ⊤ r G ( w ) − τ D K L ( q ∥ q r e f G ) . (17) \kappa_{\tau,G}(\mathbf{w})=\sup_{\mathbf{q}\in\Delta_E,\ \mathbf{q}\ne\mathbf{q}_{\mathrm{ref}}^G}\frac{\mathbf{q}^{\top}\mathbf{r}_G(\mathbf{w})-\tau}{D_{\mathrm{KL}}(\mathbf{q}\Vert\mathbf{q}_{\mathrm{ref}}^G)}. \tag*{(17)} κ τ , G ( w ) = q ∈ Δ E , q = q ref G sup D KL ( q ∥ q ref G ) q ⊤ r G ( w ) − τ . (17)
As in Remark 2.2, this immediately gives the shift-dependent certificate
sup q ∈ Δ E : D K L ( q ∥ q r e f G ) ≤ ε R G ( w , q ) ≤ τ + κ τ , G ( w ) ε . (18) \sup_{\mathbf{q}\in\Delta_E:D_{\mathrm{KL}}(\mathbf{q}\Vert\mathbf{q}_{\mathrm{ref}}^G)\leq\varepsilon}R_G(\mathbf{w},\mathbf{q})\leq\tau+\kappa_{\tau,G}(\mathbf{w})\varepsilon. \tag*{(18)} q ∈ Δ E : D KL ( q ∥ q ref G ) ≤ ε sup R G ( w , q ) ≤ τ + κ τ , G ( w ) ε . (18)
Thus, whenever a distribution shift can be represented as a change in the mixture proportions of fixed cells with stable cell-conditional distributions, RSE directly provides the same type of robustness certificate as in the label-shift formulation.
Quadratic Brier-risk structure. The Brier-score construction also carries over without modification. Define
P ( x ) : = [ p 1 ( x ) ⋯ p M ( x ) ] ∈ R K × M . P(x):=[\mathbf{p}_1(x)\ \cdots\ \mathbf{p}_M(x)]\in\mathbb{R}^{K\times M}. P ( x ) := [ p 1 ( x ) ⋯ p M ( x )] ∈ R K × M .
Then
p ^ w ( x ) = P ( x ) w . \widehat{\mathbf{p}}_{\mathbf{w}}(x)=P(x)\mathbf{w}. p w ( x ) = P ( x ) w .
Using the Brier loss gives
r G ( w , s ) = E X , Y ∣ S = s [ ∥ e Y − P ( X ) w ∥ 2 2 ] = w ⊤ A s w + b s ⊤ w + 1 , (19) \begin{aligned}
r_G(\mathbf{w},s)&=\mathbb{E}_{X,Y\mid S=s}\left[\left\|\mathbf{e}_Y-P(X)\mathbf{w}\right\|_2^2\right]\\
&=\mathbf{w}^{\top}A_s\mathbf{w}+\mathbf{b}_s^{\top}\mathbf{w}+1, \tag*{(19)}
\end{aligned} r G ( w , s ) = E X , Y ∣ S = s [ ∥ e Y − P ( X ) w ∥ 2 2 ] = w ⊤ A s w + b s ⊤ w + 1 , (19)
where
A s = E [ P ( X ) ⊤ P ( X ) ∣ S = s ] , b s = − 2 E [ P ( X ) ⊤ e Y ∣ S = s ] . (20) A_s=\mathbb{E}\left[P(X)^{\top}P(X)\mid S=s\right],\qquad\mathbf{b}_s=-2\mathbb{E}\left[P(X)^{\top}\mathbf{e}_Y\mid S=s\right]. \tag*{(20)} A s = E [ P ( X ) ⊤ P ( X ) ∣ S = s ] , b s = − 2 E [ P ( X ) ⊤ e Y ∣ S = s ] . (20)
For any v ∈ R M \mathbf{v}\in\mathbb{R}^M v ∈ R M ,
v ⊤ A s v = E [ ∥ P ( X ) v ∥ 2 2 ∣ S = s ] ≥ 0 , \mathbf{v}^{\top}A_s\mathbf{v}=\mathbb{E}\left[\left\|P(X)\mathbf{v}\right\|_2^2\mid S=s\right]\geq0, v ⊤ A s v = E [ ∥ P ( X ) v ∥ 2 2 ∣ S = s ] ≥ 0 ,
so A s ⪰ 0 A_s\succeq0 A s ⪰ 0 . Hence the same convex quadratic structure used by RSE is preserved after reindexing from classes to cells.
KL adversary and scalar fragility root. For fixed w w w and κ > 0 \kappa> 0 κ > 0 , the KL-penalized inner problem becomes
Φ G ( κ ; w ) = sup q ∈ Δ E { q T r G ( w ) − κ D K L ( q ∥ q r e f G ) } . (21) \Phi_G(\kappa; w) = \sup_{q \in\Delta_E} \left\{ \mathbf{q}^{\mathsf{T}} r_G(w) - \kappa D_{\mathrm{KL}}(q \| q_{\mathrm{ref}}^G) \right\}. \tag*{(21)} Φ G ( κ ; w ) = q ∈ Δ E sup { q T r G ( w ) − κ D KL ( q ∥ q ref G ) } . (21)
Assuming
( q r e f G ) s > 0 , s = 1 , … , E , (q_{\mathrm{ref}}^G)_s > 0, \qquad s = 1,\ldots,E, ( q ref G ) s > 0 , s = 1 , … , E ,
the KKT derivation of Lemma 3.1 is unchanged and yields
( q G ⋆ ) s = ( q r e f G ) s exp ( r G ( w , s ) / κ ) ∑ ℓ = 1 E ( q r e f G ) ℓ exp ( r G ( w , ℓ ) / κ ) . (22) (q_G^\star)_s = \frac{(q_{\mathrm{ref}}^G)_s \exp\left(r_G(w,s)/\kappa\right)}{\sum_{\ell=1}^{E}(q_{\mathrm{ref}}^G)_\ell\exp\left(r_G(w,\ell)/\kappa\right)}. \tag*{(22)} ( q G ⋆ ) s = ∑ ℓ = 1 E ( q ref G ) ℓ exp ( r G ( w , ℓ ) / κ ) ( q ref G ) s exp ( r G ( w , s ) / κ ) . (22)
The corresponding optimal value is
Φ G ( κ ; w ) = κ log ( ∑ s = 1 E ( q r e f G ) s exp ( r G ( w , s ) / κ ) ) . (23) \Phi_G(\kappa; w) = \kappa\log\left(\sum_{s=1}^{E}(q_{\mathrm{ref}}^G)_s \exp\left(r_G(w,s)/\kappa\right)\right). \tag*{(23)} Φ G ( κ ; w ) = κ log ( s = 1 ∑ E ( q ref G ) s exp ( r G ( w , s ) / κ ) ) . (23)
Define the cell-indexed well-posed region
W τ , G = { w : R G ( w , q r e f G ) < τ < max s r G ( w , s ) } . (24) \mathcal{W}_{\tau,G} = \left\{w : R_G(w,\mathbf{q}_{\mathrm{ref}}^G) < \tau< \max_s r_G(w,s)\right\}. \tag*{(24)} W τ , G = { w : R G ( w , q ref G ) < τ < s max r G ( w , s ) } . (24)
For w ∈ W τ , G w \in\mathcal{W}_{\tau,G} w ∈ W τ , G , the same existence and uniqueness argument as in Appendix G gives a unique positive root
τ = κ τ , G ( w ) log ( ∑ s = 1 E ( q r e f G ) s exp ( r G ( w , s ) κ τ , G ( w ) ) ) . (25) \tau= \kappa_{\tau,G}(w) \log\left(\sum_{s=1}^{E}(q_{\mathrm{ref}}^G)_s \exp\left(\frac{r_G(w,s)}{\kappa_{\tau,G}(w)}\right)\right). \tag*{(25)} τ = κ τ , G ( w ) log ( s = 1 ∑ E ( q ref G ) s exp ( κ τ , G ( w ) r G ( w , s ) ) ) . (25)
Lagrange–Bürmann expansion. The expansion in Proposition 3.3 also changes only by reindexing. Set
α s : = r G ( w , s ) , τ 0 , G : = R G ( w , q r e f G ) , \alpha_s := r_G(w,s), \qquad\tau_{0,G} := R_G(w,\mathbf{q}_{\mathrm{ref}}^G), α s := r G ( w , s ) , τ 0 , G := R G ( w , q ref G ) ,
and define f G : R → R f_G : \mathbb{R} \to\mathbb{R} f G : R → R by f G ( 0 ) : = τ 0 , G f_G(0) := \tau_{0,G} f G ( 0 ) := τ 0 , G and
f G ( u ) : = 1 u log ( ∑ s = 1 E ( q r e f G ) s e α s u ) for u ≠ 0. f_G(u) := \frac{1}{u}\log\left(\sum_{s=1}^{E}(q_{\mathrm{ref}}^G)_s e^{\alpha_s u}\right) \qquad\text{for } u \ne0. f G ( u ) := u 1 log ( s = 1 ∑ E ( q ref G ) s e α s u ) for u = 0.
Its expansion around u = 0 u = 0 u = 0 is
f G ( u ) = τ 0 , G + a 2 , G u + a 3 , G u 2 + ⋯ , f_G(u) = \tau_{0,G} + a_{2,G}u + a_{3,G}u^2 + \cdots, f G ( u ) = τ 0 , G + a 2 , G u + a 3 , G u 2 + ⋯ ,
where
a 2 , G = 1 2 ∑ s = 1 E ( q r e f G ) s ( α s − τ 0 , G ) 2 . (26) a_{2,G} = \frac{1}{2}\sum_{s=1}^{E}(q_{\mathrm{ref}}^G)_s(\alpha_s-\tau_{0,G})^2. \tag*{(26)} a 2 , G = 2 1 s = 1 ∑ E ( q ref G ) s ( α s − τ 0 , G ) 2 . (26)
When the cell risks are non-degenerate so that a 2 , G > 0 a_{2,G} > 0 a 2 , G > 0 , the same Lagrange–Bürmann inverse expansion and the same geometric truncation analysis in Proposition 3.3 and Corollary 3.4 apply after replacing the class index j j j by the cell index s s s and K K K by E E E .
Proximal RSE guarantees. The proximal weight update is also unchanged. With
A a d v , t = ∑ s = 1 E ( q G , t ⋆ ) s A s , b a d v , t = ∑ s = 1 E ( q G , t ⋆ ) s b s , \mathbf{A}_{\mathrm{adv},t} = \sum_{s=1}^{E}(q_{G,t}^\star)_s\mathbf{A}_s, \qquad\mathbf{b}_{\mathrm{adv},t} = \sum_{s=1}^{E}(q_{G,t}^\star)_s\mathbf{b}_s, A adv , t = s = 1 ∑ E ( q G , t ⋆ ) s A s , b adv , t = s = 1 ∑ E ( q G , t ⋆ ) s b s ,
the adversarially tilted risk remains a convex quadratic because A s ⪰ 0 \mathbf{A}_s \succeq0 A s ⪰ 0 for every cell. The convergence analysis uses the identity
∇ w Φ G ( κ ; w ) = ∑ s = 1 E ( q G ⋆ ) s ∇ w r G ( w , s ) , (27) \nabla_w\Phi_G(\kappa; w) = \sum_{s=1}^{E}(q_{G}^\star)_s\nabla_w r_G(w,s), \tag*{(27)} ∇ w Φ G ( κ ; w ) = s = 1 ∑ E ( q G ⋆ ) s ∇ w r G ( w , s ) , (27)
together with the smooth scalar KL root and the positive-semidefinite quadratic risk. Therefore, Propositions 3.5 and 3.6 carry over under their corresponding assumptions after replacing W τ \mathcal{W}_\tau W τ by W τ , G \mathcal{W}_{\tau,G} W τ , G and the class-indexed moments by their cell-indexed counterparts. The per-iteration complexity becomes
O ( M 2 E + M 3 ) , O(M^2E + M^3), O ( M 2 E + M 3 ) ,
while the optimization loop remains independent of the number of calibration samples.
Learned cells and covariate shifts. The cell index need not correspond to observed metadata. When robustness to a covariate shift is desired, a fixed partition can instead be defined from input features, metadata, or learned representations. For example, an unsupervised clustering model may be fitted on the calibration data and its fixed assignment rule used to define the cells. If the resulting cell-conditional distributions remain stable at deployment, changes in the input distribution are represented through changes in the cell mixture coefficients and are therefore covered by the finite-cell formulation above.
This view is related to latent label shift [42 ] , which studies settings where latent-class proportions vary while the corresponding class-conditional distributions remain fixed. It is also related to GEORGE [43 ] , which constructs proxy subclasses by clustering learned representations and then uses these proxy groups in a robust optimization objective. These works support the use of learned finite partitions when the relevant shift structure is not directly observed.
Empirical Robustness Beyond the Explicit Extension
The natural-shift experiments in the main paper use the base label-indexed RSE objective rather than requiring explicit group or domain metadata in the optimization. Their performance under subpopulation and temporal shift therefore provides empirical evidence of cross-shift robustness beyond the strict label-shift model.
One possible explanation is that broader distribution shifts can induce systematic changes in class-wise risks, so reducing sensitivity to the label-risk profile can also act as a useful regularizer under related shifts. This interpretation is consistent with prior work showing that label-shift adaptation over expanded or joint label spaces can mitigate some shifts induced by spurious correlations [44 ] . These empirical results should be distinguished from the formal finite-cell guarantee above, which applies when the shift is represented as changing proportions of fixed cells with stable cell-conditional distributions.
Derivation of the Quadratic Risk Form
In this section we show that for each class y j ∈ Y y_j \in\mathcal{Y} y j ∈ Y , the matrix A j ∈ R M × M A_j \in\mathbb{R}^{M \times M} A j ∈ R M × M defined in § 3.1 is positive semidefinite.
Explicit definition of the matrix A j A_j A j
Fix a class index j ∈ { 1 , … , K } j \in\{1,\ldots,K\} j ∈ { 1 , … , K } . Let X X X be a random input drawn from the class-conditional distribution P ( X ∣ Y = y j ) P(X \mid Y = y_j) P ( X ∣ Y = y j ) .
For each model m ∈ { 1 , … , M } m \in\{1,\ldots,M\} m ∈ { 1 , … , M } , the model output is a probability vector
p m ( X ) = [ p m , 1 ( X ) ⋮ p m , K ( X ) ] ∈ R K , p m , k ( X ) ≥ 0 , ∑ k = 1 K p m , k ( X ) = 1. \mathbf{p}_m(X) =
\begin{bmatrix}
p_{m,1}(X) \\
\vdots\\
p_{m,K}(X)
\end{bmatrix}
\in\mathbb{R}^{K},
\qquad
p_{m,k}(X) \ge0,
\qquad
\sum_{k=1}^{K} p_{m,k}(X) = 1. p m ( X ) = p m , 1 ( X ) ⋮ p m , K ( X ) ∈ R K , p m , k ( X ) ≥ 0 , k = 1 ∑ K p m , k ( X ) = 1.
The matrix A j A_j A j is defined entrywise as
( A j ) a b = E X ∣ Y = y j [ p a ( X ) T p b ( X ) ] , a , b ∈ { 1 , … , M } . (A_j)_{ab} = \mathbb{E}_{X \mid Y=y_j}\left[\mathbf{p}_a(X)^{\mathsf{T}}\mathbf{p}_b(X)\right],
\qquad a,b \in\{1,\ldots,M\}. ( A j ) ab = E X ∣ Y = y j [ p a ( X ) T p b ( X ) ] , a , b ∈ { 1 , … , M } .
We assume E X ∣ Y = y j [ ∥ p m ( X ) ∥ 2 2 ] < ∞ \mathbb{E}_{X \mid Y=y_j}\left[\lVert\mathbf{p}_m(X)\rVert_2^2\right] < \infty E X ∣ Y = y j [ ∥ p m ( X ) ∥ 2 2 ] < ∞ for all m m m , which holds automatically here since p m ( X ) \mathbf{p}_m(X) p m ( X ) has nonnegative entries and ∑ k = 1 K p m , k ( X ) = 1 \sum_{k=1}^{K} p_{m,k}(X) = 1 ∑ k = 1 K p m , k ( X ) = 1 , hence ∥ p m ( X ) ∥ 2 2 = ∑ k = 1 K p m , k ( X ) 2 ≤ ∑ k = 1 K p m , k ( X ) = 1 \lVert\mathbf{p}_m(X)\rVert_2^2 = \sum_{k=1}^{K} p_{m,k}(X)^2 \le\sum_{k=1}^{K} p_{m,k}(X) = 1 ∥ p m ( X ) ∥ 2 2 = ∑ k = 1 K p m , k ( X ) 2 ≤ ∑ k = 1 K p m , k ( X ) = 1 .
Expanding the dot product coordinate-wise yields
p a ( X ) T p b ( X ) = ∑ k = 1 K p a , k ( X ) p b , k ( X ) , \mathbf{p}_a(X)^{\mathsf{T}}\mathbf{p}_b(X)
=
\sum_{k=1}^{K} p_{a,k}(X)\,p_{b,k}(X), p a ( X ) T p b ( X ) = k = 1 ∑ K p a , k ( X ) p b , k ( X ) ,
and therefore
( A j ) a b = ∑ k = 1 K E X ∣ Y = y j [ p a , k ( X ) p b , k ( X ) ] . (A_j)_{ab}
=
\sum_{k=1}^{K}
\mathbb{E}_{X \mid Y=y_j}\left[p_{a,k}(X)\,p_{b,k}(X)\right]. ( A j ) ab = k = 1 ∑ K E X ∣ Y = y j [ p a , k ( X ) p b , k ( X ) ] .
Thus A j A_j A j is the M × M M \times M M × M matrix
A j = [ E X ∣ Y = y j [ p 1 ( X ) T p 1 ( X ) ] ⋯ E X ∣ Y = y j [ p 1 ( X ) T p M ( X ) ] ⋮ ⋱ ⋮ E X ∣ Y = y j [ p M ( X ) T p 1 ( X ) ] ⋯ E X ∣ Y = y j [ p M ( X ) T p M ( X ) ] ] . A_j =
\begin{bmatrix}
\mathbb{E}_{X\mid Y=y_j}[\mathbf{p}_1(X)^{\mathsf{T}}\mathbf{p}_1(X)] & \cdots& \mathbb{E}_{X\mid Y=y_j}[\mathbf{p}_1(X)^{\mathsf{T}}\mathbf{p}_M(X)] \\
\vdots& \ddots& \vdots\\
\mathbb{E}_{X\mid Y=y_j}[\mathbf{p}_M(X)^{\mathsf{T}}\mathbf{p}_1(X)] & \cdots& \mathbb{E}_{X\mid Y=y_j}[\mathbf{p}_M(X)^{\mathsf{T}}\mathbf{p}_M(X)]
\end{bmatrix}. A j = E X ∣ Y = y j [ p 1 ( X ) T p 1 ( X )] ⋮ E X ∣ Y = y j [ p M ( X ) T p 1 ( X )] ⋯ ⋱ ⋯ E X ∣ Y = y j [ p 1 ( X ) T p M ( X )] ⋮ E X ∣ Y = y j [ p M ( X ) T p M ( X )] .
Moreover, A j A_j A j is symmetric because for any a , b a,b a , b ,
( A j ) a b = E X ∣ Y = y j [ p a ( X ) T p b ( X ) ] = E X ∣ Y = y j [ p b ( X ) T p a ( X ) ] = ( A j ) b a , (A_j)_{ab}=\mathbb{E}_{X\mid Y=y_j}[\mathbf{p}_a(X)^{\mathsf{T}}\mathbf{p}_b(X)]=\mathbb{E}_{X\mid Y=y_j}[\mathbf{p}_b(X)^{\mathsf{T}}\mathbf{p}_a(X)]=(A_j)_{ba}, ( A j ) ab = E X ∣ Y = y j [ p a ( X ) T p b ( X )] = E X ∣ Y = y j [ p b ( X ) T p a ( X )] = ( A j ) ba ,
where we used p a ( X ) T p b ( X ) = p b ( X ) T p a ( X ) \mathbf{p}_a(X)^{\mathsf{T}}\mathbf{p}_b(X)=\mathbf{p}_b(X)^{\mathsf{T}}\mathbf{p}_a(X) p a ( X ) T p b ( X ) = p b ( X ) T p a ( X ) for real vectors.
Positive semidefiniteness via the quadratic form
Recall that a symmetric matrix H ∈ R M × M \mathbf{H} \in\mathbb{R}^{M \times M} H ∈ R M × M is PSD if v T H v ≥ 0 \mathbf{v}^{\mathsf{T}}\mathbf{H}\mathbf{v} \ge0 v T Hv ≥ 0 for all v ∈ R M \mathbf{v} \in\mathbb{R}^{M} v ∈ R M .
Let v = ( v 1 , … , v M ) T ∈ R M \mathbf{v}=(v_1,\ldots,v_M)^{\mathsf{T}}\in\mathbb{R}^{M} v = ( v 1 , … , v M ) T ∈ R M be an arbitrary vector in R M \mathbb{R}^{M} R M .
v T A j v = ∑ a = 1 M ∑ b = 1 M v a ( A j ) a b v b = ∑ a = 1 M ∑ b = 1 M v a v b E X ∣ Y = y j [ p a ( X ) T p b ( X ) ] . \begin{aligned}
\mathbf{v}^{\mathsf{T}}A_j\mathbf{v}
=
\sum_{a=1}^{M}\sum_{b=1}^{M}v_a(A_j)_{ab}v_b \\
&=
\sum_{a=1}^{M}\sum_{b=1}^{M}v_av_b\mathbb{E}_{X\mid Y=y_j}[\mathbf{p}_a(X)^{\mathsf{T}}\mathbf{p}_b(X)].
\end{aligned} v T A j v = a = 1 ∑ M b = 1 ∑ M v a ( A j ) ab v b = a = 1 ∑ M b = 1 ∑ M v a v b E X ∣ Y = y j [ p a ( X ) T p b ( X )] .
Since the sums over a a a and b b b are finite, we may interchange the finite summations and the expectation. Therefore,
v T A j v = E X ∣ Y = y j [ ∑ a = 1 M ∑ b = 1 M v a v b p a ( X ) T p b ( X ) ] . \mathbf{v}^{\mathsf{T}}A_j\mathbf{v}
=
\mathbb{E}_{X\mid Y=y_j}\left[
\sum_{a=1}^{M}\sum_{b=1}^{M}v_av_b\mathbf{p}_a(X)^{\mathsf{T}}\mathbf{p}_b(X)
\right]. v T A j v = E X ∣ Y = y j [ a = 1 ∑ M b = 1 ∑ M v a v b p a ( X ) T p b ( X ) ] .
Define, for each realization X X X , the vector
u ( X ; v ) : = ∑ m = 1 M v m p m ( X ) ∈ R K . \mathbf{u}(X;\mathbf{v}):=\sum_{m=1}^{M}v_m\mathbf{p}_m(X)\in\mathbb{R}^{K}. u ( X ; v ) := m = 1 ∑ M v m p m ( X ) ∈ R K .
Expanding u ( X ; v ) T u ( X ; v ) \mathbf{u}(X;\mathbf{v})^{\mathsf{T}}\mathbf{u}(X;\mathbf{v}) u ( X ; v ) T u ( X ; v ) gives
u ( X ; v ) T u ( X ; v ) = ∑ a = 1 M ∑ b = 1 M v a v b p a ( X ) T p b ( X ) . \mathbf{u}(X;\mathbf{v})^{\mathsf{T}}\mathbf{u}(X;\mathbf{v})
=
\sum_{a=1}^{M}\sum_{b=1}^{M}v_av_b\mathbf{p}_a(X)^{\mathsf{T}}\mathbf{p}_b(X). u ( X ; v ) T u ( X ; v ) = a = 1 ∑ M b = 1 ∑ M v a v b p a ( X ) T p b ( X ) .
Substituting this identity yields
v T A j v = E X ∣ Y = y j [ u ( X ; v ) T u ( X ; v ) ] = E X ∣ Y = y j [ ∥ u ( X ; v ) ∥ 2 2 ] . \mathbf{v}^{\mathsf{T}}A_j\mathbf{v}
=
\mathbb{E}_{X\mid Y=y_j}\left[\mathbf{u}(X;\mathbf{v})^{\mathsf{T}}\mathbf{u}(X;\mathbf{v})\right]
=
\mathbb{E}_{X\mid Y=y_j}\left[\lVert\mathbf{u}(X;\mathbf{v})\rVert_2^2\right]. v T A j v = E X ∣ Y = y j [ u ( X ; v ) T u ( X ; v ) ] = E X ∣ Y = y j [ ∥ u ( X ; v ) ∥ 2 2 ] .
Writing the squared norm coordinate-wise,
∥ u ( X ; v ) ∥ 2 2 = ∑ k = 1 K ( ∑ m = 1 M v m p m , k ( X ) ) 2 ≥ 0 for every realization of X and every v ∈ R M . \lVert\mathbf{u}(X;\mathbf{v})\rVert_2^2
=
\sum_{k=1}^{K}\left(\sum_{m=1}^{M}v_mp_{m,k}(X)\right)^2
\ge0
\quad\text{for every realization of }X\text{ and every }\mathbf{v}\in\mathbb{R}^{M}. ∥ u ( X ; v ) ∥ 2 2 = k = 1 ∑ K ( m = 1 ∑ M v m p m , k ( X ) ) 2 ≥ 0 for every realization of X and every v ∈ R M .
Since the integrand is nonnegative for every X X X , its expectation is also nonnegative. Therefore
v T A j v ≥ 0 for all v ∈ R M , \mathbf{v}^{\mathsf{T}}A_j\mathbf{v}\ge0
\quad\text{for all }\mathbf{v}\in\mathbb{R}^{M}, v T A j v ≥ 0 for all v ∈ R M ,
which proves that A j A_j A j is positive semidefinite.
Finite-sample estimator and preservation of positive semidefiniteness
Fix a class index j ∈ { 1 , … , K } j \in\{1,\ldots,K\} j ∈ { 1 , … , K } . Let
D j : = { x ( i ) : y ( i ) = y j } \mathcal{D}_j := \{x^{(i)} : y^{(i)} = y_j\} D j := { x ( i ) : y ( i ) = y j }
denote the subset of the training data consisting of all samples whose label equals y j y_j y j , and let ∣ D j ∣ |\mathcal{D}_j| ∣ D j ∣ denote its cardinality.
For each input x ∈ D j x \in\mathcal{D}_j x ∈ D j and each model m ∈ { 1 , … , M } m \in\{1,\ldots,M\} m ∈ { 1 , … , M } , recall that the model produces a probability vector
p m ( x ) = [ p m , 1 ( x ) ⋮ p m , K ( x ) ] ∈ R K , p m , k ( x ) ≥ 0 , ∑ k = 1 K p m , k ( x ) = 1. \mathbf{p}_m(x) =
\begin{bmatrix}
p_{m,1}(x)\\
\vdots\\
p_{m,K}(x)
\end{bmatrix}
\in\mathbb{R}^{K}, \qquad p_{m,k}(x) \ge0, \qquad\sum_{k=1}^{K} p_{m,k}(x) = 1. p m ( x ) = p m , 1 ( x ) ⋮ p m , K ( x ) ∈ R K , p m , k ( x ) ≥ 0 , k = 1 ∑ K p m , k ( x ) = 1.
Using these vectors, we define the matrix-valued function
P ( x ) : = [ p 1 ( x ) p 2 ( x ) ⋯ p M ( x ) ] ∈ R K × M . \mathbf{P}(x) := [\mathbf{p}_1(x)\quad\mathbf{p}_2(x)\quad\cdots\quad\mathbf{p}_M(x)] \in\mathbb{R}^{K \times M}. P ( x ) := [ p 1 ( x ) p 2 ( x ) ⋯ p M ( x )] ∈ R K × M .
That is, the m m m -th column of P ( x ) \mathbf{P}(x) P ( x ) is the probability vector p m ( x ) \mathbf{p}_m(x) p m ( x ) produced by model m m m at input x x x .
The empirical (finite-sample) estimator of A j \mathbf{A}_j A j is then defined as
A ^ j = 1 ∣ D j ∣ ∑ x ( i ) ∈ D j P ( x ( i ) ) T P ( x ( i ) ) . \widehat{\mathbf{A}}_j = \frac{1}{|\mathcal{D}_j|} \sum_{x^{(i)} \in\mathcal{D}_j} \mathbf{P}(x^{(i)})^{\mathsf{T}}\mathbf{P}(x^{(i)}). A j = ∣ D j ∣ 1 x ( i ) ∈ D j ∑ P ( x ( i ) ) T P ( x ( i ) ) .
First, fix an arbitrary input x ∈ D j x \in\mathcal{D}_j x ∈ D j . Consider the matrix P ( x ) T P ( x ) ∈ R M × M \mathbf{P}(x)^{\mathsf{T}}\mathbf{P}(x) \in\mathbb{R}^{M \times M} P ( x ) T P ( x ) ∈ R M × M . To verify that this matrix is positive semidefinite, we must show that
v T P ( x ) T P ( x ) v ≥ 0 for all vectors v ∈ R M . \mathbf{v}^{\mathsf{T}}\mathbf{P}(x)^{\mathsf{T}}\mathbf{P}(x)\mathbf{v} \ge0 \quad\text{for all vectors } \mathbf{v} \in\mathbb{R}^{M}. v T P ( x ) T P ( x ) v ≥ 0 for all vectors v ∈ R M .
Let v = ( v 1 , … , v M ) T ∈ R M \mathbf{v} = (v_1,\ldots,v_M)^{\mathsf{T}} \in\mathbb{R}^{M} v = ( v 1 , … , v M ) T ∈ R M be arbitrary. We compute the quadratic form explicitly:
v T P ( x ) T P ( x ) v = ( P ( x ) v ) T ( P ( x ) v ) . \mathbf{v}^{\mathsf{T}}\mathbf{P}(x)^{\mathsf{T}}\mathbf{P}(x)\mathbf{v} = (\mathbf{P}(x)\mathbf{v})^{\mathsf{T}}(\mathbf{P}(x)\mathbf{v}). v T P ( x ) T P ( x ) v = ( P ( x ) v ) T ( P ( x ) v ) .
Next, we write P ( x ) v \mathbf{P}(x)\mathbf{v} P ( x ) v explicitly.
P ( x ) v = ∑ m = 1 M v m p m ( x ) = [ ∑ m = 1 M v m p m , 1 ( x ) ⋮ ∑ m = 1 M v m p m , K ( x ) ] ∈ R K . \mathbf{P}(x)\mathbf{v} = \sum_{m=1}^{M} v_m\mathbf{p}_m(x) =
\begin{bmatrix}
\sum_{m=1}^{M} v_m p_{m,1}(x)\\
\vdots\\
\sum_{m=1}^{M} v_m p_{m,K}(x)
\end{bmatrix}
\in\mathbb{R}^{K}. P ( x ) v = m = 1 ∑ M v m p m ( x ) = ∑ m = 1 M v m p m , 1 ( x ) ⋮ ∑ m = 1 M v m p m , K ( x ) ∈ R K .
Substituting this expression back into the quadratic form yields
( P ( x ) v ) T ( P ( x ) v ) = ∑ k = 1 K ( ∑ m = 1 M v m p m , k ( x ) ) 2 . (\mathbf{P}(x)\mathbf{v})^{\mathsf{T}}(\mathbf{P}(x)\mathbf{v}) =
\sum_{k=1}^{K}\left(\sum_{m=1}^{M} v_m p_{m,k}(x)\right)^2. ( P ( x ) v ) T ( P ( x ) v ) = k = 1 ∑ K ( m = 1 ∑ M v m p m , k ( x ) ) 2 .
Each term in the sum is a square of a real number and is therefore nonnegative. Hence
( P ( x ) v ) T ( P ( x ) v ) ≥ 0 for all v ∈ R M , (\mathbf{P}(x)\mathbf{v})^{\mathsf{T}}(\mathbf{P}(x)\mathbf{v}) \ge0 \quad\text{for all } \mathbf{v} \in\mathbb{R}^{M}, ( P ( x ) v ) T ( P ( x ) v ) ≥ 0 for all v ∈ R M ,
which implies
v T P ( x ) T P ( x ) v ≥ 0 for all v ∈ R M . \mathbf{v}^{\mathsf{T}}\mathbf{P}(x)^{\mathsf{T}}\mathbf{P}(x)\mathbf{v} \ge0 \quad\text{for all } \mathbf{v} \in\mathbb{R}^{M}. v T P ( x ) T P ( x ) v ≥ 0 for all v ∈ R M .
By definition, this shows that the matrix P ( x ) T P ( x ) \mathbf{P}(x)^{\mathsf{T}}\mathbf{P}(x) P ( x ) T P ( x ) is positive semidefinite.
We now consider the empirical estimator A ^ j \widehat{\mathbf{A}}_j A j . For any v ∈ R M \mathbf{v} \in\mathbb{R}^{M} v ∈ R M , we have
v T A ^ j v = v T ( 1 ∣ D j ∣ ∑ x ( i ) ∈ D j P ( x ( i ) ) T P ( x ( i ) ) ) v = 1 ∣ D j ∣ ∑ x ( i ) ∈ D j v T P ( x ( i ) ) T P ( x ( i ) ) v . \begin{aligned}
\mathbf{v}^{\mathsf{T}}\widehat{\mathbf{A}}_j\mathbf{v}
= \mathbf{v}^{\mathsf{T}}\left(\frac{1}{|\mathcal{D}_j|}\sum_{x^{(i)}\in\mathcal{D}_j}\mathbf{P}(x^{(i)})^{\mathsf{T}}\mathbf{P}(x^{(i)})\right)\mathbf{v} \\
&= \frac{1}{|\mathcal{D}_j|}\sum_{x^{(i)}\in\mathcal{D}_j}\mathbf{v}^{\mathsf{T}}\mathbf{P}(x^{(i)})^{\mathsf{T}}\mathbf{P}(x^{(i)})\mathbf{v}.
\end{aligned} v T A j v = v T ∣ D j ∣ 1 x ( i ) ∈ D j ∑ P ( x ( i ) ) T P ( x ( i ) ) v = ∣ D j ∣ 1 x ( i ) ∈ D j ∑ v T P ( x ( i ) ) T P ( x ( i ) ) v .
As shown above, each term v ⊤ P ( x ( i ) ) ⊤ P ( x ( i ) ) v \mathbf{v}^{\top}\mathbf{P}(x^{(i)})^{\top}\mathbf{P}(x^{(i)})\mathbf{v} v ⊤ P ( x ( i ) ) ⊤ P ( x ( i ) ) v is nonnegative. Since ∣ D j ∣ − 1 > 0 |\mathcal{D}_j|^{-1} > 0 ∣ D j ∣ − 1 > 0 , the weighted sum of these nonnegative terms is also nonnegative. Therefore,
v ⊤ A ^ j v ≥ 0 for all v ∈ R M . \mathbf{v}^{\top}\widehat{\mathbf{A}}_j\mathbf{v} \ge0 \quad\text{for all } \mathbf{v} \in\mathbb{R}^{M}. v ⊤ A j v ≥ 0 for all v ∈ R M .
With this, we conclude that the matrix A ^ j \widehat{\mathbf{A}}_j A j is positive semidefinite.
Derivation of Φ ( κ ; w ) \Phi(\kappa;\mathbf{w}) Φ ( κ ; w )
In this section, we derive the inner objective Φ ( κ ; w ) \Phi(\kappa;\mathbf{w}) Φ ( κ ; w ) starting from the robust satisficing definition in Definition 2.1.
We fix a reference label distribution q r e f ∈ Δ K \mathbf{q}_{\mathrm{ref}} \in\Delta_K q ref ∈ Δ K and an aspiration level τ > 0 \tau> 0 τ > 0 . Throughout this appendix, we assume that
( q r e f ) j > 0 for all j ∈ { 1 , … , K } , (\mathbf{q}_{\mathrm{ref}})_j > 0 \quad\text{for all } j \in\{1,\ldots,K\}, ( q ref ) j > 0 for all j ∈ { 1 , … , K } ,
which ensures that the Kullback–Leibler divergence D K L ( q ∥ q r e f ) D_{\mathrm{KL}}(\mathbf{q}\mathbin\Vert\mathbf{q}_{\mathrm{ref}}) D KL ( q ∥ q ref ) is finite for all q ∈ Δ K \mathbf{q} \in\Delta_K q ∈ Δ K .
Recall Definition 2.1. For a fixed ensemble weight vector w ∈ W τ \mathbf{w} \in\mathcal{W}_{\tau} w ∈ W τ , the fragility κ τ ( w ) \kappa_{\tau}(\mathbf{w}) κ τ ( w ) is defined as the smallest nonnegative scalar κ \kappa κ such that
R ( w , q ) ≤ τ + κ Δ ( q , q r e f ) for all q ∈ Δ K . (28) R(\mathbf{w},\mathbf{q}) \le\tau+ \kappa\Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}}) \quad\text{for all } \mathbf{q} \in\Delta_K. \tag*{(28)} R ( w , q ) ≤ τ + κ Δ ( q , q ref ) for all q ∈ Δ K . (28)
To analyze feasibility for a candidate value κ ≥ 0 \kappa\ge0 κ ≥ 0 , we rewrite (28) equivalently as
R ( w , q ) − κ Δ ( q , q r e f ) ≤ τ for all q ∈ Δ K . (29) R(\mathbf{w},\mathbf{q}) - \kappa\Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}}) \le\tau\quad\text{for all } \mathbf{q} \in\Delta_K. \tag*{(29)} R ( w , q ) − κ Δ ( q , q ref ) ≤ τ for all q ∈ Δ K . (29)
The inequality (29) holds if and only if it holds for the worst-case distribution. Equivalently, for a given κ ≥ 0 \kappa\ge0 κ ≥ 0 ,
sup q ∈ Δ K { R ( w , q ) − κ Δ ( q , q r e f ) } ≤ τ . (30) \sup_{\mathbf{q}\in\Delta_K}\left\{R(\mathbf{w},\mathbf{q})-\kappa\Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}})\right\}\le\tau. \tag*{(30)} q ∈ Δ K sup { R ( w , q ) − κ Δ ( q , q ref ) } ≤ τ . (30)
This motivates defining a scalar-valued objective Φ ( κ ; w ) \Phi(\kappa;\mathbf{w}) Φ ( κ ; w ) that summarizes the worst-case left-hand side. For any κ ≥ 0 \kappa\ge0 κ ≥ 0 , define
Φ ( κ ; w ) : = sup q ∈ Δ K { R ( w , q ) − κ Δ ( q , q r e f ) } . (31) \Phi(\kappa;\mathbf{w}) := \sup_{\mathbf{q}\in\Delta_K}\left\{R(\mathbf{w},\mathbf{q})-\kappa\Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}})\right\}. \tag*{(31)} Φ ( κ ; w ) := q ∈ Δ K sup { R ( w , q ) − κ Δ ( q , q ref ) } . (31)
With this definition, a candidate κ \kappa κ satisfies the robust satisficing condition if and only if
Φ ( κ ; w ) ≤ τ . (32) \Phi(\kappa;\mathbf{w}) \le\tau. \tag*{(32)} Φ ( κ ; w ) ≤ τ . (32)
The set of feasible κ \kappa κ values, { κ ≥ 0 : Φ ( κ ; w ) ≤ τ } \{\kappa\ge0 : \Phi(\kappa;\mathbf{w}) \le\tau\} { κ ≥ 0 : Φ ( κ ; w ) ≤ τ } , is closed, being the intersection over all q ∈ Δ K \mathbf{q} \in\Delta_K q ∈ Δ K of the closed sets defined by the continuous inequalities in (29). Since Φ \Phi Φ is nonincreasing in κ \kappa κ , every value above a feasible value is also feasible. Thus, this set is [ κ τ ( w ) , ∞ ) [\kappa_{\tau}(\mathbf{w}),\infty) [ κ τ ( w ) , ∞ ) .
Moreover, the fragility κ τ ( w ) \kappa_{\tau}(\mathbf{w}) κ τ ( w ) is precisely the smallest κ ≥ 0 \kappa\ge0 κ ≥ 0 for which (32) holds.
We now make explicit the dependence of the risk R ( w , q ) R(\mathbf{w},\mathbf{q}) R ( w , q ) on the label distribution q \mathbf{q} q . For each class y j y_j y j , recall the class-conditional risk (cf. (1))
r ( w , y j ) : = E X ∼ P ( X ∣ Y = y j ) [ L ( y j , p ^ w ( X ) ) ] . r(\mathbf{w},y_j):=\mathbb{E}_{X\sim P(X\mid Y=y_j)}\left[L\left(y_j,\widehat{p}_{\mathbf{w}}(X)\right)\right]. r ( w , y j ) := E X ∼ P ( X ∣ Y = y j ) [ L ( y j , p w ( X ) ) ] .
For a label distribution q ∈ Δ K \mathbf{q} \in\Delta_K q ∈ Δ K , the corresponding mixture risk is
R ( w , q ) = ∑ j = 1 K q j r ( w , y j ) = q ⊤ r ( w ) , (33) R(\mathbf{w},\mathbf{q})=\sum_{j=1}^{K}q_jr(\mathbf{w},y_j)=\mathbf{q}^{\top}\mathbf{r}(\mathbf{w}), \tag*{(33)} R ( w , q ) = j = 1 ∑ K q j r ( w , y j ) = q ⊤ r ( w ) , (33)
where r ( w ) ∈ R K \mathbf{r}(\mathbf{w}) \in\mathbb{R}^{K} r ( w ) ∈ R K denotes the vector of class-conditional risks defined in (2).
We now instantiate the Δ \Delta Δ with the Kullback–Leibler divergence:
Δ ( q , q r e f ) = D K L ( q ∥ q r e f ) = ∑ j = 1 K q j log q j ( q r e f ) j . (34) \Delta(\mathbf{q},\mathbf{q}_{\mathrm{ref}})=D_{\mathrm{KL}}(\mathbf{q}\mathbin\Vert\mathbf{q}_{\mathrm{ref}})=\sum_{j=1}^{K}q_j\log\frac{q_j}{(\mathbf{q}_{\mathrm{ref}})_j}. \tag*{(34)} Δ ( q , q ref ) = D KL ( q ∥ q ref ) = j = 1 ∑ K q j log ( q ref ) j q j . (34)
Substituting (33) and (34) into (31) yields the KL-based inner problem
Φ ( κ ; w ) = sup q ∈ Δ K { q T r ( w ) − κ D K L ( q ∥ q r e f ) } . (35) \Phi(\kappa; \mathbf{w}) = \sup_{\mathbf{q}\in\Delta_K} \left\{ \mathbf{q}^{\mathsf{T}}\mathbf{r}(\mathbf{w}) - \kappa D_{\mathrm{KL}}(\mathbf{q}\mathbin\Vert\mathbf{q}_{\mathrm{ref}}) \right\}. \tag*{(35)} Φ ( κ ; w ) = q ∈ Δ K sup { q T r ( w ) − κ D KL ( q ∥ q ref ) } . (35)
Fix w ∈ W τ \mathbf{w}\in\mathcal{W}_{\tau} w ∈ W τ . For any κ 1 ≥ κ 2 ≥ 0 \kappa_1\ge\kappa_2\ge0 κ 1 ≥ κ 2 ≥ 0 and any q ∈ Δ K \mathbf{q}\in\Delta_K q ∈ Δ K , since D K L ( q ∥ q r e f ) ≥ 0 D_{\mathrm{KL}}(\mathbf{q}\mathbin\Vert\mathbf{q}_{\mathrm{ref}})\ge0 D KL ( q ∥ q ref ) ≥ 0 , we have
q T r ( w ) − κ 1 D K L ( q ∥ q r e f ) ≤ q T r ( w ) − κ 2 D K L ( q ∥ q r e f ) \mathbf{q}^{\mathsf{T}}\mathbf{r}(\mathbf{w})-\kappa_1D_{\mathrm{KL}}(\mathbf{q}\mathbin\Vert\mathbf{q}_{\mathrm{ref}})\le\mathbf{q}^{\mathsf{T}}\mathbf{r}(\mathbf{w})-\kappa_2D_{\mathrm{KL}}(\mathbf{q}\mathbin\Vert\mathbf{q}_{\mathrm{ref}}) q T r ( w ) − κ 1 D KL ( q ∥ q ref ) ≤ q T r ( w ) − κ 2 D KL ( q ∥ q ref )
Taking the supremum over q ∈ Δ K \mathbf{q}\in\Delta_K q ∈ Δ K on both sides and using the definition in (35) yields
Φ ( κ 1 ; w ) ≤ Φ ( κ 2 ; w ) , \Phi(\kappa_1;\mathbf{w})\le\Phi(\kappa_2;\mathbf{w}), Φ ( κ 1 ; w ) ≤ Φ ( κ 2 ; w ) ,
which shows that the function κ ↦ Φ ( κ ; w ) \kappa\mapsto\Phi(\kappa;\mathbf{w}) κ ↦ Φ ( κ ; w ) is nonincreasing on [ 0 , ∞ ) [0,\infty) [ 0 , ∞ ) .
We next derive explicit upper and lower bounds on Φ ( κ ; w ) \Phi(\kappa;\mathbf{w}) Φ ( κ ; w ) . At κ = 0 \kappa=0 κ = 0 , the KL term vanishes, and
Φ ( 0 ; w ) = sup q ∈ Δ K q T r ( w ) = max j ∈ { 1 , … , K } r ( w , y j ) , \Phi(0;\mathbf{w})=\sup_{\mathbf{q}\in\Delta_K}\mathbf{q}^{\mathsf{T}}\mathbf{r}(\mathbf{w})=\max_{j\in\{1,\ldots,K\}}r(\mathbf{w},y_j), Φ ( 0 ; w ) = q ∈ Δ K sup q T r ( w ) = j ∈ { 1 , … , K } max r ( w , y j ) ,
where the last equality follows because a linear function over the simplex Δ K \Delta_K Δ K attains its maximum at an extreme point.
For a lower bound, note that q r e f ∈ Δ K \mathbf{q}_{\mathrm{ref}}\in\Delta_K q ref ∈ Δ K is feasible in (35) . Substituting q = q r e f \mathbf{q}=\mathbf{q}_{\mathrm{ref}} q = q ref and using D K L ( q r e f ∥ q r e f ) = 0 D_{\mathrm{KL}}(\mathbf{q}_{\mathrm{ref}}\mathbin\Vert\mathbf{q}_{\mathrm{ref}})=0 D KL ( q ref ∥ q ref ) = 0 gives, for all κ ≥ 0 \kappa\ge0 κ ≥ 0 ,
Φ ( κ ; w ) ≥ q r e f T r ( w ) = R ( w , q r e f ) . \Phi(\kappa;\mathbf{w})\ge\mathbf{q}_{\mathrm{ref}}^{\mathsf{T}}\mathbf{r}(\mathbf{w})=R(\mathbf{w},\mathbf{q}_{\mathrm{ref}}). Φ ( κ ; w ) ≥ q ref T r ( w ) = R ( w , q ref ) .
Combining the monotonicity of Φ ( κ ; w ) \Phi(\kappa;\mathbf{w}) Φ ( κ ; w ) with the value at κ = 0 \kappa=0 κ = 0 also yields the uniform upper bound
Φ ( κ ; w ) ≤ Φ ( 0 ; w ) = max j ∈ { 1 , … , K } r ( w , y j ) , ∀ κ ≥ 0. \Phi(\kappa;\mathbf{w})\le\Phi(0;\mathbf{w})=\max_{j\in\{1,\ldots,K\}}r(\mathbf{w},y_j),\qquad\forall\kappa\ge0. Φ ( κ ; w ) ≤ Φ ( 0 ; w ) = j ∈ { 1 , … , K } max r ( w , y j ) , ∀ κ ≥ 0.
Since we have fixed w ∈ W τ \mathbf{w}\in\mathcal{W}_{\tau} w ∈ W τ , the definition of W τ \mathcal{W}_{\tau} W τ gives
R ( w , q r e f ) < τ < max j r ( w , y j ) . R(\mathbf{w},\mathbf{q}_{\mathrm{ref}})<\tau<\max_j r(\mathbf{w},y_j). R ( w , q ref ) < τ < j max r ( w , y j ) .
If τ ≥ max j r ( w , y j ) \tau\ge\max_j r(\mathbf{w},y_j) τ ≥ max j r ( w , y j ) , then Φ ( 0 ; w ) ≤ τ \Phi(0;\mathbf{w})\le\tau Φ ( 0 ; w ) ≤ τ and the smallest feasible value is κ = 0 \kappa=0 κ = 0 . Otherwise, if τ ≤ R ( w , q r e f ) \tau\le R(\mathbf{w},\mathbf{q}_{\mathrm{ref}}) τ ≤ R ( w , q ref ) , no finite κ ≥ 0 \kappa\ge0 κ ≥ 0 is feasible. Otherwise, the robust satisficing constraint becomes active at some κ > 0 \kappa>0 κ > 0 , which we denote by κ τ ( w ) \kappa_{\tau}(\mathbf{w}) κ τ ( w ) , satisfying
Φ ( κ τ ( w ) ; w ) = τ . (36) \Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})=\tau. \tag*{(36)} Φ ( κ τ ( w ) ; w ) = τ . (36)
Moreover, the equation Φ ( κ ; w ) = τ \Phi(\kappa;\mathbf{w})=\tau Φ ( κ ; w ) = τ admits a unique finite root κ ∈ ( 0 , ∞ ) \kappa\in(0,\infty) κ ∈ ( 0 , ∞ ) precisely in the interior regime R ( w , q r e f ) < τ < max j r ( w , y j ) R(\mathbf{w},\mathbf{q}_{\mathrm{ref}})<\tau<\max_j r(\mathbf{w},y_j) R ( w , q ref ) < τ < max j r ( w , y j ) (Appendix § 14 ). The explicit solution of the maximization problem in (35), as well as the closed-form expression for Φ ( κ ; w ) \Phi(\kappa;\mathbf{w}) Φ ( κ ; w ) , are derived in Appendix § 13 .
KL Inner Problem and Exponential Tilt
Throughout this section, we assume κ > 0 \kappa>0 κ > 0 . Strict positivity follows directly from the robust satisficing constraint. If κ = 0 \kappa=0 κ = 0 were feasible, then
R ( w , q ) ≤ τ for every q ∈ Δ K . R(\mathbf{w},\mathbf{q})\le\tau\qquad\text{for every }\mathbf{q}\in\Delta_K. R ( w , q ) ≤ τ for every q ∈ Δ K .
Taking the supremum over q \mathbf{q} q would imply
max j r ( w , y j ) = sup q ∈ Δ K R ( w , q ) ≤ τ , \max_j r(\mathbf{w},y_j)=\sup_{\mathbf{q}\in\Delta_K}R(\mathbf{w},\mathbf{q})\le\tau, j max r ( w , y j ) = q ∈ Δ K sup R ( w , q ) ≤ τ ,
contradicting w ∈ W τ \mathbf{w}\in\mathcal{W}_{\tau} w ∈ W τ . Therefore κ τ ( w ) > 0 \kappa_{\tau}(\mathbf{w})>0 κ τ ( w ) > 0 . For fixed w \mathbf{w} w we abbreviate r j = r ( w , y j ) r_j=r(\mathbf{w},y_j) r j = r ( w , y j ) and consider the penalized inner problem, which is a standard KL-regularized variational optimization; the corresponding exponential-tilting optimizer appears, for example, as Proposition A.5 in Yan et al. [ [27 ] for the uniform reference case. We include the derivation here to match our notation and allow a general q r e f \mathbf{q}_{\mathrm{ref}} q ref .
Φ ( κ ; w ) = sup q ∈ Δ K { ∑ j = 1 K q j r j − κ ∑ j = 1 K q j log q j ( q r e f ) j } \Phi(\kappa;\mathbf{w})=\sup_{\mathbf{q}\in\Delta_K}\left\{\sum_{j=1}^{K}q_jr_j-\kappa\sum_{j=1}^{K}q_j\log\frac{q_j}{(q_{\mathrm{ref}})_j}\right\} Φ ( κ ; w ) = q ∈ Δ K sup { j = 1 ∑ K q j r j − κ j = 1 ∑ K q j log ( q ref ) j q j }
Fix w \mathbf{w} w and κ > 0 \kappa>0 κ > 0 , and write p j : = ( q r e f ) j > 0 p_j:=(q_{\mathrm{ref}})_j>0 p j := ( q ref ) j > 0 and r j : = r ( w , y j ) r_j:=r(\mathbf{w},y_j) r j := r ( w , y j ) . The quantities w \mathbf{w} w , κ \kappa κ , p j p_j p j , and r j r_j r j remain fixed; only q \mathbf{q} q is varied. The objective is
F ( q ) = ∑ j = 1 K q j r j − κ ∑ j = 1 K q j log q j p j , q ∈ Δ K , F(\mathbf{q})=\sum_{j=1}^{K}q_jr_j-\kappa\sum_{j=1}^{K}q_j\log\frac{q_j}{p_j},\qquad\mathbf{q}\in\Delta_K, F ( q ) = j = 1 ∑ K q j r j − κ j = 1 ∑ K q j log p j q j , q ∈ Δ K ,
where 0 log ( 0 / p j ) : = 0 0\log(0/p_j):=0 0 log ( 0/ p j ) := 0 . This function is continuous on the compact simplex, so a maximizer exists. Rewriting it as
F ( q ) = ∑ j = 1 K q j ( r j + κ log p j ) − κ ∑ j = 1 K q j log q j F(\mathbf{q})=\sum_{j=1}^{K}q_j(r_j+\kappa\log p_j)-\kappa\sum_{j=1}^{K}q_j\log q_j F ( q ) = j = 1 ∑ K q j ( r j + κ log p j ) − κ j = 1 ∑ K q j log q j
shows that it is strictly concave: the first sum is linear and the second is a strictly concave entropy term because κ > 0 \kappa>0 κ > 0 . Hence the maximizer is unique.
We show that no class can have zero probability at this maximizer. Consider any q ∈ Δ K \mathbf{q}\in\Delta_K q ∈ Δ K with q i = 0 q_i=0 q i = 0 . Since ∑ j q j = 1 \sum_jq_j=1 ∑ j q j = 1 , some other coordinate satisfies q ℓ > 0 q_\ell>0 q ℓ > 0 . For 0 < ε < q ℓ / 2 0<\varepsilon<q_\ell/2 0 < ε < q ℓ /2 , define
q i ( ε ) = ε , q ℓ ( ε ) = q ℓ − ε , q j ( ε ) = q j for j ∉ { i , ℓ } . q_i^{(\varepsilon)}=\varepsilon,\qquad q_\ell^{(\varepsilon)}=q_\ell-\varepsilon,\qquad q_j^{(\varepsilon)}=q_j\quad\text{for }j\notin\{i,\ell\}. q i ( ε ) = ε , q ℓ ( ε ) = q ℓ − ε , q j ( ε ) = q j for j ∈ / { i , ℓ } .
This transfers probability ε \varepsilon ε from class ℓ \ell ℓ to class i i i , preserving nonnegativity and the sum of probabilities. Thus q ( ε ) ∈ Δ K \mathbf{q}^{(\varepsilon)}\in\Delta_K q ( ε ) ∈ Δ K .
We now subtract the two objective values term by term. For every j ∉ { i , ℓ } j\notin\{i,\ell\} j ∈ / { i , ℓ } , the terms in F ( q ( ε ) ) F(\mathbf{q}^{(\varepsilon)}) F ( q ( ε ) ) and F ( q ) F(\mathbf{q}) F ( q ) are identical and cancel. For the two changed coordinates, substituting the old and new probabilities gives
F ( q ( ε ) ) − F ( q ) = [ ε r i − 0 ] + [ ( q ℓ − ε ) r ℓ − q ℓ r ℓ ] − κ [ ε log ε p i − 0 ] − κ [ ( q ℓ − ε ) log q ℓ − ε p ℓ − q ℓ log q ℓ p ℓ ] . \begin{aligned}
F(\mathbf{q}^{(\varepsilon)})-F(\mathbf{q})
={}&[\varepsilon r_i-0]+[(q_\ell-\varepsilon)r_\ell-q_\ell r_\ell]\\
&-\kappa\left[\varepsilon\log\frac{\varepsilon}{p_i}-0\right]\\
&-\kappa\left[(q_\ell-\varepsilon)\log\frac{q_\ell-\varepsilon}{p_\ell}-q_\ell\log\frac{q_\ell}{p_\ell}\right].
\end{aligned} F ( q ( ε ) ) − F ( q ) = [ ε r i − 0 ] + [( q ℓ − ε ) r ℓ − q ℓ r ℓ ] − κ [ ε log p i ε − 0 ] − κ [ ( q ℓ − ε ) log p ℓ q ℓ − ε − q ℓ log p ℓ q ℓ ] .
Combining the first two brackets, we obtain three groups:
F ( q ( ε ) ) − F ( q ) = ε ( r i − r ℓ ) ⏟ T 1 + ( − κ ε log ε p i ) ⏟ T 2 + ( − κ [ ( q ℓ − ε ) log q ℓ − ε p ℓ − q ℓ log q ℓ p ℓ ] ) ⏟ T 3 . \begin{aligned}
F(\mathbf{q}^{(\varepsilon)})-F(\mathbf{q})
={}&\underbrace{\varepsilon(r_i-r_\ell)}_{T_1}\\
&+\underbrace{\left(-\kappa\varepsilon\log\frac{\varepsilon}{p_i}\right)}_{T_2}\\
&+\underbrace{\left(-\kappa\left[(q_\ell-\varepsilon)\log\frac{q_\ell-\varepsilon}{p_\ell}-q_\ell\log\frac{q_\ell}{p_\ell}\right]\right)}_{T_3}.
\end{aligned} F ( q ( ε ) ) − F ( q ) = T 1 ε ( r i − r ℓ ) + T 2 ( − κ ε log p i ε ) + T 3 ( − κ [ ( q ℓ − ε ) log p ℓ q ℓ − ε − q ℓ log p ℓ q ℓ ] ) .
We examine these groups separately.
The first group is already explicit:
T 1 = ε ( r i − r ℓ ) . T_1=\varepsilon(r_i-r_\ell). T 1 = ε ( r i − r ℓ ) .
Its coefficient r i − r ℓ r_i-r_\ell r i − r ℓ is fixed and finite, although it may have either sign.
For the second group, the identity log ( ε / p i ) = log ε − log p i \log(\varepsilon/p_i)=\log\varepsilon-\log p_i log ( ε / p i ) = log ε − log p i gives
T 2 = κ ε log ( 1 / ε ) + κ ε log p i . T_2=\kappa\varepsilon\log(1/\varepsilon)+\kappa\varepsilon\log p_i. T 2 = κ ε log ( 1/ ε ) + κ ε log p i .
For the third group, define
h ( x ) : = x log ( x / p ℓ ) , x > 0. h(x):=x\log(x/p_\ell),\qquad x>0. h ( x ) := x log ( x / p ℓ ) , x > 0.
Here x x x represents the probability assigned to class ℓ \ell ℓ , and p ℓ p_\ell p ℓ is fixed. Then
T 3 = − κ [ h ( q ℓ − ε ) − h ( q ℓ ) ] . T_3=-\kappa\left[h(q_\ell-\varepsilon)-h(q_\ell)\right]. T 3 = − κ [ h ( q ℓ − ε ) − h ( q ℓ ) ] .
The derivatives of h h h are
h ′ ( x ) = log ( x / p ℓ ) + 1 , h ′ ′ ( x ) = 1 x . h'(x)=\log(x/p_\ell)+1,\qquad h''(x)=\frac{1}{x}. h ′ ( x ) = log ( x / p ℓ ) + 1 , h ′′ ( x ) = x 1 .
Taylor’s theorem expresses a function’s change as
h ( a + d ) − h ( a ) = d h ′ ( a ) + d 2 2 h ′ ′ ( ξ ) , h(a+d)-h(a)=d\,h'(a)+\frac{d^2}{2}h''(\xi), h ( a + d ) − h ( a ) = d h ′ ( a ) + 2 d 2 h ′′ ( ξ ) ,
where ξ \xi ξ lies between a a a and a + d a+d a + d . The last term is an exact remainder, so this is an equality rather than an approximation.
Applying this theorem with a = q ℓ a=q_\ell a = q ℓ and d = − ε d=-\varepsilon d = − ε gives, for some ξ ε ∈ ( q ℓ − ε , q ℓ ) \xi_\varepsilon\in(q_\ell-\varepsilon,q_\ell) ξ ε ∈ ( q ℓ − ε , q ℓ ) ,
h ( q ℓ − ε ) − h ( q ℓ ) = − ε ( log q ℓ p ℓ + 1 ) + ε 2 2 ξ ε . h(q_\ell-\varepsilon)-h(q_\ell)=-\varepsilon\left(\log\frac{q_\ell}{p_\ell}+1\right)+\frac{\varepsilon^2}{2\xi_\varepsilon}. h ( q ℓ − ε ) − h ( q ℓ ) = − ε ( log p ℓ q ℓ + 1 ) + 2 ξ ε ε 2 .
Multiplying by − κ -\kappa − κ , we therefore obtain
T 3 = κ ε ( log q ℓ p ℓ + 1 ) − κ ε 2 2 ξ ε . T_3=\kappa\varepsilon\left(\log\frac{q_\ell}{p_\ell}+1\right)-\frac{\kappa\varepsilon^2}{2\xi_\varepsilon}. T 3 = κ ε ( log p ℓ q ℓ + 1 ) − 2 ξ ε κ ε 2 .
Since ε < q ℓ / 2 \varepsilon<q_\ell/2 ε < q ℓ /2 , the intermediate point satisfies
ξ ε > q ℓ − ε > q ℓ / 2. \xi_\varepsilon>q_\ell-\varepsilon>q_\ell/2. ξ ε > q ℓ − ε > q ℓ /2.
Consequently,
0 < κ ε 2 2 ξ ε < κ ε 2 q ℓ , 0<\frac{\kappa\varepsilon^2}{2\xi_\varepsilon}<\frac{\kappa\varepsilon^2}{q_\ell}, 0 < 2 ξ ε κ ε 2 < q ℓ κ ε 2 ,
which bounds the magnitude of the negative remainder in T 3 T_3 T 3 .
Adding the three groups back together yields
F ( q ( ε ) ) − F ( q ) = ε ( r i − r ℓ ) ⏟ T 1 + κ ε log ( 1 / ε ) + κ ε log p i ⏟ T 2 + κ ε ( log q ℓ p ℓ + 1 ) − κ ε 2 2 ξ ε ⏟ T 3 . F(\mathbf{q}^{(\varepsilon)})-F(\mathbf{q})=\underbrace{\varepsilon(r_i-r_\ell)}_{T_1}+\underbrace{\kappa\varepsilon\log(1/\varepsilon)+\kappa\varepsilon\log p_i}_{T_2}+\underbrace{\kappa\varepsilon\left(\log\frac{q_\ell}{p_\ell}+1\right)-\frac{\kappa\varepsilon^2}{2\xi_\varepsilon}}_{T_3}. F ( q ( ε ) ) − F ( q ) = T 1 ε ( r i − r ℓ ) + T 2 κ ε log ( 1/ ε ) + κ ε log p i + T 3 κ ε ( log p ℓ q ℓ + 1 ) − 2 ξ ε κ ε 2 .
Dividing by ε > 0 \varepsilon>0 ε > 0 and using the remainder bound gives
F ( q ( ε ) ) − F ( q ) ε ≥ κ log ( 1 / ε ) + ( r i − r ℓ ) + κ log p i + κ ( log q ℓ p ℓ + 1 ) − κ ε q ℓ . \frac{F(\mathbf{q}^{(\varepsilon)})-F(\mathbf{q})}{\varepsilon}\geq\kappa\log(1/\varepsilon)+(r_i-r_\ell)+\kappa\log p_i+\kappa\left(\log\frac{q_\ell}{p_\ell}+1\right)-\frac{\kappa\varepsilon}{q_\ell}. ε F ( q ( ε ) ) − F ( q ) ≥ κ log ( 1/ ε ) + ( r i − r ℓ ) + κ log p i + κ ( log p ℓ q ℓ + 1 ) − q ℓ κ ε .
As ε ↓ 0 \varepsilon\downarrow0 ε ↓ 0 , the term κ log ( 1 / ε ) \kappa\log(1/\varepsilon) κ log ( 1/ ε ) tends to + ∞ +\infty + ∞ . The terms involving r i , r ℓ , p i , p ℓ , q ℓ r_i,r_\ell,p_i,p_\ell,q_\ell r i , r ℓ , p i , p ℓ , q ℓ are fixed and finite, and κ ε / q ℓ \kappa\varepsilon/q_\ell κ ε / q ℓ tends to zero. Thus the right-hand side is positive for all sufficiently small ε > 0 \varepsilon>0 ε > 0 , proving
F ( q ( ε ) ) > F ( q ) . F(\mathbf{q}^{(\varepsilon)})>F(\mathbf{q}). F ( q ( ε ) ) > F ( q ) .
Every point with a zero coordinate can therefore be improved and cannot be a maximizer. Consequently, the unique maximizer satisfies q j ∗ > 0 q_j^*>0 q j ∗ > 0 for every j j j , so it lies in the relative interior of the simplex.
Introducing a Lagrange multiplier λ \lambda λ for ∑ j = 1 κ q j = 1 \sum_{j=1}^{\kappa}q_j=1 ∑ j = 1 κ q j = 1 , the Lagrangian is
L ( q , λ ) = ∑ j = 1 κ q j r j − κ ∑ j = 1 κ q j log q j ( q r e f ) j + λ ( ∑ j = 1 κ q j − 1 ) . \mathcal{L}(\mathbf{q},\lambda)=\sum_{j=1}^{\kappa}q_jr_j-\kappa\sum_{j=1}^{\kappa}q_j\log\frac{q_j}{(q_{\mathrm{ref}})_j}+\lambda\left(\sum_{j=1}^{\kappa}q_j-1\right). L ( q , λ ) = j = 1 ∑ κ q j r j − κ j = 1 ∑ κ q j log ( q ref ) j q j + λ ( j = 1 ∑ κ q j − 1 ) .
Using ∂ ∂ q j ( q j log q j ) = log q j + 1 \frac{\partial}{\partial q_j}(q_j\log q_j)=\log q_j+1 ∂ q j ∂ ( q j log q j ) = log q j + 1 , the stationarity condition is
r j − κ ( log q j ( q r e f ) j + 1 ) + λ = 0. r_j-\kappa\left(\log\frac{q_j}{(q_{\mathrm{ref}})_j}+1\right)+\lambda=0. r j − κ ( log ( q ref ) j q j + 1 ) + λ = 0.
Rearranging and exponentiating yields q j ∝ ( q r e f ) j exp ( r j / κ ) q_j\propto(q_{\mathrm{ref}})_j\exp(r_j/\kappa) q j ∝ ( q ref ) j exp ( r j / κ ) . Enforcing ∑ j q j = 1 \sum_j q_j=1 ∑ j q j = 1 determines the unique normalizing constant, giving the exponentially tilted distribution
( q ⋆ ) j = ( q r e f ) j exp ( r j / κ ) ∑ k = 1 K ( q r e f ) k exp ( r k / κ ) . (q^\star)_j=\frac{(q_{\mathrm{ref}})_j\exp(r_j/\kappa)}{\sum_{k=1}^{K}(q_{\mathrm{ref}})_k\exp(r_k/\kappa)}. ( q ⋆ ) j = ∑ k = 1 K ( q ref ) k exp ( r k / κ ) ( q ref ) j exp ( r j / κ ) .
which matches (7). Substituting q ⋆ q^\star q ⋆ into the objective gives
Φ ( κ ; w ) = κ log ( ∑ j = 1 K ( q r e f ) j exp ( r j / κ ) ) . \Phi(\kappa;\mathbf{w})=\kappa\log\left(\sum_{j=1}^{K}(q_{\mathrm{ref}})_j\exp(r_j/\kappa)\right). Φ ( κ ; w ) = κ log ( j = 1 ∑ K ( q ref ) j exp ( r j / κ ) ) .
which is (8).
Solving for κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w )
Recall from Lemma 3.2 that for fixed w \mathbf{w} w the KL fragility is characterized by the root equation (9). There are three cases: (i) if τ ≥ max j r ( w , y j ) \tau\ge\max_j r(\mathbf{w},y_j) τ ≥ max j r ( w , y j ) then κ τ ( w ) = 0 \kappa_\tau(\mathbf{w})=0 κ τ ( w ) = 0 ; (ii) otherwise, if R ( w , q r e f ) ≥ τ R(\mathbf{w},q_{\mathrm{ref}})\ge\tau R ( w , q ref ) ≥ τ then κ τ ( w ) = + ∞ \kappa_\tau(\mathbf{w})=+\infty κ τ ( w ) = + ∞ ; (iii) if
R ( w , q r e f ) < τ < max j r ( w , y j ) , R(\mathbf{w},q_{\mathrm{ref}})<\tau<\max_j r(\mathbf{w},y_j), R ( w , q ref ) < τ < j max r ( w , y j ) ,
then there is a unique κ τ ( w ) ∈ ( 0 , ∞ ) \kappa_\tau(\mathbf{w})\in(0,\infty) κ τ ( w ) ∈ ( 0 , ∞ ) satisfying (9). We focus on case (iii) below.
We now (i) establish existence and uniqueness, and (ii) derive an analytic series representation of κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w ) via Lagrange–Bürmann inversion together with a non-asymptotic truncation error bound for the resulting finite-sum approximation.
Existence and uniqueness
For brevity, fix w \mathbf{w} w . Let δ a \delta_a δ a denote the unit point mass at a a a , and let X X X be the random variable representing the class risk when the class is sampled according to q r e f q_{\mathrm{ref}} q ref . Set
α j : = r ( w , y j ) , X ∼ ∑ j = 1 K ( q r e f ) j δ α j . \alpha_j:=r(\mathbf{w},y_j),\qquad X\sim\sum_{j=1}^{K}(q_{\mathrm{ref}})_j\delta_{\alpha_j}. α j := r ( w , y j ) , X ∼ j = 1 ∑ K ( q ref ) j δ α j .
Introduce
S : = 1 κ > 0 , G ( S ) : = ∑ j = 1 K ( q r e f ) j e α j S . (37) S:=\frac{1}{\kappa}>0,\qquad G(S):=\sum_{j=1}^{K}(q_{\mathrm{ref}})_j e^{\alpha_j S}. \tag*{(37)} S := κ 1 > 0 , G ( S ) := j = 1 ∑ K ( q ref ) j e α j S . (37)
Then (9) becomes
τ = f ( S ) : = 1 S log G ( S ) . (38) \tau=f(S):=\frac{1}{S}\log G(S). \tag*{(38)} τ = f ( S ) := S 1 log G ( S ) . (38)
Since G ( 0 ) = ∑ j ( q r e f ) j = 1 G(0)=\sum_j(q_{\mathrm{ref}})_j=1 G ( 0 ) = ∑ j ( q ref ) j = 1 and G G G is analytic near S = 0 S=0 S = 0 , log G ( S ) \log G(S) log G ( S ) admits a Taylor expansion of the form
log G ( S ) = ∑ m = 1 ∞ a m S m , a m = 1 m ! cum m ( X ) , \log G(S)=\sum_{m=1}^{\infty}a_mS^m,\qquad a_m=\frac{1}{m!}\operatorname{cum}_m(X), log G ( S ) = m = 1 ∑ ∞ a m S m , a m = m ! 1 cum m ( X ) ,
where cum m ( X ) \operatorname{cum}_m(X) cum m ( X ) are the cumulants of X X X . Dividing by S S S gives
f ( S ) = a 1 + a 2 S + a 3 S 2 + a 4 S 3 + ⋯ , (39) f(S)=a_1+a_2S+a_3S^2+a_4S^3+\cdots, \tag*{(39)} f ( S ) = a 1 + a 2 S + a 3 S 2 + a 4 S 3 + ⋯ , (39)
with
a 1 = E [ X ] = R ( w , q r e f ) , a 2 = 1 2 Var ( X ) . a_1=\mathbb{E}[X]=R(\mathbf{w},q_{\mathrm{ref}}),\qquad a_2=\frac{1}{2}\operatorname{Var}(X). a 1 = E [ X ] = R ( w , q ref ) , a 2 = 2 1 Var ( X ) .
We assume Var ( X ) > 0 \operatorname{Var}(X)>0 Var ( X ) > 0 (i.e., the class-wise risks are non-degenerate under q r e f ) ; o t h e r w i s e q_{\mathrm{ref}}); otherwise q ref ) ; o t h er w i se R(\mathbf{w},q_{\mathrm{ref}})=\max_j r(\mathbf{w},y_j)$ and the interval ( R ( w , q r e f ) , max j r ( w , y j ) ) (R(\mathbf{w},q_{\mathrm{ref}}),\max_j r(\mathbf{w},y_j)) ( R ( w , q ref ) , max j r ( w , y j )) collapses, making κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w ) trivial.
Standard properties of log-moment generating functions imply:
As S → 0 + S \to0^{+} S → 0 + (equivalently, κ → ∞ \kappa\to\infty κ → ∞ ),
f ( S ) ⟶ f ( 0 ) = R ( w , q r e f ) f(S) \longrightarrow f(0) = R(\mathbf{w}, q_{\mathrm{ref}}) f ( S ) ⟶ f ( 0 ) = R ( w , q ref ) .
Moreover, f f f is strictly increasing on ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) . Let g ( S ) : = log G ( S ) g(S) := \log G(S) g ( S ) := log G ( S ) . Since g g g is convex and g ( 0 ) = 0 g(0) = 0 g ( 0 ) = 0 , the map S ↦ g ( S ) / S S \mapsto g(S)/S S ↦ g ( S ) / S is nondecreasing on ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) , hence
f ′ ( S ) = S g ′ ( S ) − g ( S ) S 2 ≥ 0 for all S > 0 , f'(S) = \frac{Sg'(S)-g(S)}{S^2} \ge0 \quad\text{for all } S > 0, f ′ ( S ) = S 2 S g ′ ( S ) − g ( S ) ≥ 0 for all S > 0 ,
and under Var ( X ) > 0 \operatorname{Var}(X) > 0 Var ( X ) > 0 (non-degenerate risks), g g g is strictly convex, so f ′ ( S ) > 0 f'(S) > 0 f ′ ( S ) > 0 for all S > 0 S > 0 S > 0 . Therefore f f f maps ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) continuously and strictly monotonically onto the interval ( R ( w , q r e f ) , max j r ( w , y j ) ) (R(\mathbf{w}, q_{\mathrm{ref}}), \max_j r(\mathbf{w}, y_j)) ( R ( w , q ref ) , max j r ( w , y j )) . For any
τ ∈ ( R ( w , q r e f ) , max j r ( w , y j ) ) \tau\in(R(\mathbf{w}, q_{\mathrm{ref}}), \max_j r(\mathbf{w}, y_j)) τ ∈ ( R ( w , q ref ) , j max r ( w , y j ))
there is a unique S > 0 S > 0 S > 0 solving (38) , and thus a unique κ τ ( w ) = 1 / S \kappa_\tau(\mathbf{w}) = 1/S κ τ ( w ) = 1/ S .
Analytic inversion via Lagrange–Bürmann
We derive an analytic series for the inverse mapping τ ↦ S ( τ ) \tau\mapsto S(\tau) τ ↦ S ( τ ) in a neighborhood of the reference point
τ 0 : = f ( 0 ) = R ( w , q r e f ) . \tau_0 := f(0) = R(\mathbf{w}, q_{\mathrm{ref}}). τ 0 := f ( 0 ) = R ( w , q ref ) .
Expanding (39) gives
f ( S ) = τ 0 + a 2 S + a 3 S 2 + a 4 S 3 + ⋯ , a 2 > 0. f(S) = \tau_0 + a_2S + a_3S^2 + a_4S^3 + \cdots,\qquad a_2 > 0. f ( S ) = τ 0 + a 2 S + a 3 S 2 + a 4 S 3 + ⋯ , a 2 > 0.
Since f f f is analytic and f ′ ( 0 ) = a 2 ≠ 0 f'(0) = a_2 \ne0 f ′ ( 0 ) = a 2 = 0 , it admits a local analytic inverse near τ 0 \tau_0 τ 0 , which we write as
S ( τ ) = ∑ n = 1 ∞ c n ( τ − τ 0 ) n . (40) S(\tau) = \sum_{n=1}^{\infty} c_n(\tau-\tau_0)^n. \tag*{(40)} S ( τ ) = n = 1 ∑ ∞ c n ( τ − τ 0 ) n . (40)
Introduce H H H near zero by H ( 0 ) : = 1 / a 2 H(0) := 1/a_2 H ( 0 ) := 1/ a 2 and, for S ≠ 0 S \ne0 S = 0 ,
H ( S ) : = S f ( S ) − τ 0 . (41) H(S) := \frac{S}{f(S)-\tau_0}. \tag*{(41)} H ( S ) := f ( S ) − τ 0 S . (41)
By construction,
f ( S ) − τ 0 = a 2 S + a 3 S 2 + ⋯ , f(S)-\tau_0 = a_2S+a_3S^2+\cdots, f ( S ) − τ 0 = a 2 S + a 3 S 2 + ⋯ ,
so H ( S ) H(S) H ( S ) is analytic at S = 0 S=0 S = 0 with
H ( S ) = 1 a 2 ⋅ 1 1 + a 3 a 2 S + O ( S 2 ) . H(S) = \frac{1}{a_2}\cdot\frac{1}{1+\frac{a_3}{a_2}S+O(S^2)}. H ( S ) = a 2 1 ⋅ 1 + a 2 a 3 S + O ( S 2 ) 1 .
Applying the geometric series expansion 1 1 + x = 1 − x + x 2 − x 3 + ⋯ \frac{1}{1+x}=1-x+x^2-x^3+\cdots 1 + x 1 = 1 − x + x 2 − x 3 + ⋯ with x = a 3 a 2 S + O ( S 2 ) x=\frac{a_3}{a_2}S+O(S^2) x = a 2 a 3 S + O ( S 2 ) :
H ( S ) = 1 a 2 ( 1 − ( a 3 a 2 S + O ( S 2 ) ) + O ( S 2 ) ) H(S) = \frac{1}{a_2}\left(1-\left(\frac{a_3}{a_2}S+O(S^2)\right)+O(S^2)\right) H ( S ) = a 2 1 ( 1 − ( a 2 a 3 S + O ( S 2 ) ) + O ( S 2 ) )
H ( S ) = 1 a 2 ( 1 − a 3 a 2 S + O ( S 2 ) ) , H ( 0 ) = 1 a 2 . H(S) = \frac{1}{a_2}\left(1-\frac{a_3}{a_2}S+O(S^2)\right),\qquad H(0)=\frac{1}{a_2}. H ( S ) = a 2 1 ( 1 − a 2 a 3 S + O ( S 2 ) ) , H ( 0 ) = a 2 1 .
The Lagrange–Bürmann inversion theorem yields, for n ≥ 1 n \ge1 n ≥ 1 ,
c n = 1 n ! [ d n − 1 d S n − 1 ( H ( S ) n ) ] S = 0 . (42) c_n = \frac{1}{n!}\left[\frac{d^{n-1}}{dS^{n-1}}\left(H(S)^n\right)\right]_{S=0}. \tag*{(42)} c n = n ! 1 [ d S n − 1 d n − 1 ( H ( S ) n ) ] S = 0 . (42)
This provides an analytical expression for each coefficient c n c_n c n in terms of the derivatives of H H H at the origin, hence in terms of the cumulants of X X X . For illustration, the first coefficients are
c 1 = 1 a 2 , c 2 = − a 3 a 2 3 , c 3 = 2 a 3 2 − a 2 a 4 a 2 5 . (43) c_1=\frac{1}{a_2},\qquad c_2=-\frac{a_3}{a_2^3},\qquad c_3=\frac{2a_3^2-a_2a_4}{a_2^5}. \tag*{(43)} c 1 = a 2 1 , c 2 = − a 2 3 a 3 , c 3 = a 2 5 2 a 3 2 − a 2 a 4 . (43)
Laurent series for κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w )
Using the shifted variable z : = τ − τ 0 z := \tau- \tau_0 z := τ − τ 0 , we write the inverse series from (40) as
S ( z ) : = ∑ n = 1 ∞ c n z n . S(z) := \sum_{n=1}^{\infty} c_n z^n. S ( z ) := n = 1 ∑ ∞ c n z n .
The convergence radius of this power series is defined by the Cauchy–Hadamard formula:
R z ( w ) : = ( lim sup n → ∞ ∣ c n ∣ 1 / n ) − 1 ∈ ( 0 , ∞ ] , (44) R_z(\mathbf{w}) := \left(\limsup_{n \to\infty} |c_n|^{1/n}\right)^{-1} \in(0,\infty], \tag*{(44)} R z ( w ) := ( n → ∞ lim sup ∣ c n ∣ 1/ n ) − 1 ∈ ( 0 , ∞ ] , (44)
with the convention 1 / 0 = ∞ 1/0 = \infty 1/0 = ∞ . Thus, the power series for S ( z ) S(z) S ( z ) converges for 0 < z < R z ( w ) 0 < z < R_z(\mathbf{w}) 0 < z < R z ( w ) . Since c 1 > 0 c_1 > 0 c 1 > 0 , the function S ( z ) S(z) S ( z ) is analytic near zero with S ( 0 ) = 0 S(0) = 0 S ( 0 ) = 0 and S ′ ( 0 ) = c 1 ≠ 0 S'(0) = c_1 \ne0 S ′ ( 0 ) = c 1 = 0 . Consequently, κ τ ( w ) = 1 / S ( z ) \kappa_\tau(\mathbf{w}) = 1/S(z) κ τ ( w ) = 1/ S ( z ) admits a Laurent expansion with a simple pole at z = 0 z = 0 z = 0 . For sufficiently small z > 0 z > 0 z > 0 ,
κ τ ( w ) = 1 S ( z ) = ∑ m = − 1 ∞ d m z m , z = τ − τ 0 , (45) \kappa_\tau(\mathbf{w}) = \frac{1}{S(z)} = \sum_{m=-1}^{\infty} d_m z^m,\qquad z = \tau- \tau_0, \tag*{(45)} κ τ ( w ) = S ( z ) 1 = m = − 1 ∑ ∞ d m z m , z = τ − τ 0 , (45)
where the coefficients { d m } m ≥ − 1 \{d_m\}_{m\ge-1} { d m } m ≥ − 1 are determined uniquely by the identity S ( z ) κ τ ( w ) = 1 S(z)\kappa_\tau(\mathbf{w}) = 1 S ( z ) κ τ ( w ) = 1 . Multiplying (40) and (45) and matching coefficients gives the recursion
c 1 d − 1 = 1 ⇒ d − 1 = 1 c 1 , c_1d_{-1}=1 \Rightarrow d_{-1}=\frac{1}{c_1}, c 1 d − 1 = 1 ⇒ d − 1 = c 1 1 ,
and for any integer ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 ,
d ℓ = − 1 c 1 ∑ n = 2 ℓ + 2 c n d ℓ + 1 − n . (46) d_\ell=-\frac{1}{c_1}\sum_{n=2}^{\ell+2}c_nd_{\ell+1-n}. \tag*{(46)} d ℓ = − c 1 1 n = 2 ∑ ℓ + 2 c n d ℓ + 1 − n . (46)
Equations (42), (40), (45), and (46) provide a complete analytic description of κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w ) as a Laurent series in z = τ − τ 0 z = \tau- \tau_0 z = τ − τ 0 .
In particular, the leading term is
κ τ ( w ) ∼ d − 1 z = 1 c 1 ( τ − τ 0 ) = a 2 τ − τ 0 = 1 2 Var q r e f ( r ( w , y j ) ) τ − R ( w , q r e f ) as τ ↓ τ 0 . \kappa_\tau(\mathbf{w}) \sim\frac{d_{-1}}{z}=\frac{1}{c_1(\tau-\tau_0)}=\frac{a_2}{\tau-\tau_0}=\frac{\frac{1}{2}\operatorname{Var}_{q_{\mathrm{ref}}}(r(\mathbf{w},y_j))}{\tau-R(\mathbf{w},q_{\mathrm{ref}})}
\qquad\text{as }\tau\downarrow\tau_0. κ τ ( w ) ∼ z d − 1 = c 1 ( τ − τ 0 ) 1 = τ − τ 0 a 2 = τ − R ( w , q ref ) 2 1 Var q ref ( r ( w , y j )) as τ ↓ τ 0 .
Truncation error bounds for the Lagrange–Bürmann approximation
In implementation we approximate S ( z ) S(z) S ( z ) (hence κ τ ( w ) = 1 / S ( z ) \kappa_\tau(\mathbf{w}) = 1/S(z) κ τ ( w ) = 1/ S ( z ) ) by truncating the Lagrange–Bürmann series. The bounds below are non-asymptotic and decay geometrically with the truncation order.
Truncations. For an integer N ≥ 1 N \ge1 N ≥ 1 , define the order-N N N truncation of (40) as
S N ( z ) : = ∑ n = 1 N c n z n , R N S ( z ) : = S ( z ) − S N ( z ) . (47) S_N(z) := \sum_{n=1}^{N} c_n z^n,\qquad R_N^S(z) := S(z)-S_N(z). \tag*{(47)} S N ( z ) := n = 1 ∑ N c n z n , R N S ( z ) := S ( z ) − S N ( z ) . (47)
For the Laurent series (45), define the order-N N N truncation
κ N ( z ) : = ∑ m = − 1 N d m z m , R N κ ( z ) : = κ τ ( w ) − κ N ( z ) . (48) \kappa_N(z) := \sum_{m=-1}^{N}d_m z^m,\qquad R_N^\kappa(z) := \kappa_\tau(\mathbf{w})-\kappa_N(z). \tag*{(48)} κ N ( z ) := m = − 1 ∑ N d m z m , R N κ ( z ) := κ τ ( w ) − κ N ( z ) . (48)
Note that computing { d m } m = − 1 N \{d_m\}_{m=-1}^{N} { d m } m = − 1 N via (46) requires only { c n } n = 1 N + 2 \{c_n\}_{n=1}^{N+2} { c n } n = 1 N + 2 .
A geometric tail bound for S N S_N S N
Assumption G.1 (Analyticity disk and boundedness of H H H ). Fix w ∈ W τ \mathbf{w} \in\mathcal{W}_{\tau} w ∈ W τ . There exist constants ϱ > 0 \varrho> 0 ϱ > 0 and B H ∈ ( 0 , ∞ ) B_H \in(0,\infty) B H ∈ ( 0 , ∞ ) such that H H H defined in (41) is analytic on an open neighborhood of the closed disk
D ‾ ϱ : = { S ∈ C : ∣ S ∣ ≤ ϱ } \overline{D}_{\varrho} := \{S \in\mathbb{C} : |S| \le\varrho\} D ϱ := { S ∈ C : ∣ S ∣ ≤ ϱ } and satisfies
sup ∣ S ∣ ≤ ϱ ∣ H ( S ) ∣ ≤ B H . (49) \sup_{|S|\le\varrho} |H(S)| \le B_H. \tag*{(49)} ∣ S ∣ ≤ ϱ sup ∣ H ( S ) ∣ ≤ B H . (49)
Theorem G.3 (Geometric truncation bound for S N S_N S N ). For fixed w ∈ W τ \mathbf{w} \in\mathcal{W}_{\tau} w ∈ W τ , choose ϱ \varrho ϱ and B H B_H B H satisfying Assumption G.1, and define
U : = ϱ B H . (50) U := \frac{\varrho}{B_H}. \tag*{(50)} U := B H ϱ . (50) Then for every z ∈ C z \in\mathbb{C} z ∈ C with ∣ z ∣ < U |z|<U ∣ z ∣ < U , the series (40) converges absolutely and, for every integer N ≥ 1 N \ge1 N ≥ 1 ,
∣ S ( z ) − S N ( z ) ∣ ≤ ϱ η ( z ) N + 1 1 − η ( z ) , η ( z ) : = ∣ z ∣ U = ∣ z ∣ B H ϱ . (51) |S(z)-S_N(z)| \le\frac{\varrho\eta(z)^{N+1}}{1-\eta(z)}, \qquad\eta(z):=\frac{|z|}{U}=\frac{|z|B_H}{\varrho}. \tag*{(51)} ∣ S ( z ) − S N ( z ) ∣ ≤ 1 − η ( z ) ϱ η ( z ) N + 1 , η ( z ) := U ∣ z ∣ = ϱ ∣ z ∣ B H . (51) Proof. For ∣ z ∣ < U |z|<U ∣ z ∣ < U , on ∣ S ∣ = ϱ |S|=\varrho ∣ S ∣ = ϱ we have ∣ z H ( S ) ∣ ≤ ∣ z ∣ B H < ϱ = ∣ S ∣ |zH(S)|\le|z|B_H<\varrho=|S| ∣ z H ( S ) ∣ ≤ ∣ z ∣ B H < ϱ = ∣ S ∣ . Rouché’s theorem therefore gives exactly one simple root of S − z H ( S ) = 0 S-zH(S)=0 S − z H ( S ) = 0 inside the disk. This root depends analytically on z z z and extends the local inverse throughout ∣ z ∣ < U |z|<U ∣ z ∣ < U .
By (42) and Cauchy’s estimate on ∣ S ∣ ≤ ϱ |S|\le\varrho ∣ S ∣ ≤ ϱ ,
∣ d n − 1 d S n − 1 ( H ( S ) n ) ∣ S = 0 ≤ ( n − 1 ) ! ϱ n − 1 sup ∣ S ∣ ≤ ϱ ∣ H ( S ) ∣ n ≤ ( n − 1 ) ! ϱ n − 1 B H n . \left|\frac{d^{n-1}}{dS^{n-1}}\left(H(S)^n\right)\right|_{S=0}
\le\frac{(n-1)!}{\varrho^{n-1}}\sup_{|S|\le\varrho}|H(S)|^n
\le\frac{(n-1)!}{\varrho^{n-1}}B_H^n. d S n − 1 d n − 1 ( H ( S ) n ) S = 0 ≤ ϱ n − 1 ( n − 1 )! ∣ S ∣ ≤ ϱ sup ∣ H ( S ) ∣ n ≤ ϱ n − 1 ( n − 1 )! B H n . Dividing by n ! n! n ! yields
∣ c n ∣ ≤ 1 n B H n ϱ n − 1 ≤ B H n ϱ n − 1 . (52) |c_n|\le\frac{1}{n}\frac{B_H^n}{\varrho^{n-1}}\le\frac{B_H^n}{\varrho^{n-1}}. \tag*{(52)} ∣ c n ∣ ≤ n 1 ϱ n − 1 B H n ≤ ϱ n − 1 B H n . (52) Therefore, for ∣ z ∣ < ϱ / B H |z|<\varrho/B_H ∣ z ∣ < ϱ / B H ,
∣ R N S ( z ) ∣ = ∣ ∑ n = N + 1 ∞ c n z n ∣ ≤ ∑ n = N + 1 ∞ ∣ c n ∣ ∣ z ∣ n ≤ ∑ n = N + 1 ∞ B H n ϱ n − 1 ∣ z ∣ n = ϱ ∑ n = N + 1 ∞ η ( z ) n = ϱ η ( z ) N + 1 1 − η ( z ) , |R_N^S(z)|=\left|\sum_{n=N+1}^{\infty}c_nz^n\right|
\le\sum_{n=N+1}^{\infty}|c_n||z|^n
\le\sum_{n=N+1}^{\infty}\frac{B_H^n}{\varrho^{n-1}}|z|^n
=\varrho\sum_{n=N+1}^{\infty}\eta(z)^n
=\frac{\varrho\eta(z)^{N+1}}{1-\eta(z)}, ∣ R N S ( z ) ∣ = n = N + 1 ∑ ∞ c n z n ≤ n = N + 1 ∑ ∞ ∣ c n ∣∣ z ∣ n ≤ n = N + 1 ∑ ∞ ϱ n − 1 B H n ∣ z ∣ n = ϱ n = N + 1 ∑ ∞ η ( z ) n = 1 − η ( z ) ϱ η ( z ) N + 1 , which is (51). □ \square □
The coefficient bound (52) gives
∣ c n ∣ ≤ B H n n ϱ n − 1 = ϱ n ( B H ϱ ) n . |c_n|\le\frac{B_H^n}{n\varrho^{n-1}}=\frac{\varrho}{n}\left(\frac{B_H}{\varrho}\right)^n. ∣ c n ∣ ≤ n ϱ n − 1 B H n = n ϱ ( ϱ B H ) n . Taking n n n th roots yields
∣ c n ∣ 1 / n ≤ ( ϱ n ) 1 / n B H ϱ . |c_n|^{1/n}\le\left(\frac{\varrho}{n}\right)^{1/n}\frac{B_H}{\varrho}. ∣ c n ∣ 1/ n ≤ ( n ϱ ) 1/ n ϱ B H . Since ϱ > 0 \varrho>0 ϱ > 0 is fixed,
( ϱ n ) 1 / n = exp ( log ϱ − log n n ) ⟶ 1. \left(\frac{\varrho}{n}\right)^{1/n}=\exp\left(\frac{\log\varrho-\log n}{n}\right)\longrightarrow1. ( n ϱ ) 1/ n = exp ( n log ϱ − log n ) ⟶ 1. Therefore,
lim sup n → ∞ ∣ c n ∣ 1 / n ≤ B H ϱ . \limsup_{n\to\infty}|c_n|^{1/n}\le\frac{B_H}{\varrho}. n → ∞ lim sup ∣ c n ∣ 1/ n ≤ ϱ B H .
By the Cauchy–Hadamard formula (44),
R z ( w ) = ( lim sup n → ∞ ∣ c n ∣ 1 / n ) − 1 ≥ ϱ B H = U . R_z(\mathbf{w}) = \left(\limsup_{n\to\infty} |c_n|^{1/n}\right)^{-1} \ge\frac{\varrho}{B_H} = U. R z ( w ) = ( n → ∞ lim sup ∣ c n ∣ 1/ n ) − 1 ≥ B H ϱ = U .
Consequently, U U U is a guaranteed, possibly conservative convergence radius for the inverse series; it need not equal the actual radius R z ( w ) R_z(\mathbf{w}) R z ( w ) .
Choosing N N N for a target tolerance on S S S . Given ε S > 0 \varepsilon_S > 0 ε S > 0 and η ( z ) ∈ ( 0 , 1 ) \eta(z) \in(0,1) η ( z ) ∈ ( 0 , 1 ) , it suffices to choose N N N such that
ϱ η ( z ) N + 1 1 − η ( z ) ≤ ε S ⟺ N + 1 ≥ log ( ε S ( 1 − η ( z ) ) / ϱ ) log ( η ( z ) ) , (53) \frac{\varrho\,\eta(z)^{N+1}}{1-\eta(z)} \le\varepsilon_S \qquad\Longleftrightarrow\qquad N+1 \ge\frac{\log(\varepsilon_S(1-\eta(z))/\varrho)}{\log(\eta(z))}, \tag*{(53)} 1 − η ( z ) ϱ η ( z ) N + 1 ≤ ε S ⟺ N + 1 ≥ log ( η ( z )) log ( ε S ( 1 − η ( z )) / ϱ ) , (53)
where log ( η ( z ) ) < 0 \log(\eta(z)) < 0 log ( η ( z )) < 0 .
A geometric tail bound for the Laurent truncation of κ \kappa κ
Define the analytic function
κ ~ ( z ) : = z κ τ ( w ) = z S ( z ) . (54) \widetilde{\kappa}(z) := z\kappa_\tau(\mathbf{w}) = \frac{z}{S(z)}. \tag*{(54)} κ ( z ) := z κ τ ( w ) = S ( z ) z . (54)
Since S ( z ) = c 1 z + O ( z 2 ) S(z) = c_1z + O(z^2) S ( z ) = c 1 z + O ( z 2 ) with c 1 > 0 c_1 > 0 c 1 > 0 , κ ~ \widetilde{\kappa} κ is analytic at z = 0 z=0 z = 0 .
Corollary G.4 (Geometric truncation bound for κ N \kappa_N κ N ). For fixed w ∈ W τ \mathbf{w} \in\mathcal{W}_\tau w ∈ W τ , choose ϱ \varrho ϱ and B H B_H B H satisfying Assumption G.1. Fix any radius r ∈ ( 0 , U ) r \in(0,U) r ∈ ( 0 , U ) for the complex z z z -disk { z ∈ C : ∣ z ∣ ≤ r } \{z \in\mathbb{C}: |z| \le r\} { z ∈ C : ∣ z ∣ ≤ r } (recall z = τ − τ 0 z=\tau-\tau_0 z = τ − τ 0 ) such that
B H η r 1 − η r ≤ c 1 2 , η r : = r U = r B H ϱ . (55) \frac{B_H\eta_r}{1-\eta_r} \le\frac{c_1}{2}, \qquad\eta_r := \frac{r}{U} = \frac{rB_H}{\varrho}. \tag*{(55)} 1 − η r B H η r ≤ 2 c 1 , η r := U r = ϱ r B H . (55) Then κ ~ \widetilde{\kappa} κ is analytic on { ∣ z ∣ ≤ r } \{|z| \le r\} { ∣ z ∣ ≤ r } and satisfies
sup ∣ z ∣ ≤ r ∣ κ ~ ( z ) ∣ ≤ 2 c 1 . (56) \sup_{|z|\le r} |\widetilde{\kappa}(z)| \le\frac{2}{c_1}. \tag*{(56)} ∣ z ∣ ≤ r sup ∣ κ ( z ) ∣ ≤ c 1 2 . (56) Moreover, for every z z z with 0 < ∣ z ∣ < r 0 < |z| < r 0 < ∣ z ∣ < r and every integer N ≥ − 1 N \ge-1 N ≥ − 1 , the Laurent truncation (48) satisfies
∣ κ τ ( w ) − κ N ( z ) ∣ ≤ 2 c 1 ⋅ ( ∣ z ∣ r ) N + 2 1 − ∣ z ∣ r ⋅ 1 ∣ z ∣ . (57) |\kappa_\tau(\mathbf{w})-\kappa_N(z)| \le\frac{2}{c_1}\cdot\frac{\left(\frac{|z|}{r}\right)^{N+2}}{1-\frac{|z|}{r}}\cdot\frac{1}{|z|}. \tag*{(57)} ∣ κ τ ( w ) − κ N ( z ) ∣ ≤ c 1 2 ⋅ 1 − r ∣ z ∣ ( r ∣ z ∣ ) N + 2 ⋅ ∣ z ∣ 1 . (57)
Proof. Write Q ( z ) : = S ( z ) / z = ∑ n = 1 ∞ c n z n − 1 Q(z):=S(z)/z=\sum_{n=1}^{\infty}c_nz^{n-1} Q ( z ) := S ( z ) / z = ∑ n = 1 ∞ c n z n − 1 , so that Q ( 0 ) = c 1 Q(0)=c_1 Q ( 0 ) = c 1 and κ ~ ( z ) = 1 / Q ( z ) \widetilde{\kappa}(z)=1/Q(z) κ ( z ) = 1/ Q ( z ) . Using the coefficient bound (52), for ∣ z ∣ ≤ r |z|\le r ∣ z ∣ ≤ r we obtain
∣ Q ( z ) − c 1 ∣ ≤ ∑ n = 2 ∞ ∣ c n ∣ ∣ z ∣ n − 1 ≤ ∑ n = 2 ∞ B H ϱ n − 1 r n − 1 = B H ∑ k = 1 ∞ η r k = B H η r 1 − η r . |Q(z)-c_1| \le\sum_{n=2}^{\infty}|c_n||z|^{n-1} \le\sum_{n=2}^{\infty}\frac{B_H}{\varrho^{n-1}}r^{n-1}=B_H\sum_{k=1}^{\infty}\eta_r^k=\frac{B_H\eta_r}{1-\eta_r}. ∣ Q ( z ) − c 1 ∣ ≤ n = 2 ∑ ∞ ∣ c n ∣∣ z ∣ n − 1 ≤ n = 2 ∑ ∞ ϱ n − 1 B H r n − 1 = B H k = 1 ∑ ∞ η r k = 1 − η r B H η r .
Under (55), this implies ∣ Q ( z ) ∣ ≥ c 1 / 2 |Q(z)|\ge c_1/2 ∣ Q ( z ) ∣ ≥ c 1 /2 on ∣ z ∣ ≤ r |z|\le r ∣ z ∣ ≤ r , hence (56). Since κ ~ \widetilde{\kappa} κ is analytic on ∣ z ∣ ≤ r |z|\le r ∣ z ∣ ≤ r and bounded by 2 / c 1 2/c_1 2/ c 1 there, its Taylor remainder after degree ( N + 1 ) (N+1) ( N + 1 ) satisfies the standard geometric estimate
∣ κ ~ ( z ) − ∑ m = 0 N + 1 d m − 1 z m ∣ ≤ 2 c 1 ⋅ ( ∣ z ∣ r ) N + 2 1 − ∣ z ∣ r , 0 < ∣ z ∣ < r , \left|\widetilde{\kappa}(z)-\sum_{m=0}^{N+1}d_{m-1}z^m\right| \le\frac{2}{c_1}\cdot\frac{\left(\frac{|z|}{r}\right)^{N+2}}{1-\frac{|z|}{r}}, \qquad0<|z|<r, κ ( z ) − m = 0 ∑ N + 1 d m − 1 z m ≤ c 1 2 ⋅ 1 − r ∣ z ∣ ( r ∣ z ∣ ) N + 2 , 0 < ∣ z ∣ < r ,
and dividing by ∣ z ∣ |z| ∣ z ∣ yields (57) because κ N ( z ) = ∑ m = − 1 N d m z m = 1 z ∑ m = 0 N + 1 d m − 1 z m \kappa_N(z)=\sum_{m=-1}^{N}d_mz^m=\frac{1}{z}\sum_{m=0}^{N+1}d_{m-1}z^m κ N ( z ) = ∑ m = − 1 N d m z m = z 1 ∑ m = 0 N + 1 d m − 1 z m .
Choosing N N N for a target tolerance on κ \kappa κ . Fix z ≠ 0 z\ne0 z = 0 with ∣ z ∣ < r |z|<r ∣ z ∣ < r . Given ε κ > 0 \varepsilon_\kappa>0 ε κ > 0 , it suffices to choose N N N so that the right-hand side of (57) is at most ε κ \varepsilon_\kappa ε κ .
Uniformity over iterates. Suppose there exist common constants ( ϱ , B H ) (\varrho, B_H) ( ϱ , B H ) such that the analyticity and boundedness conditions in Assumption G.1 hold for every iterate, and c 1 ( w t ) ≥ c 1 , min > 0 c_1(\mathbf{w}_t) \ge c_{1,\min} > 0 c 1 ( w t ) ≥ c 1 , m i n > 0 . Choose a common r ∈ ( 0 , U ) r \in(0,U) r ∈ ( 0 , U ) satisfying (55) for every iterate, and assume 0 < ∣ z t ∣ ≤ η ˉ r 0 < |z_t| \le\bar{\eta}r 0 < ∣ z t ∣ ≤ η ˉ r for some η ˉ ∈ ( 0 , 1 ) \bar{\eta} \in(0,1) η ˉ ∈ ( 0 , 1 ) , where z t = τ − R ( w t , q r e f ) z_t = \tau- R(\mathbf{w}_t,\mathbf{q}_{\mathrm{ref}}) z t = τ − R ( w t , q ref ) . Writing κ N , t \kappa_{N,t} κ N , t for the Laurent truncation at w t \mathbf{w}_t w t , Corollary G.4 gives
sup t ∣ κ τ ( w t ) − κ N , t ( z t ) ∣ ≤ 2 c 1 , min r η ˉ N + 1 1 − η ˉ . \sup_t \left|\kappa_\tau(\mathbf{w}_t)-\kappa_{N,t}(z_t)\right| \le\frac{2}{c_{1,\min}r}\frac{\bar{\eta}^{N+1}}{1-\bar{\eta}}. t sup ∣ κ τ ( w t ) − κ N , t ( z t ) ∣ ≤ c 1 , m i n r 2 1 − η ˉ η ˉ N + 1 .
Closed-Form Solution of the Simplex-Constrained QP
In each iteration of Algorithm 1, the ensemble weights are updated by solving the convex quadratic program
min w ∈ R M 1 2 w T H w + g T w s.t. w ≥ 0 , 1 T w = 1 , (58) \min_{\mathbf{w}\in\mathbb{R}^M}\ \frac{1}{2}\mathbf{w}^{\mathsf T}\mathbf{H}\mathbf{w}+\mathbf{g}^{\mathsf T}\mathbf{w}
\quad\text{s.t.}\quad\mathbf{w}\ge0,\quad\mathbf{1}^{\mathsf T}\mathbf{w}=1, \tag*{(58)} w ∈ R M min 2 1 w T Hw + g T w s.t. w ≥ 0 , 1 T w = 1 , (58)
In our application at iteration t t t , we set H = H t \mathbf{H}=\mathbf{H}_t H = H t and g = g t \mathbf{g}=\mathbf{g}_t g = g t as defined below.
Let w ⋆ \mathbf{w}^{\star} w ⋆ denote the unique minimizer of (58) . Throughout this appendix, we assume that H \mathbf{H} H is symmetric positive definite. This holds for the proximal RSE subproblem in Eq. (59) , since H t = 2 A a d v , t + ρ I ≻ 0 \mathbf{H}_t=2\mathbf{A}_{\mathrm{adv},t}+\rho\mathbf{I}\succ0 H t = 2 A adv , t + ρ I ≻ 0 when A a d v , t ⪰ 0 \mathbf{A}_{\mathrm{adv},t}\succeq0 A adv , t ⪰ 0 and ρ > 0 \rho>0 ρ > 0 . We define the active and inactive index sets at the optimum as
S : = { i ∈ { 1 , … , M } : w i ⋆ > 0 } , S c : = { 1 , … , M } ∖ S . S:=\{i\in\{1,\ldots,M\}:w_i^\star>0\},\qquad S^c:=\{1,\ldots,M\}\setminus S. S := { i ∈ { 1 , … , M } : w i ⋆ > 0 } , S c := { 1 , … , M } ∖ S .
For any index sets I , J ⊆ { 1 , … , M } I,J\subseteq\{1,\ldots,M\} I , J ⊆ { 1 , … , M } we use the standard block notation:
w I : = ( w i ) i ∈ I , g I : = ( g i ) i ∈ I , 1 I : = ( 1 ) i ∈ I , H I J : = ( H i j ) i ∈ I , j ∈ J . \mathbf{w}_I:=(w_i)_{i\in I},\quad\mathbf{g}_I:=(g_i)_{i\in I},\quad\mathbf{1}_I:=(1)_{i\in I},\quad\mathbf{H}_{IJ}:=(H_{ij})_{i\in I,j\in J}. w I := ( w i ) i ∈ I , g I := ( g i ) i ∈ I , 1 I := ( 1 ) i ∈ I , H I J := ( H ij ) i ∈ I , j ∈ J .
In our RSE update (10) , the QP has the form
min w ∈ Δ M w T A a d v , t w + b a d v , t T w + ρ 2 ∥ w − w t ∥ 2 2 . \min_{\mathbf{w}\in\Delta_M}\ \mathbf{w}^{\mathsf T}\mathbf{A}_{\mathrm{adv},t}\mathbf{w}+\mathbf{b}_{\mathrm{adv},t}^{\mathsf T}\mathbf{w}+\frac{\rho}{2}\lVert\mathbf{w}-\mathbf{w}_t\rVert_2^2. w ∈ Δ M min w T A adv , t w + b adv , t T w + 2 ρ ∥ w − w t ∥ 2 2 .
Expanding the proximal term and collecting quadratic/linear parts gives (58) (at iteration t t t ) with H = H t \mathbf{H}=\mathbf{H}_t H = H t and g = g t \mathbf{g}=\mathbf{g}_t g = g t , where
H t = 2 A a d v , t + ρ I , g t = b a d v , t − ρ w t , (59) \mathbf{H}_t=2\mathbf{A}_{\mathrm{adv},t}+\rho\mathbf{I},\qquad\mathbf{g}_t=\mathbf{b}_{\mathrm{adv},t}-\rho\mathbf{w}_t, \tag*{(59)} H t = 2 A adv , t + ρ I , g t = b adv , t − ρ w t , (59)
(up to an additive constant independent of w \mathbf{w} w ).
The feasible region is the probability simplex Δ M \Delta_M Δ M . In our RSE update (59) , ρ > 0 \rho>0 ρ > 0 implies
H t = 2 A a d v , t + ρ I ≻ 0 , \mathbf{H}_t=2\mathbf{A}_{\mathrm{adv},t}+\rho\mathbf{I}\succ0, H t = 2 A adv , t + ρ I ≻ 0 ,
so problem (58) is strictly convex and therefore has a unique global minimizer, denoted w ⋆ \mathbf{w}^\star w ⋆ . Since H t ≻ 0 \mathbf{H}_t\succ0 H t ≻ 0 , every principal submatrix is positive definite; hence ( H t ) S S ≻ 0 (\mathbf{H}_t)_{SS}\succ0 ( H t ) S S ≻ 0 and is invertible.
Geometrically, this step projects the unconstrained quadratic minimizer onto the simplex. Indeed, since H ≻ 0 \mathbf{H}\succ0 H ≻ 0 , the unconstrained minimizer is − H − 1 g -\mathbf{H}^{-1}\mathbf{g} − H − 1 g , and completing the square gives
1 2 w T H w + g T w = 1 2 ∥ w + H − 1 g ∥ H 2 − 1 2 g T H − 1 g , \frac{1}{2}\mathbf{w}^{\mathsf T}\mathbf{H}\mathbf{w}+\mathbf{g}^{\mathsf T}\mathbf{w}
=\frac{1}{2}\lVert\mathbf{w}+\mathbf{H}^{-1}\mathbf{g}\rVert_{\mathbf{H}}^2-\frac{1}{2}\mathbf{g}^{\mathsf T}\mathbf{H}^{-1}\mathbf{g}, 2 1 w T Hw + g T w = 2 1 ∥ w + H − 1 g ∥ H 2 − 2 1 g T H − 1 g ,
where ∥ u ∥ H 2 : = u T H u \lVert\mathbf{u}\rVert_{\mathbf{H}}^2:=\mathbf{u}^{\mathsf T}\mathbf{H}\mathbf{u} ∥ u ∥ H 2 := u T Hu . Hence
w ⋆ = arg min w ∈ Δ M ∥ w − ( − H − 1 g ) ∥ H 2 . \mathbf{w}^\star=\mathop{\arg\min}_{\mathbf{w}\in\Delta_M}\left\lVert\mathbf{w}-\left(-\mathbf{H}^{-1}\mathbf{g}\right)\right\rVert_{\mathbf{H}}^2. w ⋆ = arg min w ∈ Δ M w − ( − H − 1 g ) H 2 .
i.e., w ⋆ \mathbf{w}^\star w ⋆ is the projection of − H − 1 g -\mathbf{H}^{-1}\mathbf{g} − H − 1 g onto Δ M \Delta_M Δ M in the H \mathbf{H} H -norm.
KKT Conditions and Active Set Framework
The Lagrangian of (58) is
L ( w , λ , μ ) = 1 2 w T H w + g T w + λ ( 1 T w − 1 ) − μ T w , \mathcal{L}(\mathbf{w},\lambda,\boldsymbol{\mu})=\frac{1}{2}\mathbf{w}^{\mathsf T}\mathbf{H}\mathbf{w}+\mathbf{g}^{\mathsf T}\mathbf{w}+\lambda(\mathbf{1}^{\mathsf T}\mathbf{w}-1)-\boldsymbol{\mu}^{\mathsf T}\mathbf{w}, L ( w , λ , μ ) = 2 1 w T Hw + g T w + λ ( 1 T w − 1 ) − μ T w ,
where
λ ∈ R \lambda\in\mathbb{R} λ ∈ R is the multiplier for the equality constraint 1 T w = 1 \mathbf{1}^{\mathsf{T}}\mathbf{w}=1 1 T w = 1 ;
μ ∈ R ≥ 0 M \boldsymbol{\mu} \in\mathbb{R}_{\geq0}^{M} μ ∈ R ≥ 0 M are the multipliers for the nonnegativity constraints w i ≥ 0 w_i \geq0 w i ≥ 0 .
The full KKT conditions are
H w + g + λ 1 − μ = 0 , (60) \mathbf{H}\mathbf{w}+\mathbf{g}+\lambda\mathbf{1}-\boldsymbol{\mu}=0, \tag*{(60)} Hw + g + λ 1 − μ = 0 , (60)
w ≥ 0 , μ ≥ 0 , μ i w i = 0 ∀ i , (61) \mathbf{w}\geq0,\quad\boldsymbol{\mu}\geq0,\quad\mu_iw_i=0\ \forall i, \tag*{(61)} w ≥ 0 , μ ≥ 0 , μ i w i = 0 ∀ i , (61)
1 T w = 1. (62) \mathbf{1}^{\mathsf{T}}\mathbf{w}=1. \tag*{(62)} 1 T w = 1. (62)
Complementary slackness (61) implies
i ∈ S ⇒ μ i = 0 , i ∈ S c ⇒ w i = 0 , μ i ≥ 0. i\in S\Rightarrow\mu_i=0,\qquad i\in S^{c}\Rightarrow w_i=0,\ \mu_i\geq0. i ∈ S ⇒ μ i = 0 , i ∈ S c ⇒ w i = 0 , μ i ≥ 0.
Splitting the gradient condition (60) yields:
H S S w S + g S + λ 1 S = 0 , (63) \mathbf{H}_{SS}\mathbf{w}_{S}+\mathbf{g}_{S}+\lambda\mathbf{1}_{S}=0, \tag*{(63)} H S S w S + g S + λ 1 S = 0 , (63)
H S c S w S + g S c + λ 1 S c = μ S c ≥ 0. (64) \mathbf{H}_{S^{c}S}\mathbf{w}_{S}+\mathbf{g}_{S^{c}}+\lambda\mathbf{1}_{S^{c}}=\boldsymbol{\mu}_{S^{c}}\geq0. \tag*{(64)} H S c S w S + g S c + λ 1 S c = μ S c ≥ 0. (64)
The equality constraint reduces to
1 S T w S = 1. (65) \mathbf{1}_{S}^{\mathsf{T}}\mathbf{w}_{S}=1. \tag*{(65)} 1 S T w S = 1. (65)
Equations (63) and (65) produce the linear system
\begin{bmatrix}
\mathbf{H}_{SS} & \mathbf{1}_{S}\\
\mathbf{1}_{S}^{\mathsf{T}} & 0
\end{bmatrix}
\begin{bmatrix}
\mathbf{w}_{S}\\
\lambda
\end{bmatrix}
=
\begin{bmatrix}
-\mathbf{g}_{S}\\
1
\end{bmatrix}. \tag*{(66)}\end{bmatrix}
The inactive coordinates are fixed at w S c = 0 \mathbf{w}_{S^{c}}=0 w S c = 0 , and feasibility requires μ S c ≥ 0 \boldsymbol{\mu}_{S^{c}}\geq0 μ S c ≥ 0 via (64). Thus, solving the QP reduces to identifying the correct active set S S S and then solving (A1).
Closed-Form Analytical Solution for a Fixed Active Set
System (A1) admits the explicit closed-form solution:
λ ⋆ = 1 S T H S S − 1 ( − g S ) − 1 1 S T H S S − 1 1 S , (67) \lambda^{\star}=\frac{\mathbf{1}_{S}^{\mathsf{T}}\mathbf{H}_{SS}^{-1}(-\mathbf{g}_{S})-1}{\mathbf{1}_{S}^{\mathsf{T}}\mathbf{H}_{SS}^{-1}\mathbf{1}_{S}}, \tag*{(67)} λ ⋆ = 1 S T H S S − 1 1 S 1 S T H S S − 1 ( − g S ) − 1 , (67)
w S ⋆ = − H S S − 1 ( g S + λ ⋆ 1 S ) , (68) \mathbf{w}_{S}^{\star}=-\mathbf{H}_{SS}^{-1}\left(\mathbf{g}_{S}+\lambda^{\star}\mathbf{1}_{S}\right), \tag*{(68)} w S ⋆ = − H S S − 1 ( g S + λ ⋆ 1 S ) , (68)
with
w S c ⋆ = 0. \mathbf{w}_{S^{c}}^{\star}=0. w S c ⋆ = 0.
These equations follow directly from block elimination (Schur complement) applied to (A1). When a candidate active set S S S is correct, w S ⋆ \mathbf{w}_{S}^{\star} w S ⋆ computed from (A3) satisfies
w S ⋆ > 0 , μ S c = H S c S w S ⋆ + g S c + λ ⋆ 1 S c ≥ 0. \mathbf{w}_{S}^{\star}>0,\qquad\boldsymbol{\mu}_{S^{c}}=\mathbf{H}_{S^{c}S}\mathbf{w}_{S}^{\star}+\mathbf{g}_{S^{c}}+\lambda^{\star}\mathbf{1}_{S^{c}}\geq0. w S ⋆ > 0 , μ S c = H S c S w S ⋆ + g S c + λ ⋆ 1 S c ≥ 0.
If any component of w S ⋆ \mathbf{w}_{S}^{\star} w S ⋆ is nonpositive, the candidate active set S S S does not satisfy the KKT conditions and must be revised.
In our implementation we solve (58) using a standard convex QP solver; (A2)-(A3) provide the KKT characterization of the unique minimizer.
Convergence of the Proximal RSE Alternating Procedure
This appendix analyzes the proximal offline RSE iteration in Algorithm 1. We first differentiate the KL fragility root κ τ ( w ) \kappa_{\tau}(\mathbf{w}) κ τ ( w ) defined by Φ ( κ ; w ) = τ \Phi(\kappa;\mathbf{w})=\tau Φ ( κ ; w ) = τ , and relate ∇ w κ τ ( w ) \nabla_{\mathbf{w}}\kappa_{\tau}(\mathbf{w}) ∇ w κ τ ( w ) to the gradient of the adversarially tilted quadratic risk. We then show that the proximal QP step yields a sufficient decrease in κ τ ( w t ) \kappa_{\tau}(\mathbf{w}_{t}) κ τ ( w t ) and that every limit point satisfies the simplex stationarity conditions. A stopping certificate follows from the QP KKT conditions.
Standing definitions and well-posed regime
Recall the class-conditional risks r ( w , y j ) r(\mathbf{w},y_j) r ( w , y j ) and the risk vector r ( w ) = ( r ( w , y 1 ) , … , r ( w , y K ) ) T \mathbf{r}(\mathbf{w})=(r(\mathbf{w},y_1),\ldots,r(\mathbf{w},y_K))^{\mathsf{T}} r ( w ) = ( r ( w , y 1 ) , … , r ( w , y K ) ) T defined in (1)–(2). Under the Brier-score quadratic model (Section 3.1), each r ( w , y j ) r(\mathbf{w},y_j) r ( w , y j ) is the convex quadratic (5):
r ( w , y j ) = w T A j w + b j T w + 1 , A j ⪰ 0. r(\mathbf{w},y_j)=\mathbf{w}^{\mathsf{T}}A_j\mathbf{w}+\mathbf{b}_j^{\mathsf{T}}\mathbf{w}+1,\qquad A_j\succeq0. r ( w , y j ) = w T A j w + b j T w + 1 , A j ⪰ 0.
For κ > 0 \kappa>0 κ > 0 , define the KL-penalized inner value (as in (6))
Φ ( κ ; w ) : = sup q ∈ Δ K { q T r ( w ) − κ D K L ( q ∥ q r e f ) } . (69) \Phi(\kappa;\mathbf{w}):=\sup_{\mathbf{q}\in\Delta_K}\left\{\mathbf{q}^{\mathsf{T}}\mathbf{r}(\mathbf{w})-\kappa D_{\mathrm{KL}}(\mathbf{q}\Vert\mathbf{q}_{\mathrm{ref}})\right\}. \tag*{(69)} Φ ( κ ; w ) := q ∈ Δ K sup { q T r ( w ) − κ D KL ( q ∥ q ref ) } . (69)
By Lemma 3.1, Φ \Phi Φ has the closed form (8), and the unique maximizer is the exponential tilt q ⋆ ( κ , w ) \mathbf{q}^{\star}(\kappa,\mathbf{w}) q ⋆ ( κ , w ) from (7).
We recall the well-posed regime W τ \mathcal{W}_{\tau} W τ and the extended definition of κ τ ( w ) \kappa_{\tau}(\mathbf{w}) κ τ ( w ) from Section 2. Throughout this appendix we work on W τ \mathcal{W}_{\tau} W τ (or a compact subset K ⊂ W τ \mathcal{K}\subset\mathcal{W}_{\tau} K ⊂ W τ ).
Assumption I.1 (Iterates remain in a compact well-posed region). Assume ( q r e f ) j > 0 (q_{\mathrm{ref}})_j>0 ( q ref ) j > 0 for all j j j . Moreover, there exists a compact set K ⊂ W τ \mathcal{K}\subset\mathcal{W}_{\tau} K ⊂ W τ such that the iterates satisfy w t ∈ K \mathbf{w}_t\in\mathcal{K} w t ∈ K for all t t t .
Lemma I.3 (Uniform boundedness of the class-conditional risks). Under the Brier score, for every w ∈ Δ M \mathbf{w}\in\Delta_M w ∈ Δ M and every class j j j ,
0 ≤ r ( w , y j ) ≤ 2. 0\le r(\mathbf{w},y_j)\le2. 0 ≤ r ( w , y j ) ≤ 2. Consequently, for every q ∈ Δ K \mathbf{q}\in\Delta_K q ∈ Δ K , 0 ≤ R ( w , q ) ≤ 2 0\le R(\mathbf{w},\mathbf{q})\le2 0 ≤ R ( w , q ) ≤ 2 .
Proof. For a probability vector p ^ ∈ Δ K \widehat{\mathbf{p}}\in\Delta_K p ∈ Δ K and true class y j y_j y j , the Brier loss is L ( y j , p ^ ) = ∑ k = 1 K ( p ^ k − 1 { k = j } ) 2 L(y_j,\widehat{\mathbf{p}})=\sum_{k=1}^{K}(\widehat{p}_k-\mathbf{1}\{k=j\})^2 L ( y j , p ) = ∑ k = 1 K ( p k − 1 { k = j } ) 2 . It is always nonnegative. Its maximum over Δ K \Delta_K Δ K is achieved at a vertex p ^ = e ℓ \widehat{\mathbf{p}}=\mathbf{e}_{\ell} p = e ℓ with ℓ ≠ j \ell\ne j ℓ = j , giving L = ( 0 − 1 ) 2 + ( 1 − 0 ) 2 = 2 L=(0-1)^2+(1-0)^2=2 L = ( 0 − 1 ) 2 + ( 1 − 0 ) 2 = 2 . Taking expectations yields the bounds for r r r and R R R .
Lemma I.4 (Uniform gap and bounded fragility on compact subsets of W τ \mathcal{W}_{\tau} W τ ). Under Assumption I.1, there exist constants 0 < κ ‾ ≤ κ ‾ < ∞ 0<\underline{\kappa}\le\overline{\kappa}<\infty 0 < κ ≤ κ < ∞ and δ > 0 \delta>0 δ > 0 such that for all w ∈ K \mathbf{w}\in\mathcal{K} w ∈ K ,
κ τ ( w ) ∈ [ κ ‾ , κ ‾ ] , E q ⋆ ( κ τ ( w ) , w ) [ r ( w , Y ) ] − τ ≥ δ . \kappa_{\tau}(\mathbf{w})\in[\underline{\kappa},\overline{\kappa}],\qquad
\mathbb{E}_{\mathbf{q}^{\star}(\kappa_{\tau}(\mathbf{w}),\mathbf{w})}[r(\mathbf{w},Y)]-\tau\ge\delta. κ τ ( w ) ∈ [ κ , κ ] , E q ⋆ ( κ τ ( w ) , w ) [ r ( w , Y )] − τ ≥ δ . Equivalently, ∂ κ Φ ( κ τ ( w ) ; w ) \partial_{\kappa}\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w}) ∂ κ Φ ( κ τ ( w ) ; w ) is uniformly bounded away from 0 0 0 on K \mathcal{K} K .
Proof. On W τ \mathcal{W}_{\tau} W τ , κ τ ( w ) \kappa_{\tau}(\mathbf{w}) κ τ ( w ) is the unique root of Φ ( κ ; w ) = τ \Phi(\kappa;\mathbf{w})=\tau Φ ( κ ; w ) = τ with κ ∈ ( 0 , ∞ ) \kappa\in(0,\infty) κ ∈ ( 0 , ∞ ) , and κ ↦ Φ ( κ ; w ) \kappa\mapsto\Phi(\kappa;\mathbf{w}) κ ↦ Φ ( κ ; w ) is continuous and strictly decreasing. Standard root-continuity arguments imply w ↦ κ τ ( w ) \mathbf{w}\mapsto\kappa_{\tau}(\mathbf{w}) w ↦ κ τ ( w ) is continuous on W τ \mathcal{W}_{\tau} W τ . Hence it is continuous on the compact set K \mathcal{K} K , so it attains a finite minimum and maximum: κ ‾ : = min w ∈ K κ τ ( w ) > 0 \underline{\kappa}:=\min_{\mathbf{w}\in\mathcal{K}}\kappa_{\tau}(\mathbf{w})>0 κ := min w ∈ K κ τ ( w ) > 0 and κ ‾ : = max w ∈ K κ τ ( w ) < ∞ \overline{\kappa}:=\max_{\mathbf{w}\in\mathcal{K}}\kappa_{\tau}(\mathbf{w})<\infty κ := max w ∈ K κ τ ( w ) < ∞ .
Define g ( w ) : = E q ⋆ ( κ τ ( w ) , w ) [ r ( w , Y ) ] − τ g(\mathbf{w}):=\mathbb{E}_{\mathbf{q}^{\star}(\kappa_{\tau}(\mathbf{w}),\mathbf{w})}[r(\mathbf{w},Y)]-\tau g ( w ) := E q ⋆ ( κ τ ( w ) , w ) [ r ( w , Y )] − τ . Fix any w ∈ W τ \mathbf{w}\in\mathcal{W}_{\tau} w ∈ W τ and let κ = κ τ ( w ) \kappa=\kappa_{\tau}(\mathbf{w}) κ = κ τ ( w ) and q ⋆ = q ⋆ ( κ , w ) \mathbf{q}^{\star}=\mathbf{q}^{\star}(\kappa,\mathbf{w}) q ⋆ = q ⋆ ( κ , w ) . Since q ⋆ \mathbf{q}^{\star} q ⋆ attains the supremum in (66), at the root Φ ( κ ; w ) = τ \Phi(\kappa;\mathbf{w})=\tau Φ ( κ ; w ) = τ we have
τ = Φ ( κ ; w ) = E q ⋆ [ r ( w , Y ) ] − κ D K L ( q ⋆ ∥ q r e f ) , \tau=\Phi(\kappa;\mathbf{w})=\mathbb{E}_{\mathbf{q}^{\star}}[r(\mathbf{w},Y)]-\kappa D_{\mathrm{KL}}(\mathbf{q}^{\star}\Vert\mathbf{q}_{\mathrm{ref}}), τ = Φ ( κ ; w ) = E q ⋆ [ r ( w , Y )] − κ D KL ( q ⋆ ∥ q ref ) ,
hence
g ( w ) = E q ⋆ [ r ( w , Y ) ] − τ = κ D K L ( q ⋆ ∥ q r e f ) . g(\mathbf{w})=\mathbb{E}_{\mathbf{q}^{\star}}[r(\mathbf{w},Y)]-\tau=\kappa D_{\mathrm{KL}}(\mathbf{q}^{\star}\Vert\mathbf{q}_{\mathrm{ref}}). g ( w ) = E q ⋆ [ r ( w , Y )] − τ = κ D KL ( q ⋆ ∥ q ref ) .
Moreover, on W τ \mathcal{W}_{\tau} W τ we have R ( w , q r e f ) < τ R(\mathbf{w},\mathbf{q}_{\mathrm{ref}})<\tau R ( w , q ref ) < τ , so the maximizer at the root cannot be q ⋆ = q r e f \mathbf{q}^{\star}=\mathbf{q}_{\mathrm{ref}} q ⋆ = q ref ; therefore D K L ( q ⋆ ∥ q r e f ) > 0 D_{\mathrm{KL}}(\mathbf{q}^{\star}\Vert\mathbf{q}_{\mathrm{ref}})>0 D KL ( q ⋆ ∥ q ref ) > 0 , and since κ > 0 \kappa>0 κ > 0 on W τ \mathcal{W}_{\tau} W τ , we conclude g ( w ) > 0 g(\mathbf{w})>0 g ( w ) > 0 for all w ∈ W τ \mathbf{w}\in\mathcal{W}_{\tau} w ∈ W τ . By continuity of g g g and compactness of K \mathcal{K} K , it follows that
δ : = min w ∈ K g ( w ) > 0. \delta:=\min_{\mathbf{w}\in\mathcal{K}}g(\mathbf{w})>0. δ := w ∈ K min g ( w ) > 0.
Lemma I.5 (Lower bound on the scaling c ( w ) c(\mathbf{w}) c ( w ) ). Under Assumption I.1 , define
c ( w ) : = κ τ ( w ) E q ⋆ [ r ( w , Y ) ] − τ , q ⋆ = q ⋆ ( κ τ ( w ) , w ) . c(\mathbf{w}) := \frac{\kappa_{\tau}(\mathbf{w})}{\mathbb{E}_{q^\star}[r(\mathbf{w},Y)]-\tau}, \qquad\mathbf{q}^\star=\mathbf{q}^\star(\kappa_{\tau}(\mathbf{w}),\mathbf{w}). c ( w ) := E q ⋆ [ r ( w , Y )] − τ κ τ ( w ) , q ⋆ = q ⋆ ( κ τ ( w ) , w ) . Then c ( w ) c(\mathbf{w}) c ( w ) is continuous on K \mathcal{K} K and admits a uniform lower bound
c ( w ) ≥ c min : = min u ∈ K c ( u ) > 0. c(\mathbf{w}) \ge c_{\min}:=\min_{\mathbf{u}\in\mathcal{K}}c(\mathbf{u})>0. c ( w ) ≥ c m i n := u ∈ K min c ( u ) > 0. Moreover, using Lemma I.3 one has the explicit bound
c ( w ) ≥ κ 2 − τ for all w ∈ K , c(\mathbf{w})\ge\frac{\kappa}{2-\tau}\qquad\text{for all }\mathbf{w}\in\mathcal{K}, c ( w ) ≥ 2 − τ κ for all w ∈ K , where κ \kappa κ is from Lemma I.4.
Proof. By Lemma I.4, the denominator is uniformly ≥ δ > 0 \ge\delta>0 ≥ δ > 0 on K \mathcal{K} K and κ τ ( w ) \kappa_{\tau}(\mathbf{w}) κ τ ( w ) is continuous and positive on K \mathcal{K} K . Thus c ( w ) c(\mathbf{w}) c ( w ) is continuous and positive on compact K \mathcal{K} K , so it attains a positive minimum. For the explicit bound, Lemma I.3 gives E q ⋆ [ r ( w , Y ) ] ≤ 2 \mathbb{E}_{q^\star}[r(\mathbf{w},Y)]\le2 E q ⋆ [ r ( w , Y )] ≤ 2 , hence the denominator ≤ 2 − τ \le2-\tau ≤ 2 − τ . Using κ τ ( w ) ≥ κ \kappa_{\tau}(\mathbf{w})\ge\kappa κ τ ( w ) ≥ κ yields c ( w ) ≥ κ / ( 2 − τ ) c(\mathbf{w})\ge\kappa/(2-\tau) c ( w ) ≥ κ / ( 2 − τ ) .
Remark I.6 (Interpretation of c min c_{\min} c m i n ). The constant c min c_{\min} c m i n is a local conditioning constant for the convergence proof, not a hyperparameter used by the algorithm. At the exact root,
τ = E q ⋆ [ r ( w , Y ) ] − κ τ ( w ) D K L ( q ⋆ ∥ q r e f ) , \tau=\mathbb{E}_{q^\star}[r(\mathbf{w},Y)]-\kappa_{\tau}(\mathbf{w})D_{\mathrm{KL}}(\mathbf{q}^\star\Vert\mathbf{q}_{\mathrm{ref}}), τ = E q ⋆ [ r ( w , Y )] − κ τ ( w ) D KL ( q ⋆ ∥ q ref ) , and therefore
c ( w ) = κ τ ( w ) E q ⋆ [ r ( w , Y ) ] − τ = 1 D K L ( q ⋆ ∥ q r e f ) . c(\mathbf{w})=\frac{\kappa_{\tau}(\mathbf{w})}{\mathbb{E}_{q^\star}[r(\mathbf{w},Y)]-\tau}
=\frac{1}{D_{\mathrm{KL}}(\mathbf{q}^\star\Vert\mathbf{q}_{\mathrm{ref}})}. c ( w ) = E q ⋆ [ r ( w , Y )] − τ κ τ ( w ) = D KL ( q ⋆ ∥ q ref ) 1 . Hence c min c_{\min} c m i n can be small when the adversarial tilt q ⋆ \mathbf{q}^\star q ⋆ is very far from q r e f \mathbf{q}_{\mathrm{ref}} q ref , for example when q r e f \mathbf{q}_{\mathrm{ref}} q ref assigns very small mass to a class. However, for a fixed full-support reference distribution with
q min : = min j ( q r e f ) j > 0 , q_{\min}:=\min_j(q_{\mathrm{ref}})_j>0, q m i n := j min ( q ref ) j > 0 , we have
D K L ( q ⋆ ∥ q r e f ) ≤ log 1 q min , D_{\mathrm{KL}}(\mathbf{q}^\star\Vert\mathbf{q}_{\mathrm{ref}})\le\log\frac{1}{q_{\min}}, D KL ( q ⋆ ∥ q ref ) ≤ log q m i n 1 , and therefore
c ( w ) ≥ 1 log ( 1 / q min ) . c(\mathbf{w})\ge\frac{1}{\log(1/q_{\min})}. c ( w ) ≥ log ( 1/ q m i n ) 1 . Thus c min > 0 c_{\min}>0 c m i n > 0 under the stated full-support and compact well-posedness assumptions. The magnitude of the lower bound only affects the conservativeness of the sufficient condition on ρ \rho ρ ; it does not change the algorithm or the validity of the convergence statement under the stated assumptions.
Lemma I.7 (Lipschitz continuity of ∇ κ τ \nabla\kappa_{\tau} ∇ κ τ on K \mathcal{K} K ). Under Assumption I.1 , the map w ↦ κ τ ( w ) \mathbf{w}\mapsto\kappa_{\tau}(\mathbf{w}) w ↦ κ τ ( w ) is continuously differentiable on K \mathcal{K} K . Moreover, there exists L < ∞ L<\infty L < ∞ such that
∥ ∇ κ τ ( w ) − ∇ κ τ ( w ′ ) ∥ 2 ≤ L ∥ w − w ′ ∥ 2 ∀ w , w ′ ∈ K . \lVert\nabla\kappa_{\tau}(\mathbf{w})-\nabla\kappa_{\tau}(\mathbf{w}')\rVert_2\le L\lVert\mathbf{w}-\mathbf{w}'\rVert_2\qquad\forall\mathbf{w},\mathbf{w}'\in\mathcal{K}. ∥ ∇ κ τ ( w ) − ∇ κ τ ( w ′ ) ∥ 2 ≤ L ∥ w − w ′ ∥ 2 ∀ w , w ′ ∈ K . Proof. The proof has three steps: (i) show that κ τ \kappa_{\tau} κ τ is a smooth function of w \mathbf{w} w on an open set containing K \mathcal{K} K ; (ii) use compactness to bound its gradient and Hessian on a slightly enlarged set K ϵ \mathcal{K}_{\epsilon} K ϵ ; and (iii) derive the Lipschitz bound by treating nearby and distant pairs of points separately, which avoids any convexity assumption on K \mathcal{K} K .
Step 1: smoothness of κ τ \kappa_{\tau} κ τ . Define
F ( u , κ ) : = Φ ( κ ; u ) − τ . F(\mathbf{u},\kappa):=\Phi(\kappa;\mathbf{u})-\tau. F ( u , κ ) := Φ ( κ ; u ) − τ . The class risks are quadratic polynomials in u \mathbf{u} u , and
Φ ( κ ; u ) = κ log ∑ j ( q r e f ) j exp ( r ( u , y j ) / κ ) . \Phi(\kappa;\mathbf{u})=\kappa\log\sum_j(q_{\mathrm{ref}})_j\exp(r(\mathbf{u},y_j)/\kappa). Φ ( κ ; u ) = κ log j ∑ ( q ref ) j exp ( r ( u , y j ) / κ ) .
Thus, F F F is C ∞ C^\infty C ∞ on R M × ( 0 , ∞ ) \mathbb{R}^{M} \times(0,\infty) R M × ( 0 , ∞ ) : the denominator κ \kappa κ is nonzero and the logarithm’s argument is positive.
Fix w 0 ∈ K \mathbf{w}_0 \in\mathcal{K} w 0 ∈ K and write κ 0 : = κ τ ( w 0 ) > 0 \kappa_0 := \kappa_\tau(\mathbf{w}_0) > 0 κ 0 := κ τ ( w 0 ) > 0 . By definition,
F ( w 0 , κ 0 ) = 0. F(\mathbf{w}_0,\kappa_0)=0. F ( w 0 , κ 0 ) = 0.
Moreover, Lemma 1.4 gives
∣ ∂ κ F ( w 0 , κ 0 ) ∣ = E q ⋆ ( κ 0 , w 0 ) [ r ( w 0 , Y ) ] − τ κ 0 ≥ δ κ ˉ > 0. \left|\partial_\kappa F(\mathbf{w}_0,\kappa_0)\right| = \frac{\mathbb{E}_{\mathbf{q}^{\star}(\kappa_0,\mathbf{w}_0)}[r(\mathbf{w}_0,Y)]-\tau}{\kappa_0} \ge\frac{\delta}{\bar{\kappa}} > 0. ∣ ∂ κ F ( w 0 , κ 0 ) ∣ = κ 0 E q ⋆ ( κ 0 , w 0 ) [ r ( w 0 , Y )] − τ ≥ κ ˉ δ > 0.
The smooth implicit function theorem therefore provides a C ∞ C^\infty C ∞ function g g g near w 0 \mathbf{w}_0 w 0 such that
g ( w 0 ) = κ 0 , Φ ( g ( u ) ; u ) = τ . g(\mathbf{w}_0)=\kappa_0,\qquad\Phi(g(\mathbf{u});\mathbf{u})=\tau. g ( w 0 ) = κ 0 , Φ ( g ( u ) ; u ) = τ .
By continuity, we may restrict this neighborhood so that g ( u ) > 0 g(\mathbf{u})>0 g ( u ) > 0 and
∑ j ( q r e f ) j r ( u , y j ) < τ < max j r ( u , y j ) \sum_j (q_{\mathrm{ref}})_j r(\mathbf{u},y_j)<\tau<\max_j r(\mathbf{u},y_j) j ∑ ( q ref ) j r ( u , y j ) < τ < j max r ( u , y j )
throughout it. Here, a neighborhood consists of vectors satisfying ∥ u − w 0 ∥ 2 < h \lVert\mathbf{u}-\mathbf{w}_0\rVert_2<h ∥ u − w 0 ∥ 2 < h for a sufficiently small h > 0 h>0 h > 0 .
Under these inequalities, the positive-root uniqueness argument of Lemma 3.2 applies. Hence g g g agrees with κ τ \kappa_\tau κ τ at feasible weights. Repeating the construction around every point of K \mathcal{K} K gives local smooth functions that agree wherever their neighborhoods overlap, because the positive root is unique. They therefore define one C ∞ C^\infty C ∞ function on an open set O ⊃ K \mathcal{O}\supset\mathcal{K} O ⊃ K .
Thus, κ τ \kappa_\tau κ τ can be viewed as a smooth function on O \mathcal{O} O , with its values on K \mathcal{K} K unchanged. The set O \mathcal{O} O may include points outside the simplex, where the quadratic risk formulas remain defined. This allows us to work with gradients and Hessians in a neighborhood of K \mathcal{K} K ; the ensemble weights remain constrained to Δ M \Delta_M Δ M .
Step 2: uniform bounds on a compact enlargement of K \mathcal{K} K . Since K \mathcal{K} K is compact and O \mathcal{O} O is an open set containing it, there is ϵ > 0 \epsilon>0 ϵ > 0 such that the closed ϵ \epsilon ϵ -enlargement
K ϵ : = { u ∈ R M : dist ( u , K ) ≤ ϵ } \mathcal{K}_{\epsilon}:=\{\mathbf{u}\in\mathbb{R}^{M}:\operatorname{dist}(\mathbf{u},\mathcal{K})\le\epsilon\} K ϵ := { u ∈ R M : dist ( u , K ) ≤ ϵ }
still lies in O \mathcal{O} O . The set K ϵ \mathcal{K}_{\epsilon} K ϵ is closed and bounded, hence compact. Since ∇ κ τ \nabla\kappa_\tau ∇ κ τ and ∇ 2 κ τ \nabla^2\kappa_\tau ∇ 2 κ τ are continuous on O \mathcal{O} O , they attain finite maxima on K ϵ \mathcal{K}_{\epsilon} K ϵ :
H : = sup u ∈ K ϵ ∥ ∇ 2 κ τ ( u ) ∥ o p < ∞ , G : = sup u ∈ K ϵ ∥ ∇ κ τ ( u ) ∥ 2 < ∞ . H:=\sup_{\mathbf{u}\in\mathcal{K}_{\epsilon}}\lVert\nabla^2\kappa_\tau(\mathbf{u})\rVert_{\mathrm{op}}<\infty,\qquad G:=\sup_{\mathbf{u}\in\mathcal{K}_{\epsilon}}\lVert\nabla\kappa_\tau(\mathbf{u})\rVert_2<\infty. H := u ∈ K ϵ sup ∥ ∇ 2 κ τ ( u ) ∥ op < ∞ , G := u ∈ K ϵ sup ∥ ∇ κ τ ( u ) ∥ 2 < ∞.
Here H H H bounds how fast the gradient can change, and G G G bounds the size of the gradient itself.
Step 3: the Lipschitz bound. The set K \mathcal{K} K need not be convex (indeed, W τ \mathcal{W}_\tau W τ is not convex in general), so the straight segment between two points of K \mathcal{K} K may leave K \mathcal{K} K . We therefore distinguish two cases.
Case 1: nearby points, ∥ w − w ′ ∥ 2 ≤ ϵ \lVert\mathbf{w}-\mathbf{w}'\rVert_2\le\epsilon ∥ w − w ′ ∥ 2 ≤ ϵ . Every point w + s ( w ′ − w ) \mathbf{w}+s(\mathbf{w}'-\mathbf{w}) w + s ( w ′ − w ) , s ∈ [ 0 , 1 ] s\in[0,1] s ∈ [ 0 , 1 ] , on the segment is at distance at most ∥ w − w ′ ∥ 2 ≤ ϵ \lVert\mathbf{w}-\mathbf{w}'\rVert_2\le\epsilon ∥ w − w ′ ∥ 2 ≤ ϵ from w ∈ K \mathbf{w}\in\mathcal{K} w ∈ K , so the whole segment lies in K ϵ \mathcal{K}_{\epsilon} K ϵ , where κ τ \kappa_\tau κ τ is smooth. By the fundamental theorem of calculus applied to ∇ κ τ \nabla\kappa_\tau ∇ κ τ along the segment,
∇ κ τ ( w ′ ) − ∇ κ τ ( w ) = ∫ 0 1 ∇ 2 κ τ ( w + s ( w ′ − w ) ) ( w ′ − w ) d s , \nabla\kappa_\tau(\mathbf{w}')-\nabla\kappa_\tau(\mathbf{w})=\int_0^1\nabla^2\kappa_\tau\bigl(\mathbf{w}+s(\mathbf{w}'-\mathbf{w})\bigr)(\mathbf{w}'-\mathbf{w})\,\mathrm{d}s, ∇ κ τ ( w ′ ) − ∇ κ τ ( w ) = ∫ 0 1 ∇ 2 κ τ ( w + s ( w ′ − w ) ) ( w ′ − w ) d s ,
and bounding the Hessian by H H H gives
∥ ∇ κ τ ( w ) − ∇ κ τ ( w ′ ) ∥ 2 ≤ H ∥ w − w ′ ∥ 2 . \lVert\nabla\kappa_\tau(\mathbf{w})-\nabla\kappa_\tau(\mathbf{w}')\rVert_2\le H\lVert\mathbf{w}-\mathbf{w}'\rVert_2. ∥ ∇ κ τ ( w ) − ∇ κ τ ( w ′ ) ∥ 2 ≤ H ∥ w − w ′ ∥ 2 .
Case 2: distant points, ∥ w − w ′ ∥ 2 > ϵ \lVert\mathbf{w}-\mathbf{w}'\rVert_2>\epsilon ∥ w − w ′ ∥ 2 > ϵ . Here the segment may leave K ϵ \mathcal{K}_{\epsilon} K ϵ , so we do not use the Hessian. Instead, by the triangle inequality and the gradient bound G G G ,
∥ ∇ κ τ ( w ) − ∇ κ τ ( w ′ ) ∥ 2 ≤ ∥ ∇ κ τ ( w ) ∥ 2 + ∥ ∇ κ τ ( w ′ ) ∥ 2 ≤ 2 G . \lVert\nabla\kappa_\tau(\mathbf{w})-\nabla\kappa_\tau(\mathbf{w}')\rVert_2\le\lVert\nabla\kappa_\tau(\mathbf{w})\rVert_2+\lVert\nabla\kappa_\tau(\mathbf{w}')\rVert_2\le2G. ∥ ∇ κ τ ( w ) − ∇ κ τ ( w ′ ) ∥ 2 ≤ ∥ ∇ κ τ ( w ) ∥ 2 + ∥ ∇ κ τ ( w ′ ) ∥ 2 ≤ 2 G .
Since ∥ w − w ′ ∥ 2 / ϵ > 1 \lVert\mathbf{w}-\mathbf{w}'\rVert_2/\epsilon>1 ∥ w − w ′ ∥ 2 / ϵ > 1 in this case,
2 G ≤ 2 G ϵ ∥ w − w ′ ∥ 2 . 2G\le\frac{2G}{\epsilon}\lVert\mathbf{w}-\mathbf{w}'\rVert_2. 2 G ≤ ϵ 2 G ∥ w − w ′ ∥ 2 .
That is, a large gradient difference is acceptable here because the two points are also far apart.
Conclusion. Combining the two cases, the Lipschitz bound holds for all w , w ′ ∈ K \mathbf{w},\mathbf{w}' \in\mathcal{K} w , w ′ ∈ K with
L = max { H , 2 G ϵ } < ∞ . L = \max\left\{H,\frac{2G}{\epsilon}\right\} < \infty. L = max { H , ϵ 2 G } < ∞.
Continuous differentiability of κ τ \kappa_\tau κ τ on K \mathcal{K} K follows from Step 1. No convexity of K \mathcal{K} K is required: convexity is used only locally, on segments of length at most ϵ \epsilon ϵ , which always lie in K ϵ \mathcal{K}_\epsilon K ϵ .
Differentiability of Φ \Phi Φ and κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w )
Define the normalizer
Z ( κ , w ) : = ∑ j = 1 K ( q r e f ) j exp ( r ( w , y j ) / κ ) , Z(\kappa,\mathbf{w}) := \sum_{j=1}^{K}(q_{\mathrm{ref}})_j\exp(r(\mathbf{w},y_j)/\kappa), Z ( κ , w ) := j = 1 ∑ K ( q ref ) j exp ( r ( w , y j ) / κ ) ,
so that Φ ( κ ; w ) = κ log Z ( κ , w ) \Phi(\kappa;\mathbf{w})=\kappa\log Z(\kappa,\mathbf{w}) Φ ( κ ; w ) = κ log Z ( κ , w ) by (8) . Also define the KL-adversary (Lemma 3.1 )
( q ⋆ ( κ , w ) ) j = ( q r e f ) j exp ( r ( w , y j ) / κ ) Z ( κ , w ) . (70) (q^\star(\kappa,\mathbf{w}))_j=\frac{(q_{\mathrm{ref}})_j\exp(r(\mathbf{w},y_j)/\kappa)}{Z(\kappa,\mathbf{w})}. \tag*{(70)} ( q ⋆ ( κ , w ) ) j = Z ( κ , w ) ( q ref ) j exp ( r ( w , y j ) / κ ) . (70)
Lemma I.8 (Gradients of Φ \Phi Φ ). For any κ > 0 \kappa>0 κ > 0 and w ∈ Δ M \mathbf{w}\in\Delta_M w ∈ Δ M , the function Φ ( κ ; w ) \Phi(\kappa;\mathbf{w}) Φ ( κ ; w ) is continuously differentiable in ( κ , w ) (\kappa,\mathbf{w}) ( κ , w ) and satisfies
∇ w Φ ( κ ; w ) = ∑ j = 1 K ( q ⋆ ( κ , w ) ) j ∇ w r ( w , y j ) , (71) \nabla_{\mathbf{w}}\Phi(\kappa;\mathbf{w})=\sum_{j=1}^{K}(q^\star(\kappa,\mathbf{w}))_j\nabla_{\mathbf{w}}r(\mathbf{w},y_j), \tag*{(71)} ∇ w Φ ( κ ; w ) = j = 1 ∑ K ( q ⋆ ( κ , w ) ) j ∇ w r ( w , y j ) , (71)
∂ ∂ κ Φ ( κ ; w ) = log Z ( κ , w ) − 1 κ ∑ j = 1 K ( q ⋆ ( κ , w ) ) j r ( w , y j ) = Φ ( κ ; w ) − E q ⋆ [ r ( w , Y ) ] κ . (72) \frac{\partial}{\partial\kappa}\Phi(\kappa;\mathbf{w})=\log Z(\kappa,\mathbf{w})-\frac{1}{\kappa}\sum_{j=1}^{K}(q^\star(\kappa,\mathbf{w}))_j r(\mathbf{w},y_j)=\frac{\Phi(\kappa;\mathbf{w})-\mathbb{E}_{q^\star}[r(\mathbf{w},Y)]}{\kappa}. \tag*{(72)} ∂ κ ∂ Φ ( κ ; w ) = log Z ( κ , w ) − κ 1 j = 1 ∑ K ( q ⋆ ( κ , w ) ) j r ( w , y j ) = κ Φ ( κ ; w ) − E q ⋆ [ r ( w , Y )] . (72)
Proof. Using Φ ( κ ; w ) = κ log Z ( κ , w ) \Phi(\kappa;\mathbf{w})=\kappa\log Z(\kappa,\mathbf{w}) Φ ( κ ; w ) = κ log Z ( κ , w ) and the chain rule,
∇ w Φ ( κ ; w ) = κ 1 Z ( κ , w ) ∇ w Z ( κ , w ) . \nabla_{\mathbf{w}}\Phi(\kappa;\mathbf{w})=\kappa\frac{1}{Z(\kappa,\mathbf{w})}\nabla_{\mathbf{w}}Z(\kappa,\mathbf{w}). ∇ w Φ ( κ ; w ) = κ Z ( κ , w ) 1 ∇ w Z ( κ , w ) .
Since
∇ w Z ( κ , w ) = ∑ j = 1 K ( q r e f ) j exp ( r ( w , y j ) / κ ) ⋅ 1 κ ∇ w r ( w , y j ) , \nabla_{\mathbf{w}}Z(\kappa,\mathbf{w})=\sum_{j=1}^{K}(q_{\mathrm{ref}})_j\exp(r(\mathbf{w},y_j)/\kappa)\cdot\frac{1}{\kappa}\nabla_{\mathbf{w}}r(\mathbf{w},y_j), ∇ w Z ( κ , w ) = j = 1 ∑ K ( q ref ) j exp ( r ( w , y j ) / κ ) ⋅ κ 1 ∇ w r ( w , y j ) ,
substitution yields (68) after recognizing (67).
For the κ \kappa κ -derivative, write
∂ ∂ κ Φ ( κ ; w ) = log Z ( κ , w ) + κ 1 Z ( κ , w ) ∂ ∂ κ Z ( κ , w ) . \frac{\partial}{\partial\kappa}\Phi(\kappa;\mathbf{w})=\log Z(\kappa,\mathbf{w})+\kappa\frac{1}{Z(\kappa,\mathbf{w})}\frac{\partial}{\partial\kappa}Z(\kappa,\mathbf{w}). ∂ κ ∂ Φ ( κ ; w ) = log Z ( κ , w ) + κ Z ( κ , w ) 1 ∂ κ ∂ Z ( κ , w ) .
Because ∂ ∂ κ exp ( r / κ ) = exp ( r / κ ) ⋅ ( − r / κ 2 ) \frac{\partial}{\partial\kappa}\exp(r/\kappa)=\exp(r/\kappa)\cdot(-r/\kappa^2) ∂ κ ∂ exp ( r / κ ) = exp ( r / κ ) ⋅ ( − r / κ 2 ) , we have
∂ ∂ κ Z ( κ , w ) = − 1 κ 2 ∑ j = 1 K ( q r e f ) j exp ( r ( w , y j ) / κ ) r ( w , y j ) , \frac{\partial}{\partial\kappa}Z(\kappa,\mathbf{w})=-\frac{1}{\kappa^2}\sum_{j=1}^{K}(q_{\mathrm{ref}})_j\exp(r(\mathbf{w},y_j)/\kappa)r(\mathbf{w},y_j), ∂ κ ∂ Z ( κ , w ) = − κ 2 1 j = 1 ∑ K ( q ref ) j exp ( r ( w , y j ) / κ ) r ( w , y j ) ,
and substituting gives the first equality in (69). The last equality follows from Φ ( κ ; w ) = κ log Z ( κ , w ) \Phi(\kappa;\mathbf{w})=\kappa\log Z(\kappa,\mathbf{w}) Φ ( κ ; w ) = κ log Z ( κ , w ) and the definition of q ⋆ q^\star q ⋆ .
Lemma I.9 (Implicit gradient of κ τ ( w ) \kappa_\tau(\mathbf{w}) κ τ ( w ) ). Under Assumption I.1 , the function w ↦ κ τ ( w ) \mathbf{w}\mapsto\kappa_\tau(\mathbf{w}) w ↦ κ τ ( w ) is continuously differentiable along the iterates { w t } \{\mathbf{w}_t\} { w t } , and for any w ∈ W τ \mathbf{w}\in\mathcal{W}_\tau w ∈ W τ :
∇ w κ τ ( w ) = − ∇ w Φ ( κ τ ( w ) ; w ) ∂ κ Φ ( κ τ ( w ) ; w ) = κ τ ( w ) E q ⋆ [ r ( w , Y ) ] − τ ∑ j = 1 K ( q ⋆ ) j ∇ w r ( w , y j ) , (73) \nabla_{\mathbf{w}}\kappa_\tau(\mathbf{w})=-\frac{\nabla_{\mathbf{w}}\Phi(\kappa_\tau(\mathbf{w});\mathbf{w})}{\partial_\kappa\Phi(\kappa_\tau(\mathbf{w});\mathbf{w})}=\frac{\kappa_\tau(\mathbf{w})}{\mathbb{E}_{q^\star}[r(\mathbf{w},Y)]-\tau}\sum_{j=1}^{K}(q^\star)_j\nabla_{\mathbf{w}}r(\mathbf{w},y_j), \tag*{(73)} ∇ w κ τ ( w ) = − ∂ κ Φ ( κ τ ( w ) ; w ) ∇ w Φ ( κ τ ( w ) ; w ) = E q ⋆ [ r ( w , Y )] − τ κ τ ( w ) j = 1 ∑ K ( q ⋆ ) j ∇ w r ( w , y j ) , (73)
where q ⋆ = q ⋆ ( κ τ ( w ) , w ) q^\star=q^\star(\kappa_\tau(\mathbf{w}),\mathbf{w}) q ⋆ = q ⋆ ( κ τ ( w ) , w ) . Moreover,
∂ κ Φ ( κ τ ( w ) ; w ) < 0 and thus E q ⋆ [ r ( w , Y ) ] > τ for all w ∈ W τ . (74) \partial_\kappa\Phi(\kappa_\tau(\mathbf{w});\mathbf{w})<0 \quad\text{and thus}\quad\mathbb{E}_{q^\star}[r(\mathbf{w},Y)]>\tau\quad\text{for all }\mathbf{w}\in\mathcal{W}_\tau. \tag*{(74)} ∂ κ Φ ( κ τ ( w ) ; w ) < 0 and thus E q ⋆ [ r ( w , Y )] > τ for all w ∈ W τ . (74)
Proof. Fix w ∈ W τ \mathbf{w} \in\mathcal{W}_{\tau} w ∈ W τ and define F ( κ , w ) : = Φ ( κ ; w ) − τ F(\kappa,\mathbf{w}) := \Phi(\kappa;\mathbf{w})-\tau F ( κ , w ) := Φ ( κ ; w ) − τ . By Lemma I.8, F F F is C 1 C^{1} C 1 . Since κ τ ( w ) \kappa_{\tau}(\mathbf{w}) κ τ ( w ) satisfies F ( κ τ ( w ) , w ) = 0 F(\kappa_{\tau}(\mathbf{w}),\mathbf{w})=0 F ( κ τ ( w ) , w ) = 0 , the implicit function theorem implies differentiability provided ∂ κ Φ ( κ τ ( w ) ; w ) ≠ 0 \partial_{\kappa}\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w}) \ne0 ∂ κ Φ ( κ τ ( w ) ; w ) = 0 .
At κ = κ τ ( w ) \kappa=\kappa_{\tau}(\mathbf{w}) κ = κ τ ( w ) , we have Φ ( κ ; w ) = τ \Phi(\kappa;\mathbf{w})=\tau Φ ( κ ; w ) = τ . Let q ⋆ = q ⋆ ( κ , w ) \mathbf{q}^{\star}=\mathbf{q}^{\star}(\kappa,\mathbf{w}) q ⋆ = q ⋆ ( κ , w ) . Then
τ = Φ ( κ ; w ) = q ⋆ T r ( w ) − κ D K L ( q ⋆ ∥ q r e f ) . \tau=\Phi(\kappa;\mathbf{w})=\mathbf{q}^{\star\mathsf{T}}\mathbf{r}(\mathbf{w})-\kappa D_{\mathrm{KL}}(\mathbf{q}^{\star}\mathbin\Vert\mathbf{q}_{\mathrm{ref}}). τ = Φ ( κ ; w ) = q ⋆ T r ( w ) − κ D KL ( q ⋆ ∥ q ref ) .
We claim that
D K L ( q ⋆ ∥ q r e f ) > 0. D_{\mathrm{KL}}(\mathbf{q}^{\star}\mathbin\Vert\mathbf{q}_{\mathrm{ref}})>0. D KL ( q ⋆ ∥ q ref ) > 0.
Indeed, if D K L ( q ⋆ ∥ q r e f ) = 0 D_{\mathrm{KL}}(\mathbf{q}^{\star}\mathbin\Vert\mathbf{q}_{\mathrm{ref}})=0 D KL ( q ⋆ ∥ q ref ) = 0 , then q ⋆ = q r e f \mathbf{q}^{\star}=\mathbf{q}_{\mathrm{ref}} q ⋆ = q ref . Hence
τ = Φ ( κ ; w ) = R ( w , q r e f ) , \tau=\Phi(\kappa;\mathbf{w})=R(\mathbf{w},\mathbf{q}_{\mathrm{ref}}), τ = Φ ( κ ; w ) = R ( w , q ref ) ,
contradicting w ∈ W τ \mathbf{w}\in\mathcal{W}_{\tau} w ∈ W τ , which requires
R ( w , q r e f ) < τ . R(\mathbf{w},\mathbf{q}_{\mathrm{ref}})<\tau. R ( w , q ref ) < τ .
Therefore D K L ( q ⋆ ∥ q r e f ) > 0 D_{\mathrm{KL}}(\mathbf{q}^{\star}\mathbin\Vert\mathbf{q}_{\mathrm{ref}})>0 D KL ( q ⋆ ∥ q ref ) > 0 . Since κ = κ τ ( w ) > 0 \kappa=\kappa_{\tau}(\mathbf{w})>0 κ = κ τ ( w ) > 0 , we obtain
τ = q ⋆ T r ( w ) − κ D K L ( q ⋆ ∥ q r e f ) < q ⋆ T r ( w ) = E q ⋆ [ r ( w , Y ) ] . \tau=\mathbf{q}^{\star\mathsf{T}}\mathbf{r}(\mathbf{w})-\kappa D_{\mathrm{KL}}(\mathbf{q}^{\star}\mathbin\Vert\mathbf{q}_{\mathrm{ref}})<\mathbf{q}^{\star\mathsf{T}}\mathbf{r}(\mathbf{w})=\mathbb{E}_{\mathbf{q}^{\star}}[r(\mathbf{w},Y)]. τ = q ⋆ T r ( w ) − κ D KL ( q ⋆ ∥ q ref ) < q ⋆ T r ( w ) = E q ⋆ [ r ( w , Y )] .
Therefore E q ⋆ [ r ( w , Y ) ] > τ \mathbb{E}_{\mathbf{q}^{\star}}[r(\mathbf{w},Y)]>\tau E q ⋆ [ r ( w , Y )] > τ , and substituting into (69) gives ∂ κ Φ ( κ τ ( w ) ; w ) = ( τ − E q ⋆ [ r ] ) / κ τ ( w ) < 0 \partial_{\kappa}\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})=(\tau-\mathbb{E}_{\mathbf{q}^{\star}}[r])/\kappa_{\tau}(\mathbf{w})<0 ∂ κ Φ ( κ τ ( w ) ; w ) = ( τ − E q ⋆ [ r ]) / κ τ ( w ) < 0 , establishing (71).
Finally, differentiate the identity F ( κ τ ( w ) , w ) = Φ ( κ τ ( w ) ; w ) − τ = 0 F(\kappa_{\tau}(\mathbf{w}),\mathbf{w})=\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})-\tau=0 F ( κ τ ( w ) , w ) = Φ ( κ τ ( w ) ; w ) − τ = 0 with respect to w \mathbf{w} w . By the chain rule,
0 = ∇ w F ( κ τ ( w ) , w ) = ∇ w Φ ( κ τ ( w ) ; w ) + ∂ κ Φ ( κ τ ( w ) ; w ) ∇ w κ τ ( w ) . 0=\nabla_{\mathbf{w}}F(\kappa_{\tau}(\mathbf{w}),\mathbf{w})=\nabla_{\mathbf{w}}\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})+\partial_{\kappa}\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})\nabla_{\mathbf{w}}\kappa_{\tau}(\mathbf{w}). 0 = ∇ w F ( κ τ ( w ) , w ) = ∇ w Φ ( κ τ ( w ) ; w ) + ∂ κ Φ ( κ τ ( w ) ; w ) ∇ w κ τ ( w ) .
Since ∂ κ Φ ( κ τ ( w ) ; w ) ≠ 0 \partial_{\kappa}\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})\ne0 ∂ κ Φ ( κ τ ( w ) ; w ) = 0 (indeed it is negative by (71)), we can solve for ∇ w κ τ ( w ) \nabla_{\mathbf{w}}\kappa_{\tau}(\mathbf{w}) ∇ w κ τ ( w ) :
∇ w κ τ ( w ) = − ∇ w Φ ( κ τ ( w ) ; w ) ∂ κ Φ ( κ τ ( w ) ; w ) . \nabla_{\mathbf{w}}\kappa_{\tau}(\mathbf{w})=-\frac{\nabla_{\mathbf{w}}\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})}{\partial_{\kappa}\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})}. ∇ w κ τ ( w ) = − ∂ κ Φ ( κ τ ( w ) ; w ) ∇ w Φ ( κ τ ( w ) ; w ) .
Using Lemma I.8 gives ∇ w Φ ( κ τ ( w ) ; w ) = ∑ j = 1 K ( q ⋆ ) j ∇ w r ( w , y j ) \nabla_{\mathbf{w}}\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})=\sum_{j=1}^{K}(q^{\star})_{j}\nabla_{\mathbf{w}}r(\mathbf{w},y_{j}) ∇ w Φ ( κ τ ( w ) ; w ) = ∑ j = 1 K ( q ⋆ ) j ∇ w r ( w , y j ) , and at the root Φ ( κ τ ( w ) ; w ) = τ \Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})=\tau Φ ( κ τ ( w ) ; w ) = τ we also have from (69)
∂ κ Φ ( κ τ ( w ) ; w ) = τ − E q ⋆ [ r ( w , Y ) ] κ τ ( w ) . \partial_{\kappa}\Phi(\kappa_{\tau}(\mathbf{w});\mathbf{w})=\frac{\tau-\mathbb{E}_{\mathbf{q}^{\star}}[r(\mathbf{w},Y)]}{\kappa_{\tau}(\mathbf{w})}. ∂ κ Φ ( κ τ ( w ) ; w ) = κ τ ( w ) τ − E q ⋆ [ r ( w , Y )] .
Substituting these two identities into the previous display yields (70).
Proximal QP update, descent, and a stopping certificate
At iteration t t t , Algorithm 1 forms the adversary q t ⋆ = q ⋆ ( κ t , w t ) \mathbf{q}^{\star}_{t}=\mathbf{q}^{\star}(\kappa_{t},\mathbf{w}_{t}) q t ⋆ = q ⋆ ( κ t , w t ) where κ t = κ τ ( w t ) \kappa_{t}=\kappa_{\tau}(\mathbf{w}_{t}) κ t = κ τ ( w t ) , and defines the tilted (adversarial) quadratic risk
R ~ t ( w ) : = ∑ j = 1 K ( q t ⋆ ) j r ( w , y j ) = w T A a d v , t w + b a d v , t T w + 1 , (75) \widetilde{R}_{t}(\mathbf{w}):=\sum_{j=1}^{K}(q^{\star}_{t})_{j}r(\mathbf{w},y_{j})=\mathbf{w}^{\mathsf{T}}A_{\mathrm{adv},t}\mathbf{w}+\mathbf{b}_{\mathrm{adv},t}^{\mathsf{T}}\mathbf{w}+1, \tag*{(75)} R t ( w ) := j = 1 ∑ K ( q t ⋆ ) j r ( w , y j ) = w T A adv , t w + b adv , t T w + 1 , (75)
with A a d v , t = ∑ j ( q t ⋆ ) j A j A_{\mathrm{adv},t}=\sum_{j}(q^{\star}_{t})_{j}A_{j} A adv , t = ∑ j ( q t ⋆ ) j A j and b a d v , t = ∑ j ( q t ⋆ ) j b j \mathbf{b}_{\mathrm{adv},t}=\sum_{j}(q^{\star}_{t})_{j}\mathbf{b}_{j} b adv , t = ∑ j ( q t ⋆ ) j b j . We use the proximal QP update
w t + 1 = arg min w ∈ Δ M { R ~ t ( w ) + ρ 2 ∥ w − w t ∥ 2 2 } , ρ > 0 , (76) \mathbf{w}_{t+1}=\underset{\mathbf{w}\in\Delta_{M}}{\operatorname{arg\,min}}\left\{\widetilde{R}_{t}(\mathbf{w})+\frac{\rho}{2}\lVert\mathbf{w}-\mathbf{w}_{t}\rVert_{2}^{2}\right\},\qquad\rho>0, \tag*{(76)} w t + 1 = w ∈ Δ M arg min { R t ( w ) + 2 ρ ∥ w − w t ∥ 2 2 } , ρ > 0 , (76)
and define the step d t : = w t + 1 − w t \mathbf{d}_{t}:=\mathbf{w}_{t+1}-\mathbf{w}_{t} d t := w t + 1 − w t .
Lemma I.10 (Well-defined proximal update and VI/KKT condition). For any ρ > 0 \rho>0 ρ > 0 , the subproblem (73) admits a unique minimizer w t + 1 ∈ Δ M \mathbf{w}_{t+1}\in\Delta_{M} w t + 1 ∈ Δ M . Moreover, w t + 1 \mathbf{w}_{t+1} w t + 1 satisfies the variational inequality
⟨ ∇ R ~ t ( w t + 1 ) + ρ ( w t + 1 − w t ) , w − w t + 1 ⟩ ≥ 0 ∀ w ∈ Δ M , (77) \left\langle\nabla\widetilde{R}_{t}(\mathbf{w}_{t+1})+\rho(\mathbf{w}_{t+1}-\mathbf{w}_{t}),\mathbf{w}-\mathbf{w}_{t+1}\right\rangle\ge0\qquad\forall\mathbf{w}\in\Delta_{M}, \tag*{(77)} ⟨ ∇ R t ( w t + 1 ) + ρ ( w t + 1 − w t ) , w − w t + 1 ⟩ ≥ 0 ∀ w ∈ Δ M , (77) equivalently,
0 ∈ ∇ R ~ t ( w t + 1 ) + ρ ( w t + 1 − w t ) + N Δ M ( w t + 1 ) , (78) 0\in\nabla\widetilde{R}_{t}(\mathbf{w}_{t+1})+\rho(\mathbf{w}_{t+1}-\mathbf{w}_{t})+N_{\Delta_{M}}(\mathbf{w}_{t+1}), \tag*{(78)} 0 ∈ ∇ R t ( w t + 1 ) + ρ ( w t + 1 − w t ) + N Δ M ( w t + 1 ) , (78) where N Δ M ( ⋅ ) N_{\Delta_{M}}(\cdot) N Δ M ( ⋅ ) is the normal cone of the simplex.
Proof. R ~ t \widetilde{R}_t R t is convex quadratic on Δ M \Delta_M Δ M and the proximal term is ρ \rho ρ -strongly convex in w \mathbf{w} w , so the objective is ρ \rho ρ -strongly convex. Minimization over the closed convex set Δ M \Delta_M Δ M therefore has a unique solution. The VI/KKT conditions (74)–(75) are the standard first-order optimality conditions for minimizing a differentiable convex function over a closed convex set.
Lemma I.11 (Prox-QP implies a negative directional derivative). Fix w t ∈ W τ \mathbf{w}_t \in\mathcal{W}_\tau w t ∈ W τ and let w t + 1 \mathbf{w}_{t+1} w t + 1 be the minimizer of (73). Then
⟨ ∇ R ~ t ( w t ) , d t ⟩ ≤ − ρ ∥ d t ∥ 2 2 . (79) \left\langle\nabla\widetilde{R}_t(\mathbf{w}_t),\mathbf{d}_t\right\rangle\leq-\rho\lVert\mathbf{d}_t\rVert_2^2. \tag*{(79)} ⟨ ∇ R t ( w t ) , d t ⟩ ≤ − ρ ∥ d t ∥ 2 2 . (79) Consequently,
⟨ ∇ κ τ ( w t ) , d t ⟩ ≤ − c t ρ ∥ d t ∥ 2 2 , c t : = κ t E q t ∗ [ r ( w t , Y ) ] − τ > 0 , (80) \left\langle\nabla\kappa_\tau(\mathbf{w}_t),\mathbf{d}_t\right\rangle\leq-c_t\rho\lVert\mathbf{d}_t\rVert_2^2,\qquad c_t := \frac{\kappa_t}{\mathbb{E}_{\mathbf{q}_t^*}[r(\mathbf{w}_t,Y)]-\tau}>0, \tag*{(80)} ⟨ ∇ κ τ ( w t ) , d t ⟩ ≤ − c t ρ ∥ d t ∥ 2 2 , c t := E q t ∗ [ r ( w t , Y )] − τ κ t > 0 , (80) where κ t = κ τ ( w t ) \kappa_t=\kappa_\tau(\mathbf{w}_t) κ t = κ τ ( w t ) and q t ∗ = q ∗ ( κ t , w t ) \mathbf{q}_t^*=\mathbf{q}^*(\kappa_t,\mathbf{w}_t) q t ∗ = q ∗ ( κ t , w t ) .
Proof. From (75) we have − ρ d t ∈ ∇ R ~ t ( w t + 1 ) + N Δ M ( w t + 1 ) -\rho\mathbf{d}_t \in\nabla\widetilde{R}_t(\mathbf{w}_{t+1})+N_{\Delta_M}(\mathbf{w}_{t+1}) − ρ d t ∈ ∇ R t ( w t + 1 ) + N Δ M ( w t + 1 ) . Equivalently, for all w ∈ Δ M \mathbf{w}\in\Delta_M w ∈ Δ M ,
⟨ ∇ R ~ t ( w t + 1 ) + ρ d t , w − w t + 1 ⟩ ≥ 0. \left\langle\nabla\widetilde{R}_t(\mathbf{w}_{t+1})+\rho\mathbf{d}_t,\mathbf{w}-\mathbf{w}_{t+1}\right\rangle\geq0. ⟨ ∇ R t ( w t + 1 ) + ρ d t , w − w t + 1 ⟩ ≥ 0.
Taking w = w t \mathbf{w}=\mathbf{w}_t w = w t yields ⟨ ∇ R ~ t ( w t + 1 ) , d t ⟩ ≤ − ρ ∥ d t ∥ 2 2 \left\langle\nabla\widetilde{R}_t(\mathbf{w}_{t+1}),\mathbf{d}_t\right\rangle\leq-\rho\lVert\mathbf{d}_t\rVert_2^2 ⟨ ∇ R t ( w t + 1 ) , d t ⟩ ≤ − ρ ∥ d t ∥ 2 2 . Since R ~ t \widetilde{R}_t R t is convex quadratic, its Hessian is PSD, hence ⟨ ∇ R ~ t ( w t ) , d t ⟩ ≤ ⟨ ∇ R ~ t ( w t + 1 ) , d t ⟩ \left\langle\nabla\widetilde{R}_t(\mathbf{w}_t),\mathbf{d}_t\right\rangle\leq\left\langle\nabla\widetilde{R}_t(\mathbf{w}_{t+1}),\mathbf{d}_t\right\rangle ⟨ ∇ R t ( w t ) , d t ⟩ ≤ ⟨ ∇ R t ( w t + 1 ) , d t ⟩ , which gives (76). The second inequality (77) follows from Lemma I.9, i.e., ∇ κ τ ( w t ) = c t ∇ R ~ t ( w t ) \nabla\kappa_\tau(\mathbf{w}_t)=c_t\nabla\widetilde{R}_t(\mathbf{w}_t) ∇ κ τ ( w t ) = c t ∇ R t ( w t ) with c t > 0 c_t>0 c t > 0 .
Corollary I.12 (Stopping certificate via KKT residual). Let w t + 1 \mathbf{w}_{t+1} w t + 1 be the proximal update (73). Then
dist ( 0 , ∇ R ~ t ( w t + 1 ) + N Δ M ( w t + 1 ) ) ≤ ρ ∥ w t + 1 − w t ∥ 2 . (81) \operatorname{dist}\left(0,\nabla\widetilde{R}_t(\mathbf{w}_{t+1})+N_{\Delta_M}(\mathbf{w}_{t+1})\right)\leq\rho\lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2. \tag*{(81)} dist ( 0 , ∇ R t ( w t + 1 ) + N Δ M ( w t + 1 ) ) ≤ ρ ∥ w t + 1 − w t ∥ 2 . (81) In particular, if the algorithm stops when ∥ w t + 1 − w t ∥ 2 ≤ ε s t o p \lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2\leq\varepsilon_{\mathrm{stop}} ∥ w t + 1 − w t ∥ 2 ≤ ε stop , then the stationarity residual of the tilted-risk problem at w t + 1 \mathbf{w}_{t+1} w t + 1 is at most ρ ε s t o p \rho\varepsilon_{\mathrm{stop}} ρ ε stop .
Proof. From (75), − ρ ( w t + 1 − w t ) ∈ ∇ R ~ t ( w t + 1 ) + N Δ M ( w t + 1 ) -\rho(\mathbf{w}_{t+1}-\mathbf{w}_t)\in\nabla\widetilde{R}_t(\mathbf{w}_{t+1})+N_{\Delta_M}(\mathbf{w}_{t+1}) − ρ ( w t + 1 − w t ) ∈ ∇ R t ( w t + 1 ) + N Δ M ( w t + 1 ) . Thus dist ( 0 , S ) ≤ ∥ s ∥ \operatorname{dist}(0,S)\leq\lVert s\rVert dist ( 0 , S ) ≤ ∥ s ∥ for any s ∈ S s\in S s ∈ S implies (78).
Lemma I.13 (Uniform sufficient decrease for κ τ \kappa_\tau κ τ ). Under Assumption I.1, let K \mathcal{K} K be a compact subset of the open domain W τ \mathcal{W}_\tau W τ . There exists an ϵ > 0 \epsilon>0 ϵ > 0 such that the closed ϵ \epsilon ϵ -neighborhood K ϵ : = { w ∈ Δ M : dist ( w , K ) ≤ ϵ } \mathcal{K}_\epsilon:=\{\mathbf{w}\in\Delta_M:\operatorname{dist}(\mathbf{w},\mathcal{K})\leq\epsilon\} K ϵ := { w ∈ Δ M : dist ( w , K ) ≤ ϵ } is entirely contained within W τ \mathcal{W}_\tau W τ . Let L < ∞ L<\infty L < ∞ be the Lipschitz constant of ∇ κ τ \nabla\kappa_\tau ∇ κ τ on K ϵ \mathcal{K}_\epsilon K ϵ , let c min > 0 c_{\min}>0 c m i n > 0 be the uniform lower bound from Lemma I.5, and let M g r a d < ∞ M_{\mathrm{grad}}<\infty M grad < ∞ be a uniform upper bound on ∥ ∇ R ~ t ( w ) ∥ 2 \lVert\nabla\widetilde{R}_t(\mathbf{w})\rVert_2 ∥ ∇ R t ( w ) ∥ 2 over the simplex.
If ρ > max { L 2 c min , M g r a d ϵ } \rho>\max\left\{\frac{L}{2c_{\min}},\frac{M_{\mathrm{grad}}}{\epsilon}\right\} ρ > max { 2 c m i n L , ϵ M grad } , then there exists a constant c > 0 c>0 c > 0 independent of t t t such that
κ τ ( w t + 1 ) ≤ κ τ ( w t ) − c ∥ w t + 1 − w t ∥ 2 2 . (82) \kappa_\tau(\mathbf{w}_{t+1})\leq\kappa_\tau(\mathbf{w}_t)-c\lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2^2. \tag*{(82)} κ τ ( w t + 1 ) ≤ κ τ ( w t ) − c ∥ w t + 1 − w t ∥ 2 2 . (82) Proof. To validly apply the standard descent lemma, the entire line segment connecting w t \mathbf{w}_t w t and w t + 1 \mathbf{w}_{t+1} w t + 1 must lie within a domain where κ τ \kappa_\tau κ τ is L L L -smooth. While W τ \mathcal{W}_\tau W τ is not globally convex, our definition of the compact ϵ \epsilon ϵ -neighborhood K ϵ ⊂ W τ \mathcal{K}_\epsilon\subset\mathcal{W}_\tau K ϵ ⊂ W τ guarantees that ∇ κ τ \nabla\kappa_\tau ∇ κ τ is L L L -Lipschitz continuous on K ϵ \mathcal{K}_\epsilon K ϵ for some L < ∞ L<\infty L < ∞ .
We first prove that the proximal step bound traps the segment within this neighborhood. From the proximal optimality condition (75), taking the inner product with d t = w t + 1 − w t \mathbf{d}_t=\mathbf{w}_{t+1}-\mathbf{w}_t d t = w t + 1 − w t and applying the Cauchy-Schwarz inequality yields:
ρ ∥ d t ∥ 2 2 ≤ ⟨ − ∇ R ~ t ( w t + 1 ) , d t ⟩ ≤ ∥ ∇ R ~ t ( w t + 1 ) ∥ 2 ∥ d t ∥ 2 . \rho\lVert\mathbf{d}_t\rVert_2^2\leq\left\langle-\nabla\widetilde{R}_t(\mathbf{w}_{t+1}),\mathbf{d}_t\right\rangle\leq\lVert\nabla\widetilde{R}_t(\mathbf{w}_{t+1})\rVert_2\lVert\mathbf{d}_t\rVert_2. ρ ∥ d t ∥ 2 2 ≤ ⟨ − ∇ R t ( w t + 1 ) , d t ⟩ ≤ ∥ ∇ R t ( w t + 1 ) ∥ 2 ∥ d t ∥ 2 . Since the quadratic risk gradients are uniformly bounded on the simplex, we have ∥ ∇ R ~ t ( w t + 1 ) ∥ 2 ≤ M g r a d \lVert\nabla\widetilde{R}_t(\mathbf{w}_{t+1})\rVert_2\leq M_{\mathrm{grad}} ∥ ∇ R t ( w t + 1 ) ∥ 2 ≤ M grad . Thus, the step size is strictly bounded by ∥ d t ∥ 2 ≤ M g r a d / ρ \lVert\mathbf{d}_t\rVert_2\leq M_{\mathrm{grad}}/\rho ∥ d t ∥ 2 ≤ M grad / ρ .
By enforcing the condition ρ > M g r a d / ϵ \rho>M_{\mathrm{grad}}/\epsilon ρ > M grad / ϵ , we mathematically guarantee that ∥ w t + 1 − w t ∥ 2 < ϵ \lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2<\epsilon ∥ w t + 1 − w t ∥ 2 < ϵ . Because w t ∈ K \mathbf{w}_t\in\mathcal{K} w t ∈ K , this ensures the entire straight-line segment [ w t , w t + 1 ] [\mathbf{w}_t,\mathbf{w}_{t+1}] [ w t , w t + 1 ] remains strictly inside the safe neighborhood K ϵ \mathcal{K}_\epsilon K ϵ .
Because the segment does not exit the valid domain, we can safely apply the standard descent lemma along it:
κ τ ( w t + 1 ) ≤ κ τ ( w t ) + ⟨ ∇ κ τ ( w t ) , d t ⟩ + L 2 ∥ d t ∥ 2 2 . \kappa_{\tau}(\mathbf{w}_{t+1}) \le\kappa_{\tau}(\mathbf{w}_t) + \langle\nabla\kappa_{\tau}(\mathbf{w}_t), \mathbf{d}_t \rangle+ \frac{L}{2}\lVert\mathbf{d}_t \rVert_2^2. κ τ ( w t + 1 ) ≤ κ τ ( w t ) + ⟨ ∇ κ τ ( w t ) , d t ⟩ + 2 L ∥ d t ∥ 2 2 .
Using (80) and c t ≥ c min c_t \ge c_{\min} c t ≥ c m i n gives
κ τ ( w t + 1 ) ≤ κ τ ( w t ) − ( c min ρ − L 2 ) ∥ d t ∥ 2 2 . \kappa_{\tau}(\mathbf{w}_{t+1}) \le\kappa_{\tau}(\mathbf{w}_t) - \left(c_{\min}\rho- \frac{L}{2}\right)\lVert\mathbf{d}_t \rVert_2^2. κ τ ( w t + 1 ) ≤ κ τ ( w t ) − ( c m i n ρ − 2 L ) ∥ d t ∥ 2 2 .
Since ρ > L 2 c min \rho> \frac{L}{2c_{\min}} ρ > 2 c m i n L , we set c : = c min ρ − L 2 > 0 c := c_{\min}\rho- \frac{L}{2} > 0 c := c m i n ρ − 2 L > 0 to obtain (82) .
Convergence to a stationary point
Let N Δ M ( w ) N_{\Delta_M}(\mathbf{w}) N Δ M ( w ) denote the normal cone of Δ M \Delta_M Δ M at w \mathbf{w} w .
Definition I.14 (Stationary point of κ τ \kappa_{\tau} κ τ on the simplex). A point w ⋆ ∈ W τ \mathbf{w}^{\star} \in\mathcal{W}_{\tau} w ⋆ ∈ W τ is stationary for the robust satisficing objective if
0 ∈ ∇ w κ τ ( w ⋆ ) + N Δ M ( w ⋆ ) . 0 \in\nabla_{\mathbf{w}}\kappa_{\tau}(\mathbf{w}^{\star}) + N_{\Delta_M}(\mathbf{w}^{\star}). 0 ∈ ∇ w κ τ ( w ⋆ ) + N Δ M ( w ⋆ ) .
Definition I.15 (η \eta η -stationarity on the simplex). For η ≥ 0 \eta\ge0 η ≥ 0 , a point w ∈ W τ \mathbf{w} \in\mathcal{W}_{\tau} w ∈ W τ is called η \eta η -stationary for min w ∈ Δ M κ τ ( w ) \min_{\mathbf{w}\in\Delta_M} \kappa_{\tau}(\mathbf{w}) min w ∈ Δ M κ τ ( w ) if
dist ( 0 , ∇ w κ τ ( w ) + N Δ M ( w ) ) ≤ η . \operatorname{dist}\left(0, \nabla_{\mathbf{w}}\kappa_{\tau}(\mathbf{w}) + N_{\Delta_M}(\mathbf{w})\right) \le\eta. dist ( 0 , ∇ w κ τ ( w ) + N Δ M ( w ) ) ≤ η . The case η = 0 \eta= 0 η = 0 recovers Definition I.14.
Theorem I.16 (Convergence of proximal RSE to a stationary point). Suppose Assumption I.1 holds and the update is the proximal QP step (73) with a fixed ρ \rho ρ chosen so that Lemma I.13 holds. Then:
The sequence { κ τ ( w t ) } t ≥ 0 \{\kappa_{\tau}(\mathbf{w}_t)\}_{t\ge0} { κ τ ( w t ) } t ≥ 0 is nonincreasing and convergent.
The steps vanish: ∥ w t + 1 − w t ∥ 2 → 0 \lVert\mathbf{w}_{t+1} - \mathbf{w}_t \rVert_2 \to0 ∥ w t + 1 − w t ∥ 2 → 0 .
Every limit point of { w t } \{\mathbf{w}_t\} { w t } is a stationary point in the sense of Definition I.14. In particular, if the stationary point is unique, then w t → w ⋆ \mathbf{w}_t \to\mathbf{w}^{\star} w t → w ⋆ .
Proof. (1) Lemma I.13 gives monotone decrease of κ τ ( w t ) \kappa_{\tau}(\mathbf{w}_t) κ τ ( w t ) , and κ τ ( w t ) ≥ 0 \kappa_{\tau}(\mathbf{w}_t) \ge0 κ τ ( w t ) ≥ 0 , hence convergence.
(2) Summing (82) from t = 0 t = 0 t = 0 to T − 1 T - 1 T − 1 yields
c ∑ t = 0 T − 1 ∥ w t + 1 − w t ∥ 2 2 ≤ κ τ ( w 0 ) − κ τ ( w T ) ≤ κ τ ( w 0 ) , c\sum_{t=0}^{T-1}\lVert\mathbf{w}_{t+1} - \mathbf{w}_t \rVert_2^2 \le\kappa_{\tau}(\mathbf{w}_0) - \kappa_{\tau}(\mathbf{w}_T) \le\kappa_{\tau}(\mathbf{w}_0), c t = 0 ∑ T − 1 ∥ w t + 1 − w t ∥ 2 2 ≤ κ τ ( w 0 ) − κ τ ( w T ) ≤ κ τ ( w 0 ) , so ∑ t ≥ 0 ∥ w t + 1 − w t ∥ 2 2 < ∞ \sum_{t\ge0}\lVert\mathbf{w}_{t+1} - \mathbf{w}_t \rVert_2^2 < \infty ∑ t ≥ 0 ∥ w t + 1 − w t ∥ 2 2 < ∞ and therefore ∥ w t + 1 − w t ∥ 2 → 0 \lVert\mathbf{w}_{t+1} - \mathbf{w}_t \rVert_2 \to0 ∥ w t + 1 − w t ∥ 2 → 0 .
(3) Since Δ M \Delta_M Δ M is compact, pick a convergent subsequence w t n → w ˉ \mathbf{w}_{t_n} \to\bar{\mathbf{w}} w t n → w ˉ . By (2), also w t n + 1 → w ˉ \mathbf{w}_{t_n+1} \to\bar{\mathbf{w}} w t n + 1 → w ˉ . Let κ t n = κ τ ( w t n ) \kappa_{t_n} = \kappa_{\tau}(\mathbf{w}_{t_n}) κ t n = κ τ ( w t n ) and q t n ⋆ = q ⋆ ( κ t n , w t n ) \mathbf{q}^{\star}_{t_n} = \mathbf{q}^{\star}(\kappa_{t_n}, \mathbf{w}_{t_n}) q t n ⋆ = q ⋆ ( κ t n , w t n ) . By continuity of w ↦ κ τ ( w ) \mathbf{w} \mapsto\kappa_{\tau}(\mathbf{w}) w ↦ κ τ ( w ) on W τ \mathcal{W}_{\tau} W τ and of (67), we have κ t n → κ ˉ : = κ τ ( w ˉ ) \kappa_{t_n} \to\bar{\kappa} := \kappa_{\tau}(\bar{\mathbf{w}}) κ t n → κ ˉ := κ τ ( w ˉ ) and q t n ⋆ → q ˉ ⋆ : = q ⋆ ( κ ˉ , w ˉ ) \mathbf{q}^{\star}_{t_n} \to\bar{\mathbf{q}}^{\star} := \mathbf{q}^{\star}(\bar{\kappa}, \bar{\mathbf{w}}) q t n ⋆ → q ˉ ⋆ := q ⋆ ( κ ˉ , w ˉ ) .
The proximal optimality condition (78) at time t n t_n t n is
0 ∈ ∇ R ~ t n ( w t n + 1 ) + ρ ( w t n + 1 − w t n ) + N Δ M ( w t n + 1 ) , 0 \in\nabla\widetilde{R}_{t_n}(\mathbf{w}_{t_n+1}) + \rho(\mathbf{w}_{t_n+1} - \mathbf{w}_{t_n}) + N_{\Delta_M}(\mathbf{w}_{t_n+1}), 0 ∈ ∇ R t n ( w t n + 1 ) + ρ ( w t n + 1 − w t n ) + N Δ M ( w t n + 1 ) , with ∇ R ~ t n ( w ) = ∑ j = 1 K ( q t n ⋆ ) j ∇ r ( w , y j ) \nabla\widetilde{R}_{t_n}(\mathbf{w}) = \sum_{j=1}^{K}(\mathbf{q}^{\star}_{t_n})_j\nabla r(\mathbf{w}, y_j) ∇ R t n ( w ) = ∑ j = 1 K ( q t n ⋆ ) j ∇ r ( w , y j ) . Since w t n + 1 − w t n → 0 \mathbf{w}_{t_n+1} - \mathbf{w}_{t_n} \to0 w t n + 1 − w t n → 0 , passing to the limit and using continuity of ∇ r ( ⋅ , y j ) \nabla r(\cdot, y_j) ∇ r ( ⋅ , y j ) yields
0 ∈ ∑ j = 1 K ( q ˉ ⋆ ) j ∇ r ( w ˉ , y j ) + N Δ M ( w ˉ ) . 0 \in\sum_{j=1}^{K}(\bar{\mathbf{q}}^{\star})_j\nabla r(\bar{\mathbf{w}}, y_j) + N_{\Delta_M}(\bar{\mathbf{w}}). 0 ∈ j = 1 ∑ K ( q ˉ ⋆ ) j ∇ r ( w ˉ , y j ) + N Δ M ( w ˉ ) . Finally, Lemma I.9 shows that ∇ κ τ ( w ˉ ) \nabla\kappa_{\tau}(\bar{\mathbf{w}}) ∇ κ τ ( w ˉ ) is a strictly positive scalar multiple of ∑ j ( q ˉ ⋆ ) j ∇ r ( w ˉ , y j ) \sum_j(\bar{\mathbf{q}}^{\star})_j\nabla r(\bar{\mathbf{w}}, y_j) ∑ j ( q ˉ ⋆ ) j ∇ r ( w ˉ , y j ) , hence
0 ∈ ∇ κ τ ( w ˉ ) + N Δ M ( w ˉ ) , 0 \in\nabla\kappa_{\tau}(\bar{\mathbf{w}}) + N_{\Delta_M}(\bar{\mathbf{w}}), 0 ∈ ∇ κ τ ( w ˉ ) + N Δ M ( w ˉ ) , so w ˉ \bar{\mathbf{w}} w ˉ is stationary (Definition I.14).
Proof of Proposition 3.6
Remark 1.17 (Exact vs. approximate κ τ ( w ) \kappa_{\tau}(\mathbf{w}) κ τ ( w ) ). The convergence proof above treats κ t = κ τ ( w t ) \kappa_t=\kappa_{\tau}(\mathbf{w}_t) κ t = κ τ ( w t ) as the exact root of Φ ( κ ; w t ) = τ \Phi(\kappa;\mathbf{w}_t)=\tau Φ ( κ ; w t ) = τ . In implementation, κ ^ t \widehat{\kappa}_t κ t is obtained by taking the reciprocal of the truncated Lagrange–Bürmann inverse series. Its scalar root residual is
ε t : = Φ ( κ ^ t ; w t ) − τ . \varepsilon_t := \Phi(\widehat{\kappa}_t;\mathbf{w}_t)-\tau. ε t := Φ ( κ t ; w t ) − τ .
The next proposition shows that this residual directly controls the exact stationarity residual of κ τ ( ⋅ ) \kappa_{\tau}(\cdot) κ τ ( ⋅ ) on the simplex.
Proposition 1.18 (Approximate-root stationarity certificate). Suppose Assumption 1.1 holds. Let
κ t : = κ τ ( w t ) , κ ^ t \kappa_t := \kappa_{\tau}(\mathbf{w}_t), \qquad\widehat{\kappa}_t κ t := κ τ ( w t ) , κ t denote the exact and truncated roots, respectively, and define
ε t : = Φ ( κ ^ t ; w t ) − τ . \varepsilon_t := \Phi(\widehat{\kappa}_t;\mathbf{w}_t)-\tau. ε t := Φ ( κ t ; w t ) − τ . Assume κ ^ t > 0 \widehat{\kappa}_t>0 κ t > 0 for every t t t . Assume the truncation is accurate enough that the segment between κ ^ t \widehat{\kappa}_t κ t and κ t \kappa_t κ t lies in a neighborhood on which
∣ ∂ κ Φ ( κ ; w t ) ∣ ≥ m κ > 0 \lvert\partial_{\kappa}\Phi(\kappa;\mathbf{w}_t)\rvert\ge m_{\kappa}>0 ∣ ∂ κ Φ ( κ ; w t )∣ ≥ m κ > 0 uniformly in t t t . Let q ^ t = q ∗ ( κ ^ t , w t ) \widehat{\mathbf{q}}_t=\mathbf{q}^{*}(\widehat{\kappa}_t,\mathbf{w}_t) q t = q ∗ ( κ t , w t ) , and suppose w t + 1 \mathbf{w}_{t+1} w t + 1 is the proximal QP update formed using q ^ t \widehat{\mathbf{q}}_t q t . Then there exist constants C ε , C d < ∞ C_{\varepsilon},C_d<\infty C ε , C d < ∞ , independent of t t t , such that
dist ( 0 , ∇ w κ τ ( w t + 1 ) + N Δ M ( w t + 1 ) ) ≤ C ε ∣ ε t ∣ + C d ∥ w t + 1 − w t ∥ 2 . \operatorname{dist}\left(0,\nabla_{\mathbf{w}}\kappa_{\tau}(\mathbf{w}_{t+1})+N_{\Delta_M}(\mathbf{w}_{t+1})\right)\le C_{\varepsilon}\lvert\varepsilon_t\rvert+C_d\lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2. dist ( 0 , ∇ w κ τ ( w t + 1 ) + N Δ M ( w t + 1 ) ) ≤ C ε ∣ ε t ∣ + C d ∥ w t + 1 − w t ∥ 2 . Consequently, if the algorithm stops with
∣ ε t ∣ ≤ ε r o o t , ∥ w t + 1 − w t ∥ 2 ≤ ε s t o p , \lvert\varepsilon_t\rvert\le\varepsilon_{\mathrm{root}}, \qquad\lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2\le\varepsilon_{\mathrm{stop}}, ∣ ε t ∣ ≤ ε root , ∥ w t + 1 − w t ∥ 2 ≤ ε stop , then w t + 1 \mathbf{w}_{t+1} w t + 1 is
( C ε ε r o o t + C d ε s t o p ) -stationary (C_{\varepsilon}\varepsilon_{\mathrm{root}}+C_d\varepsilon_{\mathrm{stop}})\text{-stationary} ( C ε ε root + C d ε stop ) -stationary in the sense of Definition 1.15.
Proof. We first control the scalar root error. Since
Φ ( κ t ; w t ) = τ , \Phi(\kappa_t;\mathbf{w}_t)=\tau, Φ ( κ t ; w t ) = τ ,
the mean value theorem gives some κ ~ t \widetilde{\kappa}_t κ t between κ ^ t \widehat{\kappa}_t κ t and κ t \kappa_t κ t such that
Φ ( κ ^ t ; w t ) − Φ ( κ t ; w t ) = ∂ κ Φ ( κ ~ t ; w t ) ( κ ^ t − κ t ) . \Phi(\widehat{\kappa}_t;\mathbf{w}_t)-\Phi(\kappa_t;\mathbf{w}_t)=\partial_{\kappa}\Phi(\widetilde{\kappa}_t;\mathbf{w}_t)(\widehat{\kappa}_t-\kappa_t). Φ ( κ t ; w t ) − Φ ( κ t ; w t ) = ∂ κ Φ ( κ t ; w t ) ( κ t − κ t ) .
Using the uniform slope bound,
∣ κ ^ t − κ t ∣ ≤ ∣ Φ ( κ ^ t ; w t ) − τ ∣ m κ = ∣ ε t ∣ m κ . \lvert\widehat{\kappa}_t-\kappa_t\rvert\le\frac{\left\lvert\Phi(\widehat{\kappa}_t;\mathbf{w}_t)-\tau\right\rvert}{m_{\kappa}}=\frac{\lvert\varepsilon_t\rvert}{m_{\kappa}}. ∣ κ t − κ t ∣ ≤ m κ ∣ Φ ( κ t ; w t ) − τ ∣ = m κ ∣ ε t ∣ .
Next define, for κ > 0 \kappa>0 κ > 0 ,
G ( κ , u ; v ) : = ∑ j = 1 K q j ∗ ( κ , u ) ∇ v r ( v , y j ) . G(\kappa,\mathbf{u};\mathbf{v}):=\sum_{j=1}^{K}q_j^{*}(\kappa,\mathbf{u})\nabla_{\mathbf{v}}r(\mathbf{v},y_j). G ( κ , u ; v ) := j = 1 ∑ K q j ∗ ( κ , u ) ∇ v r ( v , y j ) .
There exists a constant L G < ∞ L_G<\infty L G < ∞ , independent of t t t , such that
∥ G ( κ τ ( w t + 1 ) , w t + 1 ; w t + 1 ) − G ( κ ^ t , w t ; w t + 1 ) ∥ 2 ≤ L G ( ∣ κ τ ( w t + 1 ) − κ ^ t ∣ + ∥ w t + 1 − w t ∥ 2 ) . \left\lVert G(\kappa_{\tau}(\mathbf{w}_{t+1}),\mathbf{w}_{t+1};\mathbf{w}_{t+1})-G(\widehat{\kappa}_t,\mathbf{w}_t;\mathbf{w}_{t+1})\right\rVert_2
\le L_G\left(\left\lvert\kappa_{\tau}(\mathbf{w}_{t+1})-\widehat{\kappa}_t\right\rvert+\lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2\right). ∥ G ( κ τ ( w t + 1 ) , w t + 1 ; w t + 1 ) − G ( κ t , w t ; w t + 1 ) ∥ 2 ≤ L G ( ∣ κ τ ( w t + 1 ) − κ t ∣ + ∥ w t + 1 − w t ∥ 2 ) .
Remark 1.19. A finite comparison constant L G L_G L G can be obtained from the exponential-tilt formula, using boundedness of the Brier risks and their gradients on the simplex and the positive lower bound of κ τ \kappa_{\tau} κ τ on K \mathcal{K} K . By the same neighborhood and near/far-pair argument used in Lemma I.7, applied to κ τ \kappa_\tau κ τ using its bounded gradient on a compact neighborhood of K \mathcal{K} K , the map κ τ \kappa_\tau κ τ is Lipschitz on K \mathcal{K} K with some constant L κ < ∞ L_\kappa< \infty L κ < ∞ .
∣ κ τ ( w t + 1 ) − κ ^ t ∣ ≤ L κ ∥ w t + 1 − w t ∥ 2 + ∣ ε t ∣ m κ . \left|\kappa_\tau(\mathbf{w}_{t+1})-\widehat{\kappa}_t\right| \le L_\kappa\|\mathbf{w}_{t+1}-\mathbf{w}_t\|_2+\frac{|\varepsilon_t|}{m_\kappa}. ∣ κ τ ( w t + 1 ) − κ t ∣ ≤ L κ ∥ w t + 1 − w t ∥ 2 + m κ ∣ ε t ∣ .
Therefore
∥ G ( κ τ ( w t + 1 ) , w t + 1 ; w t + 1 ) − G ( κ ^ t , w t ; w t + 1 ) ∥ 2 ≤ L G ( ( L κ + 1 ) ∥ w t + 1 − w t ∥ 2 + ∣ ε t ∣ m κ ) . \left\|G(\kappa_\tau(\mathbf{w}_{t+1}),\mathbf{w}_{t+1};\mathbf{w}_{t+1})-G(\widehat{\kappa}_t,\mathbf{w}_t;\mathbf{w}_{t+1})\right\|_2 \le L_G\left((L_\kappa+1)\|\mathbf{w}_{t+1}-\mathbf{w}_t\|_2+\frac{|\varepsilon_t|}{m_\kappa}\right). ∥ G ( κ τ ( w t + 1 ) , w t + 1 ; w t + 1 ) − G ( κ t , w t ; w t + 1 ) ∥ 2 ≤ L G ( ( L κ + 1 ) ∥ w t + 1 − w t ∥ 2 + m κ ∣ ε t ∣ ) .
The approximate-root QP optimality condition gives
0 ∈ G ( κ ^ t , w t ; w t + 1 ) + ρ ( w t + 1 − w t ) + N Δ M ( w t + 1 ) . 0\in G(\widehat{\kappa}_t,\mathbf{w}_t;\mathbf{w}_{t+1})+\rho(\mathbf{w}_{t+1}-\mathbf{w}_t)+N_{\Delta_M}(\mathbf{w}_{t+1}). 0 ∈ G ( κ t , w t ; w t + 1 ) + ρ ( w t + 1 − w t ) + N Δ M ( w t + 1 ) .
Now define
c ( w ) : = κ τ ( w ) E q ∗ ( κ τ ( w ) ) [ r ( w , Y ) ] − τ ˉ . c(\mathbf{w}):=\frac{\kappa_\tau(\mathbf{w})}{\mathbb{E}_{q^*(\kappa_\tau(\mathbf{w}))}[r(\mathbf{w},Y)]-\bar{\tau}}. c ( w ) := E q ∗ ( κ τ ( w )) [ r ( w , Y )] − τ ˉ κ τ ( w ) .
By Lemma I.4, c ( w ) c(\mathbf{w}) c ( w ) is uniformly bounded above on K \mathcal{K} K ; let
c max : = sup w ∈ K c ( w ) < ∞ . c_{\max}:=\sup_{\mathbf{w}\in\mathcal{K}}c(\mathbf{w})<\infty. c m a x := w ∈ K sup c ( w ) < ∞.
The exact implicit-gradient formula gives
∇ w κ τ ( w t + 1 ) = c ( w t + 1 ) G ( κ τ ( w t + 1 ) , w t + 1 ; w t + 1 ) . \nabla_{\mathbf{w}}\kappa_\tau(\mathbf{w}_{t+1})=c(\mathbf{w}_{t+1})G(\kappa_\tau(\mathbf{w}_{t+1}),\mathbf{w}_{t+1};\mathbf{w}_{t+1}). ∇ w κ τ ( w t + 1 ) = c ( w t + 1 ) G ( κ τ ( w t + 1 ) , w t + 1 ; w t + 1 ) .
Since N Δ M ( w t + 1 ) N_{\Delta_M}(\mathbf{w}_{t+1}) N Δ M ( w t + 1 ) is a cone, multiplying the QP optimality condition by the positive scalar c ( w t + 1 ) c(\mathbf{w}_{t+1}) c ( w t + 1 ) preserves membership in the normal cone. Hence
dist ( 0 , ∇ w κ τ ( w t + 1 ) + N Δ M ( w t + 1 ) ) \operatorname{dist}\left(0,\nabla_{\mathbf{w}}\kappa_\tau(\mathbf{w}_{t+1})+N_{\Delta_M}(\mathbf{w}_{t+1})\right) dist ( 0 , ∇ w κ τ ( w t + 1 ) + N Δ M ( w t + 1 ) )
is bounded by
c ( w t + 1 ) ∥ G ( κ τ ( w t + 1 ) , w t + 1 ; w t + 1 ) − G ( κ ^ t , w t ; w t + 1 ) ∥ 2 + c ( w t + 1 ) ρ ∥ w t + 1 − w t ∥ 2 . c(\mathbf{w}_{t+1})\left\|G(\kappa_\tau(\mathbf{w}_{t+1}),\mathbf{w}_{t+1};\mathbf{w}_{t+1})-G(\widehat{\kappa}_t,\mathbf{w}_t;\mathbf{w}_{t+1})\right\|_2+c(\mathbf{w}_{t+1})\rho\|\mathbf{w}_{t+1}-\mathbf{w}_t\|_2. c ( w t + 1 ) ∥ G ( κ τ ( w t + 1 ) , w t + 1 ; w t + 1 ) − G ( κ t , w t ; w t + 1 ) ∥ 2 + c ( w t + 1 ) ρ ∥ w t + 1 − w t ∥ 2 .
Using the previous Lipschitz bound and c ( w t + 1 ) ≤ c max c(\mathbf{w}_{t+1})\le c_{\max} c ( w t + 1 ) ≤ c m a x , we get
dist ( 0 , ∇ w κ τ ( w t + 1 ) + N Δ M ( w t + 1 ) ) ≤ C ε ∣ ε t ∣ + C d ∥ w t + 1 − w t ∥ 2 , \operatorname{dist}\left(0,\nabla_{\mathbf{w}}\kappa_\tau(\mathbf{w}_{t+1})+N_{\Delta_M}(\mathbf{w}_{t+1})\right)\le C_\varepsilon|\varepsilon_t|+C_d\|\mathbf{w}_{t+1}-\mathbf{w}_t\|_2, dist ( 0 , ∇ w κ τ ( w t + 1 ) + N Δ M ( w t + 1 ) ) ≤ C ε ∣ ε t ∣ + C d ∥ w t + 1 − w t ∥ 2 ,
where one may take
C ε = c max L G m κ , C d = c max ( L G ( L κ + 1 ) + ρ ) . C_\varepsilon=\frac{c_{\max}L_G}{m_\kappa},\qquad C_d=c_{\max}\left(L_G(L_\kappa+1)+\rho\right). C ε = m κ c m a x L G , C d = c m a x ( L G ( L κ + 1 ) + ρ ) .
This gives the desired bound and thus completes the proof. □ \square □