Skip to main content
QUICK REVIEW

[Paper Review] Online Learning with Vector Costs and Bandits with Knapsacks

Thomas Keßelheim, Sahil Singla|arXiv (Cornell University)|Oct 14, 2020
Advanced Bandit Algorithms ResearchDecision Sciences5 citations
TL;DR

This paper introduces Online Learning with Vector Costs ($\textsc{OLVC}_p$), a framework for minimizing the $\ell_p$-norm of cumulative vector costs in online decision-making. It reduces the multi-dimensional problem to a 1D surrogate using gradient-based optimization, enabling near-optimal regret in stochastic settings and a tight $O(\min\{p,\log d\})$ competitive ratio in adversarial settings, with applications to Bandits with Knapsacks (BwK).

ABSTRACT

We introduce online learning with vector costs (\OLVCp) where in each time step $t \in \{1,\ldots, T\}$, we need to play an action $i \in \{1,\ldots,n\}$ that incurs an unknown vector cost in $[0,1]^{d}$. The goal of the online algorithm is to minimize the $\ell_p$ norm of the sum of its cost vectors. This captures the classical online learning setting for $d=1$, and is interesting for general $d$ because of applications like online scheduling where we want to balance the load between different machines (dimensions). We study \OLVCp in both stochastic and adversarial arrival settings, and give a general procedure to reduce the problem from $d$ dimensions to a single dimension. This allows us to use classical online learning algorithms in both full and bandit feedback models to obtain (near) optimal results. In particular, we obtain a single algorithm (up to the choice of learning rate) that gives sublinear regret for stochastic arrivals and a tight $O(\min\{p, \log d\})$ competitive ratio for adversarial arrivals. The \OLVCp problem also occurs as a natural subproblem when trying to solve the popular Bandits with Knapsacks (\BwK) problem. This connection allows us to use our \OLVCp techniques to obtain (near) optimal results for \BwK in both stochastic and adversarial settings. In particular, we obtain a tight $O(\log d \cdot \log T)$ competitive ratio algorithm for adversarial \BwK, which improves over the $O(d \cdot \log T)$ competitive ratio algorithm of Immorlica et al. [FOCS'19].

Motivation & Objective

  • Address online learning with vector costs in $d$ dimensions, where the goal is to minimize the $\ell_p$-norm of the total cost vector.
  • Formalize the problem as a generalization of classical online learning (for $d=1$) and apply it to load balancing and BwK.
  • Develop a reduction technique from $d$-dimensional vector costs to a 1D surrogate problem to enable use of classical online learning algorithms.
  • Achieve sublinear regret in stochastic settings and tight competitive ratios in adversarial settings for both OLVC_p and BwK.
  • Apply OLVC_p techniques to improve competitive ratio for Bandits with Knapsacks from $O(d \log T)$ to $O(\log d \cdot \log T)$ in adversarial settings.

Proposed method

  • Reduce $d$-dimensional OLVC_p to a 1D surrogate problem via a gradient-based transformation of the cost vectors.
  • Use the $\ell_p$-norm of the total cost vector as the objective, with a surrogate function that maintains convexity and subgradient properties.
  • Apply classical online learning algorithms (e.g., Follow-the-Regularized-Leader) to the 1D surrogate, leveraging known regret bounds.
  • Introduce a dual variable $g^{(t)}$ to represent the gradient of the surrogate function, enabling efficient updates.
  • Use a regularization term $\Psi^{(t)}_{p,r}$ to control the stability of the dual variables and ensure bounded regret.
  • Apply the reduction to Bandits with Knapsacks (BwK) by modeling resource consumption as vector costs and using the surrogate to derive competitive ratios.

Experimental results

Research questions

  • RQ1Can online learning with vector costs be reduced to a 1D surrogate problem while preserving near-optimal regret and competitive ratios?
  • RQ2What competitive ratio can be achieved for OLVC_p in adversarial settings, and how does it scale with $d$ and $p$?
  • RQ3How does the proposed OLVC_p framework improve the competitive ratio for Bandits with Knapsacks (BwK) in adversarial settings?
  • RQ4What is the trade-off between regret in stochastic settings and competitive ratio in adversarial settings for OLVC_p?
  • RQ5Can the OLVC_p framework be used to derive tight bounds for BwK when the optimal solution is unknown?

Key findings

  • The paper achieves sublinear regret for OLVC_p in stochastic settings using the 1D surrogate reduction and classical online learning algorithms.
  • For adversarial OLVC_p, the competitive ratio is $O(\min\{p, \log d\})$, which is tight and improves upon prior work.
  • The competitive ratio for adversarial BwK is improved from $O(d \log T)$ to $O(\log d \cdot \log T)$, matching the best-known bounds up to logarithmic factors.
  • The algorithm achieves a reward of $\textsc{OPT}_{\textsc{BwK}} \cdot \left(1 - O\left(\left(\frac{(p+r)\|\mathbf{1}_d\|_p}{B}\right)^{1/2}\right)\right)$ in stochastic BwK, with high probability.
  • The method is robust to unknown $\textsc{OPT}_{\textsc{BwK}}$, as shown by removing the assumption that the optimal value is known in the analysis.
  • The theoretical guarantees are supported by gradient stability and Hölder’s inequality, ensuring bounded regret and convergence.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.