Introduction
Learning to defer (L2D) asks a router to choose between an internal prediction and an external expert’s answer ([38 , 54 , 48 ] ). With several experts and consultation fees, the router must decide whom to ask and whether the expected reduction in prediction error is worth the price ([42 ] ). Standard direct deferral deploys a purchased answer unchanged. This ties the value of consultation to the accuracy of the raw answer, even when its errors are predictable. Suppose a weather model tracks day-to-day temperature changes but consistently forecasts too high. Its uncorrected error and fee may make a query unattractive, while removing the stable bias would make the same answer useful. Even a router that knows the data law cannot realize this gain if it must deploy the answer unchanged. The question is therefore not only whom to ask , but also how to use the answer once it arrives.
We study this distinction through online L2D with post-answer responses . On round t t t , the learner sees its internal prediction h t h_t h t , the public context, the available experts, and their fees. It either uses h t h_t h t or chooses an expert j j j and fixes a correction function Δ t , j \Delta_{t,j} Δ t , j . If it queries j j j , the final prediction is
Y ^ t = M t , j + Δ t , j ( M t , j − h t ) . (1) \widehat{Y}_t = M_{t,j} + \Delta_{t,j}(M_{t,j} - h_t). \tag*{(1)} Y t = M t , j + Δ t , j ( M t , j − h t ) . (1)
The function is fixed before the query and evaluated after the answer arrives. Only the selected expert’s answer is observed. The outcome is revealed after the final prediction on every round, providing feedback for future corrections and query decisions. Thus the final prediction may use the purchased answer, but the decision to buy that answer is made before it is seen. We represent this sequential decision in Appendix § 10 .
The router must decide whether to buy an expert’s answer while it is still learning how to correct that answer. In direct deferral, a purchase reveals the loss of the queried action. With a learned response, it reveals the loss under the learner’s current correction, while the router must assess the risk attainable with the best feasible response. The conditional gap is nonnegative and can change with the response; a confidence bound for centered observation noise alone does not cover it. Early correction errors can therefore make a useful expert appear too costly. If queries stop, its retained response loses direct training observations. We propose RESPONSE-AWARE UCB to handle this moving target. It pools bounded polynomial responses that can use the purchased answer nonlinearly: a shared fit offers an initial proposal for a new expert, while an identity-specific fit preserves what was learned when that expert returns. The shared fit need not describe every expert correctly. We bound the cumulative response-learning error relative to feasible identity responses, then use that bound to calibrate confidence-weighted risk regression. This limits the influence of observations acquired at high queried-risk uncertainty; a confidence bonus favors queries when an expert’s corrected risk could still be low.
Our contributions are as follows. (i) We define a conditional-law oracle that, like the learner, selects an expert and fixes its response before seeing the answer. This comparator measures the cost of learning both which answers to buy and how to use them. (ii) Under fixed feasible models of optimal response coefficients and linear models of free and optimal queried risk, calibrated RESPONSE-AWARE UCB has high-probability pseudo-regret O ( T log ( T + 1 ) ) O(\sqrt{T}\log(T+1)) O ( T log ( T + 1 )) for fixed problem parameters. The guarantee allows singular answer distributions and misspecified shared responses. A robustness extension quantifies the cost of approximate response and risk models when bounds on their approximation errors are supplied for calibration. (iii) On four test streams, the selected cubic policy has lower cost than seven external baselines that deploy answers unchanged. Comparisons with a common correction learner examine routing, while six-price comparisons measure cost and query rates.
Related work
Learning to defer. L2D learns when to predict and when to rely on an expert [38 , 54 ] . In regression, routing compares the prediction losses and consultation costs of several experts [42 ] . In classification, Montreuil et al. [48 ] separate classifier and expert scores to address coupling in joint prediction–deferral training. Online L2D extends routing to varying experts and selected-action feedback, primarily in classification settings [17 ] , while time-series deferral also models changes in expert performance [53 ] . Our setting differs in that querying an expert does not end the decision process. After purchasing an answer, the learner must also learn how to transform that answer into the final prediction. The response function is fixed before acquisition, but its output depends on the answer received. Errors in learning this response therefore affect both the quality of the current prediction and which experts are queried in the future.
Online bandits. Contextual bandits learn action values from selected-action feedback using linear confidence bounds [34 , 1 ] , parameter sampling [2 ] , or neural confidence models [74 ] . Our comparisons cover these alternatives through SleepingLinUCB, SharedLinUCB, LinTS, and NeuralUCB. SleepingLinUCB maintains a separate model for each expert and restricts selection to available experts, following the sleeping-bandit setting [33 ] , while SharedLinUCB uses a shared context–identity model. To account for changing performance, we also compare with discounted regression (D-LinUCB; [64 ] ) and detector-triggered restarts (CUSUM-LinUCB and GLR-LinUCB), adapted from the non-contextual methods of Liu et al. [35 ] and Besson et al. [6 ] . All seven baselines use our availability and feedback protocol. Our confidence weighting follows He et al. [23 ] . The additional analytical step is to bound the bias generated by learning the responses and use this bound to calibrate acquisition. Appendix G develops these connections.
Background
Learning to defer. In learning to defer (L2D), a policy decides whether to use an internal prediction or delegate to an expert [38 , 54 ] . The expert may be a human or another model. For regression, let Y ∈ R Y \in\mathbb{R} Y ∈ R be the outcome and M = ( M 1 , … , M K ) ∈ R K M = (M_1,\ldots,M_K) \in\mathbb{R}^K M = ( M 1 , … , M K ) ∈ R K the potential answers from K ≥ 1 K \ge1 K ≥ 1 expert identities. The public input x ∈ X x \in\mathcal{X} x ∈ X determines the internal prediction h ( x ) h(x) h ( x ) , available identities E ( x ) ⊆ { 1 , … , K } \mathcal{E}(x) \subseteq\{1,\ldots,K\} E ( x ) ⊆ { 1 , … , K } and consultation fees β j ( x ) ≥ 0 \beta_j(x) \ge0 β j ( x ) ≥ 0 . An admissible policy, or router , is a measurable map π : X → { 0 , … , K } \pi:\mathcal{X}\to\{0,\ldots,K\} π : X → { 0 , … , K } with π ( x ) ∈ { 0 } ∪ E ( x ) \pi(x)\in\{0\}\cup\mathcal{E}(x) π ( x ) ∈ { 0 } ∪ E ( x ) . Action 0 uses the internal prediction h ( x ) h(x) h ( x ) ; action j j j deploys expert answer M j M_j M j unchanged. We call squared prediction error the loss and loss plus the consultation fee the cost :
C d e f ( x , Y , M ; i ) = { ( Y − h ( x ) ) 2 , i = 0 , ( Y − M j ) 2 + β j ( x ) , i = j ∈ E ( x ) . (2) C^{\mathrm{def}}(x,Y,M;i)=
\begin{cases}
(Y-h(x))^2, & i=0,\\
(Y-M_j)^2+\beta_j(x), & i=j\in\mathcal{E}(x).
\end{cases} \tag*{(2)} C def ( x , Y , M ; i ) = { ( Y − h ( x ) ) 2 , ( Y − M j ) 2 + β j ( x ) , i = 0 , i = j ∈ E ( x ) . (2)
L2D minimizes E [ C d e f ( X , Y , M ; π ( X ) ) ] \mathbb{E}[C^{\mathrm{def}}(X,Y,M;\pi(X))] E [ C def ( X , Y , M ; π ( X ))] over a fixed nonempty class Π \Pi Π of admissible routers, where X X X is the random public input ([42 b] ). Querying an expert improves expected cost over the internal prediction when its conditional loss reduction exceeds its fee.
Online decisions and feedback. Online L2D learns from sequential feedback ([17 ] ). On round t t t of T ≥ 1 T\ge1 T ≥ 1 rounds, the pre-query information F t \mathcal{F}_t F t contains the completed history and current public input x t x_t x t ; mathematically, it is a sigma-field. A history-dependent router chooses I t = π t ( x t ) ∈ { 0 } ∪ E ( x t ) I_t=\pi_t(x_t)\in\{0\}\cup\mathcal{E}(x_t) I t = π t ( x t ) ∈ { 0 } ∪ E ( x t ) : I t = 0 I_t=0 I t = 0 uses h ( x t ) h(x_t) h ( x t ) , while I t = j I_t=j I t = j selects expert j j j . These choices are called arms in bandit terminology. Availability may change while expert identities persist. The internal predictor may also learn, with its current prediction included in x t x_t x t . Write M t = ( M t , 1 , … , M t , K ) M_t=(M_{t,1},\ldots,M_{t,K}) M t = ( M t , 1 , … , M t , K ) for the potential-answer vector. Public quantities such as x t x_t x t may be random through the history; they are known when conditioning on F t \mathcal{F}_t F t .
Feedback determines which losses can be used to update the router. Full information reveals every available action’s loss; bandit feedback reveals only the chosen action’s loss ([4 ] ). If outcomes are revealed on every round but expert answers only upon purchase, the internal loss is observed even when an expert is selected. The losses of unqueried experts are generally unavailable.
For Π \Pi Π fixed before interaction, realized direct-deferral regret compares cumulative cost with the best router in hindsight ([10 ] ):
Reg T d e f ( Π ) = ∑ t = 1 T C d e f ( x t , Y t , M t ; I t ) − inf π ∈ Π ∑ t = 1 T C d e f ( x t , Y t , M t ; π ( x t ) ) . (3) \operatorname{Reg}^{\mathrm{def}}_T(\Pi)=\sum_{t=1}^{T}C^{\mathrm{def}}(x_t,Y_t,M_t;I_t)-\inf_{\pi\in\Pi}\sum_{t=1}^{T}C^{\mathrm{def}}(x_t,Y_t,M_t;\pi(x_t)). \tag*{(3)} Reg T def ( Π ) = t = 1 ∑ T C def ( x t , Y t , M t ; I t ) − π ∈ Π inf t = 1 ∑ T C def ( x t , Y t , M t ; π ( x t )) . (3)
The infimum is outside the sum: one router is used throughout, but it may select different experts at different inputs. Both costs use the same realized sequence, including unobserved potential answers. A conditional risk is expected prediction loss given F t \mathcal{F}_t F t . Our conditional pseudo-regret in section 4 compares expected costs with an oracle’s best feasible action and response on each round, chosen before any current answer is revealed.
Protocol and comparator
We now specify the allowed corrections and the oracle against which we measure the cost of learning to query and use an answer.
Protocol. Write h t = h ( x t ) h_t=h(x_t) h t = h ( x t ) , E t = E ( x t ) \mathcal{E}_t=\mathcal{E}(x_t) E t = E ( x t ) and β t , j = β j ( x t ) \beta_{t,j}=\beta_j(x_t) β t , j = β j ( x t ) . Before querying, Y t Y_t Y t and the potential answers ( M t , j ) j ∈ E t (M_{t,j})_{j\in\mathcal{E}_t} ( M t , j ) j ∈ E t are hidden. We assume non-intervention: purchasing an answer does not change their conditional joint law, as when a forecast does not affect the weather. Using only F t \mathcal{F}_t F t , the learner fixes I t I_t I t and a response function. Action 0 deploys h t h_t h t ; a query to j j j pays β t , j \beta_{t,j} β t , j , reveals only M t , j M_{t,j} M t , j and applies the correction in (1). The outcome is then revealed on every round. Our policy is deterministic, with public orders for ties and registration.
Disagreement. Assume ∣ Y t − h t ∣ ≤ R |Y_t-h_t|\le R ∣ Y t − h t ∣ ≤ R and ∣ M t , j − h t ∣ ≤ D |M_{t,j}-h_t|\le D ∣ M t , j − h t ∣ ≤ D almost surely for every round and active expert, with known R , D > 0 R,D>0 R , D > 0 . Set G = R + D G=R+D G = R + D , d t , j = M t , j − h t d_{t,j}=M_{t,j}-h_t d t , j = M t , j − h t and e t , j = Y t − M t , j e_{t,j}=Y_t-M_{t,j} e t , j = Y t − M t , j ; then ∣ e t , j ∣ ≤ G |e_{t,j}|\le G ∣ e t , j ∣ ≤ G . We learn the response by predicting the expert residual e t , j e_{t,j} e t , j from disagreement d t , j d_{t,j} d t , j . Since M t , j = h t + d t , j M_{t,j}=h_t+d_{t,j} M t , j = h t + d t , j and h t h_t h t is public, centering loses no information about the answer given F t \mathcal{F}_t F t . It gives a bounded response input without requiring bounded absolute prediction levels.
Response class. We model the correction as a low-degree polynomial in disagreement. Polynomial features allow nonlinear adjustments while keeping the model linear in its coefficients ([27 , 37 ] ), so fitting the response by squared loss remains a convex problem. Keeping the degree low also limits how many coefficients must be learned from each expert’s purchased answers. Because purchases depend on earlier fits, we use an online least-squares comparison that does not require independent samples ([22 ] ). It bounds cumulative fitting loss relative to a fixed feasible model, allowing us to account for response-learning error in the routing analysis (lemma D.1).
To keep the corrections bounded, we use scaled Legendre features and restrict the coefficient norm. For an integer order q ≥ 1 q \ge1 q ≥ 1 , let B q = { a ∈ R q + 1 : ∥ a ∥ 2 ≤ 1 } \mathbb{B}_q = \{a \in\mathbb{R}^{q+1} : \lVert a\rVert_2 \le1\} B q = { a ∈ R q + 1 : ∥ a ∥ 2 ≤ 1 } , with ∥ ⋅ ∥ 2 \lVert\cdot\rVert_2 ∥ ⋅ ∥ 2 the Euclidean norm. Using the degree-k k k Legendre polynomial P k P_k P k , define
ϕ q ( d ) = ( 1 , D P 1 ( d / D ) , … , D P q ( d / D ) ) ⊤ 1 + q D 2 , Δ a ( d ) = G a ⊤ ϕ q ( d ) . (4) \phi_q(d) = \frac{(1,DP_1(d/D),\ldots,DP_q(d/D))^\top}{\sqrt{1+qD^2}}, \qquad\Delta_a(d) = Ga^\top\phi_q(d). \tag*{(4)} ϕ q ( d ) = 1 + q D 2 ( 1 , D P 1 ( d / D ) , … , D P q ( d / D ) ) ⊤ , Δ a ( d ) = G a ⊤ ϕ q ( d ) . (4)
For a query to expert j j j , the learner fixes a t , j ∈ B q a_{t,j} \in\mathbb{B}_q a t , j ∈ B q before purchase. Its deployed prediction is
Y ^ t = { h t , if I t = 0 , M t , j + Δ a t , j ( d t , j ) , if I t = j ∈ E t . (5) \widehat{Y}_t =
\begin{cases}
h_t, & \text{if } I_t=0,\\
M_{t,j}+\Delta_{a_{t,j}}(d_{t,j}), & \text{if } I_t=j\in\mathcal{E}_t.
\end{cases} \tag*{(5)} Y t = { h t , M t , j + Δ a t , j ( d t , j ) , if I t = 0 , if I t = j ∈ E t . (5)
For d ∈ [ − D , D ] d \in[-D,D] d ∈ [ − D , D ] , the bound ∣ P k ( d / D ) ∣ ≤ 1 \lvert P_k(d/D)\rvert\le1 ∣ P k ( d / D )∣ ≤ 1 ([70 ] ) gives ∥ ϕ q ( d ) ∥ 2 ≤ 1 \lVert\phi_q(d)\rVert_2 \le1 ∥ ϕ q ( d ) ∥ 2 ≤ 1 and ∣ Δ a ( d ) ∣ ≤ G \lvert\Delta_a(d)\rvert\le G ∣ Δ a ( d )∣ ≤ G for a ∈ B q a \in\mathbb{B}_q a ∈ B q . The factor D D D preserves the linear coordinate D P 1 ( d / D ) = d DP_1(d/D)=d D P 1 ( d / D ) = d . Since ∣ e t , j ∣ ≤ G \lvert e_{t,j}\rvert\le G ∣ e t , j ∣ ≤ G , the queried prediction loss ( e t , j − Δ a ( d t , j ) ) 2 (e_{t,j}-\Delta_a(d_{t,j}))^2 ( e t , j − Δ a ( d t , j ) ) 2 is at most 4 G 2 4G^2 4 G 2 . This bound supplies bounded labels for risk estimation. The scaling and coefficient ball define the response budget. The normalization depends on q q q , so the bounded classes need not be nested. The analysis requires bounded features and linear coefficients, not orthogonality under the answer distribution, and extends to other fixed bounded dictionaries under their corresponding response and risk models.
For the experiments, we choose q = 3 q=3 q = 3 : four coefficients at a fixed context capture bias correction, linear rescaling, and quadratic and cubic adjustments. The cubic term allows the rescaling to vary with disagreement magnitude.
Oracle and regret. The comparator class consists of all F t \mathcal{F}_t F t -measurable rules choosing free prediction or a pair ( j , a ) (j,a) ( j , a ) with j ∈ E t j \in\mathcal{E}_t j ∈ E t and a ∈ B q a \in\mathbb{B}_q a ∈ B q . Routing may use the full public history, but the correction must belong to the specified response class. Write L t 0 = E [ ( Y t − h t ) 2 ∣ F t ] L_t^0=\mathbb{E}[(Y_t-h_t)^2\mid\mathcal{F}_t] L t 0 = E [( Y t − h t ) 2 ∣ F t ] for the free risk. The best queried prediction risk for expert j j j is
W t , j ∗ = min a ∈ B q E [ ( e t , j − G a ⊤ ϕ q ( d t , j ) ) 2 ∣ F t ] . (6) W_{t,j}^*=\min_{a\in\mathbb{B}_q}\mathbb{E}[(e_{t,j}-Ga^\top\phi_q(d_{t,j}))^2\mid\mathcal{F}_t]. \tag*{(6)} W t , j ∗ = a ∈ B q min E [( e t , j − G a ⊤ ϕ q ( d t , j ) ) 2 ∣ F t ] . (6)
The minimization fixes one coefficient vector using F t \mathcal{F}_t F t ; its loss is averaged over the still-hidden outcome and answer. Compactness and continuity give a minimizer; Appendix A specifies measurable versions. Since L t 0 ≤ R 2 L_t^0 \le R^2 L t 0 ≤ R 2 , a query fee of at least R 2 R^2 R 2 cannot improve on free prediction. Restricting queries to A t = { j ∈ E t : β t , j < R 2 } A_t=\{j\in\mathcal{E}_t:\beta_{t,j}<R^2\} A t = { j ∈ E t : β t , j < R 2 } therefore preserves the oracle cost
C t ∗ = min { L t 0 , min j ∈ A t ( W t , j ∗ + β t , j ) } , C_t^*=\min\{L_t^0,\min_{j\in A_t}(W_{t,j}^*+\beta_{t,j})\}, C t ∗ = min { L t 0 , j ∈ A t min ( W t , j ∗ + β t , j )} ,
with an empty inner minimum equal to + ∞ +\infty + ∞ . The oracle knows the conditional law and may change expert and response with context, but must choose both before any current answer is revealed. Set β t , 0 = 0 \beta_{t,0}=0 β t , 0 = 0 and C t = ( Y t − Y ^ t ) 2 + β t , I t C_t=(Y_t-\widehat{Y}_t)^2+\beta_{t,I_t} C t = ( Y t − Y t ) 2 + β t , I t . Our pseudo-regret is
Reg T = ∑ t = 1 T { E [ C t ∣ F t ] − C t ∗ } . (7) \operatorname{Reg}_T=\sum_{t=1}^{T}\{\mathbb{E}[C_t\mid\mathcal{F}_t]-C_t^*\}. \tag*{(7)} Reg T = t = 1 ∑ T { E [ C t ∣ F t ] − C t ∗ } . (7)
Unlike hindsight regret over the fixed direct-deferral class Π \Pi Π in § 3 , this compares conditional expected costs with the best feasible action and response on each round. The oracle chooses before feedback, following the conditional-mean convention of linear contextual bandits ([1 , 23 ] ).
Response-Aware UCB
Response-Aware UCB uses past purchases to learn both how to correct an expert’s answer and whether that answer is worth buying. The difficulty is that an expert’s early losses reflect an unfinished correction, not just the risk attainable with its best response. We first fit the corrections, then bound the error incurred while learning them, and use that bound to construct the query rule.
Learning the response
Each expert has an identity-specific fit that retains what was learned from its purchased answers. A second, shared fit uses purchases from all identities and can help with a new expert when responses have common structure. We combine these two proposals according to their past losses on the selected identity, without requiring the shared model to be correct.
Response fits. Let ℓ t , j ∈ R d ℓ \ell_{t,j} \in\mathbb{R}^{d_\ell} ℓ t , j ∈ R d ℓ and s t , j ∈ R d s s_{t,j} \in\mathbb{R}^{d_s} s t , j ∈ R d s be public features of norm at most one for the identity and shared fits, respectively. They determine the correction coefficients before purchase; ϕ q ( d t , j ) \phi_q(d_{t,j}) ϕ q ( d t , j ) determines how those coefficients act on the answer after purchase. For example, an intercept and a bounded temperature covariate let a coefficient vary with the public temperature. With regularizers λ I , λ P > 0 \lambda_I,\lambda_P > 0 λ I , λ P > 0 , we fit the normalized residuals by
Θ t , j = arg min ∥ Θ ∥ F ≤ 1 { λ I ∥ Θ ∥ F 2 + ∑ r < t : I r = j ( e r , j G − ℓ r , j T Θ ϕ q ( d r , j ) ) 2 } . (8) \Theta_{t,j} = \underset{\lVert\Theta\rVert_F \le1}{\arg\min}\left\{\lambda_I\lVert\Theta\rVert_F^2+\sum_{r<t:I_r=j}\left(\frac{e_{r,j}}{G}-\ell_{r,j}^{\mathsf{T}}\Theta\phi_q(d_{r,j})\right)^2\right\}. \tag*{(8)} Θ t , j = ∥ Θ ∥ F ≤ 1 arg min ⎩ ⎨ ⎧ λ I ∥ Θ ∥ F 2 + r < t : I r = j ∑ ( G e r , j − ℓ r , j T Θ ϕ q ( d r , j ) ) 2 ⎭ ⎬ ⎫ . (8)
Ψ t = arg min Ψ ∈ R d s × ( q + 1 ) { λ P ∥ Ψ ∥ F 2 + ∑ r < t : I r ≠ 0 ( e r , I r G − s r , I r T Ψ ϕ q ( d r , I r ) ) 2 } . (9) \Psi_t = \underset{\Psi\in\mathbb{R}^{d_s\times(q+1)}}{\arg\min}\left\{\lambda_P\lVert\Psi\rVert_F^2+\sum_{r<t:I_r\ne0}\left(\frac{e_{r,I_r}}{G}-s_{r,I_r}^{\mathsf{T}}\Psi\phi_q(d_{r,I_r})\right)^2\right\}. \tag*{(9)} Ψ t = Ψ ∈ R d s × ( q + 1 ) arg min ⎩ ⎨ ⎧ λ P ∥ Ψ ∥ F 2 + r < t : I r = 0 ∑ ( G e r , I r − s r , I r T Ψ ϕ q ( d r , I r ) ) 2 ⎭ ⎬ ⎫ . (9)
Here Θ ∈ R d ℓ × ( q + 1 ) \Theta\in\mathbb{R}^{d_\ell\times(q+1)} Θ ∈ R d ℓ × ( q + 1 ) and ∥ Θ ∥ F \lVert\Theta\rVert_F ∥ Θ ∥ F is the Euclidean norm of its entries. The regularizers make both minimizers unique. The identity proposal a t , j H = Θ t , j T ℓ t , j a^H_{t,j}=\Theta_{t,j}^{\mathsf{T}}\ell_{t,j} a t , j H = Θ t , j T ℓ t , j is feasible because ∥ a t , j H ∥ 2 ≤ ∥ Θ t , j ∥ F ∥ ℓ t , j ∥ 2 ≤ 1 \lVert a^H_{t,j}\rVert_2\le\lVert\Theta_{t,j}\rVert_F\lVert\ell_{t,j}\rVert_2\le1 ∥ a t , j H ∥ 2 ≤ ∥ Θ t , j ∥ F ∥ ℓ t , j ∥ 2 ≤ 1 . We project the shared proposal onto the same coefficient ball:
a t , j P = Ψ t T s t , j max { 1 , ∥ Ψ t T s t , j ∥ 2 } . (10) a^P_{t,j}=\frac{\Psi_t^{\mathsf{T}}s_{t,j}}{\max\{1,\lVert\Psi_t^{\mathsf{T}}s_{t,j}\rVert_2\}}. \tag*{(10)} a t , j P = max { 1 , ∥ Ψ t T s t , j ∥ 2 } Ψ t T s t , j . (10)
Superscripts H H H and P P P denote identity history and population. The identity fit is constrained during optimization so that its cumulative loss can be compared with any fixed feasible identity model (lemma D.1 in Appendix § 13 ). The shared fit only needs to supply a feasible alternative, so projection suffices.
Pooling. To adapt to whether an expert benefits from shared information, we deploy a convex mixture of the two coefficient proposals:
a t , j = w t , j H a t , j H + w t , j P a t , j P , w t , j H , w t , j P ≥ 0 , w t , j H + w t , j P = 1. (11) a_{t,j}=w^H_{t,j}a^H_{t,j}+w^P_{t,j}a^P_{t,j},\qquad w^H_{t,j},w^P_{t,j}\ge0,\qquad w^H_{t,j}+w^P_{t,j}=1. \tag*{(11)} a t , j = w t , j H a t , j H + w t , j P a t , j P , w t , j H , w t , j P ≥ 0 , w t , j H + w t , j P = 1. (11)
We initialize both weights at 1 / 2 1/2 1/2 for each new identity. After querying j j j and observing the outcome, we evaluate the pre-query proposals using L t u = ( e t , j / G − ( a t , j u ) T ϕ q ( d t , j ) ) 2 / 4 L^u_t=(e_{t,j}/G-(a^u_{t,j})^{\mathsf{T}}\phi_q(d_{t,j}))^2/4 L t u = ( e t , j / G − ( a t , j u ) T ϕ q ( d t , j ) ) 2 /4 , u ∈ { H , P } u\in\{H,P\} u ∈ { H , P } . We update the weights by exponential weighting ([10 ] ), multiplying each by exp ( − η L t u ) \exp(-\eta L^u_t) exp ( − η L t u ) and renormalizing, with 0 < η ≤ 1 / 2 0<\eta\le1/2 0 < η ≤ 1/2 . Other identities keep their weights. Both losses use the same purchased answer, so comparing proposals needs no additional query.
The mixture stays in B q \mathbb{B}_q B q by convexity. For the stated learning-rate range, its cumulative squared loss over queries to each identity is at most that of either proposal sequence plus 4 G 2 log 2 / η 4G^2\log2/\eta 4 G 2 log 2/ η . Lemma D.2 in Appendix § 13 proves this comparison using exp-concavity ([22 ] ). Thus the shared proposal can help without invalidating the guarantee provided by the identity fit. All fits use only past observations, and identity histories and pool weights persist during absence.
Accounting for response error
An expert may be worth buying after correction even when its early corrected predictions are poor. To account for this distinction, we separate the loss we observe from the optimal risk we want to estimate. On a queried round, the normalized deployed loss is
Z t = ( Y t − Y ^ t ) 2 / ( 4 G 2 ) ∈ [ 0 , 1 ] . (12) Z_t=(Y_t-\widehat{Y}_t)^2/(4G^2)\in[0,1]. \tag*{(12)} Z t = ( Y t − Y t ) 2 / ( 4 G 2 ) ∈ [ 0 , 1 ] . (12)
We define the response-learning gap by ρ t = ( E [ ( Y t − Y ^ t ) 2 ∣ F t ] − W t , I t ∗ ) / G 2 \rho_t=(\mathbb{E}[(Y_t-\widehat{Y}_t)^2\mid\mathcal{F}_t]-W^*_{t,I_t})/G^2 ρ t = ( E [( Y t − Y t ) 2 ∣ F t ] − W t , I t ∗ ) / G 2 when I t ≠ 0 I_t\ne0 I t = 0 , and set ρ t = 0 \rho_t=0 ρ t = 0 otherwise. Since the deployed response belongs to the oracle’s coefficient ball, queried rounds satisfy
E [ Z t ∣ F t ] = W t , I t ∗ / ( 4 G 2 ) + ρ t / 4 , 0 ≤ ρ t ≤ 4. (13) \mathbb{E}[Z_t\mid\mathcal{F}_t]=W^*_{t,I_t}/(4G^2)+\rho_t/4,\qquad0\le\rho_t\le4. \tag*{(13)} E [ Z t ∣ F t ] = W t , I t ∗ / ( 4 G 2 ) + ρ t /4 , 0 ≤ ρ t ≤ 4. (13)
The first term is the router’s target; the second is the error from learning the response. We cannot observe ρ t \rho_t ρ t because the optimal risk is unknown. Instead of estimating each gap, we bound their cumulative size. This requires a fixed feasible identity model to represent optimal responses across contexts, as formalized in assumption 6.1.
Lemma 5.1 (Cumulative response error). Under the bounded protocol of § 4 and assumption 6.1, *use the exact response fits and pooling updates of Response-Aware UCB with 0 < η ≤ 1 / 2 0 < \eta\le1/2 0 < η ≤ 1/2 . For every δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , with probability at least 1 − δ / 3 1-\delta/3 1 − δ /3 over the interaction, simultaneously for all t t t ,
∑ s ≤ t ρ s ≤ E t , (14) \sum_{s \le t} \rho_s \le E_t, \tag*{(14)} s ≤ t ∑ ρ s ≤ E t , (14) where E t E_t E t is the query-count bound in equation (24) . For t ≤ T t \le T t ≤ T , it satisfies E t ≤ E ‾ T E_t \le\overline{E}_T E t ≤ E T , with the explicit horizon bound E ‾ T \overline{E}_T E T given in equation (19) .
Appendix D.3 proves the lemma by combining the constrained-fitting and pooling comparisons, then converting realized loss differences to conditional risk differences. On this event, G 2 E t G^2 E_t G 2 E t bounds the cumulative conditional excess prediction risk caused by learning the responses. It grows only logarithmically with the number of purchases when the dimensions, registry capacity, regularizers, pool rate and δ \delta δ are fixed. The calibrated router uses the deterministic horizon bound E ‾ T \overline{E}_T E T defined in § 6 , not the unknown individual gaps.
Choosing an action
We now estimate whether an expert’s optimal queried risk plus its fee can beat free prediction. The response-error bound lets us account for the bias in purchased losses when making this comparison.
Risk estimates. We use public features x t 0 ∈ R d 0 x_t^0 \in\mathbb{R}^{d_0} x t 0 ∈ R d 0 and c t , j ∈ R d c c_{t,j} \in\mathbb{R}^{d_c} c t , j ∈ R d c of norm at most one. Unlike ℓ t , j , s t , j \ell_{t,j}, s_{t,j} ℓ t , j , s t , j , which determine correction coefficients, these features predict free and optimal queried risk, respectively. All four feature vectors are known under F t F_t F t and cannot use the current answer; they may use the same public input. The guarantee assumes that both normalized risks are linear in these features (assumption 6.2); this is separate from the response-model assumption above. The free loss is observed every round, whereas Z t Z_t Z t is available only after a query. With positive-definite priors Λ 0 , Λ ∗ \Lambda_0,\Lambda_\ast Λ 0 , Λ ∗ and c s = c s , I s c_s=c_{s,I_s} c s = c s , I s on queried rounds, we use the full-history ridge estimates below, where ω s \omega_s ω s is a sample weight defined next:
V t 0 = Λ 0 + ∑ s < t x s 0 ( x s 0 ) ⊤ , θ ^ t 0 = ( V t 0 ) − 1 ∑ s < t x s 0 ( Y s − h s ) 2 R 2 , V_t^0=\Lambda_0+\sum_{s<t}x_s^0(x_s^0)^\top,\qquad
\widehat{\theta}_t^0=(V_t^0)^{-1}\sum_{s<t}x_s^0\frac{(Y_s-h_s)^2}{R^2}, V t 0 = Λ 0 + s < t ∑ x s 0 ( x s 0 ) ⊤ , θ t 0 = ( V t 0 ) − 1 s < t ∑ x s 0 R 2 ( Y s − h s ) 2 ,
V t ∗ = Λ ∗ + ∑ s < t : I s ≠ 0 ω s c s c s ⊤ , θ ^ t ∗ = ( V t ∗ ) − 1 ∑ s < t : I s ≠ 0 ω s c s Z s . (15) V_t^\ast=\Lambda_\ast+\sum_{s<t:I_s\ne0}\omega_s c_s c_s^\top,\qquad
\widehat{\theta}_t^\ast=(V_t^\ast)^{-1}\sum_{s<t:I_s\ne0}\omega_s c_s Z_s. \tag*{(15)} V t ∗ = Λ ∗ + s < t : I s = 0 ∑ ω s c s c s ⊤ , θ t ∗ = ( V t ∗ ) − 1 s < t : I s = 0 ∑ ω s c s Z s . (15)
The design matrices V t 0 , V t ∗ V_t^0,V_t^\ast V t 0 , V t ∗ record the observed feature directions; the priors regularize directions with little data.
Confidence weighting. To turn the cumulative error bound into a useful confidence bound, we also control each observation’s influence. A biased observation in a poorly measured direction can strongly affect later risk estimates. As in linear UCB [1 ] , we measure uncertainty in the queried-risk direction by u t , j = c t , j ⊤ ( V t ∗ ) − 1 c t , j u_{t,j}=\sqrt{c_{t,j}^{\top}(V_t^\ast)^{-1}c_{t,j}} u t , j = c t , j ⊤ ( V t ∗ ) − 1 c t , j . For a threshold τ > 0 \tau>0 τ > 0 fixed before interaction, we assign each queried round a weight before observing the selected answer:
ω t = min { 1 , τ / u t , I t } , (16) \omega_t=\min\{1,\tau/u_{t,I_t}\}, \tag*{(16)} ω t = min { 1 , τ / u t , I t } , (16)
using one at zero width. Whereas w t , j H , w t , j P w_{t,j}^{H},w_{t,j}^{P} w t , j H , w t , j P mix response coefficients, ω t \omega_t ω t weights one queried-risk observation. This confidence-weighting rule comes from corrupted linear bandits [23 ] . It caps the product ω t u t , I t \omega_tu_{t,I_t} ω t u t , I t at τ \tau τ , so the total response error in Lemma 5.1 controls its influence on the risk estimate. Equation (47) gives the bound; Appendix D.4 proves the resulting confidence guarantee. Both the design and target sum use the same sample weight. Response fits and proposal-loss updates remain unweighted: they learn the correction directly, rather than treating its current loss as optimal risk.
Acquisition. We express the forecasts in squared-loss units so they can be compared with fees: L ^ t 0 = R 2 clip [ 0 , 1 ] ( ( x t 0 ) ⊤ θ ^ t 0 ) \widehat{L}_t^0=R^2\operatorname{clip}_{[0,1]}((x_t^0)^\top\widehat{\theta}_t^0) L t 0 = R 2 clip [ 0 , 1 ] (( x t 0 ) ⊤ θ t 0 ) and W ^ t , j = 4 G 2 c t , j ⊤ θ ^ t ∗ \widehat{W}_{t,j}=4G^2c_{t,j}^\top\widehat{\theta}_t^\ast W t , j = 4 G 2 c t , j ⊤ θ t ∗ . Clipping truncates to the indicated interval and cannot increase the forecast’s error because L ^ t 0 ∈ [ 0 , R 2 ] \widehat{L}_t^0\in[0,R^2] L t 0 ∈ [ 0 , R 2 ] . The queried forecast stays unclipped, as used in its confidence bound.
For a confidence multiplier α ≥ 0 \alpha\ge0 α ≥ 0 , we use the acquisition scores
S t , j = L ^ t 0 − W ^ t , j − β t , j + 4 α G 2 u t , j , S t , 0 = 0 , j ∈ A t . (17) S_{t,j}=\widehat{L}_t^0-\widehat{W}_{t,j}-\beta_{t,j}+4\alpha G^2u_{t,j},\qquad S_{t,0}=0,\qquad j\in\mathcal{A}_t. \tag*{(17)} S t , j = L t 0 − W t , j − β t , j + 4 α G 2 u t , j , S t , 0 = 0 , j ∈ A t . (17)
The first three terms estimate the saving from consultation, including its fee. The bonus favors queries whose optimal risk could be lower than the current forecast. Under the assumptions and calibration in theorem 6.3, W t , j − − 4 α G 2 u t , j W_{t,j}^{-}-4\alpha G^{2}u_{t,j} W t , j − − 4 α G 2 u t , j is a lower confidence bound for W t , j ∗ W_{t,j}^{*} W t , j ∗ , accounting for both label noise and response-learning bias. No exploration bonus is needed for free prediction because its loss is observed under every action; its estimation error is still included in the regret bound.
We choose the largest score, preferring free prediction on an exact tie and then the earliest registered expert. Thus we query only when the selected expert’s score is positive. We deploy its frozen pooled response as in equation (5) , or use h t h_t h t if no query is selected. After observing Y t Y_t Y t , we update the free-risk fit on every round and the queried-risk fit, response fits and selected identity’s pool weights only after a purchase.
The theorem couples α \alpha α and τ \tau τ through equation (21) ; the benchmarks retain the same updates but select these constants independently by cost on the validation block. Appendix B gives the benchmark feature construction, Algorithm 1, and the recursive implementation.
Theory
Can we learn which answers are worth purchasing while still learning how to correct them? We answer this question by bounding regret against the conditional response oracle in equation (7) . The guarantee includes both query mistakes and the prediction error incurred while learning the responses, rather than assuming that the corrections are already known.
Model assumptions
We use one model to learn optimal corrections across contexts and another to estimate their risk before purchasing an answer. Both assumptions hold almost surely for every round and eligible expert; public contexts and availability may depend on history.
Assumption 6.1 (A feasible model of optimal responses). For every identity j j j , there is a fixed Θ j ∗ ∈ R d ℓ × ( q + 1 ) \Theta_j^{*} \in\mathbb{R}^{d_\ell\times(q+1)} Θ j ∗ ∈ R d ℓ × ( q + 1 ) with ∥ Θ j ∗ ∥ F ≤ 1 \lVert\Theta_j^{*}\rVert_F \le1 ∥ Θ j ∗ ∥ F ≤ 1 such that ( Θ j ∗ ) ⊤ ℓ t , j (\Theta_j^{*})^\top\ell_{t,j} ( Θ j ∗ ) ⊤ ℓ t , j minimizes the conditional queried risk over the entire ball B q B_q B q in equation (6) .
We model the optimal coefficients across contexts with one fixed matrix per identity. This connects the fixed-comparator guarantee of online regression (Hazan, [22 ] ) to the conditional response oracle. The conditional mean residual itself need not be polynomial: the model represents a best correction within the prescribed ball. The guarantee also permits a misspecified shared model and singular answer covariance. Appendix B.5 relates this condition to realizability in contextual bandits.
Assumption 6.2 (Linear free and optimal queried risks). Fixed parameters θ 0 ∗ ∈ R d 0 \theta_0^{*} \in\mathbb{R}^{d_0} θ 0 ∗ ∈ R d 0 and θ ∗ ∈ R d c \theta_* \in\mathbb{R}^{d_c} θ ∗ ∈ R d c satisfy
L t 0 R 2 = ( x t 0 ) ⊤ θ 0 ∗ , W t , j ∗ 4 G 2 = c t , j ⊤ θ ∗ . (18) \frac{L_t^0}{R^2}=(x_t^0)^\top\theta_0^{*},\qquad\frac{W_{t,j}^{*}}{4G^2}=c_{t,j}^\top\theta_*. \tag*{(18)} R 2 L t 0 = ( x t 0 ) ⊤ θ 0 ∗ , 4 G 2 W t , j ∗ = c t , j ⊤ θ ∗ . (18) Known finite constants Q 0 , Q ∗ Q_0,Q_* Q 0 , Q ∗ bound ∥ θ 0 ∗ ∥ Λ 0 ≤ Q 0 \lVert\theta_0^{*}\rVert_{\Lambda_0}\le Q_0 ∥ θ 0 ∗ ∥ Λ 0 ≤ Q 0 and ∥ θ ∗ ∥ Λ ∗ ≤ Q ∗ \lVert\theta_*\rVert_{\Lambda_*}\le Q_* ∥ θ ∗ ∥ Λ ∗ ≤ Q ∗ , where ∥ v ∥ Λ = v ⊤ Λ v \lVert v\rVert_{\Lambda}=\sqrt{v^\top\Lambda v} ∥ v ∥ Λ = v ⊤ Λ v .
Fixed linear conditional means, bounded features and parameter-norm bounds are used in OFUL ([1 ] ), linear Thompson sampling ([2 ] ) and confidence-weighted linear bandits ([23 ] ). We apply this structure to free risk and risk after optimizing the response ; the latter is modeled separately from the optimal coefficients. Both models allow context dependence through their public features. For example, take h = 0 h=0 h = 0 , Y Y Y uniform on { − 0.3 , 0.3 } \{-0.3,0.3\} { − 0.3 , 0.3 } , and an expert answering M = Y + 0.2 + 0.1 x M=Y+0.2+0.1x M = Y + 0.2 + 0.1 x for public x ∈ [ − 1 , 1 ] x\in[-1,1] x ∈ [ − 1 , 1 ] . With q = 3 q=3 q = 3 , R = 0.3 R=0.3 R = 0.3 , D = 0.7 D=0.7 D = 0.7 , and ℓ = ( 1 , x ) ⊤ / 2 \ell=(1,x)^\top/\sqrt{2} ℓ = ( 1 , x ) ⊤ / 2 , its optimal correction − 0.2 − 0.1 x -0.2-0.1x − 0.2 − 0.1 x has one fixed coefficient matrix with squared Frobenius norm 0.247 < 1 0.247<1 0.247 < 1 . The free and optimal queried risks are 0.09 0.09 0.09 and zero. Appendix B.6 gives the matrix and risk features satisfying both assumptions.
Confidence calibration
We choose the exploration multiplier α \alpha α and weight threshold τ \tau τ to cover two sources of estimation error: centered observation noise and the upward bias from unfinished responses in equation (13) . For a horizon T ≥ 1 T\ge1 T ≥ 1 and failure probability δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , lemma 5.1 gives ∑ t ≤ T ρ t ≤ E ‾ T \sum_{t\le T}\rho_t\le\overline{E}_T ∑ t ≤ T ρ t ≤ E T with probability at least 1 − δ / 3 1-\delta/3 1 − δ /3 , using the following bound known before interaction:
E ˉ T = 2 [ K λ I + 8 K p I log ( 1 + T K p I λ I ) + 4 K log 2 η ] + 64 log 3 δ . (19) \bar{E}_T = 2\left[K\lambda_I + 8Kp_I\log\left(1+\frac{T}{Kp_I\lambda_I}\right) + \frac{4K\log2}{\eta}\right] + 64\log\frac{3}{\delta}. \tag*{(19)} E ˉ T = 2 [ K λ I + 8 K p I log ( 1 + K p I λ I T ) + η 4 K log 2 ] + 64 log δ 3 . (19)
Here p I = d ℓ ( q + 1 ) p_I=d_\ell(q+1) p I = d ℓ ( q + 1 ) counts coefficients per identity. The terms account for fitting the identity responses, pooling the two proposals, and converting observed loss comparisons to conditional risk comparisons (Appendix § 11 .§ 1 ).
For centered noise and regularization, self-normalized regression bounds (Abbasi-Yadkori et al. [1 ] ) give confidence radii B 0 B_0 B 0 for free risk and B ∗ B_\ast B ∗ for queried risk. For v ∈ { 0 , ∗ } v\in\{0,\ast\} v ∈ { 0 , ∗ } , set λ v = λ min ( Λ v ) > 0 \lambda_v=\lambda_{\min}(\Lambda_v)>0 λ v = λ m i n ( Λ v ) > 0 and d ∗ = d c d_\ast=d_c d ∗ = d c , and take
B v = 1 2 d v log ( 1 + T d v λ v ) + 2 log ( 3 / δ ) + Q v . (20) B_v=\frac{1}{2}\sqrt{d_v\log\left(1+\frac{T}{d_v\lambda_v}\right)+2\log(3/\delta)}+Q_v. \tag*{(20)} B v = 2 1 d v log ( 1 + d v λ v T ) + 2 log ( 3/ δ ) + Q v . (20)
The square-root term covers noise; Q v Q_v Q v covers regularization bias. For queried risk, the weights cap ω t u t , I t a t \omega_tu_{t,I_t}a_t ω t u t , I t a t at τ \tau τ (He et al. [23 ] ). The response-learning contribution to the radius is therefore at most τ E ˉ T / 4 \tau\bar{E}_T/4 τ E ˉ T /4 (equation (47) ). We balance this bound with B ∗ B_\ast B ∗ :
τ = 4 B ∗ E ˉ T , α = B ∗ + τ E ˉ T 4 = 2 B ∗ . (21) \tau=\frac{4B_\ast}{\bar{E}_T},\qquad\alpha=B_\ast+\frac{\tau\bar{E}_T}{4}=2B_\ast. \tag*{(21)} τ = E ˉ T 4 B ∗ , α = B ∗ + 4 τ E ˉ T = 2 B ∗ . (21)
On the joint confidence event, W ^ t , j − 4 α G 2 u t , j \widehat{W}_{t,j}-4\alpha G^2u_{t,j} W t , j − 4 α G 2 u t , j is then a lower confidence bound for optimal queried risk, accounting for both sources of error. Appendix § 13 .§ 4 proves the simultaneous confidence statement.
Regret guarantee
Theorem 6.3 (Regret of response-aware routing). Assume the bounded non-interventional protocol of § 4 and assumptions 6.1 and 6.2. Fix T ≥ 1 T\geq1 T ≥ 1 , δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , feature maps and positive-definite priors before interaction; public feature vectors may depend on history. Run RESPONSE-AWARE UCB with exact constrained response fits, full-history weighted queried-risk estimates, 0 < η ≤ 1 / 2 0<\eta\leq1/2 0 < η ≤ 1/2 and equation (21) . With probability at least 1 − δ 1-\delta 1 − δ over the joint interaction law,
Reg T ≤ C p r o b { T log T + 1 δ + log T + 1 δ } , (22) \operatorname{Reg}_T\leq C_{\mathrm{prob}}\left\{\sqrt{T}\log\frac{T+1}{\delta}+\log\frac{T+1}{\delta}\right\}, \tag*{(22)} Reg T ≤ C prob { T log δ T + 1 + log δ T + 1 } , (22) where C p r o b C_{\mathrm{prob}} C prob is finite and depends only on the residual bounds, dimensions, registry capacity, regularizers, priors, parameter-norm bounds and pool rate, not on T T T or δ \delta δ .
For fixed problem parameters and δ = ( T + 1 ) − 2 \delta=(T+1)^{-2} δ = ( T + 1 ) − 2 , the bound is O ( T log ( T + 1 ) ) O(\sqrt{T}\log(T+1)) O ( T log ( T + 1 )) . Bounded one-round regret also gives vanishing expected average regret. Thus the cost of learning the corrections and query decisions is sublinear relative to the oracle, even though only purchased answers train the responses. Appendix § 11 .§ 7 gives a fully explicit bound with sharper dependence on query counts.
Proof idea. Lemma 5.1 controls the total error from learning responses. The calibrated weights prevent this error from invalidating the risk confidence bounds. Optimistic acquisition then compares each chosen action with the oracle; summing the estimation and response errors gives the regret bound. Appendix § 13 gives the proof.
Comparison with direct deferral. Along the same public history, the learner’s cumulative conditional cost minus that of the direct-deferral oracle equals Reg T \operatorname{Reg}_T Reg T minus the cumulative oracle gain from correction. On the theorem’s event, the learner therefore improves on direct deferral whenever this gain exceeds the regret bound. If the average oracle gain stays bounded away from zero, the linear cumulative benefit eventually exceeds the sublinear learning cost. Appendix § 12 .§ 2 characterizes when correction produces such a gain. For approximate response and risk models, Appendix § 13 .§ 6 bounds the additional regret using supplied approximation-error bounds.
Experiments
We examine (i) the cost of learning to query and correct answers against seven external baselines on four streams (Table 1 ); (ii) sensitivity to six consultation prices (Table 2 ); and (iii) routing with a common response learner, together with learning and query-rate curves, in Appendix § 14 .
Table 1.
Table 2.
Setting. Synthetic regimes control when free prediction, direct deferral, or correction is useful. Melbourne daily minimum temperatures ([28 ] ) pair real outcomes with simulated sensors to control answer bias and noise. On Jena ((Max Planck Institute for Biogeochemistry, n.d.)) and Delhi ((sumanthvrao, 2019)), experts are frozen random forests, extra trees, and gradient-boosted trees; Jena also uses radial-basis kernel ridge. Jena uses contemporaneous weather covariates; Melbourne and Delhi use past observations and calendar features. Availability schedules include expert absence and return.
We compare SleepingLinUCB and SharedLinUCB, our available-action LinUCB adaptations ([34 , 33 ] ); D-LinUCB ([64 ] ); LinTS ([2 ] ); NeuralUCB ([74 ] ); and CUSUM-LinUCB and GLR-LinUCB, linear adaptations of the change detectors of Liu et al. [35 ] and Besson et al. [6 ] . For each method and dataset, we select from 256 configurations by validation cost and report fee-inclusive cost on separate test blocks. Appendices § 14 and § 15 describe evaluation, warmup, features, and experts.
Table 1: Mean test cost, including consultation fees. Entries show mean ± sample standard deviation across five learner seeds. Lower is better.
Results. RESPONSE-AWARE UCB has lower mean test cost than every external baseline on all four streams. At benchmark fees, it queries on every scored round on Jena and Delhi. The six-price Jena study then tests acquisition as fees increase. Our method has the lowest cost at all six prices (Table 2 ), with equal search budgets per price. Across these price-specific configurations, its query fraction falls from 96% to 0.1%, spanning frequent consultation to near-free prediction.
Table 2: Mean Jena test cost at six consultation prices. Columns scale the base fee (≈ 0.17 \approx0.17 ≈ 0.17 ). Entries show mean ± sample standard deviation over five learner seeds. Bold marks the lowest mean per column. Fees and query percentages are in Appendix § 14 .§ 2 .
Extra experiments. Appendix § 14 .§ 1 gives full learning trajectories, and Appendix § 14 .§ 2 reports cost and query-rate curves. Appendix § 14 .§ 3 holds the cubic correction learner, pooling, and memory fixed while comparing joint and disjoint UCB routers. Joint response UCB uses our risk features with unit-weight regression; disjoint response UCB fits a separate risk model per expert. Each selects its confidence and risk regularization from 256 configurations per stream. Our router matches joint response UCB on three streams and improves on both alternatives on Delhi.
Conclusion
We studied online learning to defer when a purchased answer can be corrected before deployment. RESPONSE-AWARE UCB learns these corrections and accounts for their learning error when deciding which answers to buy. Under the stated response and risk models, the calibrated algorithm achieves sublinear pseudo-regret against the conditional response oracle; an extension quantifies the effect of approximation errors. On four test streams, the selected cubic policy has lower cost than seven direct-deferral baselines. With the correction learner held fixed, our router matches or improves on the tested UCB alternatives. Six-price comparisons measure how consultation cost and query rates vary with fees.
AI USE STATEMENT
We used large language model assistants to polish the writing, check mathematical arguments and proofs. We were assisted by AI to develop the nonlinear-correction example in Appendix § 12 .§ 3 . We have also generated the synthetic data with AI and checked very carefully its soundness. We also used these tools to implement and debug methods and experimental code. We reviewed the AI-assisted material and take full responsibility for the final text, mathematical claims, code, and results.
Probability space and timing
Information and timing
Figure 1 summarizes the timing described in § 4 . The distinction between choosing a function and evaluating it explains how a prediction can depend on a purchased answer even though its response coefficients are fixed before purchase.
Figure 1. Consultation with a learned response, with round and expert subscripts suppressed. The solid path shows our queried action; the dashed branch shows standard deferral for comparison. The entire function Δ \Delta Δ is fixed before observing M M M ; its value is evaluated afterward. Free prediction, omitted here, uses h h h without paying a fee.
All random variables are defined on a common probability space admitting regular conditional laws for the finite-dimensional observations. We choose conditional versions simultaneously over the countable rounds and finite registry. The pre-query field F t \mathcal{F}_t F t includes completed outcomes, purchased answers, algorithm state, current public features, h t h_t h t , availability and fees. The decision and response coefficients are F t \mathcal{F}_t F t -measurable. For a queried action, the intermediate field is G t = F t ∨ σ ( M t , I t ) \mathcal{G}_t=\mathcal{F}_t\vee\sigma(M_t,I_t) G t = F t ∨ σ ( M t , I t ) ; on a free round it is F t \mathcal{F}_t F t . The deployed prediction is G t \mathcal{G}_t G t -measurable, and Y t Y_t Y t is revealed afterward. The next pre-query field contains G t \mathcal{G}_t G t and Y t Y_t Y t . Thus a purchased answer can enter subsequent response fits, while the current identity and response function are chosen before that answer is observed.
Conditional on F t \mathcal{F}_t F t , a common joint law specifies Y t Y_t Y t and all potential expert answers. The current action reveals coordinates of this vector without changing its law. Neither the expert answers nor the rounds need to be independent. An internal predictor may update causally on every outcome, provided its current h t h_t h t is fixed before routing and the stated model assumptions continue to hold. A returning identity keeps its learned state; the guarantee requires its conditional law on return to satisfy the same fixed parameter models.
To define the conditional oracle, we need a measurable choice of response. For fixed t , j t,j t , j , its objective is a continuous quadratic on the compact ball B q B_q B q , with coefficients given by measurable conditional moments. The measurable maximum theorem ([3 ] ) therefore gives a measurable optimizer. Minimizing over a finite eligible set with a fixed tie rule gives a measurable oracle action. We use these versions throughout the proofs. Because rounds and identities are countable, the boundedness assumptions may be imposed on a common probability-one event.
The fee screen preserves the oracle value. Since 0 ≤ L t 0 ≤ R 2 0\le L^0_t\le R^2 0 ≤ L t 0 ≤ R 2 , every query with β t , j ≥ R 2 \beta_{t,j}\ge R^2 β t , j ≥ R 2 has conditional cost at least R 2 R^2 R 2 even if its prediction loss is zero. Excluding those actions preserves the oracle value, including boundary ties. The learner consequently incurs at most 4 G 2 + R 2 4G^2+R^2 4 G 2 + R 2 per round, and its pseudo-regret is nonnegative because its deployed coefficient belongs to the oracle’s response ball.
Notation guide
The main notation is collected below. Public quantities, including the features and response coefficients, are known given F t \mathcal{F}_t F t ; the outcome and current expert answers are still hidden. Superscripts H , P H, P H , P distinguish the identity and shared response proposals. Superscripts 0 , ∗ 0, * 0 , ∗ distinguish the free-risk and optimal queried-risk regressions.
Table 3. Decisions, responses, and costs. All risks exclude consultation fees.
Table 4. Learning state and confidence quantities. Dimensions count feature coordinates.
In particular, w H , w P w^H, w^P w H , w P combine responses, while ω t \omega_t ω t weights a risk-regression observation. Designs V t v V^v_t V t v use rounds strictly before t t t , whereas N t , j N_{t,j} N t , j includes round t t t . We write Id r \operatorname{Id}_r Id r for the r × r r\times r r × r identity matrix to distinguish it from the chosen action I t I_t I t .
Implementation and explicit regret bound
This appendix gives the response budget and recursive updates for the identity model, followed by the connection between our assumptions and online-learning models, a continuous-context example, and the explicit finite-horizon regret bound. The proof of that bound appears in Appendix § 13 .
Algorithm 1 Response-aware UCB: online updates
Require: Priors, response regularizers, 0 < η ≤ 1 / 2 0 < \eta\le1/2 0 < η ≤ 1/2 , score multiplier α ≥ 0 \alpha\ge0 α ≥ 0 , and weight threshold τ > 0 \tau> 0 τ > 0 .
Initialize all regression sums and query counts to zero, designs to their priors, and each identity’s pool weights to ( 1 / 2 , 1 / 2 ) (1/2,1/2) ( 1/2 , 1/2 ) . Preserve all states during absence.
for t = 1 , … , T t = 1,\ldots,T t = 1 , … , T do
Observe h t h_t h t , E t \mathcal{E}_t E t , fees and public features; register new identities and restore returning states.
Set A t = { j ∈ E t : β t , j < R 2 } \mathcal{A}_t = \{j \in\mathcal{E}_t : \beta_{t,j} < R^2\} A t = { j ∈ E t : β t , j < R 2 } . Compute the ridge forecasts in equation (15) .
For each j ∈ A t j \in\mathcal{A}_t j ∈ A t , freeze a t , j H a^H_{t,j} a t , j H from equation (8) , a t , j P a^P_{t,j} a t , j P from equations (9) and (10) , and a t , j a_{t,j} a t , j from equation (11) .
Compute equation (17) ; set I t I_t I t to its first maximizer in the order ( 0 , A t ) (0,\mathcal{A}_t) ( 0 , A t ) , with experts ordered by registration.
if I t = 0 I_t = 0 I t = 0 then
Deploy Y ^ t = h t \widehat{Y}_t = h_t Y t = h t .
else
Freeze ω t \omega_t ω t by equation (16) with the chosen τ \tau τ .
Pay β t , I t \beta_{t,I_t} β t , I t , observe M t , I t M_{t,I_t} M t , I t , and deploy Y ^ t = M t , I t + G a t , I t ⊤ ϕ q ( M t , I t − h t ) \widehat{Y}_t = M_{t,I_t} + G a^\top_{t,I_t}\phi_q(M_{t,I_t} - h_t) Y t = M t , I t + G a t , I t ⊤ ϕ q ( M t , I t − h t ) .
end if
Observe Y t Y_t Y t ; update free ridge with ( x t 0 , ( Y t − h t ) 2 / R 2 ) (x_t^0,(Y_t-h_t)^2/R^2) ( x t 0 , ( Y t − h t ) 2 / R 2 ) .
if I t ≠ 0 I_t \ne0 I t = 0 then
Form Z t Z_t Z t from the deployed prediction; add ω t c t , I t c t , I t ⊤ \omega_t c_{t,I_t}c^\top_{t,I_t} ω t c t , I t c t , I t ⊤ to the queried design and ω t c t , I t Z t \omega_t c_{t,I_t}Z_t ω t c t , I t Z t to its cross-product.
Add the purchased observation to the two response objectives equations (8) and (9) ; update the pool using the frozen proposal losses and increment N t , I t N_{t,I_t} N t , I t .
end if
end for
The response-learning bound
The bound E t E_t E t in equation (14) accounts for the loss accumulated while fitting and combining responses. Let p I = d ℓ ( q + 1 ) p_I = d_\ell(q+1) p I = d ℓ ( q + 1 ) be the number of entries in each identity’s response matrix. The constrained least-squares comparison in lemma D.1 contributes a regularization term and a logarithmic term for each identity. The exponential-weights comparison in lemma D.2 adds 4 log 2 / η 4\log2/\eta 4 log 2/ η per identity. Their sum is the pathwise bound
A t = K λ I + 8 p I ∑ j = 1 K log ( 1 + N t , j p I λ I ) + 4 K log 2 η . (23) A_t = K\lambda_I + 8p_I\sum_{j=1}^{K}\log\left(1+\frac{N_{t,j}}{p_I\lambda_I}\right)+\frac{4K\log2}{\eta}. \tag*{(23)} A t = K λ I + 8 p I j = 1 ∑ K log ( 1 + p I λ I N t , j ) + η 4 K log 2 . (23)
This is a bound on the cumulative realized loss of the deployed response relative to the optimal identity response, in normalized units. It is a function of the observed query counts, rather than a deterministic constant. The normalization divides squared losses by G 2 G^2 G 2 ; the comparison uses the fixed optimal matrices in assumption 6.1. Here N t , j N_{t,j} N t , j counts queries through round t t t , with all counts initially zero, and N t = ∑ j N t , j N_t = \sum_j N_{t,j} N t = ∑ j N t , j counts all purchases. The calibrated router uses the deterministic horizon envelope below to fix its weighting threshold before interaction.
Lemma D.3 converts this realized-loss bound into a conditional excess-risk bound. Define
E t = 2 A t + 64 log ( 3 / δ ) . (24) E_t = 2A_t + 64\log(3/\delta). \tag*{(24)} E t = 2 A t + 64 log ( 3/ δ ) . (24)
With probability at least 1 − δ / 3 1-\delta/3 1 − δ /3 , the inequality ∑ s ≤ t ρ s ≤ E t \sum_{s\le t}\rho_s \le E_t ∑ s ≤ t ρ s ≤ E t holds simultaneously over all prefixes. Concavity of the logarithm and ∑ j N t , j ≤ T \sum_j N_{t,j} \le T ∑ j N t , j ≤ T give the deterministic horizon envelope
E ‾ T = 2 [ K λ I + 8 K p I log ( 1 + T K p I λ I ) + 4 K log 2 η ] + 64 log 3 δ , E t ≤ E ‾ T ( t ≤ T ) . (25) \overline{E}_T = 2\left[K\lambda_I + 8Kp_I\log\left(1+\frac{T}{Kp_I\lambda_I}\right)+\frac{4K\log2}{\eta}\right]+64\log\frac{3}{\delta}, \qquad E_t \le\overline{E}_T \quad(t\le T). \tag*{(25)} E T = 2 [ K λ I + 8 K p I log ( 1 + K p I λ I T ) + η 4 K log 2 ] + 64 log δ 3 , E t ≤ E T ( t ≤ T ) . (25)
This is the envelope used to set the weight threshold in equation (21) . The factor 3 reserves the other two parts of the failure probability for the free and queried risk regressions.
Risk regressions and confidence calibration
In the benchmarks, the free, identity-response and shared-response features use the same bounded public state: x t 0 = ℓ t , j = s t , j x_t^0=\ell_{t,j}=s_{t,j} x t 0 = ℓ t , j = s t , j for every active expert j j j . The queried-risk fit shares information across experts while retaining separate identity coordinates. Its feature in the implementation is c t , j = 2 − 1 / 2 ( s t , j , e j ⊗ ℓ t , j ) c_{t,j}=2^{-1/2}(s_{t,j},e_j\otimes\ell_{t,j}) c t , j = 2 − 1/2 ( s t , j , e j ⊗ ℓ t , j ) , where the vectors are stacked, e j ∈ R K e_j\in\mathbb{R}^K e j ∈ R K is the registry basis vector, and ⊗ \otimes ⊗ denotes the Kronecker product. Thus d c = d s + K d ℓ d_c=d_s+Kd_\ell d c = d s + K d ℓ . Write I d r I_{d_r} I d r for the r × r r\times r r × r identity matrix, reserving I t I_t I t for the selected action. For strengths λ s , λ i > 0 \lambda_s,\lambda_i>0 λ s , λ i > 0 , the block-diagonal prior Λ ∗ = diag ( λ s I d s , λ i I K d ℓ ) \Lambda_*=\operatorname{diag}(\lambda_s I_{d_s},\lambda_i I_{Kd_\ell}) Λ ∗ = diag ( λ s I d s , λ i I K d ℓ ) controls shrinkage separately on shared and identity coordinates. Both priors are fixed before interaction. The full-history estimates in equation (15) use only observations available before round t t t . Let clip [ a , b ] ( v ) = min { b , max { a , v } } \operatorname{clip}_{[a,b]}(v)=\min\{b,\max\{a,v\}\} clip [ a , b ] ( v ) = min { b , max { a , v }} denote scalar clipping. Use L ^ t 0 = R 2 clip [ 0 , 1 ] ( ( x t 0 ) ⊤ θ ^ t 0 ) \widehat{L}_t^0=R^2\operatorname{clip}_{[0,1]}((x_t^0)^\top\widehat{\theta}_t^0) L t 0 = R 2 clip [ 0 , 1 ] (( x t 0 ) ⊤ θ t 0 ) and the raw forecast W ^ t , j = 4 G 2 c t , j ⊤ θ ^ ∗ \widehat{W}_{t,j}=4G^2c_{t,j}^\top\widehat{\theta}_* W t , j = 4 G 2 c t , j ⊤ θ ∗ . Clipping the free forecast cannot increase its distance from the true free risk in [ 0 , R 2 ] [0,R^2] [ 0 , R 2 ] . We retain the raw queried forecast when applying the confidence inequality that accounts for response-learning bias.
Let Q v Q_v Q v bound the corresponding parameter norm in assumption 6.2, measured by ∥ ⋅ ∥ Λ v \|\cdot\|_{\Lambda_v} ∥ ⋅ ∥ Λ v . For v ∈ { 0 , ∗ } v\in\{0,*\} v ∈ { 0 , ∗ } , put λ v = λ min ( Λ v ) > 0 \lambda_v=\lambda_{\min}(\Lambda_v)>0 λ v = λ m i n ( Λ v ) > 0 and d ∗ = d c d_*=d_c d ∗ = d c . A valid horizon calibration is
B v = 1 2 d v log ( 1 + T d v λ v ) + 2 log ( 3 / δ ) + Q v , α = 2 B ∗ , τ = 4 B ∗ E ‾ T . (26) B_v=\frac{1}{2}\sqrt{d_v}\log\left(1+\frac{T}{d_v\lambda_v}\right)+2\log(3/\delta)+Q_v,\qquad\alpha=2B_*,\qquad\tau=\frac{4B_*}{\overline{E}_T}. \tag*{(26)} B v = 2 1 d v log ( 1 + d v λ v T ) + 2 log ( 3/ δ ) + Q v , α = 2 B ∗ , τ = E T 4 B ∗ . (26)
The explicit regret bound below uses this coupled calibration. One may take Q v = λ max ( Λ v ) S v Q_v=\sqrt{\lambda_{\max}(\Lambda_v)}S_v Q v = λ m a x ( Λ v ) S v from a known Euclidean norm bound S v S_v S v . More precisely, the self-normalized radius uses 1 2 log ( det V t / det Λ v ) + 2 log ( 3 / δ ) + Q v \frac{1}{2}\sqrt{\log(\det V_t/\det\Lambda_v)+2\log(3/\delta)}+Q_v 2 1 log ( det V t / det Λ v ) + 2 log ( 3/ δ ) + Q v . The horizon calibration bounds this radius throughout the analyzed rounds.
Computing the response fits
The identity response is obtained by solving a quadratic problem on a unit ball. For identity j j j , vectorize its response matrix row-wise and write z s = ℓ s , j ⊗ ϕ q ( d s , j ) ∈ R p I z_s=\ell_{s,j}\otimes\phi_q(d_{s,j})\in\mathbb{R}^{p_I} z s = ℓ s , j ⊗ ϕ q ( d s , j ) ∈ R p I and y s = e s , j / G y_s=e_{s,j}/G y s = e s , j / G on rounds with I s = j I_s=j I s = j . Its pre-query design and cross-product vector are
V = λ I I d p I + ∑ s < t I s = j z s z s ⊤ , b = ∑ s < t I s = j z s y s . V=\lambda_I I_{d_{p_I}}+\sum_{\substack{s<t\\I_s=j}}z_sz_s^\top,\qquad b=\sum_{\substack{s<t\\I_s=j}}z_sy_s. V = λ I I d p I + s < t I s = j ∑ z s z s ⊤ , b = s < t I s = j ∑ z s y s .
The constrained objective is a positive-definite quadratic on the Euclidean unit ball. The quadratic optimality conditions (Boyd & Vandenberghe, [7 ] ) imply that V − 1 b V^{-1}b V − 1 b is the solution whenever it is feasible. Otherwise the solution is ( V + μ I d p I ) − 1 b (V+\mu I_{d_{p_I}})^{-1}b ( V + μ I d p I ) − 1 b , where μ > 0 \mu>0 μ > 0 is the unique root of ∥ ( V + μ I d p I ) − 1 b ∥ 2 = 1 \|(V+\mu I_{d_{p_I}})^{-1}b\|_2=1 ∥ ( V + μ I d p I ) − 1 b ∥ 2 = 1 . After diagonalization, the norm decreases monotonically with the multiplier, so a scalar root search finds the solution. We compute the constrained fit using 90 bisection iterations and check coefficient feasibility with tolerance 10 − 10 10^{-10} 1 0 − 10 . The analysis uses exact minimizers.
The shared matrix Ψ t \Psi_t Ψ t solves the unconstrained ridge problem in equation (9) ; its proposal is projected by equation (10) . This regression uses the product feature s r , I r ⊗ ϕ q ( d r , I r ) s_{r,I_r}\otimes\phi_q(d_{r,I_r}) s r , I r ⊗ ϕ q ( d r , I r ) with row-wise vectorization of Ψ t \Psi_t Ψ t . It incorporates the observed answer and outcome only after deployment. The proposal remains predictable and bounded even if the shared model is misspecified. The queried label is computed from the coefficient average fixed before querying; the later fit updates do not change that label.
Recursive implementation of the deployed policy
All quantities below use the learner’s normalized units; the dataset-specific rescaling of observations, bounds, fees and reported costs is specified in Appendix § 15 .§ 1 . In empirical runs, α e m p , τ e m p \alpha_{\mathrm{emp}},\tau_{\mathrm{emp}} α emp , τ emp denote the selected values of α \alpha α , τ \tau τ . Set p P = d s ( q + 1 ) p_P=d_s(q+1) p P = d s ( q + 1 ) , the shared response dimension. A scalar-target ridge state consists of an inverse design P ∈ R p × p P\in\mathbb{R}^{p\times p} P ∈ R p × p and a cross-product vector b ∈ R p b\in\mathbb{R}^p b ∈ R p . Given a feature z ∈ R p z\in\mathbb{R}^p z ∈ R p and target y ∈ R y\in\mathbb{R} y ∈ R , define the update U ( P , b ; z , y ) U(P,b;z,y) U ( P , b ; z , y ) by
v = P z , P + = P − v v T 1 + z T v , b + = b + z y . (27) \begin{aligned}
v&=Pz,\qquad P^+=P-\frac{vv^\mathsf{T}}{1+z^\mathsf{T}v},\qquad b^+=b+zy. \tag*{(27)}
\end{aligned} v = P z , P + = P − 1 + z T v v v T , b + = b + z y . (27)
The implementation symmetrizes P + P^+ P + after each update. The prediction is z T P b z^\mathsf{T}Pb z T P b and its uncertainty width is z T P z \sqrt{z^\mathsf{T}Pz} z T P z . A negative squared width within the implementation tolerance 10 − 10 10^{-10} 1 0 − 10 is set to zero; a larger negative value raises an error. These rank-one updates implement the full-history objectives above in exact arithmetic.
Initialize the free and queried states as ( P 0 , b 0 ) = ( Λ 0 − 1 , 0 ) (P_0,b_0)=(\Lambda_0^{-1},0) ( P 0 , b 0 ) = ( Λ 0 − 1 , 0 ) and ( P ∗ , b ∗ ) = ( Λ ∗ − 1 , 0 ) (P_\ast,b_\ast)=(\Lambda_\ast^{-1},0) ( P ∗ , b ∗ ) = ( Λ ∗ − 1 , 0 ) , respectively, and the shared response state as ( P P , b P ) = ( λ P − 1 I d P p P , 0 ) (P_P,b_P)=(\lambda_P^{-1}I_{d_Pp_P},0) ( P P , b P ) = ( λ P − 1 I d P p P , 0 ) . The implemented free prior is Λ 0 = λ 0 I d 0 \Lambda_0=\lambda_0I_{d_0} Λ 0 = λ 0 I d 0 , with λ 0 > 0 \lambda_0>0 λ 0 > 0 ; the queried prior has the shared and identity blocks given above. For each newly registered identity j j j , initialize ( P j , b j ) = ( λ I − 1 I d P p I , 0 ) (P_j,b_j)=(\lambda_I^{-1}I_{d_Pp_I},0) ( P j , b j ) = ( λ I − 1 I d P p I , 0 ) , count N j = 0 N_j=0 N j = 0 , and cumulative proposal losses H j H = H j P = 0 H_j^H=H_j^P=0 H j H = H j P = 0 . New identities are registered in their supplied public order; existing registration ranks never change. Absence changes none of these states. The registry has capacity K K K .
Before querying, reshape the constrained solution from ( P j , b j ) (P_j,b_j) ( P j , b j ) row-wise into Θ t , j \Theta_{t,j} Θ t , j , and reshape P P b P P_Pb_P P P b P row-wise into Ψ t \Psi_t Ψ t . Use equations (8) and (10) for the proposals. Their weights are proportional to exp ( − η H t u ) \exp(-\eta H_t^u) exp ( − η H t u ) for u ∈ { H , P } u\in\{H,P\} u ∈ { H , P } ; in code, subtracting the largest log weight before exponentiation stabilizes this calculation. The pool contains the shared and identity proposals, both with initial weight 1 / 2 1/2 1/2 , and its coefficient is always deployed on a query. The queried-risk width is computed from P ∗ P_\ast P ∗ before acquisition. After selecting a queried identity, freeze its weight ω t = min { 1 , τ e m p / c t , j T P ∗ c t , j } \omega_t=\min\{1,\tau_{\mathrm{emp}}/\sqrt{c_{t,j}^{\mathsf{T}}P_\ast c_{t,j}}\} ω t = min { 1 , τ emp / c t , j T P ∗ c t , j } , using one at zero width. Neither the answer nor the outcome enters this weight. Pool weights w H , w P w^H,w^P w H , w P and the regression weight ω t \omega_t ω t have different roles. The queried forecast is raw, the free forecast is clipped, and there is no free-risk optimism term. Free prediction has priority on score ties, followed by the earliest registered eligible identity.
After observing the outcome, update ( P 0 , b 0 ) ← U ( P 0 , b 0 ; x t 0 , ( Y t − h t ) 2 / R 2 ) (P_0,b_0)\leftarrow U(P_0,b_0;x_t^0,(Y_t-h_t)^2/R^2) ( P 0 , b 0 ) ← U ( P 0 , b 0 ; x t 0 , ( Y t − h t ) 2 / R 2 ) on every round. If j = I t ≠ 0 j=I_t\ne0 j = I t = 0 , retain the pre-query proposals and public features, and put d = M t , j − h t d=M_{t,j}-h_t d = M t , j − h t , y = ( Y t − M t , j ) / G y=(Y_t-M_{t,j})/G y = ( Y t − M t , j ) / G , and ϕ = ϕ q ( d ) \phi=\phi_q(d) ϕ = ϕ q ( d ) . Compute Z t Z_t Z t from the prediction already deployed, then apply
( P ∗ , b ∗ ) ← U ( P ∗ , b ∗ ; ω t c t , j , ω t Z t ) , ( P j , b j ) ← U ( P j , b j ; ℓ t , j ⊗ ϕ , y ) , ( P P , b P ) ← U ( P P , b P ; s t , j ⊗ ϕ , y ) , N j ← N j + 1. (28) \begin{aligned}
(P_\ast,b_\ast)&\leftarrow U(P_\ast,b_\ast;\sqrt{\omega_t}c_{t,j},\sqrt{\omega_t}Z_t),\\
(P_j,b_j)&\leftarrow U(P_j,b_j;\ell_{t,j}\otimes\phi,y),\\
(P_P,b_P)&\leftarrow U(P_P,b_P;s_{t,j}\otimes\phi,y),\qquad N_j\leftarrow N_j+1. \tag*{(28)}
\end{aligned} ( P ∗ , b ∗ ) ( P j , b j ) ( P P , b P ) ← U ( P ∗ , b ∗ ; ω t c t , j , ω t Z t ) , ← U ( P j , b j ; ℓ t , j ⊗ ϕ , y ) , ← U ( P P , b P ; s t , j ⊗ ϕ , y ) , N j ← N j + 1. (28)
For each frozen proposal, update
H t u ← H t − 1 u + L t u , L t u = 1 4 ( y − ( a t , j u ) T ϕ ) 2 , u ∈ { H , P } . (29) H_t^u\leftarrow H_{t-1}^u+\mathcal{L}_t^u,\qquad\mathcal{L}_t^u=\frac{1}{4}\left(y-(a_{t,j}^u)^\mathsf{T}\phi\right)^2,\qquad u\in\{H,P\}. \tag*{(29)} H t u ← H t − 1 u + L t u , L t u = 4 1 ( y − ( a t , j u ) T ϕ ) 2 , u ∈ { H , P } . (29)
Equivalently, multiply its current weight by exp ( − η L t u ) \exp(-\eta\mathcal{L}_t^u) exp ( − η L t u ) and normalize the two weights. All targets and proposal losses use the observations and proposals already specified for the round. These state updates therefore give the same next-round mathematical state in any order. Other identities retain their fits, counts and weights. Free rounds update none of the queried or response states. There is no clipping of the final corrected prediction. Observed residuals and disagreements are checked against the declared bounds, permitting only one floating-point unit beyond the boundary; a violation raises an error.
Both feature and target are scaled by ω t \sqrt{\omega_t} ω t , so the queried cross-product increment is ω t c t , j Z t \omega_t c_{t,j}Z_t ω t c t , j Z t . The response fits retain their unweighted updates. The theoretical run uses equation (21) for these two constants and exact constrained minimization. The benchmark run uses the numerical solver specified above.
Model assumptions in context
Our assumptions connect two learned objects to the response oracle: the correction coefficients and the risk attained by an optimal correction. Their roles follow established online-regression and linear-bandit analyses.
Optimal-response realizability. Realizability connects a learned function class to an oracle decision rule. For example, Foster & Rakhlin [18 ] assume that one function in the regression class represents conditional mean costs, and their Assumption 2a compares online squared loss with a fixed function on adaptively chosen observations. Our assumption 6.1 instead represents a conditional risk minimizer: one feasible matrix per identity produces optimal coefficients across contexts. It lets us compare the online response fit with the oracle using the fixed-comparator principle of online convex optimization (Hazan [22 ] ). The exact constrained least-squares bound used here is proved in lemma D.1. The optimal correction may be nonunique or lie on the coefficient-ball boundary, and need not recover the conditional mean residual. The shared model may be misspecified; its projected response supplies a feasible auxiliary proposal.
Linear risk models. Abbasi-Yadkori et al. [1 ] construct confidence ellipsoids for a fixed linear conditional mean under a parameter-norm bound and conditionally sub-Gaussian noise. Bounded features and parameter norms also appear in Agrawal & Goyal [2 ] and He et al. [23 ] . These are the conditions used for our risk regressions, with the optimal queried risk as their latent target. Modeling that target separately from the coefficients specifies both what the learner should deploy and what it should expect to pay. For a general positive-definite prior, a Euclidean norm bound S v S_v S v gives Q v = λ max ( Λ v ) S v Q_v = \sqrt{\lambda_{\max}(\Lambda_v)}S_v Q v = λ m a x ( Λ v ) S v , as used in equation (26) .
Bounded observations and adaptive contexts. Our residual and coefficient bounds put the normalized squared-loss labels in [ 0 , 1 ] [0,1] [ 0 , 1 ] , the cost range also used by Foster & Rakhlin [18 ] . Centering these labels conditionally gives 1 / 2 1/2 1/2 -sub-Gaussian noise by Hoeffding’s lemma. Thus the noise condition for self-normalized regression follows from the protocol rather than a Gaussian answer model. Predictable features can depend on previous observations, as in Abbasi-Yadkori et al. [1 ] and Agrawal & Goyal [2 ] ; independent contexts are not needed. In our queried regression, the remaining conditional bias is the response-learning gap in equation (13) . We bound its cumulative size and its contribution to the confidence radius in Appendix § 13 .§ 4 .
A continuous-context example
The following construction satisfies both main model assumptions with continuously varying contexts. Let x t ∈ [ − 1 , 1 ] x_t \in[-1,1] x t ∈ [ − 1 , 1 ] be public and set ℓ t , j = ( 1 , x t ) T / 2 \ell_{t,j}=(1,x_t)^\mathsf{T}/\sqrt{2} ℓ t , j = ( 1 , x t ) T / 2 . Conditional on F t \mathcal{F}_t F t , let Y t Y_t Y t be uniform on { − 0.3 , 0.3 } \{-0.3,0.3\} { − 0.3 , 0.3 } , with internal prediction h t = 0 h_t=0 h t = 0 and expert answer M t , j = Y t + 0.2 + 0.1 x t M_{t,j}=Y_t+0.2+0.1x_t M t , j = Y t + 0.2 + 0.1 x t . Take q = 3 q=3 q = 3 , R = 0.3 R=0.3 R = 0.3 , D = 0.7 D=0.7 D = 0.7 and G = 1 G=1 G = 1 . The correction Δ ( d ) = − 0.2 − 0.1 x t \Delta(d)=-0.2-0.1x_t Δ ( d ) = − 0.2 − 0.1 x t attains zero squared loss and is represented by
Θ j ∗ = − 2 ( 1 + 3 D 2 ) ( 0.2 0 0 0 0.1 0 0 0 ) . \Theta_j^*=-\sqrt{2(1+3D^2)}
\begin{pmatrix}
0.2 & 0 & 0 & 0\\
0.1 & 0 & 0 & 0
\end{pmatrix}. Θ j ∗ = − 2 ( 1 + 3 D 2 ) ( 0.2 0.1 0 0 0 0 0 0 ) .
Its squared Frobenius norm is 2 ( 1 + 3 D 2 ) ( 0.2 2 + 0.1 2 ) = 0.247 < 1 2(1+3D^2)(0.2^2+0.1^2)=0.247<1 2 ( 1 + 3 D 2 ) ( 0. 2 2 + 0. 1 2 ) = 0.247 < 1 , so it satisfies assumption 6.1 over the full interval of contexts. The free risk is 0.09 0.09 0.09 and optimal queried risk is zero. For example, choose x t 0 = 1 x_t^0=1 x t 0 = 1 and δ t , j = ℓ t , j \delta_{t,j}=\ell_{t,j} δ t , j = ℓ t , j , with the queried feature defined above. Then δ 0 ∗ = 1 \delta_0^*=1 δ 0 ∗ = 1 and θ ∗ ∗ = 0 \theta_*^*=0 θ ∗ ∗ = 0 give the normalized risk models in assumption 6.2, with finite norms and positive-definite priors. The optimal correction varies with context while the risks remain constant.
Explicit finite-horizon bound
The regret bound combines uncertainty in the free-risk fit, uncertainty in the queried-risk fit, and the loss from learning responses. For an observation count n ≥ 0 n\ge0 n ≥ 0 , a positive integer dimension d v d_v d v , and a prior eigenvalue bound λ > 0 \lambda>0 λ > 0 , define the cumulative-width bound
W ( n , d v , λ ) = n ( 1 + λ − 1 ) d v log ( 1 + n d v λ ) , W ( 0 , d v , λ ) = 0. (30) \mathcal{W}(n,d_v,\lambda)=\sqrt{n(1+\lambda^{-1})d_v\log\left(1+\frac{n}{d_v\lambda}\right)},\qquad\mathcal{W}(0,d_v,\lambda)=0. \tag*{(30)} W ( n , d v , λ ) = n ( 1 + λ − 1 ) d v log ( 1 + d v λ n ) , W ( 0 , d v , λ ) = 0. (30)
Define also
H ( n ) = ( 1 + λ ∗ − 1 ) d c log ( 1 + n d c λ ∗ ) , H ( 0 ) = 0. (31) \mathcal{H}(n)=(1+\lambda_*^{-1})d_c\log\left(1+\frac{n}{d_c\lambda_*}\right),\qquad\mathcal{H}(0)=0. \tag*{(31)} H ( n ) = ( 1 + λ ∗ − 1 ) d c log ( 1 + d c λ ∗ n ) , H ( 0 ) = 0. (31)
Proposition B.1 (Explicit routing bound). Under the hypotheses and calibration of theorem 6.3, with probability at least 1 − δ 1-\delta 1 − δ ,
Reg T ≤ R 2 B 0 W ( T , d 0 , λ 0 ) \operatorname{Reg}_T \le R^2B_0\mathcal{W}(T,d_0,\lambda_0) Reg T ≤ R 2 B 0 W ( T , d 0 , λ 0 ) + G 2 [ 16 B ∗ N T H ( N T ) + 4 E ‾ T H ( N T ) + E T ] . (32) {}+G^2\left[16B_*\sqrt{N_T\mathcal{H}(N_T)}+4\overline{E}_T\mathcal{H}(N_T)+E_T\right]. \tag*{(32)} + G 2 [ 16 B ∗ N T H ( N T ) + 4 E T H ( N T ) + E T ] . (32)
This bound retains the separate contributions of free-risk estimation, queried-risk estimation, and response learning. In particular, the queried-risk terms depend on the number of purchases, not all T T T rounds. Appendix § 13 restates and proves this bound together with theorem 6.3, including the reduction to its stated rate.
Response value and approximation
A response can remove the part of an expert’s error that its answer predicts. We first describe this reduction in prediction loss, then account for fees, and finally quantify the extra gain available from cubic terms.
Prediction gain and approximation
To quantify the prediction gain, fix a round t t t and expert j j j , and abbreviate e = e t , j e=e_{t,j} e = e t , j and d = d t , j d=d_{t,j} d = d t , j . Write ν = E [ e ∣ F t , d ] \nu=\mathbb{E}[e\mid\mathcal{F}_t,d] ν = E [ e ∣ F t , d ] . For a square-integrable response Δ ( d ) \Delta(d) Δ ( d ) whose map is fixed under F t \mathcal{F}_t F t , the squared-loss projection identity [21 ] gives
E [ ( e − Δ ( d ) ) 2 ∣ F t ] = E [ Var ( e ∣ F t , d ) ∣ F t ] + E [ ( ν − Δ ( d ) ) 2 ∣ F t ] . (33) \mathbb{E}[(e-\Delta(d))^2\mid\mathcal{F}_t]=\mathbb{E}[\operatorname{Var}(e\mid\mathcal{F}_t,d)\mid\mathcal{F}_t]+\mathbb{E}[(\nu-\Delta(d))^2\mid\mathcal{F}_t]. \tag*{(33)} E [( e − Δ ( d ) ) 2 ∣ F t ] = E [ Var ( e ∣ F t , d ) ∣ F t ] + E [( ν − Δ ( d ) ) 2 ∣ F t ] . (33)
The first term is irreducible after observing the purchased answer; the second measures how well the chosen correction approximates the conditional mean residual. The best unrestricted correction is therefore ν \nu ν , up to conditional L 2 L_2 L 2 equality. For direct deployment, Δ = 0 \Delta=0 Δ = 0 , so the removable part of its risk is E [ ν 2 ∣ F t ] \mathbb{E}[\nu^2\mid\mathcal{F}_t] E [ ν 2 ∣ F t ] .
Comparison with an unrestricted response. Restore the indices on ν t , j = E [ e t , j ∣ F t , d t , j ] \nu_{t,j}=\mathbb{E}[e_{t,j}\mid\mathcal{F}_t,d_{t,j}] ν t , j = E [ e t , j ∣ F t , d t , j ] . Define the best conditional approximation error A t , j \mathcal{A}_{t,j} A t , j by
A t , j = inf a ∈ B q E [ ( ν t , j − G a ⊤ ϕ q ( d t , j ) ) 2 ∣ F t ] . \mathcal{A}_{t,j}=\inf_{a\in\mathcal{B}_q}\mathbb{E}[(\nu_{t,j}-G_a^\top\phi_q(d_{t,j}))^2\mid\mathcal{F}_t]. A t , j = a ∈ B q inf E [( ν t , j − G a ⊤ ϕ q ( d t , j ) ) 2 ∣ F t ] .
Let C t m e a s C_t^{\mathrm{meas}} C t meas be the oracle value with the same free action, eligible experts and fees, but with any square-integrable response to the purchased answer. The conditional mean response attains each queried minimum, so a minimum over the finite action set is attained; denote an optimizing action by j t m e a s j_t^{\mathrm{meas}} j t meas . Set A t , 0 = 0 \mathcal{A}_{t,0}=0 A t , 0 = 0 for the free action. By equation (33) , the bounded class adds A t , j \mathcal{A}_{t,j} A t , j to the unrestricted risk of expert j j j . Evaluating it at j t m e a s j_t^{\mathrm{meas}} j t meas , and using inclusion of the response classes, gives
0 ≤ C t ∗ − C t m e a s ≤ A t , j t m e a s . (34) 0\le C_t^*-C_t^{\mathrm{meas}}\le\mathcal{A}_{t,j_t^{\mathrm{meas}}}. \tag*{(34)} 0 ≤ C t ∗ − C t meas ≤ A t , j t meas . (34)
Summing and using the definition of Reg T \operatorname{Reg}_T Reg T gives
∑ t = 1 T { E [ C t ∣ F t ] − C t m e a s } ≤ Reg T + ∑ t = 1 T A t , j t m e a s . \sum_{t=1}^{T}\{\mathbb{E}[C_t\mid\mathcal{F}_t]-C_t^{\mathrm{meas}}\}\le\operatorname{Reg}_T+\sum_{t=1}^{T}\mathcal{A}_{t,j_t^{\mathrm{meas}}}. t = 1 ∑ T { E [ C t ∣ F t ] − C t meas } ≤ Reg T + t = 1 ∑ T A t , j t meas .
The bound separates online learning error within the chosen response class from its approximation error relative to the conditional mean residual.
When correction changes the acquisition decision
The projection identity quantifies the prediction error a response can remove. To account for acquisition, this gain must be compared with the expert’s fee and the other available actions. Use simultaneous conditional versions as in Appendix § 10 . For a fixed round define
L t , j d i r = E [ e t , j 2 ∣ F t ] , C t d i r = min { L t 0 , min j ∈ A t ( L t , j d i r + β t , j ) } , L_{t,j}^{\mathrm{dir}}=\mathbb{E}[e_{t,j}^2\mid\mathcal{F}_t],\qquad C_t^{\mathrm{dir}}=\min\{L_t^0,\min_{j\in\mathcal{A}_t}(L_{t,j}^{\mathrm{dir}}+\beta_{t,j})\}, L t , j dir = E [ e t , j 2 ∣ F t ] , C t dir = min { L t 0 , j ∈ A t min ( L t , j dir + β t , j )} ,
and, for every eligible expert,
Γ t , j = L t , j d i r − W t , j ∗ , κ t , j = L t , j d i r + β t , j − C t d i r . \Gamma_{t,j}=L_{t,j}^{\mathrm{dir}}-W_{t,j}^*,\qquad\kappa_{t,j}=L_{t,j}^{\mathrm{dir}}+\beta_{t,j}-C_t^{\mathrm{dir}}. Γ t , j = L t , j dir − W t , j ∗ , κ t , j = L t , j dir + β t , j − C t dir .
The gain Γ t , j \Gamma_{t,j} Γ t , j measures the prediction loss removed by correction; κ t , j \kappa_{t,j} κ t , j is the expert’s direct-cost disadvantage relative to the best available direct action. Both are nonnegative. The following identity compares these quantities without response or risk realizability.
C t d i r − C t ∗ = max ( { 0 } ∪ { Γ t , j − κ t , j : j ∈ A t } ) . (35) C_t^{\mathrm{dir}}-C_t^*=\max\bigl(\{0\}\cup\{\Gamma_{t,j}-\kappa_{t,j}:j\in\mathcal{A}_t\}\bigr). \tag*{(35)} C t dir − C t ∗ = max ( { 0 } ∪ { Γ t , j − κ t , j : j ∈ A t } ) . (35)
Indeed, W t , j ∗ + β t , j = C t d i r + κ t , j − Γ t , j W_{t,j}^*+\beta_{t,j}=C_t^{\mathrm{dir}}+\kappa_{t,j}-\Gamma_{t,j} W t , j ∗ + β t , j = C t dir + κ t , j − Γ t , j . Substituting into the minimum defining C t ∗ C_t^* C t ∗ gives the identity: the zero term covers a free direct optimum, and otherwise a queried direct optimum has κ t , j = 0 \kappa_{t,j}=0 κ t , j = 0 and Γ t , j ≥ 0 \Gamma_{t,j}\ge0 Γ t , j ≥ 0 . An empty eligible set gives zero on both sides.
Correction strictly improves the oracle cost exactly when its prediction gain exceeds some expert’s direct-cost disadvantage. Along the learner’s history, the cumulative oracle advantage is ∑ t ( C t d i r − C t ∗ ) \sum_t(C_t^{\mathrm{dir}}-C_t^*) ∑ t ( C t dir − C t ∗ ) ; the learner’s conditional cost advantage subtracts Reg T \operatorname{Reg}_T Reg T from that sum. The comparison uses the same realized public history for both costs.
An example of nonlinear correction
A short example isolates the error that an affine response cannot remove. Let S ∼ Unif [ − 1 , 1 ] S \sim\operatorname{Unif}[-1,1] S ∼ Unif [ − 1 , 1 ] , h = 0 h=0 h = 0 , and let one always-available expert return M = S M=S M = S at fee 0 < β < 1 / 3 0<\beta<1/3 0 < β < 1/3 . For b , ε ∈ ( 0 , 1 / 4 ] b,\varepsilon\in(0,1/4] b , ε ∈ ( 0 , 1/4 ] , take Y = S + b + ε P 3 ( S ) Y=S+b+\varepsilon P_3(S) Y = S + b + ε P 3 ( S ) , D = 1 D=1 D = 1 , R = 1 + b + ε R=1+b+\varepsilon R = 1 + b + ε and G = R + D G=R+D G = R + D . The public context is constant, so the answer is the only source of information about the current draw.
Legendre orthogonality [70 ] gives E [ S 2 ] = 1 / 3 \mathbb{E}[S^2]=1/3 E [ S 2 ] = 1/3 , E [ P 3 ( S ) 2 ] = 1 / 7 \mathbb{E}[P_3(S)^2]=1/7 E [ P 3 ( S ) 2 ] = 1/7 and E [ S P 3 ( S ) ] = 0 \mathbb{E}[SP_3(S)]=0 E [ S P 3 ( S )] = 0 . Both S S S and P 3 ( S ) P_3(S) P 3 ( S ) are centered. Thus an affine response removes the constant bias b b b but leaves risk ε 2 / 7 \varepsilon^2/7 ε 2 /7 , while a cubic response removes both components. Writing L q ∗ L_q^* L q ∗ for the optimal one-round cost with order q q q and L h a r d ∗ L_{\mathrm{hard}}^* L hard ∗ for direct deferral,
L 3 ∗ = β , L 1 ∗ = β + ε 2 / 7 , L h a r d ∗ = β + ε 2 / 7 + b 2 . (36) L_3^*=\beta,\qquad L_1^*=\beta+\varepsilon^2/7,\qquad L_{\mathrm{hard}}^*=\beta+\varepsilon^2/7+b^2. \tag*{(36)} L 3 ∗ = β , L 1 ∗ = β + ε 2 /7 , L hard ∗ = β + ε 2 /7 + b 2 . (36)
The optimal corrections are feasible: their coefficient vectors are a 1 ∗ = ( 2 b / G , 0 ) T a_1^*=(\sqrt{2}b/G,0)^\mathsf{T} a 1 ∗ = ( 2 b / G , 0 ) T and a 3 ∗ = ( 2 / G ) ( b , 0 , 0 , ε ) T a_3^*=(2/G)(b,0,0,\varepsilon)^\mathsf{T} a 3 ∗ = ( 2/ G ) ( b , 0 , 0 , ε ) T , respectively, each with norm strictly below one. Free prediction has risk 1 / 3 + b 2 + ε 2 / 7 1/3+b^2+\varepsilon^2/7 1/3 + b 2 + ε 2 /7 , so β < 1 / 3 \beta<1/3 β < 1/3 makes a query preferable in every class. Pre-query randomization independent of S S S cannot improve these minima.
This example separates bias correction from nonlinear correction. It does not rely on nesting the normalized coefficient balls: the two coefficient vectors verify feasibility in their respective classes.
Proof of the routing guarantee
The proof has four steps. We bound realized response regret on purchased observations and convert it into conditional excess risk. That excess risk controls the bias in the queried-risk regression. Confidence bounds then support a one-round comparison with the oracle. All probability statements use the filtration in Appendix § 10 . We analyze the identity-response model in assumption 6.1 throughout. The budgets A t A_t A t , E t E_t E t , and query counts N t , j N_{t,j} N t , j , N t N_t N t are those in Appendix § 11 .§ 1 .
Constrained least squares on selected observations
The first step compares the response fit with a fixed feasible parameter on exactly the observations used for fitting. We follow the stability analysis of regularized leaders [22 ] , retaining the prior and query counts in the bound. Within the following lemma, n n n indexes observations supplied to the fit, rather than calendar rounds.
Lemma D.1 (Deterministic constrained-regression comparison). Let z n ∈ R p z_n \in\mathbb{R}^p z n ∈ R p and y n ∈ R y_n \in\mathbb{R} y n ∈ R be a sequence of features and targets with ∥ z n ∥ 2 ≤ 1 \lVert z_n\rVert_2 \le1 ∥ z n ∥ 2 ≤ 1 and ∣ y n ∣ ≤ 1 \lvert y_n\rvert\le1 ∣ y n ∣ ≤ 1 . Let C ⊂ R p C \subset\mathbb{R}^p C ⊂ R p be compact and convex, contain zero, and satisfy ∣ z n ⊤ θ ∣ ≤ 1 \lvert z_n^\top\theta\rvert\le1 ∣ z n ⊤ θ ∣ ≤ 1 for every θ ∈ C \theta\in C θ ∈ C and n n n . Let Λ ∈ R p × p \Lambda\in\mathbb{R}^{p \times p} Λ ∈ R p × p be positive definite. For exact minimizers
θ n = arg min θ ∈ C { ∥ θ ∥ Λ 2 + ∑ i < n ( y i − z i ⊤ θ ) 2 } , \theta_n=\mathop{\arg\min}_{\theta\in C}\left\{\lVert\theta\rVert_\Lambda^2+\sum_{i<n}(y_i-z_i^\top\theta)^2\right\}, θ n = arg min θ ∈ C { ∥ θ ∥ Λ 2 + i < n ∑ ( y i − z i ⊤ θ ) 2 } , put V 0 = Λ V_0=\Lambda V 0 = Λ and V n = Λ + ∑ i = 1 n z i z i ⊤ V_n=\Lambda+\sum_{i=1}^n z_i z_i^\top V n = Λ + ∑ i = 1 n z i z i ⊤ for n ≥ 1 n\ge1 n ≥ 1 . For every θ ∗ ∈ C \theta^*\in C θ ∗ ∈ C and every finite N N N , pathwise,
∑ n = 1 N { ( y n − z n ⊤ θ n ) 2 − ( y n − z n ⊤ θ ∗ ) 2 } ≤ ∥ θ ∗ ∥ Λ 2 + 8 log det V N det Λ . (37) \sum_{n=1}^N\left\{(y_n-z_n^\top\theta_n)^2-(y_n-z_n^\top\theta^*)^2\right\}\le\lVert\theta^*\rVert_\Lambda^2+8\log\frac{\det V_N}{\det\Lambda}. \tag*{(37)} n = 1 ∑ N { ( y n − z n ⊤ θ n ) 2 − ( y n − z n ⊤ θ ∗ ) 2 } ≤ ∥ θ ∗ ∥ Λ 2 + 8 log det Λ det V N . (37)
Proof. We separate the comparison into the cost of regularization and the change in loss caused by one update. Write l n ( θ ) = ( y n − z n ⊤ θ ) 2 l_n(\theta)=(y_n-z_n^\top\theta)^2 l n ( θ ) = ( y n − z n ⊤ θ ) 2 and F n ( θ ) = ∥ θ ∥ Λ 2 + ∑ i ≤ n l i ( θ ) F_n(\theta)=\lVert\theta\rVert_\Lambda^2+\sum_{i\le n}l_i(\theta) F n ( θ ) = ∥ θ ∥ Λ 2 + ∑ i ≤ n l i ( θ ) .
Comparator cost. Optimality of θ n \theta_n θ n for F n − 1 F_{n-1} F n − 1 gives
F n ( θ n + 1 ) − F n − 1 ( θ n ) ≥ l n ( θ n + 1 ) . F_n(\theta_{n+1})-F_{n-1}(\theta_n)\ge l_n(\theta_{n+1}). F n ( θ n + 1 ) − F n − 1 ( θ n ) ≥ l n ( θ n + 1 ) .
Summing and using F 0 ( θ 1 ) = 0 F_0(\theta_1)=0 F 0 ( θ 1 ) = 0 , since zero is feasible, gives ∑ n ≤ N l n ( θ n + 1 ) ≤ F N ( θ ∗ ) \sum_{n\le N}l_n(\theta_{n+1})\le F_N(\theta^*) ∑ n ≤ N l n ( θ n + 1 ) ≤ F N ( θ ∗ ) . It remains to bound the loss change ∑ n { l n ( θ n ) − l n ( θ n + 1 ) } \sum_n\{l_n(\theta_n)-l_n(\theta_{n+1})\} ∑ n { l n ( θ n ) − l n ( θ n + 1 )} caused by the updates.
Update stability. Put Δ n = θ n − θ n + 1 \Delta_n=\theta_n-\theta_{n+1} Δ n = θ n − θ n + 1 and p n = z n ⊤ θ n p_n=z_n^\top\theta_n p n = z n ⊤ θ n . The variational inequalities for the two constrained minimizers are
∇ F n − 1 ( θ n ) ⊤ Δ n ≤ 0 , ∇ F n ( θ n + 1 ) ⊤ Δ n ≥ 0. \nabla F_{n-1}(\theta_n)^\top\Delta_n\le0,\qquad\nabla F_n(\theta_{n+1})^\top\Delta_n\ge0. ∇ F n − 1 ( θ n ) ⊤ Δ n ≤ 0 , ∇ F n ( θ n + 1 ) ⊤ Δ n ≥ 0.
Since ∇ F n ( θ n ) = ∇ F n − 1 ( θ n ) + 2 ( p n − y n ) z n \nabla F_n(\theta_n)=\nabla F_{n-1}(\theta_n)+2(p_n-y_n)z_n ∇ F n ( θ n ) = ∇ F n − 1 ( θ n ) + 2 ( p n − y n ) z n and the Hessian of F n F_n F n is 2 V n 2V_n 2 V n , subtraction gives
∥ Δ n ∥ V n 2 ≤ ( p n − y n ) z n ⊤ Δ n ≤ 2 ∣ z n ⊤ Δ n ∣ . \lVert\Delta_n\rVert_{V_n}^2\le(p_n-y_n)z_n^\top\Delta_n\le2\lvert z_n^\top\Delta_n\rvert. ∥ Δ n ∥ V n 2 ≤ ( p n − y n ) z n ⊤ Δ n ≤ 2 ∣ z n ⊤ Δ n ∣ .
Cauchy–Schwarz implies ∥ Δ n ∥ V n ≤ 2 z n ⊤ V n − 1 z n \lVert\Delta_n\rVert_{V_n}\le2\sqrt{z_n^\top V_n^{-1}z_n} ∥ Δ n ∥ V n ≤ 2 z n ⊤ V n − 1 z n , including Δ n = 0 \Delta_n=0 Δ n = 0 . Consequently
l n ( θ n ) − l n ( θ n + 1 ) = 2 ( p n − y n ) z n ⊤ Δ n − ( z n ⊤ Δ n ) 2 l_n(\theta_n)-l_n(\theta_{n+1})=2(p_n-y_n)z_n^\top\Delta_n-(z_n^\top\Delta_n)^2 l n ( θ n ) − l n ( θ n + 1 ) = 2 ( p n − y n ) z n ⊤ Δ n − ( z n ⊤ Δ n ) 2
≤ 4 ∣ z n ⊤ Δ n ∣ ≤ 8 z n ⊤ V n − 1 z n . \le4\lvert z_n^\top\Delta_n\rvert\le8z_n^\top V_n^{-1}z_n. ≤ 4 ∣ z n ⊤ Δ n ∣ ≤ 8 z n ⊤ V n − 1 z n .
With x n = z n ⊤ V n − 1 − 1 z n x_n=z_n^\top V_{n-1}^{-1}z_n x n = z n ⊤ V n − 1 − 1 z n , the matrix inversion lemma gives z n ⊤ V n − 1 z n = x n / ( 1 + x n ) ≤ log ( 1 + x n ) z_n^\top V_n^{-1}z_n=x_n/(1+x_n)\le\log(1+x_n) z n ⊤ V n − 1 z n = x n / ( 1 + x n ) ≤ log ( 1 + x n ) . The determinant lemma identifies the sum of these logarithms as log ( det V N / det Λ ) \log(\det V_N/\det\Lambda) log ( det V N / det Λ ) . Combining the inequalities proves equation (37) . The argument is deterministic and requires no covariance assumption.
Let λ = λ min ( Λ ) \lambda=\lambda_{\min}(\Lambda) λ = λ m i n ( Λ ) . The trace of Λ − 1 / 2 ( V N − Λ ) Λ − 1 / 2 \Lambda^{-1/2}(V_N-\Lambda)\Lambda^{-1/2} Λ − 1/2 ( V N − Λ ) Λ − 1/2 is at most N / λ N/\lambda N / λ . Applying concavity of log \log log to its p p p nonnegative eigenvalues shows
log det V N det Λ ≤ p log ( 1 + N p λ ) . (38) \log\frac{\det V_N}{\det\Lambda}\le p\log\left(1+\frac{N}{p\lambda}\right). \tag*{(38)} log det Λ det V N ≤ p log ( 1 + p λ N ) . (38)
For the identity product domain, apply Lemma D.1 to each identity’s subsequence, with dimension p I = d ℓ ( q + 1 ) p_I=d_\ell(q+1) p I = d ℓ ( q + 1 ) and prior λ I I p I \lambda_I I_{p_I} λ I I p I . Let N j N_j N j count the observations for identity j j j among the first N N N queries. Summing gives K λ I + 8 p I ∑ j log ( 1 + N j / ( p I λ I ) ) K\lambda_I+8p_I\sum_j\log(1+N_j/(p_I\lambda_I)) K λ I + 8 p I ∑ j log ( 1 + N j / ( p I λ I )) . Including unqueried identities in the prior term only enlarges the bound: their observed loss difference is zero.
Pooling and conditional excess risk
Pooling adds a fixed comparison term per identity, even when the shared proposal changes or is misspecified. The comparison uses exponential weights and exp-concavity [10 , 22 ] . We verify the normalization and learning rate needed for this argument.
Lemma D.2 (Pathwise pool comparison). Fix an identity j j j and let N j N_j N j be its number of queries. On its n n n th query, denote the normalized target by y n y_n y n , the answer feature by ϕ n \phi_n ϕ n , the proposal coefficients by a n H a_n^H a n H , a n P a_n^P a n P , and their pooled coefficient by a n a_n a n . These are the quantities from equation (11) restricted to this identity’s queried subsequence: ∣ y n ∣ ≤ 1 |y_n| \le1 ∣ y n ∣ ≤ 1 , ϕ n ∈ R q + 1 \phi_n \in\mathbb{R}^{q+1} ϕ n ∈ R q + 1 has norm at most one, and a n H , a n P ∈ B q a_n^H,a_n^P \in\mathbb{B}_q a n H , a n P ∈ B q . For 0 < η ≤ 1 / 2 0 < \eta\le1/2 0 < η ≤ 1/2 and u ∈ { H , P } u \in\{H,P\} u ∈ { H , P } ,
∑ n = 1 N j ( y n − a n ⊤ ϕ n ) 2 ≤ ∑ n = 1 N j ( y n − ( a n u ) ⊤ ϕ n ) 2 + 4 log 2 η . (39) \sum_{n=1}^{N_j}(y_n-a_n^\top\phi_n)^2 \le\sum_{n=1}^{N_j}(y_n-(a_n^u)^\top\phi_n)^2+\frac{4\log2}{\eta}. \tag*{(39)} n = 1 ∑ N j ( y n − a n ⊤ ϕ n ) 2 ≤ n = 1 ∑ N j ( y n − ( a n u ) ⊤ ϕ n ) 2 + η 4 log 2 . (39) The proposals may vary with the observed history.
Proof. For fixed y ∈ [ − 1 , 1 ] y \in[-1,1] y ∈ [ − 1 , 1 ] and a scalar prediction p ∈ [ − 1 , 1 ] p \in[-1,1] p ∈ [ − 1 , 1 ] , put l ( p ) = ( y − p ) 2 / 4 l(p)=(y-p)^2/4 l ( p ) = ( y − p ) 2 /4 . Differentiating twice gives
d 2 d p 2 e − η l ( p ) = e − η l ( p ) { η 2 ( p − y ) 2 / 4 − η / 2 } ≤ 0 \frac{d^2}{dp^2}e^{-\eta l(p)}=e^{-\eta l(p)}\{\eta^2(p-y)^2/4-\eta/2\}\le0 d p 2 d 2 e − η l ( p ) = e − η l ( p ) { η 2 ( p − y ) 2 /4 − η /2 } ≤ 0
when 0 < η ≤ 1 / 2 0 < \eta\le1/2 0 < η ≤ 1/2 , since ( p − y ) 2 ≤ 4 (p-y)^2 \le4 ( p − y ) 2 ≤ 4 . For round n n n , set l n ( p ) = ( y n − p ) 2 / 4 l_n(p)=(y_n-p)^2/4 l n ( p ) = ( y n − p ) 2 /4 . Write p n u = ( a n u ) ⊤ ϕ n p_n^u=(a_n^u)^\top\phi_n p n u = ( a n u ) ⊤ ϕ n and let w n u w_n^u w n u be the weights on this subsequence. For p n = a n ⊤ ϕ n = ∑ u w n u p n u p_n=a_n^\top\phi_n=\sum_u w_n^u p_n^u p n = a n ⊤ ϕ n = ∑ u w n u p n u , concavity implies e − η l n ( p n ) ≥ ∑ u w n u e − η l n ( p n u ) e^{-\eta l_n(p_n)} \ge\sum_u w_n^u e^{-\eta l_n(p_n^u)} e − η l n ( p n ) ≥ ∑ u w n u e − η l n ( p n u ) . Write the exponential-weights normalizer after n n n queries as Z n = 1 2 ∑ u exp ( − η ∑ i ≤ n l i ( p i u ) ) Z_n=\frac{1}{2}\sum_u\exp(-\eta\sum_{i\le n}l_i(p_i^u)) Z n = 2 1 ∑ u exp ( − η ∑ i ≤ n l i ( p i u )) . Then Z 0 = 1 Z_0=1 Z 0 = 1 and ∑ u w n u e − η l n ( p n u ) = Z n / Z n − 1 \sum_u w_n^u e^{-\eta l_n(p_n^u)}=Z_n/Z_{n-1} ∑ u w n u e − η l n ( p n u ) = Z n / Z n − 1 . Taking logarithms and summing gives ∑ n l n ( p n ) ≤ − log Z N j / η \sum_n l_n(p_n)\le-\log Z_{N_j}/\eta ∑ n l n ( p n ) ≤ − log Z N j / η . The contribution of either candidate to Z N j Z_{N_j} Z N j is at least 1 2 exp ( − η ∑ n l n ( p n u ) ) \frac{1}{2}\exp(-\eta\sum_n l_n(p_n^u)) 2 1 exp ( − η ∑ n l n ( p n u )) ; multiplying by four proves the claim. The proposals may change between queries: the calculation compares their realized losses on the same observations.
We now compare the deployed response with the conditional optimum. Combine lemmas D.1 and D.2, using candidate H H H and the fixed matrix Θ j ∗ \Theta_j^* Θ j ∗ for each identity. For a queried round, define
y t = e t , I t / G , p t = a t , I t ⊤ ϕ q ( d t , I t ) , p t ∗ = ℓ t , I t Θ I t ∗ ϕ q ( d t , I t ) , y_t=e_{t,I_t}/G,\qquad p_t=a_{t,I_t}^\top\phi_q(d_{t,I_t}),\qquad p_t^*=\ell_{t,I_t}\Theta_{I_t}^*\phi_q(d_{t,I_t}), y t = e t , I t / G , p t = a t , I t ⊤ ϕ q ( d t , I t ) , p t ∗ = ℓ t , I t Θ I t ∗ ϕ q ( d t , I t ) ,
and let X t = ( y t − p t ) 2 − ( y t − p t ∗ ) 2 X_t=(y_t-p_t)^2-(y_t-p_t^*)^2 X t = ( y t − p t ) 2 − ( y t − p t ∗ ) 2 . The coefficients in p t p_t p t and p t ∗ p_t^* p t ∗ are fixed under F t \mathcal{F}_t F t ; their evaluations depend on the purchased answer. Set X t = 0 X_t=0 X t = 0 on free rounds. For every prefix, pathwise,
∑ s ≤ t X s ≤ A t , (40) \sum_{s\le t}X_s\le A_t, \tag*{(40)} s ≤ t ∑ X s ≤ A t , (40)
where A t A_t A t is defined in equation (23) .
Lemma D.3 (Conditional response-risk certificate). Under assumption 6.1, let ρ t = E [ X t ∣ F t ] \rho_t=\mathbb{E}[X_t\mid\mathcal{F}_t] ρ t = E [ X t ∣ F t ] , which is zero on free rounds. For each ζ ∈ ( 0 , 1 ) \zeta\in(0,1) ζ ∈ ( 0 , 1 ) , with probability at least 1 − ζ 1-\zeta 1 − ζ , simultaneously for all prefixes,
∑ s ≤ t ρ s ≤ 2 A t + 64 log ( 1 / ζ ) . (41) \sum_{s\le t}\rho_s\le2A_t+64\log(1/\zeta). \tag*{(41)} s ≤ t ∑ ρ s ≤ 2 A t + 64 log ( 1/ ζ ) . (41)
Proof. The pathwise comparison alone concerns observed losses. To obtain a conditional-risk bound, we show that the loss difference has a second moment controlled by its conditional mean, then use a supermartingale.
Second-moment control. On a query, write v t = p t − p t ∗ v_t=p_t-p_t^* v t = p t − p t ∗ . Conditional optimality on the convex coefficient ball implies its first-order variational inequality E [ ( p t ∗ − y t ) v t ∣ F t ] ≥ 0 \mathbb{E}[(p_t^*-y_t)v_t\mid\mathcal{F}_t]\ge0 E [( p t ∗ − y t ) v t ∣ F t ] ≥ 0 . This follows by taking the directional derivative toward the feasible, F t \mathcal{F}_t F t -measurable coefficient a t , I t a_{t,I_t} a t , I t ; boundedness justifies exchanging this derivative with conditional expectation. Hence
ρ t = E [ v t 2 + 2 ( p t ∗ − y t ) v t ∣ F t ] ≥ E [ v t 2 ∣ F t ] ≥ 0. (42) \rho_t=\mathbb{E}[v_t^2+2(p_t^*-y_t)v_t\mid\mathcal{F}_t]\ge\mathbb{E}[v_t^2\mid\mathcal{F}_t]\ge0. \tag*{(42)} ρ t = E [ v t 2 + 2 ( p t ∗ − y t ) v t ∣ F t ] ≥ E [ v t 2 ∣ F t ] ≥ 0. (42)
Because ∣ y t ∣ , ∣ p t ∣ , ∣ p t ∗ ∣ ≤ 1 |y_t|,|p_t|,|p_t^*|\le1 ∣ y t ∣ , ∣ p t ∣ , ∣ p t ∗ ∣ ≤ 1 , we have ∣ X t ∣ ≤ 4 |X_t|\le4 ∣ X t ∣ ≤ 4 and X t 2 = v t 2 ( p t + p t ∗ − 2 y t ) 2 ≤ 16 v t 2 X_t^2=v_t^2(p_t+p_t^*-2y_t)^2\le16v_t^2 X t 2 = v t 2 ( p t + p t ∗ − 2 y t ) 2 ≤ 16 v t 2 . Thus E [ X t 2 ∣ F t ] ≤ 16 ρ t \mathbb{E}[X_t^2\mid\mathcal{F}_t]\le16\rho_t E [ X t 2 ∣ F t ] ≤ 16 ρ t and 0 ≤ ρ t ≤ 4 0\le\rho_t\le4 0 ≤ ρ t ≤ 4 . Uniform concentration. For λ = 1 / 32 \lambda=1/32 λ = 1/32 , use e u ≤ 1 + u + 1 2 u 2 e ∣ u ∣ e^u\le1+u+\frac{1}{2}u^2e^{|u|} e u ≤ 1 + u + 2 1 u 2 e ∣ u ∣ to obtain
E [ e − λ X t ∣ F t ] ≤ 1 − λ ρ t + 8 λ 2 e 1 / 8 ρ t ≤ 1 − λ ρ t / 2 ≤ e − ρ t / 64 , \mathbb{E}[e^{-\lambda X_t}\mid\mathcal{F}_t] \le1-\lambda\rho_t+8\lambda^2e^{1/8}\rho_t
\le1-\lambda\rho_t/2 \le e^{-\rho_t/64}, E [ e − λ X t ∣ F t ] ≤ 1 − λ ρ t + 8 λ 2 e 1/8 ρ t ≤ 1 − λ ρ t /2 ≤ e − ρ t /64 ,
where 8 λ e 1 / 8 < 1 / 2 8\lambda e^{1/8}<1/2 8 λ e 1/8 < 1/2 verifies the middle inequality. Define
M t = exp { ∑ s ≤ t ρ s / 64 − ∑ s ≤ t X s / 32 } , M 0 = 1. \mathcal{M}_t=\exp\left\{\sum_{s\le t}\rho_s/64-\sum_{s\le t}X_s/32\right\},\qquad\mathcal{M}_0=1. M t = exp { s ≤ t ∑ ρ s /64 − s ≤ t ∑ X s /32 } , M 0 = 1.
The preceding bound gives E [ M t ∣ F t ] ≤ M t − 1 \mathbb{E}[\mathcal{M}_t\mid\mathcal{F}_t]\le\mathcal{M}_{t-1} E [ M t ∣ F t ] ≤ M t − 1 . Thus ( M t ) (\mathcal{M}_t) ( M t ) is a nonnegative supermartingale with respect to ( F t + 1 ) (\mathcal{F}_{t+1}) ( F t + 1 ) . Ville’s maximal inequality for nonnegative supermartingales [26 ] bounds its probability of ever exceeding 1 / ζ 1/\zeta 1/ ζ by ζ \zeta ζ . On the complementary event, ∑ s ≤ t ρ s ≤ 2 ∑ s ≤ t X s + 64 log ( 1 / ζ ) \sum_{s\le t}\rho_s\le2\sum_{s\le t}X_s+64\log(1/\zeta) ∑ s ≤ t ρ s ≤ 2 ∑ s ≤ t X s + 64 log ( 1/ ζ ) for every prefix. Apply equation (40) .
The conversion relies on the variational inequality for the constrained optimum. It does not require the oracle response to equal a conditional mean, and it covers zero answer variance, boundary optima and nonunique optima.
Proof of the response-error bound
Lemma 5.1 (Cumulative response error). Under the bounded protocol of section 4 and assumption 6.1, use the exact response fits and pooling updates of RESPONSE-AWARE UCB with 0 < η ≤ 1 / 2 0<\eta\le1/2 0 < η ≤ 1/2 . For every δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , with probability at least 1 − δ / 3 1-\delta/3 1 − δ /3 over the interaction, simultaneously for all t t t ,
∑ s ≤ t ρ s ≤ E t , (43) \sum_{s\le t}\rho_s\le E_t, \tag*{(43)} s ≤ t ∑ ρ s ≤ E t , (43) where E t E_t E t is the query-count bound in equation (24) . For t ≤ T t\le T t ≤ T , it satisfies E t ≤ E ‾ T E_t\le\overline{E}_T E t ≤ E T , with the explicit horizon bound E ‾ T \overline{E}_T E T given in equation (19) .
Proof. For the identity fits, lemmas D.1 and D.2 give the pathwise budget A t A_t A t in equation (23) . Under assumption 6.1, the fixed comparator attains W t , I t ∗ W^*_{t,I_t} W t , I t ∗ on every queried round. Thus the conditional mean of its normalized loss difference X t X_t X t is exactly the gap ρ t \rho_t ρ t defined in section 5. Apply lemma D.3 with ζ = δ / 3 \zeta=\delta/3 ζ = δ /3 . With probability at least 1 − δ / 3 1-\delta/3 1 − δ /3 , simultaneously for all t t t , this gives ∑ s ≤ t ρ s ≤ 2 A t + 64 log ( 3 / δ ) = E t \sum_{s\le t}\rho_s\le2A_t+64\log(3/\delta)=E_t ∑ s ≤ t ρ s ≤ 2 A t + 64 log ( 3/ δ ) = E t . The equality is the definition in equation (24) . Finally, concavity of log and ∑ j N T , j ≤ T \sum_jN_{T,j}\le T ∑ j N T , j ≤ T give A t ≤ K λ I + 8 K p I log ( 1 + T / ( K p I λ I ) ) + 4 K log 2 / η A_t\le K\lambda_I+8Kp_I\log(1+T/(Kp_I\lambda_I))+4K\log2/\eta A t ≤ K λ I + 8 K p I log ( 1 + T / ( K p I λ I )) + 4 K log 2/ η . Substitution yields E t ≤ E ‾ T E_t\le\overline{E}_T E t ≤ E T for every t ≤ T t\le T t ≤ T .
Risk confidence with response-learning bias
We next bound the errors in the two risk estimates. The free labels have centered noise; the queried labels also contain response-learning bias.
Lemma D.4 (Simultaneous risk confidence). Under the hypotheses and calibration of theorem 6.3, with probability at least 1 − δ 1-\delta 1 − δ , the response bound ∑ s ≤ t ρ s ≤ E t \sum_{s\le t}\rho_s\le E_t ∑ s ≤ t ρ s ≤ E t and the free-risk bound below hold simultaneously for every t ≤ T t\le T t ≤ T . The queried-risk bound also holds for every j ∈ A t j\in A_t j ∈ A t on each such round:
∣ L ^ t 0 − L t 0 ∣ ≤ R 2 B 0 ∥ x t 0 ∥ ( V t 0 ) − 1 . (44) \left|\widehat{L}^{0}_t-L^{0}_t\right|\le R^2B_0\left\|x^0_t\right\|_{(V^0_t)^{-1}}. \tag*{(44)} L t 0 − L t 0 ≤ R 2 B 0 x t 0 ( V t 0 ) − 1 . (44) ∣ W ^ t , j − W t , j ∗ ∣ ≤ 8 G 2 B ∗ u t , j . (45) \left|\widehat{W}_{t,j}-W^*_{t,j}\right|\le8G^2B_*u_{t,j}. \tag*{(45)} W t , j − W t , j ∗ ≤ 8 G 2 B ∗ u t , j . (45)
Proof. We allocate failure probability δ / 3 \delta/3 δ /3 to each of the response bound, free-risk noise, and queried-risk noise. The weights are fixed before the answer arrives, which preserves the conditional noise bounds.
Regression noise. For the noise terms, we use the following standard consequence of self-normalization [1 ] . Let x s ∈ R d V x_s \in\mathbb{R}^{d_V} x s ∈ R d V be F s \mathcal{F}_s F s -measurable, let Λ ∈ R d V × d V \Lambda\in\mathbb{R}^{d_V \times d_V} Λ ∈ R d V × d V be fixed and positive definite, and let ϵ s \epsilon_s ϵ s be F s + 1 \mathcal{F}_{s+1} F s + 1 -measurable noise satisfying, for some σ ≥ 0 \sigma\ge0 σ ≥ 0 ,
E [ ϵ s ∣ F s ] = 0 , E [ e γ ϵ s ∣ F s ] ≤ e γ 2 σ 2 / 2 for every γ ∈ R . \mathbb{E}[\epsilon_s \mid\mathcal{F}_s] = 0, \qquad\mathbb{E}[e^{\gamma\epsilon_s} \mid\mathcal{F}_s] \le e^{\gamma^2 \sigma^2/2} \quad\text{for every } \gamma\in\mathbb{R}. E [ ϵ s ∣ F s ] = 0 , E [ e γ ϵ s ∣ F s ] ≤ e γ 2 σ 2 /2 for every γ ∈ R .
For ζ ∈ ( 0 , 1 ) \zeta\in(0,1) ζ ∈ ( 0 , 1 ) , with probability at least 1 − ζ 1-\zeta 1 − ζ simultaneously for all prefixes,
∥ ∑ s < t x s ϵ s ∥ V t − 1 ≤ σ log det V t det Λ + 2 log ( 1 / ζ ) , V t = Λ + ∑ s < t x s x s ⊤ . (46) \left\|\sum_{s<t}x_s\epsilon_s\right\|_{V_t^{-1}} \le\sigma\sqrt{\log\frac{\det V_t}{\det\Lambda}+2\log(1/\zeta)}, \qquad V_t=\Lambda+\sum_{s<t}x_sx_s^\top. \tag*{(46)} s < t ∑ x s ϵ s V t − 1 ≤ σ log det Λ det V t + 2 log ( 1/ ζ ) , V t = Λ + s < t ∑ x s x s ⊤ . (46)
The result extends to the fixed positive-definite prior by whitening x s x_s x s by Λ − 1 / 2 \Lambda^{-1/2} Λ − 1/2 . The assumptions concern conditional moment-generating functions and predictability; neither independent covariates nor independent rounds are needed. For a variable in an interval of length one, its centered version is conditionally 1 / 2 1/2 1/2 -sub-Gaussian by Hoeffding’s lemma [25 ] .
Free-risk confidence. Apply equation (46) with failure probability δ / 3 \delta/3 δ /3 to the centered free-risk labels. The uncentered labels lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] , and their conditional means are ( x s 0 ) ⊤ θ ∗ 0 (x_s^0)^\top\theta_*^0 ( x s 0 ) ⊤ θ ∗ 0 by assumption 6.2. The ridge identity, nonexpansiveness of clipping onto [ 0 , 1 ] [0,1] [ 0 , 1 ] , and ∥ Λ 0 θ ∗ 0 ∥ ( V t 0 ) − 1 ≤ ∥ θ ∗ 0 ∥ Λ 0 \|\Lambda_0\theta_*^0\|_{(V_t^0)^{-1}}\le\|\theta_*^0\|_{\Lambda_0} ∥ Λ 0 θ ∗ 0 ∥ ( V t 0 ) − 1 ≤ ∥ θ ∗ 0 ∥ Λ 0 imply simultaneously equation (44) . Here equation (38) bounds the determinant ratio by the expression in equation (26) for all t ≤ T t\le T t ≤ T .
Queried-risk confidence. For the queried labels, put zero covariates and zero noise on free rounds. On a query, write c s = c s , I s c_s=c_{s,I_s} c s = c s , I s . This feature is predictable, and equation (13) gives
Z s = c s ⊤ θ ∗ + ρ s / 4 + ϵ s , E [ ϵ s ∣ F s ] = 0 , Z_s=c_s^\top\theta_*+\rho_s/4+\epsilon_s,\qquad\mathbb{E}[\epsilon_s\mid\mathcal{F}_s]=0, Z s = c s ⊤ θ ∗ + ρ s /4 + ϵ s , E [ ϵ s ∣ F s ] = 0 ,
where ϵ s \epsilon_s ϵ s is conditionally 1 / 2 1/2 1/2 -sub-Gaussian. Apply equation (46) again, at failure probability δ / 3 \delta/3 δ /3 , to x s ′ = ω s c s x'_s=\sqrt{\omega_s}c_s x s ′ = ω s c s and ϵ s ′ = ω s ϵ s \epsilon'_s=\sqrt{\omega_s}\epsilon_s ϵ s ′ = ω s ϵ s on queries and zero on free rounds. Both ω s \omega_s ω s and c s c_s c s are F s \mathcal{F}_s F s -measurable. Since 0 < ω s ≤ 1 0<\omega_s\le1 0 < ω s ≤ 1 , the transformed noise remains conditionally 1 / 2 1/2 1/2 -sub-Gaussian. The resulting martingale sum is ∑ s ω s c s ϵ s \sum_s\omega_sc_s\epsilon_s ∑ s ω s c s ϵ s , and the determinant ratio is at most ( 1 + T / ( d c λ ∗ ) ) d c (1+T/(d_c\lambda_*))^{d_c} ( 1 + T / ( d c λ ∗ ) ) d c . Including the prior norm bounds the martingale and regularization terms by B ∗ B_* B ∗ in the ( V t ∗ ) − 1 (V_t^*)^{-1} ( V t ∗ ) − 1 norm, simultaneously over t ≤ T t\le T t ≤ T .
The remaining term is the accumulated response-learning bias, b t = ∑ s < t : I s ≠ 0 ω s c s ρ s / 4 b_t=\sum_{s<t:I_s\ne0}\omega_sc_s\rho_s/4 b t = ∑ s < t : I s = 0 ω s c s ρ s /4 . Indeed, the queried ridge error decomposes as
θ ^ t ∗ − θ ∗ = ( V t ∗ ) − 1 { ∑ s < t : I s ≠ 0 ω s c s ϵ s + b t − Λ ∗ θ ∗ } . \widehat{\theta}_t^*-\theta_*=(V_t^*)^{-1}\left\{\sum_{s<t:I_s\ne0}\omega_sc_s\epsilon_s+b_t-\Lambda_*\theta_*\right\}. θ t ∗ − θ ∗ = ( V t ∗ ) − 1 ⎩ ⎨ ⎧ s < t : I s = 0 ∑ ω s c s ϵ s + b t − Λ ∗ θ ∗ ⎭ ⎬ ⎫ .
On the response event of lemma D.3, ∑ s < t ρ s ≤ E ‾ T \sum_{s<t}\rho_s\le\overline{E}_T ∑ s < t ρ s ≤ E T . The triangle inequality, ρ s ≥ 0 \rho_s\ge0 ρ s ≥ 0 , and V t ∗ ⪰ V s ∗ V_t^*\succeq V_s^* V t ∗ ⪰ V s ∗ for s < t s<t s < t give
∥ b t ∥ ( V t ∗ ) − 1 ≤ 1 4 ∑ s < t : I s ≠ 0 ω s ρ s ∥ c s ∥ ( V s ∗ ) − 1 ≤ 1 4 ∑ s < t : I s ≠ 0 ω s ρ s u s , I s ≤ 1 4 τ E ‾ T = B ∗ . (47) \begin{aligned}
\|b_t\|_{(V_t^*)^{-1}}\le\frac14\sum_{s<t:I_s\ne0}\omega_s\rho_s\|c_s\|_{(V_s^*)^{-1}} \\
&\le\frac14\sum_{s<t:I_s\ne0}\omega_s\rho_su_{s,I_s}\le\frac14\tau\overline{E}_T=B_*. \tag*{(47)}
\end{aligned} ∥ b t ∥ ( V t ∗ ) − 1 ≤ 4 1 s < t : I s = 0 ∑ ω s ρ s ∥ c s ∥ ( V s ∗ ) − 1 ≤ 4 1 s < t : I s = 0 ∑ ω s ρ s u s , I s ≤ 4 1 τ E T = B ∗ . (47)
The last inequality uses ω s u s , I s ≤ τ \omega_su_{s,I_s}\le\tau ω s u s , I s ≤ τ , including zero width. When there are no past queries, b t = 0 b_t=0 b t = 0 . Cauchy–Schwarz and multiplication by 4 G 2 4G^2 4 G 2 now give equation (45) for every eligible expert and every t ≤ T t\le T t ≤ T on the common event. The two risk-confidence events and the response conversion event have total failure probability at most δ \delta δ . A vector-norm confidence event controls every current feature, so no further union bound over experts is needed. The noise inequality is established before intersecting with the response event; its conditional moment-generating-function assumption is not asserted after conditioning on that event. □ \square □
Proof of the routing theorem
Theorem 6.3 (Regret of response-aware routing). Assume the bounded non-interventional protocol of section 4 and assumptions 6.1 and 6.2. Fix T ≥ 1 T \ge1 T ≥ 1 , δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , feature maps and positive-definite priors before interaction; public feature vectors may depend on history. Run RESPONSE-AWARE UCB with exact constrained response fits, full-history weighted queried-risk estimates, 0 < η ≤ 1 / 2 0 < \eta\le1/2 0 < η ≤ 1/2 and equation (21) . With probability at least 1 − δ 1-\delta 1 − δ over the joint interaction law,
Reg T ≤ C p r o b { T log T + 1 δ + log T + 1 δ } (48) \operatorname{Reg}_{T} \le C_{\mathrm{prob}}\left\{\sqrt{T}\log\frac{T+1}{\delta}+\log\frac{T+1}{\delta}\right\} \tag*{(48)} Reg T ≤ C prob { T log δ T + 1 + log δ T + 1 } (48) where C p r o b C_{\mathrm{prob}} C prob is finite and depends only on the residual bounds, dimensions, registry capacity, regularizers, priors, parameter-norm bounds and pool rate, not on T T T or δ \delta δ .
Proposition B.1 (Explicit routing bound). Under the hypotheses and calibration of theorem 6.3, with probability at least 1 − δ 1-\delta 1 − δ ,
Reg T ≤ R 2 B 0 W ( T , d 0 , λ 0 ) \operatorname{Reg}_{T} \le R^{2}B_{0}\mathcal{W}(T,d_{0},\lambda_{0}) Reg T ≤ R 2 B 0 W ( T , d 0 , λ 0 ) + G 2 [ 16 B ∗ N T H ( N T ) + 4 E ‾ T H ( N T ) + E T ] . (49) {}+G^{2}\left[16B_{\ast}\sqrt{N_{T}\mathcal{H}(N_{T})}+4\overline{E}_{T}\mathcal{H}(N_{T})+E_{T}\right]. \tag*{(49)} + G 2 [ 16 B ∗ N T H ( N T ) + 4 E T H ( N T ) + E T ] . (49)
Proof of theorem 6.3 and proposition B.1. By lemma D.4, the response and risk-estimation bounds hold on a common event with probability at least 1 − δ 1-\delta 1 − δ . We work on that event and first compare costs on one round, then sum the result using bounds on regression widths.
One-round comparison. For a queried round write u t = u t , I t u_t=u_{t,I_t} u t = u t , I t , and set u t = 0 u_t=0 u t = 0 on free rounds. Define a lower bound on optimal queried risk and the free-risk estimation error by
W ~ t , j = W ~ t , j − 8 G 2 B ∗ u t , j , ϵ t 0 = L ^ t 0 − L t 0 . \widetilde{W}_{t,j}=\widetilde{W}_{t,j}-8G^{2}B_{\ast}u_{t,j},\qquad\epsilon^{0}_{t}=\widehat{L}^{0}_{t}-L^{0}_{t}. W t , j = W t , j − 8 G 2 B ∗ u t , j , ϵ t 0 = L t 0 − L t 0 .
With α = 2 B ∗ \alpha=2B_{\ast} α = 2 B ∗ , equation (45) gives W ‾ t , j ≤ W t , j ∗ \underline{W}_{t,j}\le W^{\ast}_{t,j} W t , j ≤ W t , j ∗ . The score is S t , j = L ^ t 0 − W ‾ t , j − β t , j S_{t,j}=\widehat{L}^{0}_{t}-\underline{W}_{t,j}-\beta_{t,j} S t , j = L t 0 − W t , j − β t , j . If an oracle action j ∗ ≠ 0 j^{\ast}\ne0 j ∗ = 0 queries, then S t , j ∗ ≥ L t 0 − C t ∗ + ϵ t 0 S_{t,j^{\ast}}\ge L^{0}_{t}-C^{\ast}_{t}+\epsilon^{0}_{t} S t , j ∗ ≥ L t 0 − C t ∗ + ϵ t 0 . For the selected queried action j j j , its actual conditional cost is W t , j ∗ + G 2 ρ t + β t , j W^{\ast}_{t,j}+G^{2}\rho_{t}+\beta_{t,j} W t , j ∗ + G 2 ρ t + β t , j and
W t , j ∗ − W ‾ t , j ≤ 16 G 2 B ∗ u t , j . (50) W^{\ast}_{t,j}-\underline{W}_{t,j}\le16G^{2}B_{\ast}u_{t,j}. \tag*{(50)} W t , j ∗ − W t , j ≤ 16 G 2 B ∗ u t , j . (50)
We compare the selected action with an oracle action, separating the four possible pairs of free and queried choices. If both actions query, score maximality gives W ‾ t , j + β t , j ≤ W ‾ t , j ∗ + β t , j ∗ ≤ C t ∗ \underline{W}_{t,j}+\beta_{t,j}\le\underline{W}_{t,j^{\ast}}+\beta_{t,j^{\ast}}\le C^{\ast}_{t} W t , j + β t , j ≤ W t , j ∗ + β t , j ∗ ≤ C t ∗ , and hence
E [ C t ∣ F t ] − C t ∗ ≤ W t , j ∗ − W ‾ t , j + G 2 ρ t ; \mathbb{E}[C_t\mid\mathcal{F}_t]-C^{\ast}_{t}\le W^{\ast}_{t,j}-\underline{W}_{t,j}+G^{2}\rho_t; E [ C t ∣ F t ] − C t ∗ ≤ W t , j ∗ − W t , j + G 2 ρ t ;
the free-risk error cancels. If the selected action queries and the oracle is free, S t , j ≥ 0 S_{t,j}\ge0 S t , j ≥ 0 gives the same bound plus ϵ t 0 \epsilon^{0}_{t} ϵ t 0 . If the selected action is free and the oracle queries, 0 ≥ S t , j ∗ ≥ L t 0 − C t ∗ + ϵ t 0 0\ge S_{t,j^{\ast}}\ge L^{0}_{t}-C^{\ast}_{t}+\epsilon^{0}_{t} 0 ≥ S t , j ∗ ≥ L t 0 − C t ∗ + ϵ t 0 , so the regret is at most − ϵ t 0 -\epsilon^{0}_{t} − ϵ t 0 . If both are free the regret is zero. Let 1 { ⋅ } 1\{\cdot\} 1 { ⋅ } denote the indicator of an event. In all cases,
E [ C t ∣ F t ] − C t ∗ ≤ ∣ ϵ t 0 ∣ + 1 { I t ≠ 0 } G 2 { 16 B ∗ u t + ρ t } . (51) \mathbb{E}[C_t\mid\mathcal{F}_t]-C^{\ast}_{t}\le\lvert\epsilon^{0}_{t}\rvert+1\{I_t\ne0\}G^{2}\{16B_{\ast}u_t+\rho_t\}. \tag*{(51)} E [ C t ∣ F t ] − C t ∗ ≤ ∣ ϵ t 0 ∣ + 1 { I t = 0 } G 2 { 16 B ∗ u t + ρ t } . (51)
This derivation also handles an empty eligible set.
Summing regression widths. To sum the uncertainty terms, we bound cumulative regression widths by the number of observations. Let x i ∈ R d V x_i\in\mathbb{R}^{d_V} x i ∈ R d V be features of norm at most one, where d V d_V d V is a positive integer. Let Λ ⪰ λ I d V \Lambda\succeq\lambda I_{d_V} Λ ⪰ λ I d V with λ > 0 \lambda>0 λ > 0 and V n = Λ + ∑ i ≤ n x i x i T V_n=\Lambda+\sum_{i\le n}x_ix_i^{\mathsf T} V n = Λ + ∑ i ≤ n x i x i T . Then v n = x n T V n − 1 − 1 x n ≤ λ − 1 v_n=x_n^{\mathsf T}V_{n-1}^{-1}x_n\le\lambda^{-1} v n = x n T V n − 1 − 1 x n ≤ λ − 1 and v n ≤ ( 1 + λ − 1 ) log ( 1 + v n ) v_n\le(1+\lambda^{-1})\log(1+v_n) v n ≤ ( 1 + λ − 1 ) log ( 1 + v n ) , using log ( 1 + v ) ≥ v / ( 1 + v ) \log(1+v)\ge v/(1+v) log ( 1 + v ) ≥ v / ( 1 + v ) for v ≥ 0 v\ge0 v ≥ 0 . The determinant lemma and equation (38) give
∑ n = 1 N v n ≤ ( 1 + λ − 1 ) d V log ( 1 + N / ( d V λ ) ) . \sum_{n=1}^{N}v_n\le(1+\lambda^{-1})d_V\log(1+N/(d_V\lambda)). n = 1 ∑ N v n ≤ ( 1 + λ − 1 ) d V log ( 1 + N / ( d V λ )) .
Cauchy–Schwarz therefore gives ∑ n = 1 N v n ≤ W ( N , d V , λ ) \sum_{n=1}^{N}\sqrt{v_n}\le\mathcal{W}(N,d_V,\lambda) ∑ n = 1 N v n ≤ W ( N , d V , λ ) , also valid for N = 0 N=0 N = 0 . Apply this bound to the free-risk features on all T T T rounds. The free-risk regression receives an outcome on every round, including rounds on which an expert is queried. For the queried-risk design, the determinant lemma and ω s u s 2 ≤ λ ∗ − 1 \omega_s u_s^2 \le\lambda_*^{-1} ω s u s 2 ≤ λ ∗ − 1 give
∑ s : I s ≠ 0 ω s u s 2 ≤ ( 1 + λ ∗ − 1 ) log det V T + 1 ∗ det Λ ∗ ∗ ≤ H ( N T ) . \sum_{s:I_s\ne0}\omega_s u_s^2 \le(1+\lambda_*^{-1})\log\frac{\det V^*_{T+1}}{\det\Lambda_*^*}\le\mathcal{H}(N_T). s : I s = 0 ∑ ω s u s 2 ≤ ( 1 + λ ∗ − 1 ) log det Λ ∗ ∗ det V T + 1 ∗ ≤ H ( N T ) .
The whitened update matrix has trace at most N T / λ ∗ N_T/\lambda_* N T / λ ∗ , which gives the last inequality. On rounds with ω s = 1 \omega_s=1 ω s = 1 , Cauchy–Schwarz bounds the sum of widths by N T H ( N T ) \sqrt{N_T\mathcal{H}(N_T)} N T H ( N T ) . On the remaining queried rounds, ω s u s 2 = τ u s \omega_su_s^2=\tau u_s ω s u s 2 = τ u s , so
∑ s : I s ≠ 0 u s ≤ N T H ( N T ) + H ( N T ) / τ . \sum_{s:I_s\ne0}u_s\le\sqrt{N_T\mathcal{H}(N_T)}+\mathcal{H}(N_T)/\tau. s : I s = 0 ∑ u s ≤ N T H ( N T ) + H ( N T ) / τ .
This also holds when N T = 0 N_T=0 N T = 0 . Sum equation (51) , use equation (44) , ∑ t ρ t ≤ E T \sum_t\rho_t\le E_T ∑ t ρ t ≤ E T , and substitute τ = 4 B ∗ / E ‾ T \tau=4B_*/\overline{E}_T τ = 4 B ∗ / E T . This proves equation (32) and hence proposition B.1.
Horizon dependence. For α = 2 B ∗ \alpha=2B_* α = 2 B ∗ and fixed problem parameters, E T ≤ C 1 log ( ( T + 1 ) / δ ) E_T\le C_1\log((T+1)/\delta) E T ≤ C 1 log (( T + 1 ) / δ ) and B v ≤ C 2 log ( ( T + 1 ) / δ ) B_v\le C_2\sqrt{\log((T+1)/\delta)} B v ≤ C 2 log (( T + 1 ) / δ ) . The width envelope is at most C 3 T log ( T + 1 ) C_3\sqrt{T}\log(T+1) C 3 T log ( T + 1 ) , and the additive response term is at most C 4 log ( ( T + 1 ) / δ ) log ( T + 1 ) C_4\log((T+1)/\delta)\log(T+1) C 4 log (( T + 1 ) / δ ) log ( T + 1 ) for a fixed finite C 4 C_4 C 4 . Using log ( T + 1 ) ≤ T \log(T+1)\le\sqrt{T} log ( T + 1 ) ≤ T gives equation (22), with constants depending only on the quantities listed in the theorem. This proves theorem 6.3.
Approximate response and risk models
The exact models in assumptions 6.1 and 6.2 connect observations across rounds. Here fixed models may approximate the optimal responses and risks; the comparator remains the same conditional oracle. The response proof must account for the fixed comparator’s approximation error. The risk proof must also handle signed model errors, separately from the nonnegative bias caused by response learning.
Approximation assumptions. Fix T ≥ 1 T\ge1 T ≥ 1 , δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) and deterministic tolerances ε R , ε 0 , ε ∗ ≥ 0 \varepsilon_R,\varepsilon_0,\varepsilon_*\ge0 ε R , ε 0 , ε ∗ ≥ 0 before interaction. For each identity, let Θ ‾ j ∈ R d ℓ × ( q + 1 ) \overline{\Theta}_j\in\mathbb{R}^{d_\ell\times(q+1)} Θ j ∈ R d ℓ × ( q + 1 ) be a fixed matrix with ∥ Θ ‾ j ∥ F ≤ 1 \|\overline{\Theta}_j\|_F\le1 ∥ Θ j ∥ F ≤ 1 , and write a t , j = Θ ‾ j T ℓ t , j a_{t,j}=\overline{\Theta}_j^\mathsf{T}\ell_{t,j} a t , j = Θ j T ℓ t , j . Assume, almost surely for every t ≤ T t\le T t ≤ T and j ∈ A t j\in\mathcal{A}_t j ∈ A t ,
0 ≤ ϵ t , j : = E [ ( e t , j / G − a ‾ t , j T φ q ( d t , j ) ) 2 | F t ] − W t , j ∗ / G 2 ≤ ε R . (52) 0\le\epsilon_{t,j}:=\mathbb{E}\left[\left(e_{t,j}/G-\overline{a}_{t,j}^{\mathsf{T}}\varphi_q(d_{t,j})\right)^2\middle|\mathcal{F}_t\right]-W^*_{t,j}/G^2\le\varepsilon_R. \tag*{(52)} 0 ≤ ϵ t , j := E [ ( e t , j / G − a t , j T φ q ( d t , j ) ) 2 F t ] − W t , j ∗ / G 2 ≤ ε R . (52)
Nonnegativity follows from feasibility. The error measures excess risk over the conditional ball optimum, rather than distance between coefficient vectors. This distinction allows boundary optima and singular answer laws. Also assume fixed parameters θ ‾ 0 ∈ R d 0 \overline{\theta}_0\in\mathbb{R}^{d_0} θ 0 ∈ R d 0 and θ ‾ ∗ ∈ R d c \overline{\theta}_*\in\mathbb{R}^{d_c} θ ∗ ∈ R d c satisfy ∥ θ ‾ 0 ∥ Λ 0 ≤ Q 0 \|\overline{\theta}_0\|_{\Lambda_0}\le Q_0 ∥ θ 0 ∥ Λ 0 ≤ Q 0 and ∥ θ ‾ ∗ ∥ Λ ∗ ≤ Q ∗ \|\overline{\theta}_*\|_{\Lambda_*}\le Q_* ∥ θ ∗ ∥ Λ ∗ ≤ Q ∗ , with
∣ L t 0 / R 2 − ( x t 0 ) T θ ‾ 0 ∣ ≤ ε 0 , ∣ W t , j ∗ / ( 4 G 2 ) − c t , j T θ ‾ ∗ ∣ ≤ ε ∗ . (53) \left|L_t^0/R^2-(x_t^0)^\mathsf{T}\overline{\theta}_0\right|\le\varepsilon_0,\qquad\left|W^*_{t,j}/(4G^2)-c_{t,j}^\mathsf{T}\overline{\theta}_*\right|\le\varepsilon_*. \tag*{(53)} L t 0 / R 2 − ( x t 0 ) T θ 0 ≤ ε 0 , W t , j ∗ / ( 4 G 2 ) − c t , j T θ ∗ ≤ ε ∗ . (53)
The free-risk inequality holds almost surely on every round, including when A t \mathcal{A}_t A t is empty; the queried-risk inequality holds almost surely for every eligible expert on every round. These parameters and matrices are fixed before the future observations are realized. Their values need not be known to the learner. Calibration uses the supplied bounds ε R , ε ∗ \varepsilon_R,\varepsilon_* ε R , ε ∗ ; the free-risk tolerance ε 0 \varepsilon_0 ε 0 enters the guarantee but not the calibration.
Let A t A_t A t be the pathwise response budget in equation (23) , and define its deterministic envelope and the cumulative response approximation error by
A ‾ T = K λ 1 + 8 K p I log ( 1 + T K p I λ I ) + 4 K log 2 η , (54) \overline{A}_T=K\lambda_1+8Kp_I\log\left(1+\frac{T}{Kp_I\lambda_I}\right)+\frac{4K\log2}{\eta}, \tag*{(54)} A T = K λ 1 + 8 K p I log ( 1 + K p I λ I T ) + η 4 K log 2 , (54)
D t = ∑ s ≤ t : I s ≠ 0 ϵ s , I s , p I = d ℓ ( q + 1 ) . \mathcal{D}_t=\sum_{s\le t:I_s\ne0}\epsilon_{s,I_s},\qquad p_I=d_\ell(q+1). D t = s ≤ t : I s = 0 ∑ ϵ s , I s , p I = d ℓ ( q + 1 ) .
The response certificate and its horizon envelope are
E t a p p = 2 A t + 3 D t + 128 log ( 3 / δ ) , E ‾ T a p p = 2 A ‾ T + 3 T ε R + 128 log ( 3 / δ ) . (55) E_t^{\mathrm{app}}=2A_t+3\mathcal{D}_t+128\log(3/\delta),\qquad\overline{E}_T^{\mathrm{app}}=2\overline{A}_T+3T\varepsilon_R+128\log(3/\delta). \tag*{(55)} E t app = 2 A t + 3 D t + 128 log ( 3/ δ ) , E T app = 2 A T + 3 T ε R + 128 log ( 3/ δ ) . (55)
Unlike A t A_t A t , the quantity D t D_t D t is unobserved. The algorithm uses the deterministic envelope E ‾ T a p p \overline{E}_T^{\mathrm{app}} E T app , which is at least E ‾ t a p p \overline{E}_t^{\mathrm{app}} E t app for every t ≤ T t \le T t ≤ T . With B v B_v B v as in equation (20) , set
B ∗ a p p = B ∗ + ϵ ∗ T , α = 2 B ∗ a p p , τ = 4 B ∗ a p p E ‾ T a p p . (56) B_*^{\mathrm{app}} = B_* + \epsilon_* \sqrt{T}, \qquad\alpha= 2B_*^{\mathrm{app}}, \qquad\tau= \frac{4B_*^{\mathrm{app}}}{\overline{E}_T^{\mathrm{app}}}. \tag*{(56)} B ∗ app = B ∗ + ϵ ∗ T , α = 2 B ∗ app , τ = E T app 4 B ∗ app . (56)
Proposition D.5 (Routing under approximate models). Assume the bounded non-interventional protocol of § 4 and the approximation assumptions above, including the fixed feasible matrices, parameter-norm bounds and equations (52) and (53) . Choose feature maps and positive-definite priors before interaction, with public feature vectors of norm at most one. Run the RESPONSE-AWARE UCB updates with exact constrained response fits, full-history risk regressions, 0 < η ≤ 1 / 2 0 < \eta\le1/2 0 < η ≤ 1/2 , and equation (56) . With probability at least 1 − δ 1-\delta 1 − δ over the joint interaction law,
Reg T ≤ R 2 [ ( B 0 + ϵ 0 T ) W ( T , d 0 , λ 0 ) + T ϵ 0 ] + G 2 [ 16 B ∗ a p p N T H ( N T ) + 4 E ‾ T a p p H ( N T ) + E T a p p + 8 T ϵ ∗ ] . (57) \operatorname{Reg}_T \le R^2 \left[(B_0+\epsilon_0\sqrt{T})\mathcal{W}(T,d_0,\lambda_0)+T\epsilon_0\right]
+G^2\left[16B_*^{\mathrm{app}}\sqrt{N_T}\mathcal{H}(N_T)+4\overline{E}_T^{\mathrm{app}}\mathcal{H}(N_T)+E_T^{\mathrm{app}}+8T\epsilon_*\right]. \tag*{(57)} Reg T ≤ R 2 [ ( B 0 + ϵ 0 T ) W ( T , d 0 , λ 0 ) + T ϵ 0 ] + G 2 [ 16 B ∗ app N T H ( N T ) + 4 E T app H ( N T ) + E T app + 8 T ϵ ∗ ] . (57) with W , H \mathcal{W},\mathcal{H} W , H defined in equations (30) and (31) and Reg T \operatorname{Reg}_T Reg T measured against the original oracle in equation (7) .
Proof. We first adapt the conditional response certificate, then bound the two risk estimates and repeat the one-round routing comparison.
Response approximation. On a queried round, abbreviate y t = e t , I t / G y_t=e_{t,I_t}/G y t = e t , I t / G , p t = a t , I t ⊤ ϕ q ( d t , I t ) p_t=a_{t,I_t}^{\top}\phi_q(d_{t,I_t}) p t = a t , I t ⊤ ϕ q ( d t , I t ) and p ‾ t = a ‾ t , I t ⊤ ϕ q ( d t , I t ) \overline{p}_t=\overline{a}_{t,I_t}^{\top}\phi_q(d_{t,I_t}) p t = a t , I t ⊤ ϕ q ( d t , I t ) . Let p t ∗ = ( a t , I t ∗ ) ⊤ ϕ q ( d t , I t ) p_t^*=(a_{t,I_t}^*)^{\top}\phi_q(d_{t,I_t}) p t ∗ = ( a t , I t ∗ ) ⊤ ϕ q ( d t , I t ) for a measurable conditional minimizer over B q \mathbb{B}_q B q . The three coefficients are F t \mathcal{F}_t F t -measurable, and the predictions and target belong to [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Define
X t = ( y t − p t ) 2 − ( y t − p ‾ t ) 2 , ϵ t = ϵ t , I t , ρ t = E [ ( y t − p t ) 2 ∣ F t ] − W t , I t ∗ / G 2 , X_t=(y_t-p_t)^2-(y_t-\overline{p}_t)^2,\qquad\epsilon_t=\epsilon_{t,I_t},\qquad\rho_t=\mathbb{E}[(y_t-p_t)^2\mid\mathcal{F}_t]-W_{t,I_t}^*/G^2, X t = ( y t − p t ) 2 − ( y t − p t ) 2 , ϵ t = ϵ t , I t , ρ t = E [( y t − p t ) 2 ∣ F t ] − W t , I t ∗ / G 2 ,
and set all three quantities to zero on free rounds. Both ρ t \rho_t ρ t and ϵ t \epsilon_t ϵ t are nonnegative, while E [ X t ∣ F t ] = ρ t − ϵ t \mathbb{E}[X_t\mid\mathcal{F}_t]=\rho_t-\epsilon_t E [ X t ∣ F t ] = ρ t − ϵ t can have either sign. The pathwise regression and pool bounds compare to any fixed feasible matrices, so lemmas D.1 and D.2 still give ∑ s ≤ t X s ≤ A t \sum_{s\le t}X_s\le A_t ∑ s ≤ t X s ≤ A t for every prefix.
Conditional optimality of a t , I t ∗ a_{t,I_t}^* a t , I t ∗ gives the variational inequality
E [ ( p t ∗ − y t ) ( p t − p t ∗ ) ∣ F t ] ≥ 0 , \mathbb{E}[(p_t^*-y_t)(p_t-p_t^*)\mid\mathcal{F}_t]\ge0, E [( p t ∗ − y t ) ( p t − p t ∗ ) ∣ F t ] ≥ 0 ,
and the same inequality with p t p_t p t replaced by p ‾ t \overline{p}_t p t . Expanding the two excess risks therefore gives
E [ ( p t − p t ∗ ) 2 ∣ F t ] ≤ ρ t , E [ ( p ‾ t − p t ∗ ) 2 ∣ F t ] ≤ ϵ t . \mathbb{E}[(p_t-p_t^*)^2\mid\mathcal{F}_t]\le\rho_t,\qquad
\mathbb{E}[(\overline{p}_t-p_t^*)^2\mid\mathcal{F}_t]\le\epsilon_t. E [( p t − p t ∗ ) 2 ∣ F t ] ≤ ρ t , E [( p t − p t ∗ ) 2 ∣ F t ] ≤ ϵ t .
Since ∣ X t ∣ ≤ 4 |X_t|\le4 ∣ X t ∣ ≤ 4 and X t 2 = ( p t − p ‾ t ) 2 ( p t + p ‾ t − 2 y t ) 2 X_t^2=(p_t-\overline{p}_t)^2(p_t+\overline{p}_t-2y_t)^2 X t 2 = ( p t − p t ) 2 ( p t + p t − 2 y t ) 2 ,
E [ X t 2 ∣ F t ] ≤ 16 E [ ( p t − p ‾ t ) 2 ∣ F t ] ≤ 32 ( ρ t + ϵ t ) . (58) \mathbb{E}[X_t^2\mid\mathcal{F}_t]\le16\mathbb{E}[(p_t-\overline{p}_t)^2\mid\mathcal{F}_t]\le32(\rho_t+\epsilon_t). \tag*{(58)} E [ X t 2 ∣ F t ] ≤ 16 E [( p t − p t ) 2 ∣ F t ] ≤ 32 ( ρ t + ϵ t ) . (58)
For λ = 1 / 64 \lambda=1/64 λ = 1/64 , the exponential Taylor bound used in lemma D.3 now gives
E [ e − λ X t ∣ F t ] ≤ 1 − λ ( ρ t − ϵ t ) + 16 λ 2 e 4 λ ( ρ t + ϵ t ) ≤ 1 − λ ρ t / 2 + 3 λ ϵ t / 2 ≤ exp ( − ρ t / 128 + 3 ϵ t / 128 ) . \mathbb{E}[e^{-\lambda X_t}\mid\mathcal{F}_t]\le1-\lambda(\rho_t-\epsilon_t)+16\lambda^2e^{4\lambda}(\rho_t+\epsilon_t)
\le1-\lambda\rho_t/2+3\lambda\epsilon_t/2\le\exp(-\rho_t/128+3\epsilon_t/128). E [ e − λ X t ∣ F t ] ≤ 1 − λ ( ρ t − ϵ t ) + 16 λ 2 e 4 λ ( ρ t + ϵ t ) ≤ 1 − λ ρ t /2 + 3 λ ϵ t /2 ≤ exp ( − ρ t /128 + 3 ϵ t /128 ) .
The middle inequality uses 16 λ e 4 λ < 1 / 2 16\lambda e^{4\lambda}<1/2 16 λ e 4 λ < 1/2 . Thus
exp { ∑ s ≤ t ρ s / 128 − 3 ∑ s ≤ t ϵ s / 128 − ∑ s ≤ t X s / 64 } \exp\left\{\sum_{s\le t}\rho_s/128-3\sum_{s\le t}\epsilon_s/128-\sum_{s\le t}X_s/64\right\} exp { s ≤ t ∑ ρ s /128 − 3 s ≤ t ∑ ϵ s /128 − s ≤ t ∑ X s /64 }
is a nonnegative supermartingale starting at one, with respect to ( F t + 1 ) (\mathcal{F}_{t+1}) ( F t + 1 ) . Ville’s inequality, at failure probability δ / 3 \delta/3 δ /3 , implies simultaneously for every prefix t ≤ T t\le T t ≤ T
∑ s ≤ t ρ s ≤ 2 ∑ s ≤ t X s + 3 D t + 128 log ( 3 / δ ) ≤ E ‾ t a p p . (59) \sum_{s\le t}\rho_s\le2\sum_{s\le t}X_s+3D_t+128\log(3/\delta)\le\overline{E}_t^{\mathrm{app}}. \tag*{(59)} s ≤ t ∑ ρ s ≤ 2 s ≤ t ∑ X s + 3 D t + 128 log ( 3/ δ ) ≤ E t app . (59)
Risk approximation. Write the two signed model residuals as r t 0 = L t 0 / R 2 − ( x t 0 ) ⊤ θ ˉ 0 r_t^0 = L_t^0/R^2 - (x_t^0)^\top\bar{\theta}_0 r t 0 = L t 0 / R 2 − ( x t 0 ) ⊤ θ ˉ 0 and r t , j ∗ = W t , j ∗ / ( 4 G 2 ) − c t , j ⊤ θ ˉ ∗ r_{t,j}^* = W_{t,j}^*/(4G^2) - c_{t,j}^\top\bar{\theta}^* r t , j ∗ = W t , j ∗ / ( 4 G 2 ) − c t , j ⊤ θ ˉ ∗ . On a query, the normalized label satisfies
Z t = c t , I t ⊤ θ ˉ ∗ + r t , I t ∗ + ρ t / 4 + ϵ t n o i s e , E [ ϵ t n o i s e ∣ F t ] = 0. Z_t = c_{t,I_t}^\top\bar{\theta}^* + r_{t,I_t}^* + \rho_t/4 + \epsilon_t^{\mathrm{noise}}, \qquad\mathbb{E}[\epsilon_t^{\mathrm{noise}} \mid\mathcal{F}_t] = 0. Z t = c t , I t ⊤ θ ˉ ∗ + r t , I t ∗ + ρ t /4 + ϵ t noise , E [ ϵ t noise ∣ F t ] = 0.
Because Z t ∈ [ 0 , 1 ] Z_t \in[0,1] Z t ∈ [ 0 , 1 ] , the centered noise is conditionally 1 / 2 1/2 1/2 -sub-Gaussian. Applying equation (46) to the predictably weighted features bounds the noise and regularization terms by B ∗ a p p B_*^{\mathrm{app}} B ∗ app in the ( V t ∗ ) − 1 (V_t^*)^{-1} ( V t ∗ ) − 1 norm, with failure probability δ / 3 \delta/3 δ /3 .
The signed model errors admit a separate bound. Let U U U have columns ω s c s , I s \sqrt{\omega_s}c_{s,I_s} ω s c s , I s over past queries, and let v v v have entries ω s r s , I s ∗ \sqrt{\omega_s}r_{s,I_s}^* ω s r s , I s ∗ . Since V t ∗ = Λ ∗ + U U ⊤ V_t^* = \Lambda_* + UU^\top V t ∗ = Λ ∗ + U U ⊤ , ∥ ( V t ∗ ) − 1 / 2 U ∥ o p ≤ 1 \|(V_t^*)^{-1/2}U\|_{\mathrm{op}} \le1 ∥ ( V t ∗ ) − 1/2 U ∥ op ≤ 1 , and hence
∥ ∑ s < t : I s ≠ 0 ω s c s , I s r s , I s ∗ ∥ ( V t ∗ ) − 1 ≤ ∥ v ∥ 2 ≤ ϵ ∗ T . (60) \left\|\sum_{s<t:I_s\ne0}\omega_s c_{s,I_s}r_{s,I_s}^*\right\|_{(V_t^*)^{-1}} \le\|v\|_2 \le\epsilon_*\sqrt{T}. \tag*{(60)} s < t : I s = 0 ∑ ω s c s , I s r s , I s ∗ ( V t ∗ ) − 1 ≤ ∥ v ∥ 2 ≤ ϵ ∗ T . (60)
Here ∥ ⋅ ∥ o p \|\cdot\|_{\mathrm{op}} ∥ ⋅ ∥ op denotes the Euclidean operator norm; its bound follows from U U ⊤ ⪯ V t ∗ UU^\top\preceq V_t^* U U ⊤ ⪯ V t ∗ . On the response event, design monotonicity and ω s u s , I s ≤ τ \omega_s u_{s,I_s}\le\tau ω s u s , I s ≤ τ also give
∥ 1 4 ∑ s < t : I s ≠ 0 ω s c s , I s ρ s ∥ ( V t ∗ ) − 1 ≤ τ 4 ∑ s < t ρ s ≤ τ 4 E ˉ T a p p = B ∗ a p p . \left\|\frac{1}{4}\sum_{s<t:I_s\ne0}\omega_s c_{s,I_s}\rho_s\right\|_{(V_t^*)^{-1}} \le\frac{\tau}{4}\sum_{s<t}\rho_s \le\frac{\tau}{4}\bar{E}_T^{\mathrm{app}} = B_*^{\mathrm{app}}. 4 1 s < t : I s = 0 ∑ ω s c s , I s ρ s ( V t ∗ ) − 1 ≤ 4 τ s < t ∑ ρ s ≤ 4 τ E ˉ T app = B ∗ app .
The noise, regularization and signed model-error terms total at most B ∗ a p p B_*^{\mathrm{app}} B ∗ app , so evaluating the ridge error at a current feature and including its own residual gives
∣ W ~ t , j − W t , j ∗ ∣ ≤ 8 G 2 B ∗ a p p u t , j + 4 G 2 ϵ ∗ ( t ≤ T , j ∈ A t ) . (61) |\widetilde{W}_{t,j}-W_{t,j}^*| \le8G^2B_*^{\mathrm{app}}u_{t,j}+4G^2\epsilon_* \qquad(t\le T,\ j\in\mathcal{A}_t). \tag*{(61)} ∣ W t , j − W t , j ∗ ∣ ≤ 8 G 2 B ∗ app u t , j + 4 G 2 ϵ ∗ ( t ≤ T , j ∈ A t ) . (61)
The vector-norm event controls all eligible experts simultaneously.
For the free regression, the same matrix argument with columns x s 0 x_s^0 x s 0 and residual vector ( r s 0 ) s < t (r_s^0)_{s<t} ( r s 0 ) s < t gives
∥ ∑ s < t x s 0 r s 0 ∥ ( V t 0 ) − 1 ≤ ∑ s < t ( r s 0 ) 2 ≤ ϵ 0 T . \left\|\sum_{s<t}x_s^0r_s^0\right\|_{(V_t^0)^{-1}} \le\sqrt{\sum_{s<t}(r_s^0)^2}\le\epsilon_0\sqrt{T}. s < t ∑ x s 0 r s 0 ( V t 0 ) − 1 ≤ s < t ∑ ( r s 0 ) 2 ≤ ϵ 0 T .
Self-normalization at failure probability δ / 3 \delta/3 δ /3 , the prior-norm bound and clipping toward the true normalized risk in [ 0 , 1 ] [0,1] [ 0 , 1 ] imply
∣ L ^ t 0 − L t 0 ∣ ≤ R 2 [ ( B 0 + ϵ 0 T ) ∥ x t 0 ∥ ( V t 0 ) − 1 + ϵ 0 ] . (62) |\widehat{L}_t^0-L_t^0| \le R^2\left[(B_0+\epsilon_0\sqrt{T})\|x_t^0\|_{(V_t^0)^{-1}}+\epsilon_0\right]. \tag*{(62)} ∣ L t 0 − L t 0 ∣ ≤ R 2 [ ( B 0 + ϵ 0 T ) ∥ x t 0 ∥ ( V t 0 ) − 1 + ϵ 0 ] . (62)
The response event and the two noise events hold together with probability at least 1 − δ 1-\delta 1 − δ . The conditional noise inequalities are established before this intersection, as in the exact-model proof.
Routing comparison. Work on that common event and put W ~ t , j = W ^ t , j − 8 G 2 B ∗ a p p u t , j \widetilde{W}_{t,j}=\widehat{W}_{t,j}-8G^2B_*^{\mathrm{app}}u_{t,j} W t , j = W t , j − 8 G 2 B ∗ app u t , j . Equation (61) gives W ~ t , j ≤ W t , j ∗ + 4 G 2 ϵ ∗ \widetilde{W}_{t,j}\le W_{t,j}^*+4G^2\epsilon_* W t , j ≤ W t , j ∗ + 4 G 2 ϵ ∗ and W t , j ∗ − W ~ t , j ≤ 16 G 2 B ∗ a p p u t , j + 4 G 2 ϵ ∗ W_{t,j}^*-\widetilde{W}_{t,j}\le16G^2B_*^{\mathrm{app}}u_{t,j}+4G^2\epsilon_* W t , j ∗ − W t , j ≤ 16 G 2 B ∗ app u t , j + 4 G 2 ϵ ∗ . If both learner and oracle query, score maximality compares their lower risk estimates plus fees. Each expert contributes at most 4 G 2 ϵ ∗ 4G^2\epsilon_* 4 G 2 ϵ ∗ of model error, giving 8 G 2 ϵ ∗ 8G^2\epsilon_* 8 G 2 ϵ ∗ in total. If only one queries, the comparison incurs at most 4 G 2 ϵ ∗ 4G^2\epsilon_* 4 G 2 ϵ ∗ and the absolute free-risk error; if both are free, regret is zero. Therefore
E [ C t ∣ F t ] − C t ∗ ≤ ∣ L ^ t 0 − L t 0 ∣ + 8 G 2 ϵ ∗ + 1 { I t ≠ 0 } G 2 { 16 B ∗ a p p u t , I t + ρ t } . (63) \mathbb{E}[C_t\mid\mathcal{F}_t]-C_t^* \le|\widehat{L}_t^0-L_t^0|+8G^2\epsilon_*+1\{I_t\ne0\}G^2\{16B_*^{\mathrm{app}}u_{t,I_t}+\rho_t\}. \tag*{(63)} E [ C t ∣ F t ] − C t ∗ ≤ ∣ L t 0 − L t 0 ∣ + 8 G 2 ϵ ∗ + 1 { I t = 0 } G 2 { 16 B ∗ app u t , I t + ρ t } . (63)
The width summations in the exact-model proof hold for any τ > 0 \tau>0 τ > 0 , including equation (56) :
∑ t : I t ≠ 0 u t , I t ≤ N T H ( N T ) + H ( N T ) / τ , ∑ t = 1 T ∥ x t 0 ∥ ( V t 0 ) − 1 ≤ W ( T , d 0 , λ 0 ) . \sum_{t:I_t\ne0}u_{t,I_t}\le\sqrt{N_T\mathcal{H}(N_T)}+\mathcal{H}(N_T)/\tau,\qquad\sum_{t=1}^{T}\|x_t^0\|_{(V_t^0)^{-1}}\le\mathcal{W}(T,d_0,\lambda_0). t : I t = 0 ∑ u t , I t ≤ N T H ( N T ) + H ( N T ) / τ , t = 1 ∑ T ∥ x t 0 ∥ ( V t 0 ) − 1 ≤ W ( T , d 0 , λ 0 ) .
Summing equation (63) , using equations (59) and (62) , and substituting τ = 4 B ∗ a p p / E ˉ T a p p \tau=4B_*^{\mathrm{app}}/\bar{E}_T^{\mathrm{app}} τ = 4 B ∗ app / E ˉ T app proves equation (57) . Empty query sequences and empty eligible sets are covered by the same bounds. ∮ედვით
Dependence on approximation error. For fixed problem parameters and δ = ( T + 1 ) − 2 \delta= (T + 1)^{-2} δ = ( T + 1 ) − 2 , the right-hand side of equation (57) is at most a constant times
T log ( T + 1 ) + T ε R log ( T + 1 ) + T ( ε 0 + ε ∗ ) log ( T + 1 ) . \sqrt{T}\log(T + 1) + T\varepsilon_R\log(T + 1) + T(\varepsilon_0 + \varepsilon_*)\sqrt{\log(T + 1)}. T log ( T + 1 ) + T ε R log ( T + 1 ) + T ( ε 0 + ε ∗ ) log ( T + 1 ) .
The constant depends on the same fixed problem quantities as in theorem 6.3, and not on the tolerances or T T T . At zero approximation error this recovers the original rate; theorem 6.3 gives the sharper response-concentration constant. For fixed positive errors, the bound’s approximation terms are linear in T T T up to logarithmic factors. The conditional laws may vary subject to the stated approximation bounds. If a known deterministic bound D ‾ T \overline{D}_T D T on D T D_T D T is available, it can replace T ε R T\varepsilon_R T ε R in the horizon envelope. Such a bound must hold almost surely for the analyzed interaction; a bound holding only with high probability requires its failure probability to be included.
Additional experiments
We report (i) learning curves on the four benchmark streams (Appendix § 14 .§ 1 ); (ii) cost and query rates at six consultation prices (Appendix § 14 .§ 2 ); and (iii) routing comparisons with a common response learner (Appendix § 14 .§ 3 ). Appendix § 15 describes the data and expert construction.
Common protocol. We rank methods by mean squared prediction error plus the consultation fees actually paid. A free prediction incurs no fee. All methods receive the same public information, availability schedule, and fee for each expert; only the selected expert’s answer is revealed. Reported real-data costs are in squared-temperature units. We select hyperparameters by fee-inclusive cost on validation data and report results on separate test data. This protocol applies to the four benchmarks, every consultation price, and the matched-response comparisons. Hyperparameters remain fixed during test evaluation; the methods continue their prescribed online updates after each round’s feedback. The benchmark search budget is 256 configurations per method and dataset.
Repetitions and reporting. Benchmark means and sample standard deviations use five learner seeds on each fixed stream. Deterministic methods have identical replays; we omit zero standard deviations. Bold values indicate the lowest displayed cost within a comparison, including ties. Exact configurations, seeds, and trajectories are retained with the experimental records.
Learning on the four benchmark streams
In brief. RESPONSE-AWARE UCB has the lowest final mean total cost among the eight methods on all four streams. The trajectories show how these endpoint comparisons develop as the methods learn from selected answers.
Data. We use a synthetic stream, daily Melbourne temperatures ([28 ] ), four-hourly Jena observations ((Max Planck Institute for Biogeochemistry, n.d.)), and daily Delhi observations ((sumanthvrao, 2019)). The synthetic process alternates between regimes favoring free prediction, direct deferral, linear correction, and nonlinear correction. The real-data splits are chronological: Melbourne uses a 1200-observation fitting prefix that is also replayed for offline warmup; Jena uses 2000 fitting and 2000 warmup observations; Delhi uses 600 fitting and 250 warmup observations. Jena standardization uses its full fitting-and-warmup prefix. No scored observation enters these preprocessing fits.
Experts. Synthetic and Melbourne each have twelve simulated experts in four families, with four experts available per round. Melbourne’s private sensors combine real temperatures with controlled bias and noise. Jena has twelve frozen models from random forests, extra trees, gradient boosting, and radial-basis kernel ridge, with four available per round. Delhi has six frozen tree-based models, with four to six available. An internal ridge predictor updates after each revealed real-data outcome. Predetermined availability schedules create absence and return, allowing the response learner to reuse an identity’s earlier observations. The seven external baselines deploy purchased answers unchanged; their linear, sampling, neural, discounted, and restart-based implementations follow the methods cited in section 7.
Metric and fees. Every point in Figure 2 is the running mean total cost from the first scored round, not a moving-window average. Per-query fees are 0.07, approximately 0.30, approximately 0.17, and 0.02 on synthetic, Melbourne, Jena, and Delhi, respectively. Lines average the five learner seeds; bands show one sample standard deviation.
Figure 2. Fee-inclusive test learning curves on all four streams. Every scored round is included, with linear cost axes starting at zero. Running means start at the first scored round. Shading shows one learner-seed standard deviation where nonzero.
Results. The final costs are 0.08092, 4.49069, 3.72844, and 2.59240, respectively, compared with 0.08316, 4.61400, 4.02127, and 2.63729 for the best external baseline on each stream. Table 1 gives the complete endpoint comparison. The plots retain the full scored intervals and every baseline.
Cost-sensitive consultation
In brief. Across the six price-specific configurations, RESPONSE-AWARE UCB reduces its query fraction from 96% to 0.1% while retaining lower mean total cost than the external baselines under equal hyperparameter-search budgets.
Data. We use the same Jena validation and test blocks as the benchmark. Every price is evaluated by replaying warmup and scoring, so a new fee can change both the purchased observations and the learned responses.
Experts and comparisons. We retain the twelve frozen Jena experts, their four-family availability schedule, and the same internal predictor. We compare with all seven external baselines. For each price, we select every method’s configuration on the validation block and evaluate it on the test block, using equal search budgets for RESPONSE-AWARE UCB and all seven external baselines.
Metrics and fees. A multiplier m m m changes the common per-query fee to β ( m ) ≈ 0.17 m \beta(m) \approx0.17m β ( m ) ≈ 0.17 m ; the unrounded base fee is used in every replay. The two metrics are mean total cost and the fraction of scored rounds with a query. Their joint interpretation matters: avoiding a query saves its fee but can increase prediction error. The six multipliers 1, 3, 5, 7.5, 12.5, 50 span frequent consultation to near-free prediction. Reported standard deviations describe learner-seed variability.
Results at six prices. Table 5 presents the external comparisons, with cost and query percentage in separate panels. RESPONSE-AWARE UCB has lower cost than every external baseline at each price. Its query rates are 96%, 79.4%, 9.7%, 8.15%, 1.85%, and 0.10%. The base-price configuration in this study is selected separately from the benchmark configuration.
Table 5: Jena test performance against external baselines at six prices. Panels share the same methods and six prices; fees and total costs are in squared-temperature units. Entries show mean and nonzero sample standard deviation. Bold marks minimum displayed total cost in each column; query percentages are not ranked. The configuration-selection protocol is stated above.
Table 5. Jena test performance against external baselines at six prices. Panels share the same methods and six prices; fees and total costs are in squared-temperature units. Entries show mean and nonzero sample standard deviation. Bold marks minimum displayed total cost in each column; query percentages are not ranked. The configuration-selection protocol is stated above.
Figure 3. Six-price test comparison with external baselines: total cost and query fraction. The fee axis is logarithmic. Error bars show one sample standard deviation when nonzero; lines join the measured prices without smoothing. The cost axis has a nonzero origin.
Routing with the same response learner
In brief. With the response architecture held fixed, RESPONSE-AWARE UCB attains the lowest cost on all four streams, tying joint response UCB on three and improving on both UCB alternatives on Delhi.
Data. We use all four benchmark streams with the same fitting, warmup, validation, and test intervals. Public information and preprocessing are unchanged from Appendix § 14 .§ 1 .
Experts and routers. Every querying method uses the same experts and cubic correction learner, including shared and identity responses, pooling, and retained memory. Joint response UCB retains our shared and identity risk features but uses ordinary unit-weight ridge regression. Disjoint response UCB instead fits a separate ordinary risk regression for each expert. Both alternatives select their confidence coefficient and risk regularization on validation data using the same 256-configuration budget per dataset; response settings remain fixed. Cyclic response queries the next available identity in registry order; free prediction never queries. Each router learns from its own purchases, so its fitted responses reflect its acquisition decisions.
Metric and fees. We report mean squared error plus the same benchmark consultation fees: 0.07, approximately 0.30, approximately 0.17, and 0.02. The risk-regression target is the loss of the deployed, corrected prediction, not the loss of the expert answer before correction.
Results. Table 6 compares the routers across all four streams. On Delhi, RESPONSE-AWARE UCB costs 2.59240, compared with 2.62820 for joint response UCB and 2.62465 for disjoint response UCB. Joint response UCB matches the benchmark costs on the other three streams. Both cyclic querying and never querying have higher cost than RESPONSE-AWARE UCB on every stream.
Table 6. Matched-response routing: mean total test cost on all four streams. All querying methods can correct the selected expert’s answer. Bold values mark the minimum per dataset.
Data and expert construction
The benchmarks use two types of expert answers. Synthetic and Melbourne use simulated signals whose bias, noise, and nonlinear distortion we can control. Jena and Delhi use predictions from models fitted to earlier observations and then frozen. This distinction lets us study correction both when the answer mechanism is known and when errors come from trained predictors. Within each dataset, all methods use the same prepared stream and availability schedule. Appendix E.1 gives the evaluation protocol and consultation fees; we describe the inputs and experts here. Full generator and model configurations are retained with the experimental records.
Shared preprocessing
Information available to the learner. All routers receive the same public features, internal prediction, availability, and fees. The features describe the current context and, on real data, the internal predictor’s past errors. They never contain the current outcome or an unpurchased expert answer. Melbourne and Delhi use only lagged measurements and calendar features. Jena additionally uses weather covariates observed at the target timestamp, before temperature is revealed.
Feature scaling. We standardize continuous covariates using the dataset’s preprocessing prefix; calendar sine–cosine terms and the linear trend remain as constructed. Melbourne uses its fitting block, which is also replayed for offline warmup. Jena uses its full fitting-and-warmup prefix, with the transform fixed before replay. No scored observation enters these fits. For the real-data streams, the regression state is
x t c t x = ( p + 3 ) − 1 / 2 ( 1 , clip [ − 3 , 3 ] ( x ~ t ) / 3 , v t − 1 , v ˉ t − 1 ) T . x_t^{\mathrm{ctx}}=(p+3)^{-1/2}\left(1,\operatorname{clip}_{[-3,3]}(\widetilde{x}_t)/3,v_{t-1},\bar{v}_{t-1}\right)^{\mathsf{T}}. x t ctx = ( p + 3 ) − 1/2 ( 1 , clip [ − 3 , 3 ] ( x t ) /3 , v t − 1 , v ˉ t − 1 ) T .
where x ~ t ∈ R p \widetilde{x}_t \in\mathbb{R}^p x t ∈ R p contains the preprocessed public features. The two error coordinates are bounded logarithmic transforms of the internal predictor’s previous squared error and its exponentially weighted average. Both use only past outcomes. Each coordinate inside the parentheses lies in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , so ∥ x t c t x ∥ 2 ≤ 1 \lVert x_t^{\mathrm{ctx}}\rVert_2 \le1 ∥ x t ctx ∥ 2 ≤ 1 . In Response-Aware UCB, we use x t 0 = s t , j = ℓ t , j = x t c t x x_t^0=s_{t,j}=\ell_{t,j}=x_t^{\mathrm{ctx}} x t 0 = s t , j = ℓ t , j = x t ctx ; expert identity enters through the registry block of c t , j c_{t,j} c t , j . The baselines receive the same context vector without that expansion.
Prediction units. On real data, we divide outcomes and predictions by the internal predictor’s fitting root mean squared error s s s , and fees by s 2 s^2 s 2 . We convert reported costs back to squared-temperature units; synthetic data use s = 1 s=1 s = 1 . The physical residual and disagreement bounds ( R p h y s , D p h y s ) (R_{\mathrm{phys}},D_{\mathrm{phys}}) ( R phys , D phys ) are ( 1.2 , 1.3 ) (1.2,1.3) ( 1.2 , 1.3 ) , ( 15 , 20 ) (15,20) ( 15 , 20 ) , ( 15 , 25 ) (15,25) ( 15 , 25 ) , and ( 8 , 14 ) (8,14) ( 8 , 14 ) for synthetic, Melbourne, Jena, and Delhi, respectively. The learner uses R = R p h y s / s R=R_{\mathrm{phys}}/s R = R phys / s , D = D p h y s / s D=D_{\mathrm{phys}}/s D = D phys / s , and G = R + D G=R+D G = R + D . Internal and frozen-model predictions are clipped to [ − 50 , 60 ] [-50,60] [ − 50 , 60 ] on real data; corrected predictions receive no additional clipping. Bounds are checked without truncating observations.
Synthetic
The synthetic stream separates four situations: free prediction is adequate, an expert can be used directly, an expert needs rescaling, or an expert needs nonlinear correction. These regimes recur every 240 rounds, with 60 rounds per regime. The public context contains a constant and four sine–cosine pairs of this phase, normalized by 5 \sqrt{5} 5 .
The internal prediction h t h_t h t is a fixed periodic signal. In regime r r r , the outcome is Y t = h t + μ r ( U t ) + ϵ t Y_t=h_t+\mu_r(U_t)+\epsilon_t Y t = h t + μ r ( U t ) + ϵ t , where U t U_t U t is a symmetric seven-point latent signal on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] and ϵ t \epsilon_t ϵ t is mean-zero noise on { − 0.2 , 0 , 0.2 } \{-0.2,0,0.2\} { − 0.2 , 0 , 0.2 } . The regime functions are
μ 0 ( u ) = 0 , μ 1 ( u ) = u , μ 2 ( u ) = 0.65 u , \mu_0(u)=0,\qquad\mu_1(u)=u,\qquad\mu_2(u)=0.65u, μ 0 ( u ) = 0 , μ 1 ( u ) = u , μ 2 ( u ) = 0.65 u ,
μ 3 ( u ) = 0.12 u + 0.30 tanh ( 3 u ) + 0.50 ( u 2 − E U t 2 ) . \mu_3(u)=0.12u+0.30\tanh(3u)+0.50(u^2-\mathbb{E}U_t^2). μ 3 ( u ) = 0.12 u + 0.30 tanh ( 3 u ) + 0.50 ( u 2 − E U t 2 ) .
The last regime includes a hyperbolic-tangent term rather than using a cubic polynomial as its generating function.
Twelve experts form four families with three identities each. Their answers are noisy, biased linear measurements of U t U_t U t added to h t h_t h t . Three families specialize in the informative regimes; the fourth gives a noisier signal across regimes. Shared and identity-specific noise make expert answers dependent without making them identical. One identity per family is available at a time, for 150 rounds followed by 300 rounds of absence. The generated outcomes and all potential answers are fixed across learner seeds.
Melbourne
We use daily minimum temperatures from Melbourne [28 ] , with 365 initial observations reserved to form lags. Public features are temperature lags 1, 2, 7, 14, 30, 365, weekday and annual sine–cosine pairs, the second annual harmonic, and a linear trend. An internal ridge predictor is fitted before the online replay and subsequently updated from revealed outcomes.
The twelve experts are simulated sensors, not trained forecasters. They measure the current temperature through four response types: identity, two linear rescalings, and a saturating hyperbolic-tangent transform. Specifically, the transforms of the clipped standardized residual u t = clip [ − 5 , 5 ] ( ( Y t − h t ) / s ) u_t = \operatorname{clip}_{[-5,5]}((Y_t-h_t)/s) u t = clip [ − 5 , 5 ] (( Y t − h t ) / s ) are u t u_t u t , 0.65 u t 0.65u_t 0.65 u t , tanh ( 1.8 u t ) / 1.8 \tanh(1.8u_t)/1.8 tanh ( 1.8 u t ) /1.8 , and 0.8 u t 0.8u_t 0.8 u t . Sensor reliability varies with season and recent temperature change, measured by the absolute difference between standardized lag-one and lag-seven features relative to its fitting-prefix distribution. Lower reliability attenuates the signal and increases noise. Each family contains three identities with small gain and bias differences; noise has both shared and identity-specific components.
This construction combines real temperature dynamics with controlled measurement errors. Only the purchased sensor answer is revealed. One identity per family is available each day; identities rotate after 25 days, giving each a 50-day absence before its next active period.
Jena
We sample the Jena climate series (Max Planck Institute for Biogeochemistry, n.d.) every four hours and predict temperature. Its 13 public features are pressure, humidity, wind speed, temperature lags 1, 6, 42, 180, and hour, weekday, and annual sine–cosine pairs. Pressure, humidity, and wind speed are contemporaneous measurements; all temperature inputs are lagged.
The twelve frozen experts belong to four families: random forests, extra trees, gradient-boosted trees, and RBF kernel ridge. Each family contains three models with different depths or kernel widths, giving distinct predictors without changing the prediction task. These models are fitted on the initial 2000 observations using scikit-learn [59 ] . They remain frozen while the common internal ridge predictor updates after each outcome.
One identity per family is available at a time. The active identity changes every 84 rounds, corresponding to 14 days of availability followed by 28 days of absence. The schedule is fixed independently of the router’s purchases.
Delhi
We predict daily mean temperature in the Delhi climate series (sumanthvrao, 2019). The 16 public features are one-day-lagged humidity, wind speed, and pressure; temperature lags 1, 2, 7, 14, 30, 365; weekday and annual sine–cosine pairs; the second annual harmonic; and a linear trend. Unlike Jena, this stream uses no contemporaneous weather measurements.
Six frozen scikit-learn models [59 ] are fitted on the initial 600 transformed observations: two random forests, two extra-trees models, and two gradient-boosted models. Different tree depths distinguish the two experts within each family. The common internal ridge predictor is initialized on the same prefix and updates after each revealed outcome.
Four to six experts are available per round. Two are always available; the others follow a fixed schedule of absences, with one arriving during warmup. Identities persist across the stream, and the availability schedule is shared by every method.
Extended related work
Learning to defer. L2D extends selective prediction by replacing rejection with a decision to rely on an external expert. Selective prediction studies the error–rejection tradeoff [12 ] , convex rejection losses [5 ] , and abstention with deep networks [19 ] . Predictor–rejector formulations learn prediction and rejection scores [13 , 14 , 57 , 40 ] ; other formulations accommodate arbitrary task losses [8 ] or score rejection as an additional action [43 ] . Deferral instead accounts for the receiving expert’s errors [38 , 54 ] , with multiple-expert methods comparing input-dependent performance [72 , 41 ] or selecting a set of experts [49 ] . This dependence on expert capabilities motivates work on fairness and accuracy in routing [32 ] , complementary human–AI teams [24 ] , sample-efficient training with expert predictions [11 ] , and fine-tuning for individual experts [61 ] . Joint predictor–router training has been studied through exact optimization for linear models [55 ] , softmax parameterizations for probability estimation [9 ] , and losses that mitigate classifier underfitting [36 ] . Two-stage methods instead fit the predictor before learning the router [39 ] , while Montreuil et al. [48 ] separate classifier and expert-utility heads during training. The observations available for learning are another distinction: budgeted deferral queries a subset of experts on each labeled example [16 ] , and probabilistic deferral handles missing expert annotations while controlling workload allocation [56 ] . Other methods accommodate experts unseen during training through meta-learning [71 ] or identity-free deferral [68 ] . Online routing with varying experts and selected-action feedback [17 ] and deferral in non-stationary time series [53 ] address changes during deployment. Beyond classification, L2D has been developed for regression [42 ] , multi-task learning [47 ] , and adversarial robustness in both two-stage and one-stage systems [46 , 52 ] . Applications include sequential medical decisions [30 ] , guided deferral with language models in healthcare [66 , 67 ] , and query allocation in extractive question answering [50 ] . Causal approaches study counterfactual second opinions [15 ] and the evaluation of deferring systems [58 ] . Expert input can also inform a prediction rather than replace it: Kerrigan et al. [31 ] combine human predictions with model probabilities, and Pugnana et al. [60 ] learn when to request human feedback for an enriched predictor. Related acquisition methods route to a classifier with additional features [62 ] or supply advice to a selected expert [51 ] . Our response instead transforms the purchased answer. We learn both acquisition and responses online, fitting the latter only on purchased answers. The router must therefore distinguish the loss of its current response from the risk achievable with the best feasible response.
Online routing and bandits. The choice of an expert is an action-selection problem with partial feedback. Linear contextual bandits estimate conditional action values and use confidence bounds to balance prediction and exploration [34 , 1 ] ; Thompson sampling uses parameter randomization [2 ] , and NeuralUCB uses neural gradient features for its confidence model [74 ] . Regression-oracle methods provide another route from prediction to contextual-bandit decisions [18 ] . Sleeping bandits restrict each round’s choice to the currently available actions [33 ] . These ideas underlie SleepingLinUCB, SharedLinUCB, LinTS, and NeuralUCB in our comparison. We also include mechanisms for changing action values: discounted linear regression in D-LinUCB [64 ] , and detector-triggered restarts in CUSUM-LinUCB and GLR-LinUCB, adapted from the non-contextual methods of Liu et al. [35 ] and Besson et al. [6 ] . The seven external baselines follow the same availability and feedback protocol and deploy purchased answers unchanged; separate matched-response comparisons retain our correction learner and vary the router. Our confidence weighting follows He et al. [23 ] , who study corrupted linear bandits. In our setting, response learning generates the discrepancy from the linear target; bounding this discrepancy lets us calibrate acquisition.
Paid information and aggregation. Learning to buy information is related to, but distinct from, choosing an expert whose answer is the final prediction. Janisch et al. [29 ] sequentially acquire feature values before classification, learning a policy from episodes sampled from labeled data. Paid-observation models also control which advice is obtained [65 ] (Reyzin et al. 2026), with different prediction and feedback structures. Stacked generalization likewise learns how to use other predictors’ outputs [73 , 21 ] . In our setting, however, the outputs available for fitting are selected by the router, and the resulting fitting errors affect future purchases. A purchased answer and the revealed outcome suffice to evaluate both response proposals and combine them by exponential weighting [10 ] .
Polynomial responses. Polynomial features allow nonlinear prediction with coefficients learned by linear methods. In online decision problems, Hu et al. [27 ] estimate contextual rewards by local polynomial regression, while Liu et al. [37 ] use local Taylor approximations with misspecified linear-bandit algorithms. Smoothness-adaptive contextual bandits address the choice of approximation scale [20 ] , and Maran et al. [44 ] use Legendre features to represent smooth state-action functions in reinforcement learning. Unlike these context- or action-based approximations, our dictionary transforms a purchased answer. The regret proof uses bounded features and linear coefficients, without smoothness or distributional orthogonality assumptions.