# Worst-Case Discovery and Runtime Protection for RL-Based Network Controllers

DevFeed: [Worst-Case Discovery and Runtime Protection for RL-Based Network Controllers](<https://devfeed.tech/articles/worst-case-discovery-and-runtime-protection-for-rl-based-network-controllers-120016.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.04373>)

Author: Hongyu H\\\`e, Minhao Jin, Maria Apostolaki

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Networking](<https://devfeed.tech/sources/arxiv-networking.md>)

Topics: [AI Networking](<https://devfeed.tech/topics/ai-networking.md>), [Network](<https://devfeed.tech/topics/network.md>), [rule-engine](<https://devfeed.tech/topics/rule-engine.md>)

Tags: [congestion-control](<https://devfeed.tech/tags/congestion-control.md>), [controllers](<https://devfeed.tech/tags/controllers.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ni](<https://devfeed.tech/tags/cs-ni.md>), [cs-sy](<https://devfeed.tech/tags/cs-sy.md>), [discovery](<https://devfeed.tech/tags/discovery.md>), [eess-sy](<https://devfeed.tech/tags/eess-sy.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gap](<https://devfeed.tech/tags/gap.md>), [inference](<https://devfeed.tech/tags/inference.md>), [intervene](<https://devfeed.tech/tags/intervene.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [logic](<https://devfeed.tech/tags/logic.md>), [lower-bound](<https://devfeed.tech/tags/lower-bound.md>), [network](<https://devfeed.tech/tags/network.md>), [networking](<https://devfeed.tech/tags/networking.md>), [protection](<https://devfeed.tech/tags/protection.md>), [rl](<https://devfeed.tech/tags/rl.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [runtime-protection](<https://devfeed.tech/tags/runtime-protection.md>)

## AI overview

ReGuard finds conditions where an RL network controller performs poorly despite better performance being achievable under the same conditions, then adds runtime protection without retraining. It frames discovery as bilevel regret maximization to certify a lower bound on the worst-case performance gap, and converts discovered counterfactual trajectories into lightweight logic rules that intervene only when a risky state is detected. Across Pensieve, Sage, and Park, it finds scenarios with 43-64% performance loss, exposes gaps 57% to six times larger than the strongest baselines, and reduces gaps by 79-85% in the first protection iteration. The abstract says protection also improves performance across a wider range of network conditions.

## Source excerpt

arXiv:2605.04373v2 Announce Type: replace-cross Abstract: RL-based controllers achieve strong average-case performance in networking tasks such as congestion control and adaptive bitrate streaming. Yet their performance can degrade severely under network conditions where strong performance is still achievable. Identifying such conditions and quantifying the resulting performance gap is intractable by enumeration, while the sequential and closed-loop nature of RL controllers makes formal verification methods impractical. We present ReGuard, a framework that discovers worst-case scenarios for a given RL controller and protects it against them at inference time without retraining. ReGuard formulates scenario discovery as a bilevel regret-maximization problem, certifying a lower bound on the controller's worst-case performance gap. ReGuard then analyzes the discovered counterfactual trajectories and compiles them into lightweight logic rules that intervene only when a risky state is detected, leaving the controller's behavior unchanged otherwise. We evaluate ReGuard across three RL-based network controllers: Pensieve, Sage, and Park. ReGuard discovers scenarios in which each controller suffers a 43-64% performance loss relative to what is achievable under the same conditions. ReGuard exposes performance gaps 57% to 6 times larger than those found by the strongest baselines and shrinks those gaps by 79-85% in its first iteration via lightweight rule-based protection, iteratively driving the remaining gap toward nominal levels. ReGuard's protection extends beyond the scenarios it discovers, improving performance across a wide range of network conditions.