arXiv:2610.34538cs.ROOct 2026

Manuscript Offprint

arXiv:2610.34538

Dual Gradient Consensus for Adaptive Learning to Transient Out-of-Distribution Disturbances in Quadrotor Control

Mingtian Tan, Vasileios Tzoumas

Mingtian Tan and Vasileios Tzoumas

Abstract—Quadrotor trajectory tracking under unmodeled disturbances often relies on online residual adaptation, but short out-domain residuals can corrupt the learned disturbance model when constant-step updates treat every residual gradient uniformly. We propose Dual Gradient Consensus (DGC), an adaptive-learning method for mixed in-domain/out-domain disturbances that retains the random Fourier feature model, offline BPTT policy, and least-squares adaptation of a prior domain-adaptive residual policy (DAPL) while modifying the online update step size. DGC compares each residual gradient with long- and short-term gradient memories, classifies the current adaptation regime, and uses a confidence map to suppress unreliable updates while recovering adaptation after persistent domain shifts. We evaluate DGC in numerical quadrotor trajectory tracking under four residuals that mix an in-domain component with short out-domain events. Compared with L1L_{1}-augmented MPC, RFF-based MPC, constant-step DAPL, and a frozen-parameter baseline, DGC achieves the lowest mean position RMSE in all four cases.

I. INTRODUCTION

Future aerial robots are expected to track planned trajectories accurately in complex and cluttered near-ground settings, including infrastructure inspection, last-mile delivery, search and rescue, precision agriculture, mapping and surveying, and urban air mobility, under unmodeled and often systematically unknown disturbances [1]-[4]. In such settings, high-speed flight brings unexpected transient events—an inadvertent low-energy collision, a gust strike, brief contact with surrounding structures, leaves ingested by a rotor, or an in-flight motor fault—after which the vehicle must still be controllable rather than only regulated about the original plan [5]-[7].

It is challenging to track the planned trajectory accurately while remaining controllable after such transients. Unknown, time-varying disturbances come in two forms that should not be treated alike: persistent, non-stationary domain changes—changes in aerodynamic loading, a payload that shifts the center of mass in flight, or transitions between regimes with and without ground effect—and the short-lived transients noted above [8]–[10]. A common remedy is online adaptation of a disturbance estimate or an environment representation, allowing the controller to continuously account for the residual dynamics encountered during deployment [10]–[17]. That strategy, however, is itself subject to a mixed-residual issue: the adaptation stream mixes samples that characterize the current in-domain with short out-domain events, and excessive adaptation to the latter causes transient effects to be incorporated into the learned disturbance model rather than treated as temporary deviations. The remaining issue is therefore how to keep adapting when the domain truly changes, without letting short out-domain residuals rewrite the learned disturbance model.

The current state of the art spans several approaches. Robust control bounds tracking error against worst-case disturbances without identifying a residual online [18]–[22]. Classical adaptive control updates coefficients of prescribed basis functions [11]–[13], while disturbance observers, L1L_{1} estimators, and related schemes estimate additive residuals for feedback compensation [8]–[10], [14], [23]–[27], typically through a low-pass frequency split rather than a test of whether the residual is a persistent domain change or a short out-domain residual. Learning-based controllers train policies over randomized environments [28]–[32] or condition them on environment encoders, as in RMA and DATT [10], [15], [33]–[36]. Online non-stochastic control updates sequentially under adversarial disturbances [37]–[42]. Predictive residual models have also been used for model-based control [16], [43], [44]: MPC (RFF) adapts random-feature coefficients and kernel bandwidth online [16], [45], [46], while DAPL applies constant-step least squares to the same pair [17], so in-domain and out-domain residuals enter the update at a uniform rate. Direct online policy learning on hardware has been shown [47]–[49]. However, residual adaptation typically uses a uniform step.

This paper builds on the main pipeline of Domain-Adaptive Policy Learning (DAPL) [17]—the RFF residual model, offline BPTT policy, and online least-squares loss—and develops a consensus-driven step-size adaptation for updating the RFF parameters that represent the unknown disturbance. We propose Dual Gradient Consensus (DGC), overviewed in Figure 1. Two residual-gradient memories, a long-term gradient representing the current domain and a short-term gradient capturing recent evolution, classify each incoming gradient into four adaptation regimes and modulate its update step without altering the gradient itself. Unlike CAdam, which gates Adam coordinates for neural recommenders when the gradient and momentum disagree [50], DGC is a consensus map on the residual step length. In-domain agreement preserves the long-term memory and applies a consensus-modulated step; disagreement with both memories suppresses the update; persistent agreement with the short-term memory triggers a handoff to the new domain. Relative to MPC (RFF) [16] and DAPL [17], the residual features and least-squares objective remain unchanged, while the

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

kernel parameters continue to adapt online. The resulting controller retains the same policy as DAPL while limiting the incorporation of short out-domain residuals into the kernel parameters and preserving adaptation to domain shifts.

We evaluate the method in numerical quadrotor trajectory-tracking simulations under mixed in-domain and out-domain disturbances Section IV. Four disturbance profiles combine an in-domain component with impulsive transients: a steady level change, a zero in-domain residual with repeated impulses, a periodic shift, and a linear ramp. We compare Dual Gradient Consensus with MPC (L1-E) [10], MPC (RFF) [16], DAPL [17], and DAPL without σ\sigma and α\alpha updates. Across all four cases, DGC achieves the lowest mean position RMSE; the advantage is largest under repeated impulses, where constant-step DAPL incorporates transient disturbances into the residual model, while the MPC variants perform well on a stationary offset but degrade under domain shifts. Time histories of residual prediction error, position tracking error, and the applied step sizes are reported together with the RMSE comparison in Section IV-C.

References (50)