LinearAPT: An Adaptive Algorithm for the Fixed-Budget Thresholding Linear Bandit Problem

Yun-Ang Wu, Yun-Da Tsai, Shou-De Lin

TL;DR

LinearAPT is a novel algorithm designed for the Fixed-Budget Thresholding Linear Bandit (TLB) problem. It identifies which options (arms) exceed a specific performance threshold within a strict limit of trials by leveraging the linear relationships between them. It is the first algorithm to provide a theoretical upper bound for estimated loss in this specific setting, proving that its performance depends on the dimensionality of the problem rather than the total number of options.

What Problem Does This Paper Address?

In the world of Multi-Armed Bandits (MAB), the goal is usually to find the single best "arm" to maximize rewards. However, many real-world scenarios—like anomaly detection or medical screening—require identifying all options that surpass a certain quality threshold. This is known as the Thresholding Bandit Problem (TBP).

The authors focus on a more structured version: the Thresholding Linear Bandit (TLB). Here, the reward of each arm isn't independent; instead, it follows a linear model ($\mu_i = \langle \theta, x_i \rangle$), where $x_i$ is a known feature vector and $\theta$ is an unknown parameter. Specifically, they tackle the fixed-budget scenario, where a decision-maker has a hard limit of $T$ trials to classify as many arms as possible correctly. Prior to this paper, there was a gap in the literature: no algorithm provided a theoretical guarantee (an upper bound on loss) for the fixed-budget linear thresholding case.

Methods

The authors introduce LinearAPT, an adaptation of the Anytime Parameter-free Thresholding (APT) algorithm for linear structures.

The algorithm follows a two-step logic in every round:

  1. Estimation via Regression: Unlike unstructured bandits that simply average past rewards for a specific arm, LinearAPT uses regularized least-squares regression (Ridge Regression). By observing the rewards of pulled arms, it builds a global estimate ($\hat{\theta}_t$) of the hidden parameter $\theta$. This allows the algorithm to estimate the mean of any arm, even those it hasn't pulled recently.
  2. Adaptive Selection Rule: To decide which arm to pull next, it uses a selection metric $B_i(t) = \sqrt{T_i(t-1)}\hat{\Delta}_i(t-1)$, where $T_i$ is the number of times arm $i$ has been pulled and $\hat{\Delta}_i$ is the estimated "gap" (how far the arm's mean is from the threshold). It pulls the arm that minimizes this value, effectively targeting arms where the classification is most uncertain.

Datasets

The researchers evaluated LinearAPT using both synthetic and real-world data:

  • Synthetic Dataset: Arm vectors and the hidden parameter $\theta$ were sampled from a uniform distribution $\mathcal{U}([-1, 1]^d)$. They tested dimensions $d=5$ and $d=20$ to see how complexity scales.
  • Real-world Datasets (Modified): They used the classic Iris and Wine datasets from sklearn. Since these are originally classification tasks, the authors transformed them into linear regression tasks by sampling a random linear function to generate "pseudo-rewards," creating a more "natural" distribution of arms.

Key Insights and Ideas

  • The Power of Structure: The most significant insight is that in a linear setting, the error bound does not depend on the number of arms ($K$). In unstructured problems, as you add more arms, the problem gets harder. In TLB, because all arms share the same $\theta$, adding more arms doesn't necessarily increase the complexity—it just gives you more points to probe the underlying linear model.
  • Dimensionality vs. Budget: The theoretical bound includes a $-1/d$ term. This represents a fundamental trade-off: as the dimensionality ($d$) of the feature space increases, the "informational value" of each pull decreases, requiring a larger budget ($T$) to maintain accuracy.
  • Parameter-Free Efficiency: LinearAPT is "parameter-free" in the sense that it doesn't require complex hyperparameter tuning to perform well, unlike UCB-style algorithms that often require knowledge of the problem's complexity ($H$) to set exploration parameters.

Key Results

  • Theoretical Guarantee: The authors successfully derived an upper bound for the expected loss: $\mathbb{E}[\mathcal{L}(T)] \leq \exp \left( \log(1 + TL^2) - \frac{1}{d} \left( \sqrt{\frac{T}{\gamma^2 H}} - \|\theta\| \right)^2 \right)$. This confirms that the probability of misclassification drops exponentially with the budget $T$.
  • Empirical Performance: In experiments, LinearAPT consistently outperformed "Random" selection and the original "APT" (which ignores linear structure).
  • Robustness: While tuned versions of UCBE (Upper Confidence Bound Exploration) could sometimes match LinearAPT, they required specific hyperparameter settings that are usually unknown in practice. LinearAPT provided a "one-for-all" solution that worked across different datasets without manual tuning.

Limitations and Future Work

  • The Lower Bound Mystery: While the authors provided an upper bound (a guarantee on the maximum error), the lower bound (the theoretical limit of how well any algorithm can do) for the fixed-budget TLB remains unknown.
  • Generalization: The current work focuses on linear models. The authors suggest that exploring whether these techniques can generalize to other structured bandit settings (like kernelized or neural bandits) is a promising next step.
  • High-Dimensional Lag: The experiments showed that as dimensionality increases ($d=20$), the advantage of LinearAPT over unstructured methods like APT narrows initially because the algorithm needs more samples to form a reliable estimate of the high-dimensional $\theta$.

Summary updated

BibTeX
@inproceedings{wu2025linearapt,
  author = {Yun-Ang Wu and Yun-Da Tsai and Shou-De Lin},
  title = {{LinearAPT: An Adaptive Algorithm for the Fixed-Budget Thresholding Linear Bandit Problem}},
  booktitle = {Pakdd},
  year = {2025},
  doi = {10.1007/978-981-96-8170-9\_21},
}
Figure