Papers
Topics
Authors
Recent
Search
2000 character limit reached

T2S-MPC: Time-Embedded Online Adaptive Model Predictive Control for Time-Varying Dynamics

Published 24 May 2026 in cs.LG and eess.SY | (2605.24852v1)

Abstract: Recent advances in learning-based model predictive control (MPC) have leveraged neural networks for online model learning, achieving strong performance when nonstationary system dynamics deviate from nominal models. However, existing approaches primarily address specific or relatively structured forms of dynamical variation, leaving more general, unknown, and unpredictable time-varying dynamics insufficiently handled. To tackle this challenge, we propose T2S-MPC, a framework that adaptively learns a residual dynamics model online and integrates it with the nominal model within the MPC framework to enable fast-evolving online planning. To make the model time-aware, we explicitly encode temporal information through a structured time embedding and employ a two-timescale update scheme, allowing the controller to capture nonstationary dynamics while balancing rapid adaptation with stable learning. We evaluate the proposed method on a 2D quadrotor across stabilization and trajectory tracking tasks under diverse time-varying disturbances, including linear drifting and periodic perturbations. Experimental results show that T2S-MPC consistently outperforms classical MPC, neural MPC, and ablated variants in control performance, while also demonstrating strong robustness across a wide range of disturbance conditions without additional tuning. The source code is publicly available at https://github.com/Zeyuu0920/T2S_MPC

Authors (3)

Summary

  • The paper presents T2S-MPC, integrating explicit time-embedding in a neural residual model to capture nonstationary dynamics.
  • It employs a two-timescale learning scheme, updating fast and slow parameters separately to achieve rapid adaptation and stable control.
  • Empirical evaluations on a 2D quadrotor demonstrate reduced tracking error and enhanced robustness compared to traditional MPC approaches.

T2S-MPC: Time-Embedded Online Adaptive Model Predictive Control for Time-Varying Dynamics

Motivation and Problem Formulation

The challenge of controlling nonlinear dynamical systems with unknown, unstructured, and unpredictable time-varying dynamics remains fundamental in autonomous robotics, industrial processes, and safety-critical systems. Traditional adaptive control methods are limited by assumptions regarding parametric uncertainty and known structure, precluding robust performance under complex nonstationarity. Existing learning-based MPC techniques, including neural and non-neural architectures, have improved adaptation but largely address specific, structured forms of variation. The T2S-MPC framework introduces a principled approachโ€”explicitly encoding temporal information into a neural residual dynamics model, and employing a two-timescale update protocol to efficiently balance rapid adaptation and stable learning. Figure 1

Figure 1: Schematic representation of T2S-MPC, demonstrating integration of a time-embedded neural residual model and two-timescale learning within the MPC framework.

Methodology

System Decomposition and Model Structure

T2S-MPC decomposes the true dynamics ftf_t as ft=f+rtf_t = f + r_t, where ff is the nominal model and rtr_t is the unknown, time-varying residual. The neural residual model r^ฮธ\hat{r}_\theta receives state, control input, and an explicit time embedding ฯˆ(t)\psi(t), which constitutes the key mechanism for capturing nonstationarity. The time embedding employs structured sine/cosine features with a frequency basis, augmenting the input space to provide explicit temporal context. This architecture avoids reliance on implicit adaptation through online updates alone, a critical limitation observed in prior neural MPC approaches.

Two-Timescale Online Learning

Model parameters ฮธ\theta are partitioned into {ฮธf,ฮธs}\{\theta_f, \theta_s\}, updated at disparate frequencies: ฮธf\theta_f adapts rapidly (every tft_f steps), whereas ft=f+rtf_t = f + r_t0 updates infrequently (every ft=f+rtf_t = f + r_t1 steps). This separation is motivated by the need to track both fast-evolving and slower environmental changes without incurring instability or overfitting. Empirical loss is minimized separately for each partition, with data batches defined by recency and random sampling, respectively.

