Let Offline RL Flow: Training Conservative Agents in the Latent Space of Normalizing Flows

Dmitriy Akimov, Vladislav Kurenkov, Alexander Nikulin, Denis Tarasov, Sergey Kolesnikov
11/20/2022
21 citations
cs.LGcs.AIcs.NE
diffusion-flowrl

Official code: tinkoff-ai/cnf (12 stars, Python, Apache-2.0, last commit 2023-01-31).

Abstract

Offline reinforcement learning aims to train a policy on a pre-recorded and fixed dataset without any additional environment interactions. There are two major challenges in this setting: (1) extrapolation error caused by approximating the value of state-action pairs not well-covered by the training data and (2) distributional shift between behavior and inference policies.

Show full abstract

One way to tackle these problems is to induce conservatism - i.e., keeping the learned policies closer to the behavioral ones. To achieve this, we build upon recent works on learning policies in latent action spaces and use a special form of Normalizing Flows for constructing a generative model, which we use as a conservative action encoder. This Normalizing Flows action encoder is pre-trained in a supervised manner on the offline dataset, and then an additional policy model - controller in the latent space - is trained via reinforcement learning. This approach avoids querying actions outside of the training dataset and therefore does not require additional regularization for out-of-dataset actions. We evaluate our method on various locomotion and navigation tasks, demonstrating that our approach outperforms recently proposed algorithms with generative action models on a large portion of datasets.

View on arXivView PDF

Code Implementations(1)

tinkoff-ai/cnfOfficial100%
Apache-2.0

Official implementation for "Let Offline RL Flow: Training Conservative Agents in the Latent Space of Normalizing Flows", NeurIPS 2022, Offline RL Workshop

120Python, ShellJan 30, 20233 years agoApache-2.0
deep-reinforcement-learningnormalizing-flowsoffline-reinforcement-learningpytorch-implementation

Similar Papers

Cite this paper

@article{akimov2022offline,
  title  = {Let Offline RL Flow: Training Conservative Agents in the Latent Space of Normalizing Flows},
  author = {Dmitriy Akimov and Vladislav Kurenkov and Alexander Nikulin and Denis Tarasov and Sergey Kolesnikov},
  year   = {2022},
  eprint = {2211.11096},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.11096}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.11096.svg)](https://codeofpaper.com/paper/2211.11096)

Discussion