A Lyapunov-Based Methodology for Constrained Optimization with Bandit Feedback

Semih Cayci, Yilin Zheng, Atilla Eryilmaz

Introduction

In modern stochastic systems, such as wireless resource allocation or online advertising, decision-makers often face a complex "triple threat" of challenges. First, they must operate under bandit feedback, where the statistics of rewards and costs are initially unknown and must be learned through exploration. Second, they are bound by knapsack constraints, where a hard total budget (e.g., battery life) is consumed by random amounts with each action. Finally, they must maintain stochastic feasibility, ensuring that operational requirements (e.g., minimum Quality-of-Service) are met on average over the long term.

While previous research has addressed these constraints individually, combining them—particularly with random costs per action—presents significant mathematical hurdles. This paper introduces LyOn (Lyapunov-based Online), a low-complexity algorithm that bridges the gap between stochastic control and online learning to solve this constrained optimization problem with near-optimal efficiency.

The LyOn Algorithm

The core of the LyOn methodology lies in adapting Lyapunov drift techniques, a staple of networking and queueing theory, to the multi-armed bandit (MAB) setting. This approach transforms global, long-term constraints into simple, local per-step decisions.

Key Components:

  • Virtual Queues: To manage average penalty constraints, LyOn maintains a virtual queue ($Q_n$). If penalties exceed the allowed threshold, the queue grows, signaling the algorithm to prioritize actions that "drain" the queue (lower-penalty actions), even at the cost of immediate rewards.
  • Drift-plus-Penalty Ratio: Decisions are made based on a derived index that balances immediate reward gain against the long-term stability of the virtual queue.
  • Optimistic Exploration: Since underlying statistics are unknown, LyOn employs a Confidence Radius (similar to UCB algorithms) to encourage the exploration of arms with high uncertainty.
  • Renewal Theory Framework: Because the budget is depleted by random costs, the total number of actions is a random variable. The authors utilize renewal theory and Martingale concentration inequalities to rigorously bound the algorithm's performance.

Performance and Key Results

Theoretical analysis proves that LyOn achieves a regret bound of $O(\sqrt{KB \log B})$, where $K$ is the number of arms and $B$ is the total budget. This bound is considered "sharp," approaching the theoretical lower limit for this class of problems.

Performance metrics of LyOn vs. LyOff. Subplots (a-c) and (d-f) show two different simulation scenarios. LyOn demonstrates superior reward rates and converges to zero constraint violation as the budget B increases.

As shown in the figures above, LyOn effectively balances the trade-off between maximizing rewards and satisfying constraints. A standout feature of the algorithm is its ability to achieve zero constraint violation ($D^\pi(B) \leq 0$) for sufficiently large budgets by tuning a "tightness" parameter ($\delta$). This is a significant improvement over many existing methods that only guarantee sub-linear growth in violations.

Furthermore, LyOn is computationally efficient. Unlike primal-dual methods that may require solving complex linear programs at every step, LyOn only requires a simple index calculation for each arm, making it highly scalable for high-speed systems.

Conclusion and Future Directions

By integrating Lyapunov drift into the bandit framework, this work provides a robust solution for constrained optimization under uncertainty. The methodology's ability to handle random costs per action makes it particularly relevant for real-world engineering applications where resource consumption is stochastic.

Future work may extend this framework to non-stationary environments, where reward and penalty distributions change over time, or to large action spaces where the number of arms is infinite. Additionally, generalizing the analysis to handle multiple simultaneous stochastic constraints remains a promising avenue for further research.

Summary updated

BibTeX
@inproceedings{cayci2022lyapunov,
  author = {Semih Cayci and Yilin Zheng and Atilla Eryilmaz},
  title = {{A Lyapunov-Based Methodology for Constrained Optimization with Bandit Feedback}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i4.20285},
}
Figure