Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Off-Policy Deep Reinforcement Learning without Exploration

Batch-constrained Q-learning avoids extrapolation errors when learning from fixed data

  • Problem Standard off-policy deep RL methods like DQN and DDPG fail when they must learn from a fixed batch of data. They extrapolate values for state-action pairs the batch never saw, and those estimates are unreliable.
  • Method BCQ samples candidate actions from a learned generative model of the batch, perturbs them slightly, and picks the highest-valued one. Unlike DDPG, it stays close to actions present in the data.
  • Results BCQ is the only method tested that matches or outperforms the behavioral policy on every MuJoCo task. Its value estimates stay stable, while DDPG and DQN estimates are unstable.

Why fixed-batch learning matters and where standard methods break

Batch reinforcement learning means learning from a fixed dataset with no further interaction with the environment. It is needed where collecting data is costly, risky or slow, and it lets a secondary process, such as a human operator or a monitored program, generate the data. Most modern off-policy deep RL methods work in a growing batch setting instead, where transitions go into an experience replay dataset and the agent keeps training while more data is collected.

Extrapolation error as the cause

The authors call the cause extrapolation error. Unseen state-action pairs receive unrealistic value estimates, and this follows from a mismatch between the distribution of data the policy induces and the distribution stored in the batch. The error enters during the value backup: the target policy selects an action a′ at the next state s′ that is unlikely or absent from the dataset, so the estimate of Q at (s′, a′) is not supported by data.

