Net-SGD-UCB: Decentralized Contextual Bandit
- The paper presents Net-SGD-UCB, a decentralized algorithm that leverages online momentum SGD to estimate both shared and node-specific parameters efficiently.
- It decomposes contextual information into common and local components and uses an adaptive weight matrix to share only necessary information across nodes.
- Empirical and theoretical results demonstrate that Net-SGD-UCB scales sublinearly with network size and maintains robust regret guarantees in high-dimensional, noisy environments.
Searching arXiv for Net-SGD-UCB and closely related neural/UCB bandit references. Net-SGD-UCB is a decentralized, network-aware contextual linear bandit algorithm for multi-agent settings in which reward structure contains both a shared component and node-specific heterogeneity. It is introduced together with NetLinUCB in "Decentralized Contextual Bandits with Network Adaptivity" (Deng et al., 19 Aug 2025). The method is designed for synchronous learning over a network of nodes that face the same arm set but observe locally varying contexts and rewards. Its defining combination is a shared/local parameter decomposition, adaptive cross-node information sharing through a dynamically updated weight matrix, online momentum SGD for parameter estimation, a diagonal gradient-based uncertainty matrix, and a UCB action rule. In the formulation of the paper, this construction aims to preserve the statistical benefit of sharing common structure while avoiding the matrix inversions and communication burden of full centralization, especially in high-dimensional, streaming, and high-variance regimes (Deng et al., 19 Aug 2025).
1. Problem formulation
The algorithm is posed in a decentralized contextual linear bandit with nodes operating over rounds. At each round , node observes a context vector , chooses an arm , receives the reward of the chosen arm, and updates its local state (Deng et al., 19 Aug 2025).
A central modeling device is the decomposition of context into common and node-specific coordinates: For each arm , node has parameter
0
where 1 is shared across all nodes and 2 is local (Deng et al., 19 Aug 2025).
The reward model is linear: 3 with 4. The paper also states that, in the SGD-UCB analysis, the noise is treated as sub-Gaussian with variance 5 (Deng et al., 19 Aug 2025). The expected reward therefore satisfies
6
The network cumulative regret is defined by
7
where
8
The boundedness assumptions are
9
for all 0 (Deng et al., 19 Aug 2025).
This formulation sits between two extremes identified in the paper: disjoint local learners that relearn shared structure independently, and fully centralized shared learners that pool all information but pay higher computational and communication costs. Net-SGD-UCB is the first-order alternative within that design space (Deng et al., 19 Aug 2025).
2. Shared and local structure over an adaptive network
Net-SGD-UCB assumes an initially fully connected communication network, justified in the paper by 1, so that every pair of nodes shares at least some common feature structure (Deng et al., 19 Aug 2025). Effective communication, however, is not fixed; it is governed by an adaptive arm-specific weight matrix
2
where 3 measures the directional influence from node 4 to node 5 for arm 6 (Deng et al., 19 Aug 2025).
The matrix is initialized as
7
Its update uses two signals. The first is arm-selection similarity,
8
where 9 is the number of times node 0 selected arm 1. The second is common-context cosine similarity,
2
The paper states that these are combined and normalized to form 3, after which exponential smoothing is applied: 4 The exact closed-form combination rule before normalization is not specified beyond the pseudocode-level description (Deng et al., 19 Aug 2025).
The consequence of this structure is that only the common component is communicated and aggregated. After local updates, node 5 forms its shared estimate for arm 6 as
7
while the node-specific component remains local: 8 The paper explicitly states that Net-SGD-UCB communicates only shared parameter estimates, not raw data and not full local statistics (Deng et al., 19 Aug 2025).
This decomposition operationalizes a hybrid statistical assumption: all nodes benefit from a common arm-dependent signal, but each node retains personalized coordinates. A plausible implication is that the method is intended for environments in which full pooling would oversmooth node-specific effects, while purely local learning would be redundant on the common subspace.
3. SGD-based estimation and uncertainty construction
The defining algorithmic departure from matrix-based UCB methods is that Net-SGD-UCB replaces ridge-regression estimation with online stochastic gradient descent with momentum (Deng et al., 19 Aug 2025). For node 9, arm 0, and round 1, the paper uses the squared-error loss
2
with linear prediction
3
The gradient is
4
The momentum update is
5
followed by the parameter update
6
where 7 is the momentum parameter and 8 is the learning rate (Deng et al., 19 Aug 2025). The update is online, one observation at a time; the paper does not mention minibatching.
Uncertainty is tracked through a gradient-based matrix 9. The paper first defines
0
but then states that only diagonal entries are kept to reduce complexity (Deng et al., 19 Aug 2025). The online EMA update for coordinate 1 is
2
or, in algorithm form,
3
with 4 (Deng et al., 19 Aug 2025).
The diagonal accumulator is partitioned into shared and local blocks. The shared block 5 participates in cross-node uncertainty aggregation, whereas the local block 6 remains node-specific. This is the uncertainty analogue of the shared/local parameter split.
4. UCB index and decision rule
For node 7, arm 8, and round 9, the Net-SGD-UCB index is
0
The selected arm is
1
The first term is the predicted reward using the aggregated common estimate and the local estimate. The second is the optimism bonus. The common-component contribution uses squared weights 2, reflecting the variance-style aggregation stated in the paper, while the local-component contribution depends only on node 3's own uncertainty state (Deng et al., 19 Aug 2025).
This index mirrors the structure of NetLinUCB but substitutes gradient-based diagonal uncertainty for ridge covariance. NetLinUCB uses
4
whereas Net-SGD-UCB replaces 5 by 6 and closed-form ridge updates by first-order SGD (Deng et al., 19 Aug 2025).
A concise operational summary of one round is therefore: update 7; aggregate the shared estimate; compute per-arm UCB scores; choose the maximizing arm; observe the reward; update gradient, momentum, parameter, and diagonal uncertainty accumulator. This yields a fully decentralized procedure in which nodes share only summaries of the common component (Deng et al., 19 Aug 2025).
5. Regret guarantees and scaling properties
The paper gives both single-node and network-level guarantees. At the level of uncertainty accumulation, Proposition 6 states
8
while also noting that the notation is imprecise because the left-hand side is per-time and the right-hand side is cumulative; the intended object in the proof and subsequent use is 9 (Deng et al., 19 Aug 2025).
With probability at least 0, Proposition 7 gives the single-node regret bound
1
with 2 (Deng et al., 19 Aug 2025). The dependence is explicit in dimension 3, horizon 4, noise 5, momentum 6, and EMA smoothing 7.
Theorem 4 decomposes the network-wide regret into shared and node-specific terms. For the shared component,
8
and for the node-specific component,
9
The total regret is the sum of these two terms (Deng et al., 19 Aug 2025).
The scaling claim emphasized in the paper is that learning complexity associated with the shared structure is reduced from 0 to sublinear 1. Concretely, the paper contrasts a disjoint baseline with shared-component cost
2
against Net-SGD-UCB's shared-component term
3
(Deng et al., 19 Aug 2025). This is the main statistical argument for adaptive information sharing without full centralization.
The computational and communication profile is likewise central to the method's identity:
| Quantity | NetLinUCB | Net-SGD-UCB |
|---|---|---|
| Computation | 4 | 5 |
| Memory | 6 | 7 |
| Communication | 8 | 9 |
These complexity statements explain why the paper presents Net-SGD-UCB as the scalable first-order option, especially when 0 is large or matrix inversion is undesirable (Deng et al., 19 Aug 2025).
6. Empirical behavior, interpretation, and relation to adjacent UCB methods
The empirical evaluation in (Deng et al., 19 Aug 2025) is conducted on synthetic networked pricing simulations. The main metrics are average per-round regret over time,
1
and average per-round per-node regret,
2
The baselines are Disjoint LinUCB, Shared LinUCB, NetLinUCB, and Net-SGD-UCB (Deng et al., 19 Aug 2025).
Several findings are reported. First, the per-round regret 3 decreases toward zero, which the paper interprets as sublinear regret. Second, both network-aware methods, including Net-SGD-UCB, achieve per-node regret comparable to Shared LinUCB, supporting sublinear scaling in network size 4. Third, supplementary Figure 1(b) introduces a large contextual outlier, and Net-SGD-UCB remains robust due to adaptive variance tracking. Fourth, supplementary Figure 1(c) shows that when the number of actions increases, Net-SGD-UCB performs best. The paper repeatedly emphasizes that Net-SGD-UCB is stronger in noisier settings, whereas NetLinUCB is stronger when reward gaps are small and heterogeneity is fine-grained (Deng et al., 19 Aug 2025).
Supplementary Table 2 reports reduction in confidence radius relative to Disjoint LinUCB. For Net-SGD-UCB the reported reductions are 5 for 6, 7 for 8, and 9 for 00. For NetLinUCB the corresponding values are 01, 02, and 03 (Deng et al., 19 Aug 2025). The paper interprets these numbers as showing that NetLinUCB benefits more from denser connectivity, while Net-SGD-UCB is more stable and consistent across connectivity levels.
Within the broader UCB literature, Net-SGD-UCB is structurally closer to first-order, linear, decentralized optimism than to overparameterized neural contextual bandits. "Neural Contextual Bandits with UCB-based Exploration" (Zhou et al., 2019) uses a deep neural predictor and a confidence term built from dynamic gradient features 04, whereas Net-SGD-UCB uses a contextual linear reward model with a diagonal uncertainty matrix 05 built from past squared gradients (Zhou et al., 2019). "Neural Bandit with Arm Group Graph" (Qi et al., 2022) extends neural-gradient UCB to graph-structured arm groups, but there the graph indexes correlations among arm groups, not communication among decentralized agents, and the reward model includes a GNN representation stage before the UCB score is formed (Qi et al., 2022). In that sense, Net-SGD-UCB belongs to a different branch of the literature: networked contextual linear bandits with adaptive inter-agent sharing.
The paper also makes clear what Net-SGD-UCB does not eliminate. Communication still scales as
06
per round; the exact rule that combines arm-count similarity and context similarity into 07 is not fully specified beyond pseudocode; and several hyperparameters require tuning, namely 08, 09, 10, 11, and 12 (Deng et al., 19 Aug 2025). The theoretical presentation is also described in the source material as informal in some places, especially around cumulative versus per-step notation. These caveats delimit the method's present scope while clarifying its role: a scalable decentralized UCB algorithm that preserves shared/local structure and replaces matrix-based confidence estimation with momentum-SGD updates and diagonal EMA uncertainty (Deng et al., 19 Aug 2025).