MPC Integration

At each control step, T2S-MPC solves a finite-horizon OCP with the composite model ft=f+rtf_t = f + r_t2 as system dynamics. Only the first action of the optimized control sequence is executed, maintaining the classical MPC receding horizon protocol.

Experimental Evaluation

2D Quadrotor Testbed

The evaluation utilizes a high-fidelity 2D quadrotor simulation (PyBullet), comprising stabilization and trajectory tracking tasks under diverse time-varying disturbancesโ€”linear drift and periodic perturbationsโ€”with stochastic noise components. Figure 2

Figure 2

Figure 2: Visualization of the 2D quadrotor simulation platform employed for empirical validation.

Disturbances are injected at the acceleration level along the ft=f+rtf_t = f + r_t3-axis to simulate real-world phenomena such as wind or dynamic payloads. Performance metrics include average Euclidean tracking error over multiple runs.

Baselines and Ablation

Comparisons are made against: classical MPC (nominal model only), neural MPC (residual model sans time embedding and two-timescale updates), and two T2S-MPC ablations (removing either time embedding or two-timescale updates). All methods share a standardized control frequency (50 Hz), prediction horizon (ft=f+rtf_t = f + r_t4), and cost structure.

Stabilization and Tracking Performance

T2S-MPC demonstrates marked gains in both stabilization and trajectory tracking tasks, consistently achieving lower error across all disturbance regimes. Strong numerical results are reported: in stabilization, T2S-MPC yields ft=f+rtf_t = f + r_t5 error under linear drift and ft=f+rtf_t = f + r_t6 under periodic disturbance, outperforming both baselines and ablations. Figure 3

Figure 3: Trajectory tracking performance of T2S-MPC compared to baselines and ablated variants, evidencing reduced deviation and robust adaptation under time-varying disturbances.

In trajectory tracking, T2S-MPC achieves up to 20% reduction in average error relative to neural MPC, with superior robustness to both circular and figure-eight references under all disturbance types.

Robustness and Generalization

Through a disturbance ablation study, T2S-MPC maintains performance across wide-ranging magnitudes and periods without hyperparameter retuning, evidencing strong generalization. Notably, response is stable even as disturbance strength increases or as the form of drift changes (e.g., polynomial, stepwise).

Computation Efficiency

Despite increased parameterization due to time embedding, the two-timescale update scheme yields comparable or improved computational efficiency relative to single-scale neural MPC, supporting real-time feasibility (average update times: ~1022 ms for T2S-MPC versus 1268 ms for neural MPC).

Implications and Future Directions

T2S-MPC's explicit temporal conditioning and hierarchical update mechanism constitute a substantive methodological advance, facilitating adaptation to fundamentally unpredictable nonstationarity without structural assumptions, offline meta-learning, or disturbance-specific tuning. Practically, this enables deployment in environments with diverse, evolving dynamics (aerial robots, ground platforms, actuator degradation scenarios). Theoretically, T2S-MPC motivates renewed investigation into representation learning for online adaptive control, particularly regarding the granularity and structure of time embeddings, stability analysis under more aggressive disturbance profiles, and integration with probabilistic uncertainty quantification (e.g., Bayesian neural networks, Gaussian processes).

Anticipated future developments include extension to high-dimensional robotic platforms, increased robustness to high-frequency disturbances, and hybridization with meta-learning and regret-minimization frameworks for provable performance guarantees in unknown nonstationary environments.

Conclusion

T2S-MPC presents a comprehensive framework for online adaptive MPC in time-varying dynamical systems, using explicit time embedding and a two-timescale neural residual update protocol. Empirical evaluations on a quadrotor testbed establish superior adaptation, control accuracy, and robustness across a spectrum of nonstationary scenarios. The approach offers strong practical utility for autonomous systems facing diverse temporal perturbations and provides a foundation for advanced research in adaptive learning-based control.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.