Zero-Shot Function Encoder-Based Differentiable Predictive Control
Hassan Iqbal, Xingjian Li, Tyler Ingebrand, Adam Thorpe, Krishna Kumar, Ufuk Topcu, Ján Drgoňa
TL;DR
This work addresses the need for fast, online-adaptive control of parametric nonlinear systems without retraining or online optimization. It introduces a zero-shot framework that fuses function-encoder neural ODEs (FE-NODE) with differentiable predictive control (DPC), where dynamics are represented as a linear combination of learned NODE bases and online coefficients $oldsymbol{c}$ are inferred from data. A DPC policy is trained offline over the FE-encoded dynamics, conditioned on $oldsymbol{c}$ and problem parameters $oldsymbol{\xi}$ to enable instantaneous adaptation at inference time. The approach achieves substantial speedups over traditional MPC, demonstrates robust zero-shot adaptation across benchmarks (Van der Pol, two-tank, glycolytic oscillator, quadrotor), and provides open-source code and pipelines for reproducibility and deployment. Overall, FE-DPC offers a scalable, differentiable, and data-efficient pathway to real-time adaptive control in complex, parametric environments.
Abstract
We introduce a differentiable framework for zero-shot adaptive control over parametric families of nonlinear dynamical systems. Our approach integrates a function encoder-based neural ODE (FE-NODE) for modeling system dynamics with a differentiable predictive control (DPC) for offline self-supervised learning of explicit control policies. The FE-NODE captures nonlinear behaviors in state transitions and enables zero-shot adaptation to new systems without retraining, while the DPC efficiently learns control policies across system parameterizations, thus eliminating costly online optimization common in classical model predictive control. We demonstrate the efficiency, accuracy, and online adaptability of the proposed method across a range of nonlinear systems with varying parametric scenarios, highlighting its potential as a general-purpose tool for fast zero-shot adaptive control.
