Skip to main content
QUICK REVIEW

[論文レビュー] Offline Reinforcement Learning with Implicit Q-Learning

Ilya Kostrikov, Ashvin Nair|arXiv (Cornell University)|Oct 12, 2021
Reinforcement Learning in Robotics参考文献 23被引用数 129
ひとこと要約

Implicit Q-Learning (IQL) はオフライン学習中に未観測の行動を評価しないよう、状態条件付きの期待値(expectiles)を用いて最良のインディストリビューション内の行動を近似し、多段階の動的計画を可能にし、D4RLベンチマークで高い性能を発揮します。

ABSTRACT

Offline reinforcement learning requires reconciling two conflicting aims: learning a policy that improves over the behavior policy that collected the dataset, while at the same time minimizing the deviation from the behavior policy so as to avoid errors due to distributional shift. This trade-off is critical, because most current offline reinforcement learning methods need to query the value of unseen actions during training to improve the policy, and therefore need to either constrain these actions to be in-distribution, or else regularize their values. We propose an offline RL method that never needs to evaluate actions outside of the dataset, but still enables the learned policy to improve substantially over the best behavior in the data through generalization. The main insight in our work is that, instead of evaluating unseen actions from the latest policy, we can approximate the policy improvement step implicitly by treating the state value function as a random variable, with randomness determined by the action (while still integrating over the dynamics to avoid excessive optimism), and then taking a state conditional upper expectile of this random variable to estimate the value of the best actions in that state. This leverages the generalization capacity of the function approximator to estimate the value of the best available action at a given state without ever directly querying a Q-function with this unseen action. Our algorithm alternates between fitting this upper expectile value function and backing it up into a Q-function. Then, we extract the policy via advantage-weighted behavioral cloning. We dub our method implicit Q-learning (IQL). IQL demonstrates the state-of-the-art performance on D4RL, a standard benchmark for offline reinforcement learning. We also demonstrate that IQL achieves strong performance fine-tuning using online interaction after offline initialization.

研究の動機と目的

  • データが固定されたデータセットから得られ、オンライン探索が高コストまたは危険である場合のオフライン強化学習を動機づける。
  • 価値学習の間に未観測の行動を照会しない方法を提案する。
  • データセットの行動分布のサポートを介して方策改善を暗黙的に行うためにexpectile回帰を活用する。
  • 訓練中に明示的な方策を用いずに多段階の動的計画を実現し、その後に簡単な方策抽出ステップを行う。
  • D4RLベンチマークで強力な実証性能と、オフライン初期化に対する頑健性を示す。

提案手法

  • データセット内の行動に制約されたターゲットを持つ、非対称のexpectile回帰目的を定義して、状態-行動値を推定する。
  • 行動分布に対するQのexpectileを近似する別の価値関数Vを用い、次状態の報酬 r(s,a)+γV(s′) でQをバックアップする。
  • expectile損失とSARSA風のTD目的関数を交互更新してQとVを学習し、分布外の行動を回避する。
  • QとVを用いて未観測行動を照会せずに、アドバンテージ重み付きビヘイビアル cloning (AWR) によって方策を抽出する。
  • Vと方策の更新を安定化させるためにクリップ付きダブルQ学習を用い、ターゲット推定には2つのQ関数を使用する。
  • 標準的なSARSA様の更新から容易に変更可能で、最新のハードウェア上で効率的な実装を提供する。
  • オンラインデータと同時に学習を継続することでオンライン微調整を議論する。

実験結果

リサーチクエスチョン

  • RQ1オフラインRLは分布外の行動を照会せずに、行動ポリシーを大きく上回る政策改善を達成できるか?
  • RQ2サポート内の行動値をexpectileベースで学習することは、オフラインRLにおいて効果的な多段階の動的計画を可能にするか?
  • RQ3特にAnt Mazeタスクにおいて、IQLはD4RLベンチマークの多段階・単段階のオフラインRL手法とどう比較されるか?
  • RQ4分布外照会なしで価値関数を学習した場合、単純な方策抽出法(アドバンテージ加重回帰)は十分か?
  • RQ5オフライン初期化後にオンラインで効果的にファインチューニングできるか?

主な発見

データセットBC10% BCDTAWACワンステップ RLTD3+BCCQLIQL(提案手法)
halfcheetah-medium-v242.642.542.643.548.448.344.047.4
hopper-medium-v252.956.967.657.059.659.358.566.3
walker2d-medium-v275.375.074.072.481.883.772.578.3
halfcheetah-medium-replay-v236.640.636.640.538.144.645.544.2
hopper-medium-replay-v218.175.982.737.297.560.995.094.7
walker2d-medium-replay-v226.062.566.627.049.581.877.273.9
halfcheetah-medium-expert-v255.292.986.842.893.490.791.686.7
hopper-medium-expert-v252.5110.9107.655.8103.398.0105.491.5
walker2d-medium-expert-v2107.5109.0108.174.5113.0110.1108.8109.6
locomotion-v2 total466.7666.2672.6450.7684.6677.4698.5692.4
antmaze-umaze-v054.662.859.256.764.378.674.087.5
antmaze-umaze-diverse-v045.650.253.049.360.771.484.062.2
antmaze-medium-play-v00.05.40.00.00.310.661.271.2
antmaze-medium-diverse-v00.09.80.00.70.03.053.770.0
antmaze-large-play-v00.00.00.00.00.00.215.839.6
antmaze-large-diverse-v00.06.00.01.00.00.014.947.5
antmaze-v0 total100.2134.2112.2107.7125.3163.8303.6378.0
total566.9800.4784.8558.4809.9841.21002.11070.4
  • IQLはAnt Mazeタスクで最先端の性能を達成する。これは、サブ最適な軌跡をつなぐ多段階の動的計画を必要とする領域である。
  • MuJoCo運動タスクでは、IQLは従来法の中で最良と競合する(特にCQLと同等以上)。
  • 計算効率が高く、例としてGTX1080での1M更新は20分未満で完了し、再実装ベースラインより速い。
  • より大きなexpectile値(τ)は stitchタスクにとって重要であり、より高いτはAnt MazeにおけるQ-learningの近似性を向上させる。
  • オフラインの結果はオンライン微調整で補完され、IQLの初期化後にオンライン相互作用を行うと、報告設定でAWACやCQLと比較して競争力がある、または上回る最終性能を得る。
  • IQLは、価値学習中に分布外の行動を明示的に照会することを避け、単純な重み付きビヘイビアローニング抽出によって効果的な方策を見出す。

より良い研究を、今すぐ始めましょう

論文設計から論文執筆まで、研究時間を劇的に削減しましょう。

クレジットカード登録不要

このレビューはAIが作成し、人間の編集者が確認しました。