Augmented Lagrangian Methods as Layered Control Architectures

Anusha Srikanthan, Vijay Kumar, Nikolai MatniarXiv 2023

Abstract

For optimal control problems that involve planning and following a trajectory, two degree of freedom (2DOF) controllers are a ubiquitously used control architecture that decomposes the problem into a trajectory generation layer and a feedback control layer. However, despite the broad use and practical success of this layered control architecture, it remains a design choice that must be imposed $a\ priori$ on the control policy. To address this gap, this paper seeks to initiate a principled study of the design of layered control architectures, with an initial focus on the 2DOF controller. We show that applying the Alternating Direction Method of Multipliers (ADMM) algorithm to solve a strategically rewritten optimal control problem results in solutions that are naturally layered, and composed of a trajectory generation layer and a feedback control layer. Furthermore, these layers are coupled via Lagrange multipliers that ensure dynamic feasibility of the planned trajectory. We instantiate this framework in the context of deterministic and stochastic linear optimal control problems, and show how our approach automatically yields a feedforward/feedback-based control policy that exactly solves the original problem. We then show that the simplicity of the resulting controller structure suggests natural heuristic algorithms for approximately solving nonlinear optimal control problems. We empirically demonstrate improved performance of these layered nonlinear optimal controllers as compared to iLQR, and highlight their flexibility by incorporating both convex and nonconvex constraints.

Introduction

In modern robotics, the standard paradigm for motion control is the "two degree of freedom" (2DOF) architecture. This approach splits a complex task into two distinct phases: trajectory generation (planning a feasible path) and feedback control (tracking that path while compensating for disturbances). While this decomposition is highly effective and widely implemented, it is typically treated as a heuristic design choice rather than a mathematical necessity.

This paper investigates the theoretical foundations of this architecture. By applying the principles of Layering as Optimization Decomposition (LAO), the authors demonstrate that the 2DOF structure is not merely a convenient engineering shortcut but an emergent property of solving optimal control problems (OCPs) through specific optimization techniques. Specifically, the paper shows that using the Alternating Direction Method of Multipliers (ADMM) on a reformulated OCP naturally yields the planning and tracking layers used in robotics.

Methodology: The LAO Framework

The core innovation of this research is the application of ADMM to a strategically rewritten version of the standard OCP. The process follows three primary steps:

1. The Redundancy Trick

To induce a layered structure, the authors introduce a redundant "reference variable" $r$. The standard problem is rewritten such that the system state $x$ must equal this reference $r$ ($r = x$). This seemingly redundant step allows the optimization problem to be split into two coupled sub-problems.

2. ADMM Decomposition

Applying ADMM to this reformulated problem results in an iterative process consisting of three distinct updates:

  • Trajectory Generation Layer: This layer optimizes the reference trajectory $r$ based on the objective cost function and state constraints. It utilizes a "trust-region" penalty to ensure the plan remains within a reasonable proximity of the system's actual state.
  • Feedback Control Layer: This layer focuses on the tracking problem, ensuring the system state $x$ follows the reference $r$ while respecting the system's physical dynamics. In linear systems, this reduces to a standard Linear Quadratic Regulator (LQR); in nonlinear systems, the authors employ Iterative LQR (iLQR) as a subroutine.
  • Dual Update: A Lagrange multiplier $v$ is updated to act as a coordination protocol. This variable ensures that the planning layer and the tracking layer eventually reach a consensus, resulting in a trajectory that is both optimal and dynamically feasible.

3. Handling Constraints and Nonconvexity

One of the primary advantages of this decomposition is modularity. Because the layers are decoupled, the planning layer can utilize specialized solvers—such as integer programming for obstacle avoidance or convex solvers for corridor constraints—without requiring the feedback layer to handle these complexities directly.

Experimental Evaluation

The proposed framework was evaluated against the standard iLQR method across several simulated benchmarks, focusing on robustness and constraint satisfaction.

Cartpole Stabilization

In a classic nonlinear stabilization task, the ADMM-based layered architecture was tested against vanilla iLQR over 20 trials with random initial conditions. The layered approach achieved a 100% success rate, whereas iLQR succeeded in only 10% of the cases, often failing when the initial state was far from the goal.

Unicycle Navigation

For a car-like robot navigating through tight corridors and around obstacles, the layered approach demonstrated significant flexibility. While iLQR failed to reach the goal in 80% of trials due to the complexity of the constraints, the ADMM-based method maintained a 100% success rate. The framework successfully incorporated non-convex obstacle constraints and "low-order" planning (where only a subset of state variables are planned) without modifying the underlying feedback logic.

Discussion and Key Insights

The research highlights several critical insights into control architecture:

  • The Dual Variable as an Interface: The Lagrange multiplier $v$ serves as the mathematical "glue" between the planner and the controller, forcing a consensus between what is desired (the plan) and what is physically possible (the dynamics).
  • Robustness through Decoupling: By isolating nonlinear dynamics into the feedback layer, the system can handle complex environmental constraints in the planning layer more effectively than "flat" optimization methods like iLQR.
  • Stochastic Integration: The framework naturally extends to stochastic systems. The deterministic component handles the high-level plan, while the stochastic component reduces to a standard LQR problem, maintaining the 2DOF structure even under uncertainty.

Limitations and Future Work

Despite its robustness, the primary limitation of the current ADMM approach is computational overhead. In the Cartpole example, the algorithm required approximately 428 iterations to converge, compared to 52 for iLQR. Future work will focus on optimizing stopping criteria and primal residual thresholds to improve real-time performance. Additionally, while the empirical results for nonlinear systems are promising, formal convergence guarantees for the non-convex case remain an open area for theoretical development. Finally, the authors intend to validate these findings on physical hardware, such as quadrotors and ground vehicles, to move beyond simulation environments.

Summary updated

BibTeX
@misc{srikanthan2023augmented,
  author = {Anusha Srikanthan and Vijay Kumar and Nikolai Matni},
  title = {{Augmented Lagrangian Methods as Layered Control Architectures}},
  year = {2023},
  eprint = {2311.06404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.06404},
}
Figure