artificial intelligence

RAD: Retrieval High-quality Demonstrations to Enhance Decision-making

arXiv:2507.15356

summary

The paper proposes RAD, a method that improves offline reinforcement learning by retrieving high-return states from the dataset and generating sub-trajectories toward these targets to enhance policy generalization.

Abstract

Offline reinforcement learning (RL) learns policies from fixed datasets, thereby avoiding costly or unsafe environment interactions. However, its reliance on finite static datasets inherently restricts the ability to generalize beyond the training distribution. Prior solutions based on synthetic data augmentation often fail to generalize to unseen scenarios in the (augmented) dataset. To address these challenges, we propose Retrieval High-quAlity Demonstrations (RAD) for decision-making, which innovatively introduces a retrieval mechanism into offline RL. Specifically, RAD retrieves high-return and reachable states from the offline dataset as target states, and leverages a generative model to generate sub-trajectories conditioned on these targets for planning. Since the targets are high-return states, once the agent reaches such a target, it can continue to obtain high returns by following the associated high-return actions, thereby improving policy generalization. Extensive experiments confirm that RAD achieves competitive or superior performance compared to baselines across diverse benchmarks, validating its effectiveness. Our code is available at https://github.com/LeahGL/RAD.

Topics & keywords

#offline reinforcement learning#retrieval-based planning#demonstration retrieval#generative models#policy generalizationoffline RLhigh-return state retrievalgenerative sub-trajectory modeldecision-makingplanning
RAD: Retrieval High-quality Demonstrations to Enhance Decision-making · wovepaper