Online Optimization with Memory and Competitive Control

Guanya Shi, Yiheng Lin, Soon-Jo Chung, Yisong Yue, Adam Wierman

This paper represents a significant step forward in merging online optimization with control theory. It provides a robust framework for making sequential decisions when those decisions have long-lasting effects—a scenario common in robotics, power systems, and data centers.

The Challenge of Memory in Online Optimization

In classical Online Convex Optimization (OCO), a learner picks an action and suffers a loss that typically depends only on the current action. However, real-world systems possess "memory." For example, moving a robot arm or powering up a server incurs a "switching cost" or momentum that depends heavily on the system's state in previous time steps.

Prior research in this area faced two major hurdles:

  1. The Memory Gap: Algorithms with strong guarantees (constant competitive ratios) were mostly limited to "one-step" memory, often referred to as Smoothed OCO (SOCO).
  2. The Benchmark Gap: Algorithms designed for general memory often relied on "static regret" as a benchmark. Static regret compares the learner to the best fixed action in hindsight—a weak benchmark for dynamic systems where the optimal strategy is inherently a moving target.

This paper seeks to find algorithms that are constant-competitive against the true offline optimal (the best possible sequence of actions), even when the system has multi-step memory and future conditions are uncertain.

Methods: OCO with Structured Memory

The authors introduce a model called OCO with Structured Memory. In this framework, the total cost is split into a "hitting cost" (measuring how far the system is from a target) and a "switching cost" that depends on the previous $p$ actions.

Optimistic ROBD

Building on Regularized Online Balanced Descent (ROBD), the authors propose Optimistic ROBD. This algorithm is adapted for cases where the exact target of the hitting cost is unknown at the time of decision-making. It maintains an "accurate sequence"—a record of what it would have done with perfect information—and uses this to guide current decisions. When the exact cost is unknown and only an estimation set is provided, the algorithm acts "optimistically" by choosing a target within that set that minimizes its potential cost.

Control Reduction

The authors provide a rigorous mathematical reduction showing how a specific class of control problems (Input-Disturbed Squared Regulators) can be mapped directly onto their OCO framework.

Controllable canonical form matrices A and B

This reduction allows standard optimization tools to solve complex control tasks, provided the system can be represented in a controllable canonical form (illustrated by the block matrix structures above).

Evaluation and Simulations

As a primarily theoretical work, the paper evaluates its approach using synthetic dynamical system simulations rather than large-scale public datasets. The authors tested the algorithm on 1-D and 2-D systems, specifically focusing on a "double integrator" model common in physics and robotics. They evaluated the algorithm against both i.i.d. random noise and "random walk" noise (where the disturbance is smooth over time).

Key Insights and Results

  • Theoretical Bounds: The authors prove that Optimistic ROBD achieves a constant competitive ratio. With exact predictions, the ratio is roughly $1 + O(\alpha^2/m)$, where $\alpha$ represents the switching cost and $m$ is the strong convexity of the hitting cost.
  • Dimension-Free Guarantees: The competitive ratio does not depend on the dimensionality of the action space, making the algorithm highly scalable to complex systems.
  • Memory Length vs. Performance: Surprisingly, the length of the memory ($p$) does not explicitly appear in the competitive ratio bound. While longer memory increases the switching cost coefficients, the algorithm's fundamental ability to track the optimal solution remains robust.
  • Outperforming Linear Controllers: A major insight is the demonstration that the "best linear controller"—a standard tool in many control applications—can perform significantly worse than the true offline optimal. In simulations, Optimistic ROBD consistently outperformed the Best Linear Controller. In scenarios with smooth random walk disturbances, the algorithm's performance was nearly indistinguishable from the global offline optimal, even without advance knowledge of the exact disturbance.

Limitations and Future Directions

While powerful, the framework has a few limitations:

  • Strong Convexity Requirement: The current proofs rely on the hitting costs being "strongly convex" and "smooth." This excludes certain non-linear or "flat" cost functions.
  • Specific Control Forms: The reduction to control theory currently requires the system to be in the controllable canonical form shown earlier. While many systems can be transformed into this state-space representation, it is not universally applicable to all control problems.

Future work will likely explore more general classes of online control problems and investigate whether these constant-competitive results can be extended to non-convex cost functions.

Summary updated

BibTeX
@inproceedings{shi2020online,
  author = {Guanya Shi and Yiheng Lin and Soon-Jo Chung and Yisong Yue and Adam Wierman},
  title = {{Online Optimization with Memory and Competitive Control}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure