Abstract
Offline Reinforcement Learning (RL) enables training agents from static datasets, avoiding the costs and risks of real-world interaction. However, it suffers from distributional shift, where agents overestimate the value of out-of-distribution (OOD) actions. While online fine-tuning can mitigate this, it is often impractical in high-stakes domains. We present Offline-with-Action-Preferences (OAP), an interaction-free scheme that uses expert preference queries between pre-collected and learned actions to correct value estimates. OAP adaptively adjusts policy constraints based on these preferences, allowing for beneficial policy improvement while suppressing overestimation. Our experiments on the D4RL benchmark show that OAP improves performance by 29% on average, with a 98% boost in challenging AntMaze tasks, often outperforming methods that require environment interaction.
Introduction
The primary challenge in Offline RL is the "distributional shift" problem. When an agent evaluates actions not present in the training data, it lacks ground-truth feedback, leading to erroneously high value estimates. Traditional solutions involve "pessimism," constraining the agent to stay close to the behavior policy. However, strict pessimism can prevent the agent from discovering better strategies. Online fine-tuning is the standard remedy, but in fields like healthcare or autonomous driving, exploratory interactions can be catastrophic. OAP addresses this by substituting risky environment interactions with safe expert preference queries.
Methodology: Offline-with-Action-Preferences (OAP)
OAP introduces a novel training pipeline that leverages a blackbox preference model to guide the learning process without environment interaction.
The framework consists of three main components:
- Action Preference Query: The system identifies state-action pairs where the current policy significantly diverges from the dataset. It queries a preference model to determine if the agent's proposed action is superior to the dataset action.
- Pseudo-Querying with RankNet: To minimize query costs, OAP uses a small set of expert-labeled preferences to train a RankNet. This model then generates "pseudo-labels" for the remaining dataset, providing dense supervision across the entire state space.
- Adjusted Policy Constraint: Unlike standard offline RL which applies a uniform penalty to OOD actions, OAP uses an adaptive constraint. If the preference model indicates the agent's action is better, the constraint is relaxed to facilitate improvement. Conversely, if the dataset action is preferred, the constraint is tightened to prevent overestimation.
Experimental Evaluation
We evaluated OAP across the D4RL benchmark, including Gym-Mujoco, AntMaze, and Adroit domains. OAP was integrated into state-of-the-art offline algorithms like TD3+BC and IQL.
The results demonstrate significant performance gains:
- AntMaze Performance: OAP achieved a 98% improvement over standard offline methods in AntMaze, which requires complex long-horizon navigation.
- Comparison with Online Methods: Remarkably, OAP frequently outperformed Offline-to-Online (O2O) methods. This indicates that structured preference feedback can be more effective at correcting value functions than limited, noisy environment rewards.
- Robustness: Theoretical analysis and empirical tests show that OAP maintains a performance lower bound even when the preference model is sub-optimal, making it viable for real-world applications where "perfect" experts are unavailable.
Conclusion
Offline-with-Action-Preferences (OAP) offers a powerful, safety-conscious alternative to online fine-tuning. By converting the problem of value estimation into one of preference ranking, OAP enables agents to safely explore and improve upon their training data. The significant performance boosts across diverse benchmarks suggest that action preferences are a highly efficient signal for training robust RL agents in high-stakes environments.
Summary updated