Papers
Topics
Authors
Recent
Search
2000 character limit reached

Matrix Contextual Bandits: Graph & Low-Rank Models

Updated 7 July 2026
  • Matrix contextual bandits are an online decision-making framework where matrix-valued contexts and an unknown low-rank parameter drive reward modeling.
  • They integrate generalized linear models with nuclear norm and Laplacian regularization to exploit both low-rank structure and user/item similarity graphs.
  • Algorithmic frameworks like Graph-UCB and online SGD debiasing balance exploration with valid inference, optimizing cumulative regret and uncertainty quantification.

Matrix contextual bandit (CB) denotes an online decision-making framework in which contextual information is represented as a matrix and the reward model is governed by an unknown low-rank parameter matrix. It is described as an extension of the well-known multi-armed bandit and is motivated by sequential decision-making scenarios in which low-rank structure is intrinsic, including recommendation-style settings with user and item features (Wang et al., 23 Jul 2025). In the formulation with graph information, matrix CB incorporates not only low-rank structure but also user–user and item–item similarity graphs through Laplacian regularization, while in the inference-oriented formulation it also supports valid online statistical inference under adaptive data collection by combining low-rank estimation with online debiasing (Han et al., 2022).

1. Problem formulation and reward models

In the recommendation-style formulation, at each round t=1,2,,Tt=1,2,\dots,T, the learner observes a user feature vector ptRd1p_t\in\mathbb{R}^{d_1} and an item feature vector qtRd2q_t\in\mathbb{R}^{d_2}, and combines them into an action matrix

Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.

The learner then chooses one of nn possible user–item pairs and receives a noisy reward yty_t. The expected reward is modeled by a generalized linear model,

E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),

where ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2} is an unknown low-rank matrix with rank rmin{d1,d2}r\ll \min\{d_1,d_2\}, A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B) is the Frobenius inner product, and ptRd1p_t\in\mathbb{R}^{d_1}0 is a known inverse-link function such as logistic, Poisson, or the identity (Wang et al., 23 Jul 2025).

The objective in this setting is cumulative regret minimization. With

ptRd1p_t\in\mathbb{R}^{d_1}1

the cumulative regret is defined as

ptRd1p_t\in\mathbb{R}^{d_1}2

This formulation makes explicit that action quality is determined through a matrix inner product against the latent low-rank parameter (Wang et al., 23 Jul 2025).

A related formulation studies online decision-making with matrix context in a binary-action setting. At each round ptRd1p_t\in\mathbb{R}^{d_1}3, an agent observes a collection of ptRd1p_t\in\mathbb{R}^{d_1}4 arms, with ptRd1p_t\in\mathbb{R}^{d_1}5 and ptRd1p_t\in\mathbb{R}^{d_1}6, where arm ptRd1p_t\in\mathbb{R}^{d_1}7 is associated with a matrix context ptRd1p_t\in\mathbb{R}^{d_1}8. Upon choosing arm ptRd1p_t\in\mathbb{R}^{d_1}9, the observed reward satisfies

qtRd2q_t\in\mathbb{R}^{d_2}0

with qtRd2q_t\in\mathbb{R}^{d_2}1. In the binary-arm setting, one may think qtRd2q_t\in\mathbb{R}^{d_2}2 (Han et al., 2022).

These two formulations share the same structural core: matrix-valued context, a low-rank latent parameter, and sequential arm selection. A plausible implication is that “matrix contextual bandit” is best viewed not as a single algorithm, but as a class of structured contextual bandit problems in which bilinear or matrix-structured covariates permit low-dimensional statistical regularization.

2. Low-rank structure and graph information

A central premise of matrix CB is that the unknown parameter matrix is low rank. In the generalized low-rank formulation, this is encoded by assuming qtRd2q_t\in\mathbb{R}^{d_2}3 has rank qtRd2q_t\in\mathbb{R}^{d_2}4, and estimation uses the nuclear norm

qtRd2q_t\in\mathbb{R}^{d_2}5

which promotes qtRd2q_t\in\mathbb{R}^{d_2}6 (Wang et al., 23 Jul 2025).

The graph-augmented model adds side information through a user–user graph qtRd2q_t\in\mathbb{R}^{d_2}7 with Laplacian qtRd2q_t\in\mathbb{R}^{d_2}8 and an item–item graph qtRd2q_t\in\mathbb{R}^{d_2}9 with Laplacian Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.0. Roughly speaking, if two users Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.1 are connected in Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.2, their corresponding rows of Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.3 should vary smoothly; likewise for connected items in Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.4 (Wang et al., 23 Jul 2025).

To exploit both sources of structure, the offline estimator is defined by the convex program

Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.5

The two Laplacian terms have explicit interpretations: Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.6 penalizes changes across the user graph, and

Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.7

penalizes changes across the item graph. Each Laplacian term enforces smoothness: if users Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.8 and Xt=ptqtRd1×d2.X_t = p_t q_t^\top \in \mathbb{R}^{d_1\times d_2}.9 are connected, then row nn0 and row nn1 of nn2 are encouraged to be similar; likewise for columns and nn3 (Wang et al., 23 Jul 2025).

