Meta-Learning for Rapid Adaptation in Reference Tracking of Uncertain Nonlinear Systems

Jiaqi Yan, Ankush Chakrabarty, Niklas Schmid, John Lygeros, Alisa RupenyanarXiv 2026

TL;DR

This paper introduces a general meta-learning framework based on implicit MAML (iMAML) to achieve rapid controller adaptation for uncertain nonlinear systems using minimal target data. By unifying both model-based (indirect) and model-free (direct) data-driven control methods, the framework significantly reduces the data required to achieve high-performance reference tracking, effectively bridging the sim-to-real gap.

What Problem Does This Paper Address?

In control engineering, making a system accurately track a reference trajectory (like a robot arm following a path) is a foundational challenge. When the system is nonlinear and its exact dynamics are uncertain, data-driven methods like reinforcement learning are often deployed. However, collecting enough data from a physical "target" system is frequently expensive, time-consuming, and potentially unsafe.

While standard transfer learning or multi-task learning can help leverage historical data from similar "source" systems, they aren't optimized for rapid adaptation to an entirely unseen system with very few data points. This paper tackles the challenge of designing optimal controllers that can adapt online to a new target system using only a handful of data samples.

Methods

The authors propose a meta-learning control framework based on implicit Model-Agnostic Meta-Learning (iMAML). The framework operates in two distinct phases:

  1. Offline Meta-Training: The algorithm learns an "aggregated representation" (a set of initialization parameters) across a variety of source systems.
  2. Online Meta-Adaptation: When introduced to a new target system, this initialization is rapidly fine-tuned using a small target dataset and only a few gradient steps.
Fig. 2: The two phases in the meta-learning framework.

Mathematically, this is framed as a bi-level optimization problem. The inner loop simulates adaptation on individual tasks using a regularized loss function, while the outer loop optimizes for the best shared initialization parameters ($\omega$).

Fig. 3: Information flow in the meta-training phase.

Standard MAML requires backpropagating through the entire inner-loop optimization path, which causes a massive memory overhead. To solve this, the authors employ iMAML, which leverages the Implicit Function Theorem to compute exact outer-loop gradients using only the final optimization state.

A key highlight of this framework is its generality. The authors demonstrate its flexibility by implementing two distinct control paradigms:

  • Indirect Data-Driven Control: Combines a Neural State-Space Model (NSSM) for explicit system identification with Model Predictive Control (MPC).
  • Direct Data-Driven Control: Uses a Deep Q-Network (DQN) to optimize the control policy directly from data without building an explicit system model.
Fig. 1: Direct vs. indirect data-driven control methods.

Datasets

The framework was evaluated using two primary setups:

  • Van der Pol Oscillators (Simulation): Used to verify the indirect (NSSM+MPC) approach. The authors generated 10 source systems by sampling different damping ratios from a normal distribution. The target system was adapted using a tiny dataset of just 300 data points.
  • Ball-on-a-Plate System (Sim-to-Real Hardware): Used to evaluate the direct (DQN) approach. The authors created 10 source systems entirely in simulation, each with different, unknown friction parameters governed by a complex Stribeck friction curve. The target system was the actual physical hardware, testing the framework's ability to cross the sim-to-real gap.

Key Insights and Ideas

  • Unified Mathematical Structure: Instead of creating algorithm-specific meta-learning pipelines, this work provides a single bi-level optimization architecture where only the loss function changes depending on whether you choose a direct or indirect control method.
  • Path-Agnostic Gradients: By utilizing iMAML, the framework computes exact gradients without needing to store the full history of inner-loop updates. This makes it highly memory-efficient and practical for complex control setups.
  • Sim-to-Real as Meta-Learning: The hardware experiment beautifully frames the sim-to-real problem as a meta-learning task. By exposing the controller to diverse simulated friction models during meta-training, it learns a robust prior that can instantly handle real-world physical friction.

Key Results

  • Simulation (Indirect Method): The iMAML-based MPC demonstrated faster convergence and superior tracking performance during early adaptation phases compared to standard MAML and purely supervised learning baselines.
  • Hardware (Direct Method): In the physical ball-on-a-plate experiment, pre-training the DQN weights using the meta-learning framework resulted in a 73.58% reduction in mean tracking cost over a 150-second experiment compared to deploying a DQN trained directly on the real system from scratch. The meta-learned controller captured the reference trajectory's trend almost immediately.

Limitations and Future Work

While the results are promising, the authors note a few limitations:

  • Stability Guarantees: For the indirect method, the learned dynamics must satisfy control-theoretic properties like stabilizability and detectability to guarantee MPC stability. Currently, this is observed empirically rather than enforced during training.
  • Theoretical Gaps in DQN: Providing rigorous convergence guarantees for DQNs under neural function approximation within a meta-learning context remains an open theoretical problem.
  • Future Directions: The authors plan to extend this framework to multi-agent systems and enable real-time adaptation in highly dynamic environments.

Summary updated

BibTeX
@misc{yan2026meta,
  author = {Jiaqi Yan and Ankush Chakrabarty and Niklas Schmid and John Lygeros and Alisa Rupenyan},
  title = {{Meta-Learning for Rapid Adaptation in Reference Tracking of Uncertain Nonlinear Systems}},
  year = {2026},
  eprint = {2605.22513},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.22513},
}
Figure