Manuscript Offprint

arXiv:2608.23887

Interpreting Control Latents for System Identification via Conditional Flow Matching

Dingqi Zhang, Ruiqi Zhang, Mark W. Mueller

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Dingqi Zhang ∗^{*},1, Ruiqi Zhang ∗^{*},1, and Mark W. Mueller 1^{1}

Abstract—Latent-conditioned adaptive policies can control robots across changing dynamics, but their learned latents remain internal representations of the policy rather than physical models that can be inspected, rolled out, or used by other control modules. This limits closed-loop analysis, diagnosis, and further improvement of a fixed policy. A direct mapping from latent to physical parameters is also under-specified, because multiple systems can induce similar closed-loop behavior. We therefore decode each operational latent into a distribution of quadrotor models using conditional flow matching. The decoded distribution enables two downstream uses without modifying the policy: online predictive tuning of a high-level controller around the fixed low-level policy, and robustness analysis under specified disturbances. Under perturbed actuator dynamics, decoded-model predictive tuning reduces position tracking RMSE by 23% and heading RMSE by 45% relative to fixed gains. Under Gaussian force disturbances, decoded-model ensembles closely predict the lateral tracking-error evolution. Together, these results show that control latents can be converted into physical model ensembles for tuning, robustness analysis, and diagnosis of frozen adaptive policies.

Figure

Fig. 1. Overview of the proposed interpretation framework. Observation history is encoded into a compact latent, which a conditional flow-matching decoder then maps to a distribution of physically consistent system models (distributional system identification). Each decoded model is interpretable and approximates the true system's closed-loop behavior under the deployed policy: they are run in parallel simulations (parametrized by the decoded models) and predictive rollouts are compared against real responses, enabling downstream tasks such as controller tuning and robustness analysis without modifying the policy.

I. INTRODUCTION

Latent-based adaptive control has enabled robots to operate across environments where dynamics vary. The standard paradigm, popularized by frameworks such as [1], [2], [3], infers a compact latent representation from recent sensorimotor history, and a control policy conditioned on this latent adapts online to shifting conditions. By learning a task-sufficient representation [4] rather than identifying the full system, this pipeline has been applied to legged locomotion [1], [5], dexterous in-hand manipulation [6], and quadrotor flight [7], [8]. However, a conceptual gap remains: these latent representations lack grounded physical meaning. While they capture the information necessary for control, the specific physical structures or parameters they encode remain opaque. This opacity complicates safety certification and post-hoc diagnosis of the learned controller. Prior work evaluates these latents primarily through downstream task success, leaving the physical content of these latents unexamined.

A primary reason for this opacity is that the inverse mapping from observed behavior to physical parameters is ill-posed [9]. In robotics, the relationship between behavior and dynamics is often non-injective: many physically distinct systems can exhibit indistinguishable behavior under the same trajectories. For example, a heavier quadcopter can exhibit the same closed-loop motion as a lighter vehicle with weaker actuation. We hypothesize that latent-based methods do not learn unique physical constants, but rather encode equivalence classes of plausible dynamics models. Consequently, approaches in this spirit that regress each latent to a single set of ground-truth parameters (e.g., [2]) are limited, because such one-to-one mappings cannot represent this physical non-identifiability.

In this work, we propose to interpret latent representations by explicitly modeling the one-to-many structure of the latent-to-parameter map. Rather than regressing each latent to a single point estimate of physical parameters, we use conditional flow matching [10] to decode each latent into a continuous distribution over the physically distinct models consistent with it. We instantiate the framework on quadrotor systems, where the decoded distribution supports two downstream uses without modifying the policy: online predictive tuning of a high-level controller around the fixed policy, and robustness analysis under Gaussian force disturbances. We then evaluate whether the decoded parameters explain the policy's adaptation by comparing motor commands from decoded parametric controllers against those from the latent-conditioned policy under identical hardware state histories.

Conceptually, our approach is inspired by model reference adaptive control (MRAC) [11], where a nominal reference model defines the desired closed-loop behavior and adaptation drives the controller to match it. Rather than tune a controller toward a fixed reference, we recover a family of reference models from the latent itself. The decoded models can run as parallel simulation environments that approximate the learned policy's closed-loop behavior, supporting analysis without further hardware experiments.

1^{1}The authors are with the High Performance Robotics Lab, Dept. of Mechanical Engineering, UC Berkeley. Contact at {dingqi, richzhang, mwm}@berkeley.edu. *Equal contribution.

References (41)