Skip to content
StackDecode
AI & ML Atlas
Reinforcement LearningalgorithmAnimated walkthrough

Offline Reinforcement Learning

Learns a policy purely from a fixed dataset of past interactions.

The idea

There is no further interaction with the environment, which is essential where exploration is costly or unsafe (healthcare, driving). The challenge is that a learnt policy may choose actions absent from the data, whose values are over-estimated. Methods such as CQL and IQL stay close to the data or penalise unseen actions.

Watch it run

The pipeline lights up one step at a time. Use the controls to pause or step through it.

  1. 1Gather a fixed dataset of transitions.
  2. 2Train a value function and policy from it only.
  3. 3Constrain or penalise actions outside the data support.
  4. 4Evaluate carefully before deploying.
1/4

Step by step

  1. 1Gather a fixed dataset of transitions.
  2. 2Train a value function and policy from it only.
  3. 3Constrain or penalise actions outside the data support.
  4. 4Evaluate carefully before deploying.

Where it is used

Healthcare, recommendation and robotics where live exploration is risky.

Watch out for

Distribution shift between the data and the learnt policy, and hard evaluation without a simulator.

Related