---
title: Constrained Combinatorial Multi-Armed Bandit Model
url: https://www.emergentmind.com/topics/constrained-combinatorial-multi-armed-bandit-model
type: topic
---

# Constrained Combinatorial Multi-Armed Bandit Model

A constrained combinatorial multi-armed bandit (CMAB) model generalizes classical stochastic bandit problems by incorporating combinatorial action spaces together with explicit feasibility constraints on the selection or allocation of arms. The model formalizes sequential decision-making in resource allocation settings—such as budgeted assignment, scheduling, subset selection under side constraints—where, at each round, the learner selects a feasible combination of arms, each delivering potentially stochastic, arm-specific rewards. The combinatorial structure enables modeling of discrete or continuous allocations, cardinality-bounded selections, cost-limited subsets, matroid independence, and more, making CMABs an expressive framework for learning under resource or operational constraints.

## 1. Formal Model Specification

Let $K$ denote the number of resources (or arms), indexed by $k=1,\dots,K$. At each time step $t$, the learner selects an allocation vector $a_t=(a_{1,t},\dots,a_{K,t})$, where $a_{k,t}$ denotes the amount assigned to resource $k$ (discrete: $a_{k,t} \in \mathcal{A}_d = \{0,1,\dots,N-1\}$; continuous: $a_{k,t} \in \mathcal{A}_c = [0,Q]$). The set of feasible allocations is prescribed by the constraint
$$
\mathcal{X} = \left\{ a \in \mathcal{A}^K : \sum_{k=1}^K a_k \leq Q \right\}
$$
where $Q$ is the total available budget.

Upon allocating $a_{k,t}$ to arm $k$, the learner observes an individual reward
$$
r_{k,t} = f_k(a_{k,t}, X_{k,t})
$$
with $X_{k,t}$ drawn i.i.d. from an unknown distribution $D_k$. Functions $f_k(\cdot, \cdot)$ are bounded in $[0,1]$. The mean reward of allocating $a$ to $k$ is $\mu_{k,a} = \mathbb{E}_{X \sim D_k}[f_k(a,X)]$. In the semi-bandit setting, after each round the learner receives feedback on all $r_{k,t}$.

The generic objective is to maximize expected reward $r(a,D) = \sum_{k=1}^K \mu_{k,a_k}$ or, equivalently, to minimize cumulative regret over $T$ rounds:
$$
\mathrm{Reg}_{\alpha,\beta}(T; D) = T \cdot \alpha\beta \cdot \mathrm{opt}(D) - \sum_{t=1}^T r(a_t, D)
$$
where $\mathrm{opt}(D) = \max_{a \in \mathcal{X}} r(a, D)$ and the $(\alpha, \beta)$-oracle provides approximate solutions.

## 2. Optimization Formulation and Combinatorial Structure

The offline combinatorial optimization can be reformulated in terms of base arms and an allocation indicator vector $x \in \{0,1\}^{S}$, where $S = \{(k, a): k \in [K], a \in \mathcal{A}\}$:
$$
\begin{align}
\text{maximize}_{x \in \{0,1\}^S}\quad & \sum_{(k,a) \in S} \mu_{k,a} \cdot x_{k,a} \\
\text{subject to}\quad & \sum_{(k,a)} a \cdot x_{k,a} \leq Q \\
& \sum_{a \in \mathcal{A}} x_{k,a} = 1,\ \forall k \\
& x_{k,a} \in \{0,1\}
\end{align}
$$
Alternatively, when treating $a_k$ as the decision variable, the problem reduces to
$$
\max_{a \in \mathcal{X}}\; \mathbb{E}\left[\sum_{k} f_k(a_k, X_k)\right]
$$
with the given combinatorial constraints.

## 3. Algorithmic Approaches

### 3.1 CUCB-DRA: Discrete Resource Allocation

