3DIOC: Direct Data-Driven Inverse Optimal Control for LTI Systems

Chendi Qu, Jianping He, Xiaoming DuanarXiv 2024

TL;DR

This paper introduces 3DIOC, a direct data-driven framework for Inverse Optimal Control (IOC) in linear time-invariant systems without requiring prior system identification. By leveraging behavioral system theory and Willems' Fundamental Lemma, the authors derive model-free optimality conditions to reconstruct cost functions directly from raw input-output trajectories, offering robust formulations for both noise-free and noise-corrupted data.

What Problem Does This Paper Address?

Inverse Optimal Control (IOC)—closely related to Inverse Reinforcement Learning (IRL)—aims to uncover the underlying cost function or objective that an expert agent is optimizing based on observed trajectories. This is crucial for imitation learning, autonomous driving, and human-robot collaboration, where understanding an agent's intent allows for better generalization.

However, traditional IOC algorithms assume the system's dynamic equations are perfectly known. When dynamics are unknown, researchers typically rely on a two-step "System Identification (SI) then optimize" pipeline. The major drawback here is that identification errors cascade into the optimization phase, leading to unpredictable and suboptimal cost function estimation. The authors tackle this by asking: Can we learn the objective function directly from data without ever explicitly identifying the system model?

Methods

The authors propose 3DIOC (Direct Data-Driven Inverse Optimal Control) for linear time-invariant (LTI) systems under linear quadratic (LQ) control. Their approach relies on Willems' Fundamental Lemma from behavioral system theory, which states that any valid trajectory of an LTI system can be represented as a linear combination of previously collected data trajectories, provided the data is sufficiently "persistently exciting."

Using this implicit input-output representation, they formulate two main strategies:

  1. KKT-based 3DIOC: They derive model-free Karush-Kuhn-Tucker (KKT) conditions for the forward LQ problem. By removing redundant variables (like Lagrangian multipliers), they simplify the inverse problem into a single-level convex optimization problem (Semi-Definite Programming) that works exceptionally well and fast on noise-free data.
  2. Bi-level Optimization (BLO-IOC): Because KKT-based methods struggle with noisy data, they reformulate the problem as a bi-level optimization. The upper level minimizes the discrepancy between the expert's behavior and the learned model's behavior, while the lower level ensures the learned behavior satisfies forward optimal control. They solve this using an iterative gradient descent algorithm and a grid-search enumeration method to guarantee global optimality.

The conceptual pipeline of the KKT-based approach is mapped out below:

Fig. 1. The flow chart of KKT-based 3DIOC problems.

Datasets

The paper does not use standard public datasets. Instead, the authors evaluate their algorithms using randomly generated LTI systems in MATLAB to precisely control parameters like the signal-to-noise ratio (SNR) and verify theoretical guarantees (such as identifiability and risk consistency).

Key Insights and Ideas

  • Bypassing System ID: The core "aha" moment is realizing that Willems' Fundamental Lemma allows you to completely skip estimating state-space matrices ($A, B, C, D$). The raw data trajectories themselves serve as the implicit model.
  • Identifiability & Intention Protection: The paper establishes strict mathematical conditions under which a cost function can be uniquely identified (up to a scaling factor). Conversely, they show how a system designer can intentionally shorten the control horizon to hide the system's true objective function from an observer (termed Intention Protection).
  • The Noise Trade-off: While KKT-based single-level optimization is computationally cheap and perfect for clean data, it becomes highly sensitive under noise. The bi-level formulation (BLO-IOC) acts as a regularizer, providing asymptotic risk consistency even when data is corrupted.

The relationship between these formulations is summarized in their overview table:

Overview of Proposed Problems and Algorithms

Key Results

  • Accuracy and Data Efficiency: In noise-free simulations, the simplified 3DIOC achieved significantly lower estimation errors compared to traditional two-stage baselines (Sys-ID IOC and MaxEnt IRL) while requiring a fraction of the data (e.g., just 1 offline trajectory of length 50 vs. up to 1000 steps for baselines).
  • Speed: The KKT-based 3DIOC solves in under 1 second using standard SDP/QP solvers.
  • Noise Robustness: Under various noise distributions (Gaussian, Laplace, uniform, and sparse outliers), the BLO-IOC algorithm successfully converged to a local minimum that closely mirrored the expert's true behavior, demonstrating strong numerical stability.

Limitations and Future Work

  • Linear Systems Only: The current framework is strictly limited to Linear Time-Invariant (LTI) systems with Linear Quadratic (LQ) costs.
  • Extension to Nonlinear Systems: The authors note that extending this direct data-driven principle to nonlinear systems is the next logical step. They suggest that finding an appropriate Koopman operator and lift mapping could allow the 3DIOC framework to scale to nonlinear dynamics in future work.

Summary updated

BibTeX
@misc{qu2024dioc,
  author = {Chendi Qu and Jianping He and Xiaoming Duan},
  title = {{3DIOC: Direct Data-Driven Inverse Optimal Control for LTI Systems}},
  year = {2024},
  eprint = {2409.10884},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.10884},
}
Figure