← Latest papers
💻 computer science

Adaptive constrained reinforcement learning for energy-aware scheduling under changing load

This paper introduces CLASP, an adaptive constrained reinforcement learning scheduler that enforces explicit latency constraints via a PID-controlled Lagrangian price and price-conditioned policy, thereby maintaining stable energy efficiency and violation targets across varying workloads where traditional fixed-weight reward approaches fail.

Original authors: Saher Elsayed, Khairi Azhar Aziz

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

Original authors: Saher Elsayed, Khairi Azhar Aziz

Original paper licensed under CC BY 4.0 (https://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

The Big Problem: The "One-Size-Fits-All" Trap

Imagine you are the manager of a busy coffee shop. You have two main goals:

  1. Save Money: Don't run the espresso machines at full blast if you don't need to (save energy).
  2. Keep Customers Happy: Make sure no one waits too long for their drink (meet the "latency target").

For years, computer scientists have tried to solve this by giving their AI a single "scorecard." They would say, "Every time you save a dollar of energy, you get 1 point. Every time a customer waits too long, you lose 10 points." The AI then tries to maximize its total score.

The paper argues this approach is broken.

Think of it like driving a car with a cruise control set to a fixed speed.

  • On a flat road (Light Load): The car is fine. But if you are just driving through a quiet neighborhood, that fixed speed is too fast. You are wasting gas (energy) when you could be driving slower.
  • On a steep hill (Heavy Load): That same fixed speed isn't enough. The car slows down, you miss your arrival time, and the passengers get angry (violating the service target).

The problem is that the "perfect speed" changes depending on how many cars are on the road (the workload). A single setting that works for a quiet morning fails miserably during the lunch rush. The paper calls this "operating point drift." The AI's "sweet spot" drifts away from what you actually want as soon as the situation changes.

The Solution: CLASP (The Smart Thermostat)

The authors introduce a new system called CLASP (Constrained Lagrangian Adaptive Scheduling Policy). Instead of giving the AI a fixed scorecard, they give it a rule and a thermostat.

1. The Rule (The Constraint):
Instead of saying "Maximize this score," the manager says: "I don't care how you do it, but no more than 5% of customers can wait too long." This is a hard rule, like a speed limit sign.

2. The Thermostat (The PID Controller):
This is the magic part. The system has a "thermostat" that constantly checks the temperature (the violation rate).

  • If too many customers are waiting (the room is too hot), the thermostat turns up the "heat" (the price of waiting).
  • If almost no one is waiting (the room is too cold), the thermostat turns down the heat.

This "price" is a number the AI sees. It tells the AI: "Hey, things are getting crowded! You need to work faster, or you'll get penalized heavily."

3. The "Price-Sensitive" AI:
The AI is trained to listen to this price. It's like a worker who knows:

  • "If the price is low, I can take my time and save energy."
  • "If the price is high, I need to sprint to keep the customers happy."

Because the AI learns to react to the price rather than a fixed setting, it can handle both the quiet morning and the lunch rush with the same brain.

What They Found (The Results)

The researchers tested this in a computer simulation of a server (like a digital coffee shop).

  • The Old Way (Fixed Weights): They tried every possible "scorecard" setting. None of them worked for all situations. Some saved energy but broke the rules when it got busy. Others followed the rules but wasted huge amounts of energy when it was quiet.
  • The New Way (CLASP):
    • Accuracy: CLASP kept the "late customer" rate right at the 5% target, even as the workload changed from light to heavy.
    • Efficiency: It used about half the energy of the "always run at max speed" method (which was the only other method that never broke the rules).
    • Adaptability: When the workload suddenly jumped (like a sudden rush of customers), the thermostat quickly adjusted the price, and the AI sped up to handle it. When the rush died down, it slowed back down to save power.

The "Ablation" Test (Taking the Engine Apart)

To prove their idea worked, they broke the system apart:

  • Without the Thermostat: If they stopped adjusting the price and just kept it fixed, the system failed. It was too slow when busy and too fast when quiet.
  • Without the "Price-Sensitive" Brain: If they let the thermostat adjust the price but didn't tell the AI what the price was, the AI didn't know how to react. It kept doing the same thing regardless of the pressure.

Conclusion: You need both the thermostat to adjust the pressure and a brain that knows how to react to that pressure.

The Bottom Line

The paper shows that trying to find a single "perfect setting" for energy and speed is a fool's errand because the world changes. Instead, you should set a clear goal (e.g., "5% max errors") and build a system that constantly adjusts its internal "price" to meet that goal.

CLASP turns a rigid, brittle system into a flexible, self-regulating one. It's the difference between a robot that follows a script and a human manager who watches the line, sees the rush coming, and tells the staff to "pick up the pace" or "take a breather" as needed.

Note: The authors emphasize that these results are from computer simulations. While the math looks promising, they haven't tested this on real physical hardware yet.

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 →