← Latest papers
🤖 machine learning

Online Packet Scheduling with Deadlines and Learning

This paper addresses the Online Packet Scheduling with Deadlines problem under partial feedback by establishing a connection to sleeping bandits, proposing algorithms that achieve optimal α\alpha-regret bounds of O~(KT)\widetilde{\mathcal{O}}(\sqrt{KT}), and demonstrating that for finite packet types, deterministic strategies can surpass the classical competitive ratio barrier of 1+52\frac{1+\sqrt{5}}{2}.

Original authors: Gianmarco Genalti, Achraf Azize, Vianney Perchet

Published 2026-06-02
📖 5 min read🧠 Deep dive

Original authors: Gianmarco Genalti, Achraf Azize, Vianney Perchet

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 the manager of a very busy, high-speed post office. Every second, new letters (packets) arrive at your desk. Each letter has a specific deadline by which it must be mailed, or it becomes worthless and gets thrown away.

Here is the tricky part: You don't know how "important" or "valuable" each letter is until you actually mail it. Maybe a letter is just a junk flyer, or maybe it's a winning lottery ticket. You only find out the value after you've sent it.

Your goal is to mail as many high-value letters as possible before their deadlines expire. This is the core problem the paper tackles, called Online Packet Scheduling with Deadlines.

The Twist: Learning While You Go

In the past, computer scientists assumed the post office manager had to make decisions based on pure guesswork or rigid rules. This paper introduces a new idea: Learning.

Imagine you have a box of different types of envelopes (let's say there are KK types). You know that "Type A" envelopes usually contain valuable letters, while "Type B" usually contain junk. But you don't know the exact average value yet. You have to figure it out by mailing some and seeing what happens.

The paper asks: Can we build a manager who learns which envelopes are valuable while still meeting all the deadlines, without losing too much money in the process?

The "Sleeping" Problem

The authors compare this to a game called the "Sleeping Bandit." Imagine you are a gambler with KK different slot machines.

  • In a normal game, all machines are available.
  • In the "Sleeping" version, some machines are "asleep" (unavailable) at any given moment. You can only pull the levers of the machines that are awake.
  • You don't know which machine pays out the most, and you have to learn while playing.

The paper proves that the post office problem is actually a fancy, harder version of this gambling game. The "sleeping" machines are the packets that haven't arrived yet or have already expired.

The Results: Beating the "Golden Ratio"

For decades, experts believed there was a hard limit to how well a manager could perform in this scenario. They called this limit the Golden Ratio (about 1.618). It meant that even the best possible manager would, in the worst case, only achieve about 62% of the value of a "perfect" manager who knew the future.

This paper breaks that barrier in specific situations:

  1. The Deterministic Manager (The Strict Planner):
    If the post office only deals with a fixed, finite number of envelope types (e.g., only 2 or 3 types of envelopes), the authors created a new algorithm called ALGθ.

    • The Analogy: Instead of using a rigid rule, this manager uses a dynamic "smart scale." It weighs the urgency of a letter against its estimated value.
    • The Result: When there are only a few types of letters, this manager can beat the Golden Ratio limit, getting closer to 1.41 (the square root of 2) in the best cases. It's like finding a secret shortcut that the old rules didn't allow.
  2. The Randomized Manager (The Lucky Gambler):
    The paper also looks at managers who are allowed to flip a coin to make decisions.

    • The Analogy: Sometimes, being slightly unpredictable helps. If you always do the same thing, a tricky opponent (or a chaotic system) can exploit you. By mixing things up, the manager can avoid getting stuck in bad patterns.
    • The Result: These "coin-flipping" managers can achieve an even better performance ratio (1.25) in short-deadline scenarios, matching the best theoretical limits known for random strategies.

How They Do It: Confidence Intervals

Since the manager doesn't know the true value of the letters, they use a tool called Confidence Intervals.

  • The Metaphor: Imagine the manager keeps a "best guess" and a "worst guess" for every envelope type.
    • UCB (Upper Confidence Bound): "This envelope might be worth a lot, so let's be optimistic and try it."
    • LCB (Lower Confidence Bound): "This envelope is probably safe, but let's be cautious."
  • The algorithms constantly update these guesses. If an envelope type keeps delivering high value, the "best guess" goes up, and the manager prioritizes it. If it's usually junk, the manager stops wasting time on it.

The Bottom Line

The paper shows that by combining learning (figuring out values on the fly) with scheduling (meeting deadlines), we can build systems that are smarter than previously thought possible.

  • For simple systems (few types of packets): We can beat the long-standing "Golden Ratio" barrier and get much closer to perfect performance.
  • For complex systems: We can still achieve the best possible performance limits known in mathematics, ensuring that even with uncertainty, the system remains highly efficient.

In short, the paper teaches us how to be a better post office manager when you don't know the value of the mail until you've already sent it, proving that learning on the job can lead to near-perfect results.

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 →