Bandits with Knapsacks

Bandits with knapsacks extend bandit learning to settings where actions consume limited resources, so the algorithm must learn rewards while respecting budgets or supply constraints.

Key points

  • Slivkins treats bandits with knapsacks as one of the book's economics-oriented chapters, alongside bandits in repeated games and incentivised exploration [src-019].
  • The model is relevant when exploration is constrained by finite inventory, money, time, impressions, or other budgets rather than an unlimited sequence of identical trials [src-019].
  • The "knapsack" framing changes the objective: a good policy must balance expected reward against resource consumption, not just identify the best arm in isolation [src-019].
  • For product systems, this is the bandit variant to consider when recommendations, ads, procurement, marketplace allocation, or experimentation compete for scarce operational resources [src-019].

Related entities

Related concepts

Source references

  • [src-019] Aleksandrs Slivkins — "Introduction to Multi-Armed Bandits" (2019-04-15; revised 2024-04-03)

Robin Cartier perspective

This page is part of Robin Cartier's working AI knowledge graph: a practical research layer for production AI, recommendation systems, experimentation, GEO, and agentic web readiness.

The useful next step is to connect this concept back to applied product leadership and operating models.

Recommended next

Keep reading from this thread

From 500 indexed pages and articles.

  1. Wiki concept Adversarial Bandits Bandit problems where rewards or costs are not assumed to come from fixed IID distributions, so algorithms must perform well even Related by knapsacks
  2. Wiki concept Stochastic Bandits Bandit problems where each arm has a fixed reward distribution and rewards are independently sampled over time, making them the basic Related by bandits
  3. Wiki concept Thompson Sampling A Bayesian bandit algorithm that maintains a belief over possible reward models, samples from that belief, and chooses the action that Related by bandits