Probabilistic inverse optimal control for non-linear partially observable systems disentangles perceptual uncertainty and behavioral costs

Dominik Straub, Matthias Schultheis, Heinz Koeppl, Constantin A. Rothkopf

Inverse Optimal Control (IOC) acts as the "detective work" of robotics and neuroscience. Given a sequence of observed behaviors, the goal of IOC is to deduce the underlying reward function or "cost" an agent was trying to optimize. While standard IOC methods perform well in simple, fully observable simulations, they frequently break down when applied to complex, real-world biological or robotic systems.

Most existing techniques struggle to bridge three major gaps:

  1. Hidden Actions: In biological systems, observers can track movement (the state), but the internal control signals (like neural spikes or specific muscle activations) remain hidden.
  2. Partial Observability: Agents rarely possess perfect information about their environment; they must rely on noisy sensors.
  3. Non-linearity: Real-world physics, such as the dynamics of a two-joint arm, are rarely linear, making the mathematics behind traditional IOC intractable.

Without accounting for these factors, researchers risk misinterpreting an agent's behavior. For instance, if an agent moves slowly, is it because they have a high "cost of effort" (a behavioral cost), or because they are unsure of their exact location (perceptual uncertainty)? Current methods struggle to differentiate between the two. This paper introduces a novel probabilistic framework for IOC that successfully disentangles an agent's internal goals from its perceptual noise.

Joint State-Belief Tracking and Local Linearization

To solve this, the authors propose a probabilistic approach that frames the IOC problem as maximum likelihood estimation. The core innovation lies in Joint State-Belief Tracking. The system is modeled from two distinct perspectives: the agent operates within a Partially Observable Markov Decision Process (POMDP), maintaining an internal "belief" (estimate) of the state based on noisy observations. Meanwhile, the researcher observes the physical state but must infer both the agent's hidden beliefs and its unobserved control signals.

Graphical model illustrating the joint state-belief tracking, where the agent's belief ($b_t$) is updated based on observations ($y_t$) and dictates the action ($u_t$).

To handle non-linear dynamics without incurring the massive computational cost of global optimization, the authors employ local linearization techniques similar to the Extended Kalman Filter (EKF) and iterative Linear-Quadratic Gaussian (iLQG) control. By linearizing the system around the observed trajectory and assuming Gaussian noise, they derive an approximate likelihood function that can be computed in a single forward pass. This efficiency allows the use of standard gradient-based optimizers (like L-BFGS) to find the parameters that best explain the observed behavior, avoiding the computationally prohibitive "nested loop" problem common in traditional inverse optimization.

Disentangling Pragmatic and Epistemic Actions

A standout contribution of this framework is its ability to distinguish between "pragmatic" actions (moving directly toward a goal) and "epistemic" actions (moving to gather information, such as walking toward a light source to see better). Traditional methods, like Maximum Causal Entropy (MCE), often confuse the two.

The authors demonstrate that tracking the distribution of what the agent believes is happening is crucial. If an agent's internal uncertainty is ignored, researchers will likely overestimate their behavioral costs. By explicitly modeling the agent's belief state, this method accurately identifies when an agent is acting to reduce perceptual uncertainty rather than simply taking a suboptimal path to a goal.

Experimental Validation and Key Results

The method was rigorously evaluated using simulated trajectories across four distinct environments, modified to include stochasticity and partial observability:

  • Classic Control Tasks: Stochastic versions of the Pendulum and Cart Pole.
  • Biomechanical Reaching: A non-linear model of a two-joint human arm moving toward targets.
  • Navigation: An agent navigating to a target using noisy distance and bearing sensors.
  • The Light-Dark Domain: A benchmark where sensing improves in "light" areas, forcing a trade-off between moving toward the goal and moving toward the light to reduce uncertainty.
Experimental results on the biomechanical reaching task, demonstrating that the proposed method accurately recovers ground truth parameters and significantly outperforms the baseline.

In all tasks, the proposed method significantly outperformed the standard MCE baseline. For example, in the reaching task, the median absolute relative error for parameter recovery was 0.11 for the proposed method, compared to 0.93 for the baseline. Furthermore, unlike previous methods, this framework can accurately infer the noise characteristics of the agent's sensors and motors alongside the cost function.

The Light-Dark domain provided a particularly compelling demonstration: while the baseline method incorrectly concluded that the agent had an inherent desire to be near the light, the authors' method correctly identified that the agent only detoured to the light to reduce perceptual uncertainty, thereby accurately recovering the true underlying cost function.

Limitations and Future Directions

While powerful, the method relies on local linearization and Gaussian approximations. If an agent's beliefs are highly non-Gaussian or multimodal (e.g., the agent believes it could be in one of two entirely different locations), the approximation may fail. Additionally, the framework requires prior knowledge of the parametric form of the dynamics and noise models; it cannot currently learn the structure of the world from scratch.

Future work may explore incorporating particle-based methods to handle non-Gaussian beliefs and utilizing Bayesian approaches to better understand parameter identifiability, particularly as the method scales to extremely high-dimensional parameter spaces.

Summary updated

BibTeX
@inproceedings{straub2023probabilistic,
  author = {Dominik Straub and Matthias Schultheis and Heinz Koeppl and Constantin A. Rothkopf},
  title = {{Probabilistic inverse optimal control for non-linear partially observable systems disentangles perceptual uncertainty and behavioral costs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=xDHzQQ4lnC},
}
Figure