← Latest papers
📊 statistics

A single algorithm for both restless and rested rotting bandits

This paper introduces Rotting Adaptive Window UCB (RAW-UCB), a novel algorithm that achieves near-optimal regret in both rested and restless rotting bandit settings without requiring prior knowledge of the specific environment or the nature of the reward decay.

Original authors: Julien Seznec, Pierre Ménard, Alessandro Lazaric, Michal Valko

Published 2026-04-24
📖 5 min read🧠 Deep dive

Original authors: Julien Seznec, Pierre Ménard, Alessandro Lazaric, Michal Valko

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are running a food truck with a menu of 10 different dishes. Your goal is to figure out which dish customers love the most so you can sell the most food. This is a classic "Multi-Armed Bandit" problem: you have to balance exploring new dishes to see if they are good and exploiting the one you think is currently the best.

However, in the real world, things aren't static. This paper tackles a specific, tricky version of this problem called "Rotting Bandits."

The Core Problem: The "Spoiling" Menu

In this scenario, every time you serve a dish, it gets slightly less popular.

  • The "Restless" Rotting: Imagine a news feed. Even if you don't show a news story to a user, it becomes outdated and less interesting just because time is passing. The value decays on its own.
  • The "Rested" Rotting: Imagine a song on a playlist. It only gets boring if you play it repeatedly. If you leave it alone for a while, it might still be fresh, but if you play it again and again, the user gets tired of it. The value decays only when you "pull the arm" (serve the dish).

The Big Challenge:
Previously, computer scientists thought these two situations required completely different strategies.

  • If you try to use a strategy designed for the "Restless" (time-based decay) world on a "Rested" (action-based decay) problem, it fails miserably.
  • If you try to use a "Rested" strategy on a "Restless" problem, it also fails.

It's like trying to use a fishing net designed for the ocean to catch birds in the sky. The tools just don't fit.

The Solution: The "Adaptive Window" (RAW-UCB)

The authors introduce a new algorithm called RAW-UCB (Rotting Adaptive Window Upper Confidence Bound).

Think of RAW-UCB as a super-smart, adaptable chef who doesn't need to know the rules of the kitchen beforehand.

  1. The "Window" Analogy:
    Imagine you are trying to guess the average temperature of a room.

    • If you look at the last 5 minutes, you might get a very accurate reading, but it's noisy (maybe someone opened a door).
    • If you look at the last 5 hours, the data is smoother, but it might be outdated (maybe the sun went down).
    • RAW-UCB's trick: It looks at every possible window size (last 1 minute, last 5 minutes, last hour, etc.) simultaneously. It calculates a "confidence score" for each window. It then picks the window that gives the tightest, most reliable estimate of how good a dish is right now.
  2. Why it works for both:

    • In the "Restless" world (Time decay): The algorithm realizes that older data is less relevant because time is passing. It naturally shrinks its window to look at recent data.
    • In the "Rested" world (Action decay): The algorithm realizes that if a dish hasn't been served in a while, its "rotting" has stopped. It can safely look at older data to see how good that dish was before it got tired.

It's like a chameleon that changes its skin color to match the environment perfectly, without you ever having to tell it what the environment is.

The "Impossible" Mix

The paper also proves a fascinating negative result: If you mix both types of decay together (where a dish gets boring both because you play it and because time passes), it becomes mathematically impossible to learn perfectly. The "best" strategy would need to know the future to decide whether to play a dish now (while it's fresh) or wait (in case it gets even better later). Since you can't see the future, you will always lose some money.

However, if you are in a world where things only get worse (never better), RAW-UCB is the hero.

Real-World Results: The Yahoo! News Test

To prove this wasn't just math on paper, the authors tested RAW-UCB on real data from Yahoo! Front Page (a news recommendation dataset).

  • The Scenario: They simulated a news feed where articles get less interesting over time (Restless) or when clicked too often (Rested).
  • The Competition: They pitted RAW-UCB against other famous algorithms like Exp3.S (a generalist) and GLR-UCB (a specialist).
  • The Outcome: RAW-UCB won consistently. It adapted so well that it didn't need to be told "Hey, this is a news feed!" or "Hey, this is a music playlist!" It just figured it out and started making better recommendations faster than anyone else.

Summary in a Nutshell

  • The Problem: Things get worse over time, either because time passes or because you use them. Old algorithms could only handle one type of "worsening."
  • The Innovation: A new algorithm (RAW-UCB) that acts like a flexible lens. It automatically adjusts how much "history" it looks at to make the best decision, whether the decay is caused by time or by usage.
  • The Benefit: It's a "one-size-fits-all" solution that is faster, simpler, and more accurate than previous methods, making it perfect for real-world apps like Spotify, Netflix, or news feeds where user interest fades.

In short, RAW-UCB is the universal remote control for decision-making in a world where everything eventually gets a little stale.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →