Adversarial Fine-tuning in Offline-to-Online Reinforcement Learning for Robust Robot Control

Shingo Ayabe, Hiroshi Kera, Kazuhiko KawamotoarXiv 2025 · DOI

Abstract

Reinforcement Learning (RL) policies trained on static offline datasets often fail when deployed in real-world environments subject to actuator noise or faults. This paper presents a framework for offline-to-online RL that enhances robot robustness through an adaptive adversarial curriculum. By pre-training on clean data and fine-tuning with intelligently generated perturbations, the resulting policies maintain high performance in nominal conditions while effectively compensating for significant action-space disturbances.

The Challenge: The Conservatism Paradox

A primary hurdle in deploying RL for robotics is the "conservatism paradox." Standard offline RL algorithms are designed to be conservative; they penalize the agent for taking actions that deviate significantly from the training dataset to avoid unpredictable errors. While this ensures stability during training, it creates extreme fragility in the face of environmental changes or hardware degradation.

The gap between the training dataset distribution and the actions required to compensate for perturbations.

As illustrated in the figure above, when a robot encounters a perturbation (e.g., a weakened motor), the "correct" compensatory action often falls far outside the distribution of the original training data. Because the offline dataset lacks these recovery transitions, a conservative policy cannot learn to execute them, leading to catastrophic failure when the robot is "pushed" out of its comfort zone.

Methodology: Adversarial Fine-tuning

To bridge this gap, the authors propose a three-stage pipeline:

  1. Offline Pre-training: The agent is first trained on high-quality, "clean" expert data using a conservative offline RL algorithm (TD3+BC). This establishes a strong baseline performance without risking physical hardware.
  2. Adversarial Perturbation Generation: Instead of using random noise, the framework employs Differential Evolution (DE) to identify specific adversarial perturbations that most effectively exploit the pre-trained policy's weaknesses before online fine-tuning begins.
  3. Adaptive Curriculum Fine-tuning: The agent then transitions to online interaction. Perturbations are injected into the action space with a probability $q$. To prevent the agent from forgetting how to operate in normal conditions, the system uses an Adaptive Curriculum. By tracking an Exponential Moving Average (EMA) of performance, the difficulty ($q$) is automatically adjusted—increasing when the robot succeeds and decreasing when it struggles.
An adversarially fine-tuned policy successfully aligns action distributions for both normal and perturbed environments.

Experimental Results

The framework was evaluated using the D4RL benchmark on MuJoCo tasks (Hopper, HalfCheetah, and Ant). The results demonstrate a significant leap in robustness:

  • Robustness in Ant-v2: Under adversarial conditions, the proposed method achieved a normalized score of 91.6, whereas the standard offline-only baseline failed completely, scoring -21.0.
  • Mitigating Performance Decay: In the Hopper-v2 environment, a standard linear curriculum caused nominal (unperturbed) performance to drop to 76.5. In contrast, the adaptive strategy maintained a high score of 97.5, proving that robustness does not have to come at the cost of standard efficiency.
  • Sample Efficiency: Fine-tuning from an offline base reached peak performance significantly faster than training an adversarial policy from scratch in a purely online setting.

Conclusion and Future Directions

This research highlights that robustness in RL requires moving beyond the constraints of static datasets. The combination of offline pre-training and adaptive adversarial fine-tuning provides a practical path for deploying robots in unpredictable real-world settings. Future work will look to extend this framework to handle time-varying uncertainties, such as sensor delays, and integrate state-space perturbations to create a more holistically robust control system.

Summary updated

BibTeX
@misc{ayabe2025adversarial,
  author = {Shingo Ayabe and Hiroshi Kera and Kazuhiko Kawamoto},
  title = {{Adversarial Fine-tuning in Offline-to-Online Reinforcement Learning for Robust Robot Control}},
  year = {2025},
  eprint = {2510.13358},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.13358},
}
Figure