Gated Decoupled Compositional Bandits: A Unified Theory of Contextual Bandits with Supervised-Calibrated Action Scaling and Pre-Execution Gating
Abstract
We introduce Gated Decoupled Compositional Bandits (GDCB), a family of contextual bandit algorithms with three structural innovations that jointly fall outside the taxonomy of LinUCB, LinTS, HierTS, factored bandits, neural contextual bandits, and RLHF. In a GDCB system: (i) the action delivered to the environment is the composition of a nominal arm, drawn by a discrete or hierarchical bandit, with a context-dependent scaler; (ii) the scaler parameter is learned in a separate supervised loop, not jointly with arm selection; and (iii) every action passes through a pre-execution gate that may modify or veto the composed action before it reaches the environment. We formalise this class of algorithms, prove four structural theorems characterising its statistical behaviour, and show that six industrially significant systems -- short-term rental dynamic pricing, clinical drug dosing, credit origination, grid demand response, content moderation, and LLM tool-use agents -- are all instances of GDCB, differing only in the composition operator, scaler family, and gate. The central result is the Decoupling Variance Reduction theorem: a well-calibrated scaler removes context-induced variance from the arm-to-reward mapping, turning a non-stationary bandit problem into an approximately stationary one. The Gate-Induced Equivalence theorem shows that under a stationary gate, historical data collected under any prior policy is a valid warm-up initialiser without importance-sampling correction, generalising the companion P-HITL result (arXiv:2606.02595) from human approval to arbitrary gates. In regulated, high-stakes domains, constraints usually treated as deployment frictions -- approval gates, compliance rules, safety shields -- are the mechanism that makes fast deployment possible, not an obstacle to it. The companion paper validates instance 1 (STR dynamic pricing) on real production data.
Figures & tables
| P-HITL result (instance #1) | Generic GDCB result (this paper) | Specialisation |
|---|---|---|
| Dual cold-start algorithm | Theorem 4.8 (Sample-Complexity Lifting) | , = day-signal, = human approval |
| HITL structural equivalence | Theorem 4.3 (Gate-Induced Equivalence) | = human approval, stationary operator |
| 25-arm factored bandit + day-signal | Corollary 4.2 (from Thm. 4.1 ) | , bounded by ridge error |
| Cross-domain applicability survey | § 5 and § 5.3 | All six instantiations |
| # | Domain | (nominal) | Reward | ||
|---|---|---|---|---|---|
| 1 | STR pricing | 5 5 multiplier grid | multiplication | human approval | booked price |
| 2 | Clinical dosing | 5–7 dose levels | addition (offset) | physician + safety bounds | recovery adverse |
| 3 | Credit origination | 5 3 (rate tenor) | multiplication | compliance cap | repayment net interest |
| 4 | Grid demand resp. | 5 shed magnitudes | addition | grid stability constraint | stability interrupt cost |
| 5 | Content moderation | 3 actions (allow/warn/remove) | identity (severity as scale) | moderator + appeal filter | satisfaction violation rate |
| 6 | LLM tool use | tool choices | compositional prompt | safety policy filter | task success latency |
| # | Domain | Thm. 4.1 (Var. Red.) | Thm. 4.3 (Gate Equiv.) | Thm. 4.7 (Regret) | Thm. 4.8 (Lifting) |
|---|---|---|---|---|---|
| 1 | STR pricing | Day-signal removes cluster-occ. variance; 20–30% cold-start compression | Historical STR logs valid warm-up; empirically confirmed ( Miroshnichenko 2026b ) | dominates; from operator overrides | 1 461 hist. episodes serve both loops simultaneously |
| 2 | Clinical dosing | Dose offset absorbs patient-feature variance; dose-response becomes -invariant | EHR valid warm-up under stationary physician approval + safety bounds | dominates (dose exploration is expensive) | Historical EHR seeds both dose posteriors and GP scaler |
| 3 | Credit origination | Risk spread removes credit-score variance from rate-to-default mapping | Historical loan applications valid under stationary compliance function | from regulatory cap forcing suboptimal rates | Historical loan book seeds both loops |
| 4 | Grid demand resp. | Demand-feature offset stabilises shed-to-stability mapping | Any shielded historical policy valid (grid constraint is physics-stationary) | dominates (sparse stability feedback) | Historical SCADA logs seed both loops |
| 5 | Moderation | Severity score reduces post-content variance in action-to-satisfaction mapping | Historical moderation logs valid under stationary moderator + appeal filter | from policy drift (moderator turnover risk) | Historical moderation queue seeds both loops |
| 6 | LLM tool use | Retrieval scaler reduces prompt-to-tool-success variance | Historical tool-use logs valid under stationary safety policy | dominates (novel tool space requires exploration) | Historical API logs seed both loops |