Contextual Bandit
Definition
Learning method that selects an action based on a context and receives only its result as feedback.
The system observes features of the situation, selects an available action and receives their reward or cost. It must use successful options while exploring alternatives. Unlike comprehensive reinforcement learning, the immediate decision is typically the priority.
Simply explained
You choose a possibility for the situation and learn from the result without being able to try out all the alternatives.
Why it matters in practice
Relevant for adaptive recommendations and the selection of content or offer variants.
Example from business
Example scenario: A portal selects suitable auxiliary articles and learns from helpful feedback.
Limits and pitfalls
- Only optimize clicks; suppress exploration; do not log selection probabilities; falsify offline comparisons by selection bias.
Origin & history
Developed from Bandit research and online learning; procedures were used for personalised recommendations, among other things.
Use in mid-sized companies
- Technically define rewards, document decision history and evaluate them before productive use and set limits.
Frequently asked questions
Is it A/B testing?
Another decision procedure. Does it see all results? No. Does it require exploration? Usually yes for new learning.
Sources
- Contextual Bandits · Vowpal Wabbit, Contextual Bandits
Source check: 10/09/2026. Definition and documented classification verified; examples describe possible applications.
Editorially reviewed on: