Skip to main content
QUICK REVIEW

[Paper Review] Learning Convex Optimization Control Policies

Akshay Agrawal, Shane Barratt|arXiv (Cornell University)|Dec 19, 2019
Advanced Control Systems OptimizationEngineering70 references9 citations
TL;DR

This paper proposes an automated method to tune parameters in convex optimization control policies (COCPs) using approximate gradient descent, leveraging efficient derivatives of convex optimization solutions. The approach improves performance on real-world control tasks—such as supply chain management—by reducing cost by 22.35% in a 200-iteration training run, demonstrating robust and scalable parameter tuning without requiring convexity of the performance metric.

ABSTRACT

Many control policies used in various applications determine the input or action by solving a convex optimization problem that depends on the current state and some parameters. Common examples of such convex optimization control policies (COCPs) include the linear quadratic regulator (LQR), convex model predictive control (MPC), and convex control-Lyapunov or approximate dynamic programming (ADP) policies. These types of control policies are tuned by varying the parameters in the optimization problem, such as the LQR weights, to obtain good performance, judged by application-specific metrics. Tuning is often done by hand, or by simple methods such as a crude grid search. In this paper we propose a method to automate this process, by adjusting the parameters using an approximate gradient of the performance metric with respect to the parameters. Our method relies on recently developed methods that can efficiently evaluate the derivative of the solution of a convex optimization problem with respect to its parameters. We illustrate our method on several examples.

Motivation & Objective

  • To automate the tuning of parameters in convex optimization control policies (COCPs), which are widely used in control systems but traditionally tuned manually or via grid search.
  • To develop a scalable, differentiable method for optimizing COCP parameters using approximate gradients of performance metrics with respect to policy parameters.
  • To enable efficient, safe, and stable parameter tuning by leveraging the inherent differentiability of convex optimization solution maps.
  • To extend the method beyond control to state estimation and prediction tasks involving COCPs.
  • To demonstrate the effectiveness of the method on real-world applications such as supply chain management and model predictive control.

Proposed method

  • The method uses projected stochastic gradient descent to optimize COCP parameters by computing approximate gradients of the performance metric with respect to the parameters.
  • It relies on recently developed techniques to efficiently compute the derivative of the solution to a convex optimization problem with respect to its parameters.
  • The approach combines automatic differentiation with sensitivity analysis of convex optimization problems, enabling backpropagation through the solution map.
  • The performance metric is evaluated via simulation of the closed-loop system, and gradients are estimated using Monte Carlo sampling over disturbances.
  • The method is applicable to any COCP, including LQR, MPC, and ADP policies, by treating their parameterized optimization problems as differentiable functions.
  • It supports joint tuning of multiple components, such as controller parameters and disturbance prediction models in MPC.

Experimental results

Research questions

  • RQ1Can we automate the tuning of convex optimization control policies using gradient-based optimization, avoiding manual or grid-based search?
  • RQ2How can we efficiently compute gradients of performance metrics with respect to COCP parameters when the policy is defined by solving a convex optimization problem?
  • RQ3To what extent can this method improve performance on real-world control and supply chain systems compared to baseline tuning methods?
  • RQ4Can the method be extended to joint tuning of control policies and state estimators or prediction models?
  • RQ5What are the practical gains in performance when applying this method to non-convex or heuristic control policies, even if the solution is local?

Key findings

  • The method reduced the average cost by 22.35% in a supply chain control task, improving from -0.279 to -0.341 over 200 iterations.
  • The tuned policy learned to penalize storage in nodes with high supplier costs or low consumer demand, as reflected in the learned $ S^T S $ and $ q $ parameters.
  • The approach successfully tuned a supply chain policy with $ n=4 $ nodes and $ T=20 $ time steps, demonstrating scalability to non-trivial systems.
  • The method achieved stable and meaningful improvements even when the performance metric was non-convex in the parameters, indicating robustness to local optima.
  • The solution map of the convex optimization problem was differentiable, enabling efficient gradient computation and integration with automatic differentiation frameworks.
  • The method is general and applicable to a wide range of COCPs, including LQR, MPC, and ADP, as well as to state estimation and prediction tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.