All models

AWAC (Accelerating Online Reinforcement Learning)

Policy and Q-function networks of AWAC, an actor-critic method that pretrains offline and fine-tunes online.

Reinforcement learning and control · 46 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (12 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
347.9K
Operations
46
Framework
PyTorch
Recurrent
No
Published
2020
Cited by
813 (as of 15 November 2026)
Authors
Ashvin Nair, Abhishek Gupta, Murtaza Dalal, Sergey Levine
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14614
Graph hash
e12220746f8e92abfec663fa97efac163f2ec7251233a5d0ae3b8a3ac3bd63a8
Skeleton hash
6d34c04eef8899aab0498259751e3b677c311899a2334f907d941f74e96f157b
Architecture hash
1c2215dee2a966b41acbb78333bda35c462ff3d25eb7d1ac0464ed4ab5a99a7f
Diagram SHA-256
6cebe32af83d6f3dfe102b1903b973d08c5ce30661f81b41cc0543500bf5fd92
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

AWAC (advantage weighted actor critic) is a reinforcement learning algorithm for a practical setting: learn from data collected earlier, then keep improving the policy with online experience. The paper starts from the observation that classic reinforcement learning needs a lengthy active exploration process for each behavior, which makes it hard to apply in real-world settings such as robotic control. Prior data, either expert demonstrations or sub-optimal transitions, would give learning a starting point.

The method uses dynamic programming to train a critic and a supervised learning style update to train the actor. This actor update amounts to weighted maximum likelihood. It implicitly enforces a constraint that mitigates the effects of distribution shift when learning from offline data, and it does so without an explicit model of the behavior policy.

In practice the actor and the critic are each parameterized by a neural network. The paper's implementation builds on twin soft actor-critic, which takes its twin Q-function architecture from TD3. The paper demonstrates the method on simulated and real-world robotics domains, including dexterous manipulation with a real multi-fingered hand, drawer opening with a robotic arm, and rotating a valve.

Key idea. AWAC combines sample-efficient dynamic programming for the critic with maximum likelihood policy updates, so a policy trained on offline data can continue to improve with online fine-tuning.

  • AWAC
  • Advantage Weighted Actor Critic
  • offline reinforcement learning
  • online fine-tuning
  • offline-to-online RL
  • actor critic
  • robotic control
  • learning from demonstrations
  • rlkit

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{nair2021awacacceleratingonlinereinforcement,
      title={AWAC: Accelerating Online Reinforcement Learning with Offline Datasets}, 
      author={Ashvin Nair and Abhishek Gupta and Murtaza Dalal and Sergey Levine},
      year={2021},
      eprint={2006.09359},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2006.09359}, 
}