The authors list three related sources. Absent data means that the estimate at an unseen pair depends on approximation error and nearby data, and can be arbitrarily bad. Model bias arises because the Bellman operator is approximated by averaging over the batch rather than the true MDP, which gives a biased estimate of the expectation over next states, written as \( T^{\pi}Q(s,a) \approx \mathbb{E}_{s'\sim B}[r+\gamma Q(s',\pi(s'))] \).

Training mismatch comes from sampling transitions uniformly from the batch, so the loss follows the likelihood of data in the batch rather than the likelihood under the current policy. Reweighting by the current policy still gives poor estimates when high-likelihood pairs under that policy are absent from the batch.

In an on-policy setting the same error can help, because an overestimated action gets visited and corrected. In a batch setting no new data can be collected, so the error is never corrected.

DDPG on three Hopper-v1 batch settings

The experiments use OpenAI gym's Hopper-v1 environment, and the off-policy DDPG agent never interacts with the environment during training. The three batches differ in how they are collected. For the imitation batch, a trained DDPG agent acted as an expert and produced 1 million transitions.

In every trial of the concurrent setting the off-policy agent trails its behavioral agent by a wide margin, even though both used the same data. The authors read this as evidence that differences in state distribution are enough for extrapolation error to drag down the off-policy agent. The value estimates follow the same pattern: the off-policy agent's estimate diverges, while the behavioral agent's estimate is stable.

With the final buffer the value estimate is also highly unstable, and performance suffers. In the imitation setting the off-policy agent learns non-expert actions despite expert data, its value estimates diverge rapidly, and it fails to learn.

Batch-constrained policies in finite MDPs

The analysis first builds an alternate MDP \(M_B\) from the batch, with the same states and actions as the true MDP \(M\) plus a terminal state \(s_{init}\). Its transition probabilities are the counts \(N(s,a,s')\) divided by the total count over next states, and a pair with no data transitions to \(s_{init}\). Extrapolation error in the tabular case is the difference \( \epsilon_{MDP}(s,a) = Q^{\pi}(s,a) - Q^{\pi_B}(s,a) \), between the value under the true MDP and the value under the batch-induced MDP.

It satisfies a Bellman-like recursion in which transition mismatch, weighted by value, is added to the error at successor states. Lemma 1 says that, for all reward functions, the policy's weighted error is zero exactly when the batch and true transition probabilities agree wherever \( \mu^{\pi}(s)>0 \) and \( \pi(a|s)>0 \). For a deterministic MDP one observed transition is enough for this agreement, but for a stochastic MDP it may take infinitely many samples.

Theorem 2 covers the deterministic case: the error is zero for all reward functions if and only if the policy is batch-constrained, meaning it visits only pairs contained in the batch. If the batch is coherent, meaning every successor of a stored transition is also in the batch unless terminal, such a policy is guaranteed to exist when the start state is in the batch.

Batch-constrained Q-learning (BCQL) restricts the maximization in the tabular update to next actions that appear in the batch. The authors prove it converges to the optimal value function under standard stochastic approximation conditions. For a deterministic MDP with a coherent batch, BCQL converges to the optimal batch-constrained policy, and the authors state that it is guaranteed to outperform any behavioral policy from states contained in the batch.

These proofs are in the supplementary material, and the guarantee does not extend to stochastic MDPs.

How BCQ approximates the batch constraint

BCQ approximates the batch constraint with a learned state-conditioned generative model \( G_\omega(s) \), used in place of the intractable likelihood of actions in the batch. The authors use a conditional variational auto-encoder for it. A perturbation model \( \xi_\phi(s,a,\Phi) \) outputs an adjustment to an action within \( [-\Phi,\Phi] \), so that actions near the generated ones are reachable without sampling the generator many times.

At run time the policy samples \( n \) actions from \( G_\omega(s) \), perturbs each one, and selects the perturbed action with the highest \( Q_\theta \). The choice of \( n \) and \( \Phi \) trades off between imitation and reinforcement learning: with \( \Phi = 0 \) and \( n = 1 \) it resembles behavioral cloning, while larger \( \Phi \) and \( n \) move it toward Q-learning over the whole action range.

Training uses four networks: the generative model, the perturbation model and two Q-networks \( Q_{\theta_1}, Q_{\theta_2} \). The VAE is updated from batch transitions, the Q-networks regress onto a target, and the perturbation model is updated by the deterministic policy gradient to maximize \( Q_{\theta_1} \) over perturbed sampled actions.

The learning target takes a weighted combination of the minimum and maximum over the two target Q-networks, evaluated at the perturbed sampled actions, in the form \( r+\gamma \max_{a_i}[\lambda \min_j Q_{\theta'_j}(s',a_i)+(1-\lambda)\max_j Q_{\theta'_j}(s',a_i)] \). Setting \( \lambda = 1 \) recovers Clipped Double Q-learning, and smaller \( \lambda \) lets the target penalize less of the uncertainty at future steps.

BCQ against baselines in MuJoCo batch settings

The evaluation focuses on MuJoCo environments in OpenAI gym, with no changes to the environments or reward functions. The baselines are DDPG, DQN with an independently discretized action space, a feed-forward behavioral cloning method, and a variant with a VAE (VAE-BC) using \( G_\omega(s) \) from BCQ. The three batch settings from Section 3.1 are the final buffer, concurrent and imitation settings, and an imperfect demonstrations task adds 100k transitions from an expert policy.

In that task the behavioral policy selects random actions with probability 0.3, and N (0, 0.3) exploratory noise is added to the remaining actions.

Across these settings BCQ is the only method that matches or outperforms the behavioral policy on all tasks. It beats the other agents everywhere except the imitation task, where behavioral cloning performs best. The estimated values differ sharply. BCQ's value function is highly stable across tasks, while DDPG and DQN value estimates are unstable under off-policy samples, which the authors take as a sign that the batch constraint mitigated extrapolation error.

In the imperfect demonstrations task, deep RL and imitation baselines perform poorly, while BCQ clearly outperforms the noisy demonstrator, which the authors describe as separating poor actions from expert ones. Deep RL algorithms such as those cited in the paper can need millions of time steps, while BCQ reaches high performance in far fewer iterations.

The authors take this as evidence that BCQ uses the expert transitions effectively even with noise. A single set of hyper-parameters was used for all tasks and environments.

Limits of the guarantees and the evidence

The convergence and elimination results are for finite MDPs, and the error elimination is proven for deterministic MDPs. For stochastic MDPs, evaluating a policy without extrapolation error may need infinitely many samples.

The continuous state space and high-dimensional action space of MuJoCo contribute to extrapolation error, but the authors note that these tasks are small compared with real-world settings. Experiments do not test that scale.

Paper info

Authors
Scott Fujimoto, David Meger, Doina Precup
Venue
arXiv · Preprint
First published
2018-12-7
Added
2026-11-6
Updated
2019-8-10
Version
v3
arXiv
1812.02900
Category
cs.LG · cs.AI · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Scott Fujimoto, David Meger, Doina Precup (2018). Off-Policy Deep Reinforcement Learning without Exploration. arXiv:1812.02900v3. https://arxiv.org/abs/1812.02900v3

BibTeX
@misc{fujimoto2018policy,
  title = {{Off-Policy Deep Reinforcement Learning without Exploration}},
  author = {Scott Fujimoto and David Meger and Doina Precup},
  year = {2018},
  eprint = {1812.02900},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.02900v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up