Beyond Black-Box Advice: Learning-Augmented Algorithms for MDPs with Q-Value Predictions

Tongxin Li, Yiheng Lin, Shaolei Ren, Adam Wierman

Abstract

Traditional learning-augmented algorithms treat machine-learned advice as a black box, leading to a fundamental tradeoff between consistency (performance with good advice) and robustness (performance with bad advice). This paper introduces PROP (PROjection Pursuit), a novel algorithm for Markov Decision Processes (MDPs) that leverages internal Q-value predictions—termed "grey-box" advice. By dynamically adjusting a trust budget based on Temporal-Difference (TD) errors, PROP achieves perfect 1-consistency while maintaining near-optimal robustness, effectively breaking the theoretical barriers inherent in black-box approaches.

Introduction: The Consistency-Robustness Tradeoff

In online decision-making, practitioners often face a choice between a robust baseline—a safe but conservative hand-crafted policy—and machine-learned (ML) advice, which offers high potential performance but lacks worst-case guarantees. The field of learning-augmented algorithms aims to synthesize these into a single policy that is both consistent (matching the ML advice when accurate) and robust (never significantly underperforming the baseline).

Historically, ML advice has been treated as a "black box," where the algorithm only observes the suggested action. However, this creates a mathematical impossibility: one cannot achieve perfect consistency without sacrificing robustness. This research explores whether opening the "black box" to access internal Q-value predictions can overcome this limitation.

The PROP Algorithm: From Black-Box to Grey-Box

The authors propose the PROjection Pursuit (PROP) policy. At its core, PROP takes the action suggested by the ML model and projects it onto a "safety ball" centered around the action of the robust baseline policy. The radius of this ball, or the "trust budget," determines how much the algorithm deviates from the safe baseline to follow the untrusted advice.

System architecture showing the flow of information from Grey-Box (Q-value advice) and Black-Box (suggested actions) into the PROP algorithm.

The innovation of PROP lies in how it manages this trust budget:

  • Black-Box Setting: The budget is fixed via a hyperparameter $\lambda$, representing a static tradeoff between following advice and staying safe.
  • Grey-Box Setting: PROP utilizes the ML model's Q-value predictions to calculate the Temporal-Difference (TD) error. If the model's internal predictions diverge from observed costs, the TD error increases, signaling that the advice is unreliable. PROP then dynamically shrinks the trust budget in real-time.

Theoretical Framework: Wasserstein Robustness

To analyze PROP in complex, time-varying environments, the authors introduce the concept of locally Wasserstein-robust policies. This framework generalizes standard control principles by considering distributions of states and measuring their divergence over time. This allows for rigorous proofs of performance even when the environment's underlying dynamics shift unexpectedly, such as in non-stationary robot tracking tasks.

Key Results and Empirical Performance

The theoretical analysis yields a breakthrough: while black-box advice is limited by a linear tradeoff, grey-box advice allows for 1-consistency and near-optimal robustness simultaneously.

Performance tradeoff curves showing that the Black/Grey-Box policy (PROP) can achieve zero regret (1-consistency) when advice error is low, while remaining bounded near the robust baseline.

Key findings include:

  • Theoretical Guarantees: In the grey-box setting, PROP is proven to be 1-consistent and $(ROB + o(1))$-robust. This means it perfectly matches optimal advice without compromising the safety of the baseline.
  • Self-Diagnosis: Access to Q-values allows the algorithm to perform real-time self-diagnosis. In robot tracking simulations, PROP demonstrated a "swift recovery" after sudden environmental shifts, outperforming both pure ML agents (which failed to converge) and pure robust baselines (which were too conservative).
  • Structural Information: The results underscore that why an agent chooses an action (its estimated long-term cost) is more valuable for safety-critical augmentation than simply what action it chooses.

Conclusion

By moving beyond black-box suggestions to incorporate structural information like Q-values, PROP provides a blueprint for safer, more reliable learning-augmented systems. Future work may extend this "grey-box" philosophy to other forms of internal model state, such as uncertainty estimates or gradients, further bridging the gap between high-performance reinforcement learning and robust control.

Summary updated

BibTeX
@inproceedings{li2023beyond,
  author = {Tongxin Li and Yiheng Lin and Shaolei Ren and Adam Wierman},
  title = {{Beyond Black-Box Advice: Learning-Augmented Algorithms for MDPs with Q-Value Predictions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=RACcp8Zbr9},
}
Figure