This combination of nuclear norm regularization and matrix Laplacian regularization is the defining structural feature of the graph-informed variant. The paper’s abstract states that existing matrix CB methods fail to explore such graph information, and thereby making them difficult to generate effective decision-making policies; the proposed framework is intended to fill this void by integrating low-rank structure and graph information in a unified manner (Wang et al., 23 Jul 2025).

3. Algorithmic frameworks

The graph-informed method is organized as a two-phase algorithm called Graph-UCB. In Phase I, a small batch of nn4 exploratory samples nn5 is collected, the convex regularized estimator is solved to obtain nn6, and the top-nn7 SVD of nn8 is used to form low-dimensional subspaces. The problem is then projected into that subspace to reduce dimension (Wang et al., 23 Jul 2025).

In Phase II, the procedure applies an online generalized linear UCB rule. For each candidate action nn9, the score is

yty_t0

where yty_t1 is a tuning constant and yty_t2 is computed under a regularized design matrix. The stated design matrix includes a diagonal penalizer, the cumulative action outer products, and an action-graph regularizer: yty_t3 Here yty_t4 stacks all yty_t5 of the yty_t6 possible arms and yty_t7 is the Laplacian over the action graph; in practice one encloses both user and item Laplacians via Kronecker sums. At time yty_t8, the algorithm chooses the arm maximizing yty_t9, observes reward, and updates E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),0 and the GLM-MLE E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),1 (Wang et al., 23 Jul 2025).

A distinct algorithmic line studies fully online estimation and inference rather than a two-phase UCB procedure. In that setting, the low-rank parameter is factorized as E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),2 with E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),3 and E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),4, and the estimator is updated by stochastic gradient descent with inverse-probability weighting. After choosing E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),5 and observing E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),6, the stochastic gradient is

E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),7

followed by a re-normalization step via an E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),8 SVD so that E[ytXt]=μ(Xt,Θ),\mathbb{E}[y_t\mid X_t] = \mu\bigl(\langle X_t,\Theta^*\rangle\bigr),9, and

ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2}0

with decaying step size ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2}1, ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2}2 (Han et al., 2022).

Arm selection in that framework uses ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2}3-greedy,

ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2}4

For inference, each arm maintains two sequences: ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2}5, which is low-rank and biased for action selection, and ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2}6, which is unbiased and not low-rank for inference. The online debiasing step is

ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2}7

ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2}8

with the analogous update for arm ΘRd1×d2\Theta^*\in\mathbb{R}^{d_1\times d_2}9. After rmin{d1,d2}r\ll \min\{d_1,d_2\}0 rounds, low-rankness is reintroduced by the rank-rmin{d1,d2}r\ll \min\{d_1,d_2\}1 projection

rmin{d1,d2}r\ll \min\{d_1,d_2\}2

and for any test matrix rmin{d1,d2}r\ll \min\{d_1,d_2\}3,

rmin{d1,d2}r\ll \min\{d_1,d_2\}4

The paper characterizes this as an online doubly-debiased estimator that simultaneously handles low-rank bias and adaptive sampling bias (Han et al., 2022).

4. Regret analysis and statistical inference

Under mild regularity conditions—sub-Gaussian noise, bounded rmin{d1,d2}r\ll \min\{d_1,d_2\}5, and a link function with bounded derivative rmin{d1,d2}r\ll \min\{d_1,d_2\}6—Graph-UCB achieves, with high probability,

rmin{d1,d2}r\ll \min\{d_1,d_2\}7

where rmin{d1,d2}r\ll \min\{d_1,d_2\}8, rmin{d1,d2}r\ll \min\{d_1,d_2\}9 are feature dimensions, and A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B)0 is a factor that shrinks as graph information becomes richer; the more edges in A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B)1, the smaller A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B)2. The notation A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B)3 hides logarithmic factors (Wang et al., 23 Jul 2025).

The same source gives explicit comparisons to two baseline structural assumptions. Standard low-rank CB without graph achieves A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B)4, so Graph-UCB gains the factor A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B)5. Graph-only CB without low rank scales like A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B)6 for A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B)7, which is worse if A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B)8 (Wang et al., 23 Jul 2025). This comparison formalizes the claim that the method benefits from exploiting both structural sources simultaneously.

The inference-oriented formulation emphasizes a different theoretical target. Its low-rank SGD estimator satisfies a non-asymptotic convergence statement: under Assumptions 1–2, a good initialization, and A,B=tr(AB)\langle A,B\rangle=\operatorname{tr}(A^\top B)9, choosing ptRd1p_t\in\mathbb{R}^{d_1}00, ptRd1p_t\in\mathbb{R}^{d_1}01, yields for any ptRd1p_t\in\mathbb{R}^{d_1}02, with probability at least ptRd1p_t\in\mathbb{R}^{d_1}03,

ptRd1p_t\in\mathbb{R}^{d_1}04

