Adaptive Input Estimation in Linear Dynamical Systems with Applications to Learning-from-Observations

Sebastian Curi, Kfir Y. Levy, Andreas Krause · DOI

TL;DR

This paper introduces AdaL-IE, a novel algorithm for estimating the unknown inputs of a dynamical system from its outputs. By adaptively balancing bias and variance, AdaL-IE significantly outperforms the state-of-the-art in input estimation accuracy. This improved estimation capability is then successfully applied to the challenging Learning-from-Observations (LfO) problem, enabling agents to learn controllers from expert demonstrations even when direct input data is unavailable.

What Problem Does This Paper Address?

Estimating the inputs that drive a dynamical system, given only its observable outputs, is a fundamental problem with applications ranging from fault detection to robotics. A particularly challenging scenario is the "Learning-from-Observations" (LfO) framework, where an agent aims to learn a control policy by observing an expert's actions, but only has access to the system's outputs, not the expert's specific control inputs. Existing methods for input estimation, like the Unbiased Minimum Variance Input Estimator (UMV-IE), often suffer from high variance or rely on strong assumptions (e.g., Gaussian noise). This paper addresses the need for a more robust and accurate input estimation method that can handle more general noise conditions and is crucial for enabling successful LfO.

Methods

The core contribution is the Adaptive Linear Input Estimator (AdaL-IE). Unlike traditional methods that prioritize unbiasedness, AdaL-IE explicitly optimizes a probabilistic upper bound on the estimation error by trading off bias and variance. This is achieved through a novel estimator architecture and an optimization algorithm.

  • Estimator Architecture: AdaL-IE uses an anti-causal finite impulse response (FIR) structure. The key innovation lies in learning the filter coefficients ($\alpha_\tau$) that optimally balance the estimation error.
  • Optimization: The optimization problem is formulated to minimize a relaxed objective function derived from the bias-variance decomposition of the error. This relaxed objective is a quadratic program over a simplex, which can be efficiently solved using projected gradient descent.
  • Assumptions: AdaL-IE makes fewer restrictive assumptions than prior work. It does not require knowledge of process or measurement noise distributions (beyond bounds on their magnitude) but assumes the input signal is Lipschitz continuous. This assumption is justified by the low-pass characteristics of actuators.
  • Hyperparameter: The method has a single hyperparameter, the Lipschitz-to-Noise ratio, which can be tuned via cross-validation.
  • Extensions: The paper also discusses extensions to handle uncertain systems (where system matrices are not perfectly known) and non-linear systems by linearizing them around a trajectory.

Datasets

The paper does not introduce new datasets. Instead, it uses a simulated environment to generate data for evaluating its input estimation algorithm. The experiments involve applying 8 different input signals to 5 different linear dynamical systems (including spring-mass, double integrator, and simulated server systems) over 20 episodes of 100 time-steps. For the LfO experiments, an inverted pendulum task is simulated.

Key Insights and Ideas

  • Bias-Variance Trade-off is Key: The paper convincingly demonstrates that explicitly optimizing the bias-variance trade-off, rather than solely pursuing unbiasedness, leads to significantly lower overall estimation error.
  • Lipschitz Input Assumption is Practical: The assumption of Lipschitz continuous inputs, while seemingly restrictive, proves effective in practice due to the physical limitations of actuators. This assumption is more general than random-walk models used previously.
  • Sparsity as a Feature: The learned estimator parameters exhibit sparsity, meaning only a small number of past inputs significantly influence the current estimate. This property suggests potential for near real-time estimation.
  • LfO Success Hinges on Input Estimation: The experiments clearly show that the quality of learned controllers in the LfO framework is directly tied to the accuracy of the input estimation. AdaL-IE's superior input estimates enable the learning of more effective controllers.

Key Results

  • Improved Input Estimation Accuracy: AdaL-IE consistently outperforms the state-of-the-art UMV-IE in terms of mean Root Mean Square (RMS) estimation error across various input signals and systems. In 50 out of 56 experiments, AdaL-IE showed better performance.
  • Variance Reduction: AdaL-IE achieves lower variance in its estimates compared to UMV-IE, especially in noisy conditions, though this comes at the cost of some introduced bias.
  • Successful LfO Application: When applied to the inverted pendulum swing-up and stabilization task, AdaL-IE enabled the learning of stabilizing controllers in a significantly higher number of demonstrations (754 with sigmoid activations) compared to UMV-IE (0). This highlights the practical utility of the proposed estimator.

Limitations and Future Work

  • Assumption Violation: The paper acknowledges that the Lipschitz continuity assumption can be violated when input signals change abruptly (e.g., step changes). In such cases, AdaL-IE may exhibit larger bias and delays compared to UMV-IE.
  • Non-Linear System Linearization: For non-linear systems, the approach relies on linearization, which introduces approximation errors. The paper notes that obtaining noisy state estimates to perform this linearization is a stringent assumption.
  • Future Work: The authors suggest exploring more advanced imitation learning algorithms (like DAGGER or IRL) for the LfO framework and investigating the impact of increased data on input estimation quality and its interaction with LfO. Further research into understanding how system uncertainty affects predictions is also mentioned.

Summary updated

BibTeX
@inproceedings{curi2019adaptive,
  author = {Sebastian Curi and Kfir Y. Levy and Andreas Krause},
  title = {{Adaptive Input Estimation in Linear Dynamical Systems with Applications to Learning-from-Observations}},
  booktitle = {CDC},
  year = {2019},
  doi = {10.1109/cdc40024.2019.9029379},
}
Figure