For discrete actions, the CUCB-DRA algorithm maintains, for each base arm $(k, a)$, its play count $T_{k,a}(t-1)$ and empirical mean $\widehat{\mu}_{k,a}(t-1)$, and computes a UCB index:
$$
\bar{\mu}_{k,a}(t) = \widehat{\mu}_{k,a}(t-1) + \sqrt{\frac{3\ln t}{2T_{k,a}(t-1)}}
$$
If $T_{k,a}=0$, set the index to infinity. At round $t$, the algorithm
1. Computes UCBs for all base arms.
2. Runs the offline $(\alpha,\beta)$-approximation oracle $O(\bar{\mu}_{k,a}(t), Q)$ to select $a_t$.
3. Executes $a_t$, observes semi-bandit feedback.
4. Updates statistics for each base arm played.

### 3.2 CUCB-CRA: Continuous Resource Allocation

For continuously-valued allocations, under an $L$-Lipschitz assumption on $f_k(a, \cdot)$, allocate via discretization with step size
$$
\epsilon = \left(\frac{B^2 Q^2 \ln T}{L^2 K T} \right)^{1/3}
$$
Construct the discretized set $\tilde{\mathcal{A}} = \{0, \epsilon, 2\epsilon, \dots, Q \}$ and run CUCB-DRA on $\tilde{\mathcal{A}}$.

Both algorithms guarantee exploration due to UCB indices, while ensuring feasibility via the oracle enforcing the budget constraints.

## 4. Regret Analysis

The expected reward function $r'(a, \mu)$ is monotone in $\mu$, possesses $1$-norm bounded smoothness $|r'(a,\mu) - r'(a, \mu')| \leq B \|\mu - \mu'\|_1$, and enables tight regret analysis.

### Discrete Case

Let $\Delta_{\min}^{k,a}$ denote the minimal gap for base-arm $(k,a)$. Distribution-dependent regret satisfies:
$$
\mathrm{Reg}_{\alpha, \beta}(T) \leq \sum_{(k,a)\in S} \frac{48 B^2 Q \ln T}{\Delta_{\min}^{k,a}} + 2B|S| + \frac{\pi^2}{3}|S| \Delta_{\max}
$$
Distribution-independent regret is:
$$
\mathrm{Reg}_{\alpha,\beta}(T) = O\left(B \sqrt{Q K |\mathcal{A}_d| T \ln T}\right)
$$

### Continuous Case

Balancing discretization and learning error, with $\epsilon \approx T^{-1/3}$,
$$
\mathrm{Reg}(T) = O\left((B Q K)^{2/3} L^{1/3} T^{2/3} (\ln T)^{1/3}\right)
$$

The proof employs concentration bounds (Hoeffding’s inequality), structural decomposition of regret, and summing over rounds as determined by confidence intervals and gap parameters.

## 5. Key Applications

The constrained CMAB framework addresses numerous real-world resource allocation tasks:

- **Wireless Spectrum Allocation:** $Q$ models spectrum power or channel capacity; resources are users/messages; $f_k(a, X_k)$ encodes throughput, latency.
- **Computing-Time Sharing:** $Q$ is total CPU time; allocation distributes time slots to jobs.
- **Smart Grid/Energy Procurement:** $Q$ is aggregate energy, arms are stations or generators, allocation optimizes charging schedules.

The semi-bandit feedback and constraint handling are intrinsic to operational domains with partial observability and explicit resource limits.

## 6. Extensions and Generalizations

The model generalizes to broader combinatorial families, such as knapsack, matroid, or matching constraints, by leveraging generic $(\alpha, \beta)$-approximating offline oracles. Richer feedback regimes (full-bandit/censored/contextual models) and adaptive/hierarchical discretization for continuous actions represent further directions for performance improvement and theoretical optimality assessment.

Analysis of regret lower bounds under constrained semi-bandit feedback, and design of optimal algorithms for these settings, remain key open questions. The flexible model architecture supports plug-in of advances from combinatorial optimization, multi-resource scheduling, and online learning theory, facilitating applications across network management, energy systems, and parallel computing [2105.04373].

Source: https://www.emergentmind.com/topics/constrained-combinatorial-multi-armed-bandit-model