Safe-AltGDmin: Constrained Multi-Task Bandits
- The paper introduces Safe-AltGDmin, a safe alternating projected gradient descent minimization procedure for constrained multi-task representation learning in linear bandit settings.
- It employs spectral initialization, alternating least-squares updates, and sample splitting to achieve exponential subspace contraction and sublinear regret.
- The method integrates conservative safe exploration with rigorous theoretical guarantees and empirical validations on synthetic data and Movielens-100K.
Searching arXiv for the cited papers and related work to ground the article. Safe-AltGDmin is the name given to the “Safe-Alternating projected Gradient Descent and minimization” procedure introduced for Constrained Multi-Task Representation Learning (CMTRL) in conservative linear bandits. It addresses a multi-task setting in which task parameters share a common low-dimensional representation, while every action must satisfy a stage-wise performance constraint relative to a known baseline. The method combines conservative exploration in the first epoch, truncated spectral initialization, alternating least-squares updates for task-specific coefficients, projected gradient descent on a shared feature extractor, and sample splitting to obtain high-probability safety, exponential subspace contraction, and sublinear regret (Lin et al., 12 May 2026).
1. Problem setting and formal objective
Safe-AltGDmin is formulated for linear bandit tasks in a dimensional space. At round , task selects an action and observes
where is unknown and the noise variables are i.i.d. zero-mean sub-Gaussian, with the analysis using Gaussian noise of variance . The tasks share an -dimensional representation, with , so that there exist 0 with orthonormal columns and 1 such that
2
The singular spectrum of 3 determines 4, 5, the condition number 6, and the noise-to-signal ratio 7 (Lin et al., 12 May 2026).
The defining safety requirement is stage-wise and baseline-relative. For each task 8 and round 9, a baseline action 0 and its known baseline reward 1 are given, and the learner must satisfy
2
with known 3. The safe set for task 4 is therefore
5
Because 6 is unknown, safety is enforced indirectly: epoch 7 uses conservative randomized mixtures of the baseline, and later epochs use greedy actions with respect to the current estimate, together with a high-probability safety proof (Lin et al., 12 May 2026).
The estimation problem is organized by epochs. If the horizon is partitioned as 8, then in epoch 9 the factorization 0 is fitted by minimizing the nonconvex squared loss
1
optionally with the Stiefel constraint 2, which the algorithm enforces through a projection or QR step (Lin et al., 12 May 2026).
2. Alternating projected GD and minimization
The algorithm alternates between minimization in the task-specific block 3 and projected gradient descent in the shared block 4. This is the same structural pattern as the broader AltGDmin framework for partly-decoupled optimization, in which the loss is differentiable in one block and the other block is fast to minimize, often because it decouples across clients or samples (Vaswani, 20 Apr 2025).
In Safe-AltGDmin, epoch 5 is a safe exploration phase. For each task 6 and each round 7, the action is
8
where the user parameter 9 trades exploration and safety. The paper also requires 0 for contraction in epoch 1, so that the Gram matrix remains well-conditioned (Lin et al., 12 May 2026).
Initialization is spectral and truncation-based. Let 2 be the 3 design matrix of epoch-4 contexts for task 5, and let 6 collect the corresponding rewards. The unnormalized method-of-moments estimator is
7
To mitigate heavy tails, the labels are truncated entrywise using a global threshold 8, giving 9, and then
0
The initial factor 1 is set to the top-2 left singular vectors of 3 (Lin et al., 12 May 2026).
Within each epoch, the data are partitioned into 4 disjoint blocks per task. This sample-splitting design removes statistical dependencies between the 5-update and the 6-gradient computation. For 7, the algorithm executes two steps. First, for each task 8, it solves ordinary least squares on block 9:
0
This gives the closed-form update
1
Second, using the independent block 2, it computes an empirical gradient of 3 at 4,
5
takes the step
6
and projects onto the Stiefel set
7
by QR or polar decomposition:
8
After 9 such iterations, the epoch output is 0, 1, and 2 (Lin et al., 12 May 2026).
3. Safety mechanisms and the meaning of “safe”
The “safe” component of Safe-AltGDmin is algorithmic and statistical rather than a separate projection onto an explicit safe action set. In epoch 3, safety is guaranteed by choosing 4 small enough. A sufficient condition states that, for confidence 5,
6
which yields, with probability at least 7,
8
for all 9 and all tasks 0. Since 1 is unknown, the analysis replaces it by the computable upper bound 2 derived from the incoherence parameter 3 (Lin et al., 12 May 2026).
In later epochs, the algorithm uses the greedy action
4
without an explicit safe-set restriction. Safety is instead proved by combining a uniform Gaussian concentration bound for
5
with exponential contraction of the estimation error. Under the sample-size and iteration conditions of the main theorem, every greedy action in epochs 6 satisfies
7
with high probability (Lin et al., 12 May 2026).
Several additional devices stabilize the optimization itself. The step size is chosen small enough that 8 is positive semidefinite; a practical form consistent with the proofs is
9
The only explicit constraint set projected onto in the CMTRL algorithm is the Stiefel set 0, while 1 remains unconstrained. This aligns Safe-AltGDmin with the broader AltGDmin literature, where projections, safe constant step sizes, robust spectral initializers, and sample splitting are the primary stability mechanisms rather than line search or trust-region procedures (Lin et al., 12 May 2026, Vaswani, 20 Apr 2025).
4. Assumptions and theoretical guarantees
The analysis assumes a shared representation 2 with orthonormal 3, bounded baseline gaps 4, Gaussian design and noise in epoch 5, and column-wise incoherence of 6:
7
These assumptions ensure that no single task dominates and that the effective local quadratic model has the strong convexity and smoothness needed for contraction (Lin et al., 12 May 2026).
The initialization guarantee states that if
8
then, with probability at least 9,
00
where
01
In epoch 02, if 03, if 04, and if the prescribed sample-size conditions hold, then with probability at least 05,
06
For later epochs, if 07 is sufficiently small and the per-epoch sample sizes are large enough at target accuracy 08, then
09
with probability at least 10, yielding exponential decay down to 11 (Lin et al., 12 May 2026).
The task-parameter errors inherit the same contraction:
12
The safety theorem combines these estimation bounds with lower bounds on the per-epoch sample sizes and the requirement
13
or the explicit logarithmic form appearing in the proof, to show that every greedy action in epochs 14 is stage-wise safe with high probability (Lin et al., 12 May 2026).
The regret guarantee is
15
with probability at least 16. Ignoring constants and logarithms, this gives
17
which depends on the intrinsic rank 18 rather than the ambient dimension 19 (Lin et al., 12 May 2026).
5. Relation to AltGDmin and federated low-rank recovery
Safe-AltGDmin is a specialized member of the AltGDmin family. In the general partly-decoupled template, one solves
20
where 21 is differentiable in 22 and the minimization over 23 is closed-form or reliably solved. When
24
the 25-update decomposes into 26 local problems, and clients transmit only partial gradients in the shared block 27, making AltGDmin communication-efficient in vertically federated settings (Vaswani, 20 Apr 2025).
The low-rank recovery literature that preceded Safe-AltGDmin already contained most of the optimization safeguards later emphasized in the bandit setting. For low-rank column-wise sensing, AltGDmin alternates closed-form updates
28
with a projected gradient step
29
and uses truncated spectral initialization, sample splitting, and constant step sizes such as 30 to obtain geometric convergence in subspace distance (Vaswani, 2023). For federated low-rank matrix completion, the algorithm similarly alternates decoupled least squares over columns with a masked gradient step and QR on 31, while row-incoherence projection at initialization preserves the assumptions needed for concentration and contraction (Abbasi et al., 2024).
A recurrent misconception is that “Safe-AltGDmin” names a universally standardized variant across the entire AltGDmin literature. The record is more specific. The CMTRL bandit paper explicitly introduces “Safe-AltGDmin” as a named algorithm (Lin et al., 12 May 2026). By contrast, the general AltGDmin framework paper states that no named “Safe-AltGDmin” variant is introduced there, even though its core method already incorporates safety-critical mechanisms such as QR projection, explicit safe step-size choices, robust spectral initializers based on truncation, incoherence projection for LRMC initialization, and sample splitting (Vaswani, 20 Apr 2025). The LRMC paper likewise presents “Toward a ‘Safe-AltGDmin’” as a safety-enhanced variant grounded in the analysis rather than the paper’s primary named algorithm (Abbasi et al., 2024).
6. Empirical behavior, implementation choices, and limitations
The empirical study for Safe-AltGDmin uses both synthetic data and Movielens-100K. In the synthetic setup, the default parameters are 32, 33, ten actions per round per task, Gaussian noise variance 34, and a baseline equal to the 5th-best action; 35 and 36 are drawn from Gaussian distributions and orthonormalized. In the Movielens-100K setup, ratings are normalized to 37, matrix factorization is used, columns are clustered into 38 groups to define task-specific contexts, and the rank is set to 39. Baselines include a trace-norm convex relaxation, Thompson sampling with safe set estimation per task, and a method-of-moments estimator followed by least squares and greedy action selection (Lin et al., 12 May 2026).
The reported findings are threefold. First, the estimation error 40 is consistently lower than for the baselines and improves as 41 increases, reflecting the benefit of shared representation learning. Second, Safe-AltGDmin and Thompson sampling with safe set estimation incur near-zero safety violations, whereas trace-norm and method-of-moments baselines show many violations because they ignore constraints. Third, the regret displays sublinear growth in 42 and 43, consistent with the 44 theory; trace-norm and method-of-moments procedures can have lower regret only by violating safety (Lin et al., 12 May 2026).
The implementation guidance given for the algorithm is tightly coupled to the theory. The paper recommends choosing
45
with 46, setting
47
and taking
48
or the explicit form from the safety theorem. The per-GD-iteration complexity is
49
projection costs 50, total per-epoch complexity is
51
and communication is 52 if the method is distributed (Lin et al., 12 May 2026).
The limitations stated for the method are equally specific. If tasks do not share a low-dimensional representation, so that the effective rank is large, the advantage diminishes because regret and sample complexity scale with 53. Tight safety parameters, meaning small 54, and weak baselines, meaning small 55, restrict epoch-56 exploration because 57 must be very small. Context distributions that are adversarial or heavy-tailed beyond the truncation robustness require more advanced robust estimators. The paper identifies nonlinear shared representations, contextual safety constraints, adaptive rank selection, and distributed or federated implementations leveraging the same AltGDmin core as natural extensions (Lin et al., 12 May 2026).