Model Reference Adaptive Control for Online Policy Adaptation and Network Synchronization

Miguel F. Arevalo-Castiblanco, César A. Uribe, Eduardo Mojica-NavaCDC 2021

Introduction

Reinforcement Learning (RL) has demonstrated significant potential in robotics, yet it faces a persistent challenge known as the reality gap. Policies trained in high-fidelity simulations often fail when deployed on physical hardware due to discrepancies in mass, friction, and other physical parameters. This issue is magnified in Multi-Agent Systems (MAS), where heterogeneous agents—such as swarms of drones or distributed power grids—must synchronize their behaviors while operating under local communication constraints and hardware variations.

The DMRAC-RL Framework

To address these challenges, this research introduces Distributed Model Reference Adaptive Control for Reinforcement Learning (DMRAC-RL). This framework integrates "off-the-shelf" RL-trained policies with adaptive control laws to compensate for physical mismatches in real-time. By wrapping the RL policy in an adaptive control loop, the system can "correct" errors caused by the reality gap without requiring the policy itself to be retrained for every hardware variation.

The proposed DMRAC-RL architecture, featuring a leader with a reference model and multiple follower agents.

The architecture utilizes a leader-follower structure. The leader agent possesses the reference model and the pre-trained RL policy (specifically, a Deep Deterministic Policy Gradient or DDPG agent). Follower agents do not have direct access to the reference model; instead, they observe the states and actions of their immediate neighbors in a directed communication graph.

Each agent employs an internal adaptive loop that calculates an augmented control input ($u_i$). This input is based on the difference between the agent's actual state and the desired trajectory. Unlike standard "black-box" RL approaches, the authors provide a formal stability analysis using Lyapunov’s theory, mathematically guaranteeing that the synchronization error between agents will eventually vanish.

Experimental Results and Key Insights

The framework was evaluated using a network of simulated inverted pendulums, a classic benchmark in control theory. The agents were modeled with varying masses and lengths to simulate a heterogeneous network.

A key insight of this work is the separation of concerns: the RL policy handles the high-level task (e.g., swinging up the pendulum), while the adaptive control layer handles the low-level hardware variations. This approach is computationally efficient as it avoids the need for "robust" training that accounts for every possible physical deviation.

Trajectory synchronization of a heterogeneous network of inverted pendulums using DMRAC-RL.

As shown in the results, even with different initial conditions and heterogeneous dynamics, the agents' trajectories ($\theta_i$) successfully converge to the reference behavior. In tests involving a 12-node distributed network, the DMRAC-RL framework prevented instability even when system parameters deviated by up to 10% from the training model—a scenario where raw RL policies typically fail.

Conclusion and Future Directions

DMRAC-RL provides a robust method for bridging the reality gap in multi-agent systems. By combining the flexibility of RL with the mathematical guarantees of adaptive control, the framework enables heterogeneous robots to synchronize effectively. Future research will focus on extending this framework to inherently nonlinear dynamics, handling stochastic environmental disturbances such as wind gusts, and addressing communication constraints like message latency or packet loss in real-world deployments.

Summary updated

BibTeX
@inproceedings{arevalocastiblanco2021model,
  author = {Miguel F. Arevalo-Castiblanco and César A. Uribe and Eduardo Mojica-Nava},
  title = {{Model Reference Adaptive Control for Online Policy Adaptation and Network Synchronization}},
  booktitle = {CDC},
  year = {2021},
  doi = {10.1109/cdc45484.2021.9683267},
}
Figure