All models

SPiRL

A latent variable model that learns reusable skills and a state-conditioned prior over them for RL.

Reinforcement learning and control · 209 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 (116 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
398.8K
Operations
209
Framework
PyTorch
Recurrent
Yes
Published
CoRL 2020
Cited by
80 (as of 27 October 2026)
Authors
Karl Pertsch, Youngwoon Lee, Joseph J. Lim
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
m20116
Graph hash
d772e79b263f59360c41262a33c6646003f76ead0a3410d3258fde7e1df6f475
Skeleton hash
f68fee1df22b748671480101e5b2c3484a6b798359ba627125bda0de28fbb412
Architecture hash
ea20cd752dee237e4463053a732a7d538211261c9e9b2f7f273f1dc877238142
Diagram SHA-256
5adbcd5166c0b5de3b58e2c1632f04d95f6caefab30e2a0921016215e223e29f
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

SPiRL (Skill-Prior RL) addresses a gap in reinforcement learning (RL): agents rely on prior experience when learning a new task, yet most RL approaches learn every task from scratch. Transferring skills from earlier tasks helps, but as prior experience grows the number of transferable skills grows too, and exploring all of them becomes hard. SPiRL responds with a deep latent variable model that jointly learns an embedding space of skills and a prior over those skills from offline agent experience.

The skill encoder maps an action sequence to a posterior distribution over latent skill embeddings. The skill decoder reconstructs the action trajectory from a sample of that posterior. The skill prior maps the current environment state to a prior distribution over skill embeddings. In the paper's implementation the skill encoder is a one-layer LSTM with 128 hidden units. The skill prior is a 6-layer fully-connected network with 128 hidden units per layer.

For a new task, a high-level policy outputs skill embeddings instead of single actions, and the learned skill decoder turns them into action sequences. The learned prior takes the place of the entropy term used in maximum-entropy RL. The paper evaluates SPiRL on one simulated navigation task and two simulated robotic manipulation tasks. Its kitchen training data consists of 400 teleoperated sequences of a 7-DoF robot arm.

Key idea. SPiRL learns a skill embedding space and a skill prior from offline experience, then extends maximum-entropy reinforcement learning to use the prior to guide downstream learning.

  • SPiRL
  • Skill-Prior RL
  • skill prior
  • learned skill priors
  • skill-based reinforcement learning
  • hierarchical reinforcement learning
  • skill transfer
  • skill embedding

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

Cite the paper

@misc{pertsch2020acceleratingreinforcementlearninglearned,
      title={Accelerating Reinforcement Learning with Learned Skill Priors}, 
      author={Karl Pertsch and Youngwoon Lee and Joseph J. Lim},
      year={2020},
      eprint={2010.11944},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2010.11944}, 
}