[Paper Review] Regret Minimization Experience Replay in Off-Policy Reinforcement Learning
This paper proposes ReMERN and ReMERT, two novel prioritized experience replay methods for off-policy reinforcement learning that optimize sampling weights based on regret minimization. By theoretically deriving optimal prioritization from minimizing policy regret, the methods prioritize experiences with higher hindsight TD error, better on-policiness, and more accurate Q-values—outperforming prior methods on MuJoCo, Atari, and Meta-World benchmarks.
In reinforcement learning, experience replay stores past samples for further reuse. Prioritized sampling is a promising technique to better utilize these samples. Previous criteria of prioritization include TD error, recentness and corrective feedback, which are mostly heuristically designed. In this work, we start from the regret minimization objective, and obtain an optimal prioritization strategy for Bellman update that can directly maximize the return of the policy. The theory suggests that data with higher hindsight TD error, better on-policiness and more accurate Q value should be assigned with higher weights during sampling. Thus most previous criteria only consider this strategy partially. We not only provide theoretical justifications for previous criteria, but also propose two new methods to compute the prioritization weight, namely ReMERN and ReMERT. ReMERN learns an error network, while ReMERT exploits the temporal ordering of states. Both methods outperform previous prioritized sampling algorithms in challenging RL benchmarks, including MuJoCo, Atari and Meta-World.
Motivation & Objective
- To address the objective mismatch in prior prioritized experience replay methods, which optimize proxy objectives like TD error instead of minimizing policy regret.
- To derive a theoretically optimal prioritization strategy that directly minimizes policy regret in off-policy reinforcement learning.
- To provide practical, stable approximations for the theoretical optimal weights using error networks (ReMERN) and temporal distance (ReMERT).
- To improve sample efficiency and learning performance in challenging environments with high stochasticity or complex dynamics.
- To enable plug-in integration with existing off-policy RL algorithms like DQN and SAC without architectural changes.
Proposed method
- Proposes a regret minimization framework that formulates prioritization as an optimization problem to minimize policy regret.
- Derives theoretical optimal prioritization weights based on three factors: hindsight TD error, on-policiness (estimated via classifier on transition age), and Q-value accuracy.
- Introduces ReMERN, which uses a learned error network to estimate Q-value suboptimality via Approximate Dynamic Programming.
- Introduces ReMERT, which estimates Q-accuracy using temporal distance to terminal states, leveraging the fact that Bellman error accumulates backward from terminal states.
- Applies weight normalization and truncated TCE (Temporal Correctness Estimation) to stabilize training and prevent extreme prioritization weights.
- Designs the methods as plug-in modules compatible with standard off-policy RL algorithms, requiring only replay buffer sampling modifications.
Experimental results
Research questions
- RQ1Can a theoretically optimal prioritization strategy derived from regret minimization outperform heuristic criteria like TD error or recentness in experience replay?
- RQ2How can on-policiness and Q-value accuracy be effectively estimated and incorporated into prioritization without access to the optimal Q-value?
- RQ3Does the temporal structure of trajectories—specifically distance to terminal states—provide a reliable proxy for Q-value accuracy in off-policy learning?
- RQ4Can regret-minimization-based prioritization consistently improve sample efficiency and final performance across diverse RL benchmarks?
- RQ5How do ReMERN and ReMERT compare to prior methods like PER and DisCor in environments with stochastic rewards or random target positions?
Key findings
- ReMERT achieves state-of-the-art performance on Atari environments, outperforming DQN with baseline, PER, and other baselines, with a mean score of 145,235±94,643 on UpNDown, compared to 134,502±68,727 for the baseline.
- In MuJoCo Ant-v2, ReMERT shows superior performance in environments with high correlation between Q-loss and distance to terminal state, confirming the theoretical intuition.
- ReMERN significantly improves performance in stochastic environments such as those with noisy rewards or random target positions, where prior methods struggle.
- The negative correlation between Q-value error and distance to terminal state is empirically validated in Ant-v2 and Hopper-v2, with stronger correlation in Ant-v2.
- ReMERT outperforms other algorithms in environments with strong temporal error accumulation, while showing weaker gains in tasks like Hopper-v2 where Q-loss is uniformly low.
- The ablation study confirms that all three components—hindsight TD error, on-policiness, and Q-accuracy—contribute to improved performance, with ReMERT’s TCE-based estimation being particularly effective in complex control tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.