The paper also states that the low-rank SGD part achieves ptRd1p_t\in\mathbb{R}^{d_1}05 estimation error, ptRd1p_t\in\mathbb{R}^{d_1}06, sufficient to drive ptRd1p_t\in\mathbb{R}^{d_1}07 regret in the ptRd1p_t\in\mathbb{R}^{d_1}08-greedy policy, described as standard linear bandit rates up to log-factors (Han et al., 2022).

Its principal inferential result is asymptotic normality for the doubly-debiased estimator. Let ptRd1p_t\in\mathbb{R}^{d_1}09 and ptRd1p_t\in\mathbb{R}^{d_1}10 be the projected online estimator. Under Assumptions 1–4, as ptRd1p_t\in\mathbb{R}^{d_1}11,

ptRd1p_t\in\mathbb{R}^{d_1}12

with

ptRd1p_t\in\mathbb{R}^{d_1}13

For the contrast between arms,

ptRd1p_t\in\mathbb{R}^{d_1}14

The framework also includes consistent online estimators ptRd1p_t\in\mathbb{R}^{d_1}15 and ptRd1p_t\in\mathbb{R}^{d_1}16, and

ptRd1p_t\in\mathbb{R}^{d_1}17

so that a ptRd1p_t\in\mathbb{R}^{d_1}18 confidence interval is

ptRd1p_t\in\mathbb{R}^{d_1}19

These results apply to both parameter inference and optimal policy value inference (Han et al., 2022).

5. Empirical evidence and application domains

The graph-informed study reports both synthetic and real-world experiments. In synthetic data, varying the Erdős–Rényi probability ptRd1p_t\in\mathbb{R}^{d_1}20 or the Barabási–Albert parameter ptRd1p_t\in\mathbb{R}^{d_1}21 shows that regret falls as the graph becomes denser, confirming the ptRd1p_t\in\mathbb{R}^{d_1}22-dependence. The reported comparisons state that Graph-UCB outperforms low-rank-only CB, graph-only CB, and classical GLM-UCB with vectorization and no structure (Wang et al., 23 Jul 2025).

On real data, the reported tasks are CCLE cancer cell-line drug sensitivity with linear rewards, MovieLens with binary click/no-click, and KDD Cup CTR data with Poisson counts. In all cases, Graph-UCB achieves the lowest cumulative regret and the fastest hit rate growth, which is presented as evidence that it learns the optimal arms more quickly by exploiting both low rank and graph smoothness (Wang et al., 23 Jul 2025).

The inference-focused study frames its applications more broadly as online decision-making problems with matrix context in fields ranging from healthcare to autonomous systems. Its stated contribution is not a new regret benchmark on those domains, but uncertainty quantification under adaptive sampling. It provides valid entry-level confidence intervals for ptRd1p_t\in\mathbb{R}^{d_1}23 in the online setting, corrects both low-rank bias and adaptive sampling bias, and enables hypothesis tests such as

ptRd1p_t\in\mathbb{R}^{d_1}24

(Han et al., 2022).

A plausible implication is that empirical evaluation in matrix CB now extends along two axes rather than one: reward maximization and uncertainty quantification. The first paper emphasizes cumulative regret and hit-rate behavior; the second emphasizes valid confidence intervals and asymptotic normality under adaptive data collection.

6. Relation to adjacent approaches and recurrent misconceptions

One recurrent misconception is that low-rank structure alone exhausts the exploitable structure in matrix contextual bandits. The graph-informed formulation explicitly rejects this view by positing user–user and item–item graphs whose connectivity captures similarity relations not represented by low-rankness alone. The stated comparison shows that standard low-rank CB without graph achieves ptRd1p_t\in\mathbb{R}^{d_1}25, whereas the graph-informed method gains a multiplicative factor ptRd1p_t\in\mathbb{R}^{d_1}26 in the regret bound (Wang et al., 23 Jul 2025).

A second misconception is the converse: that graph regularization alone is sufficient. The same comparison states that graph-only CB without low rank scales like ptRd1p_t\in\mathbb{R}^{d_1}27 for ptRd1p_t\in\mathbb{R}^{d_1}28, which is worse if ptRd1p_t\in\mathbb{R}^{d_1}29. This supports the interpretation that low-rankness and graph smoothness are complementary rather than interchangeable structural assumptions (Wang et al., 23 Jul 2025).

A third misconception is that matrix contextual bandit research is concerned only with reward maximization and not with statistical inference. The inference-oriented work identifies this gap directly: existing online decision algorithms mainly focus on reward maximization, while less attention has been devoted to statistical inference. It argues that standard low-rank estimators are biased and cannot be obtained in a sequential manner, while existing inference approaches in sequential decision-making fail to account for low-rankness and are also biased. Its proposed online debiasing procedure is intended to simultaneously handle both sources of bias (Han et al., 2022).

These clarifications indicate two distinct but compatible trajectories within the topic. One trajectory develops more expressive decision policies by enriching the reward model with graph information; the other develops inferential machinery for adaptively collected matrix-context data. This suggests that matrix contextual bandit research is increasingly defined by joint treatment of structure, adaptivity, and uncertainty rather than by arm selection alone.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Matrix Contextual Bandit (CB).