Effect-Driven Skill Abstractions for Offline Reinforcement Learning
Authors: Burcu Kilic, David Drexel, Emre Ugur, Justus Piater
Organizations: Department of Computer Engineering, Bogazici University, Türkiye · Department of Computer Science, University of Innsbruck, Austria · Department of Computer Engineering, Middle East Technical University, Türkiye · Digital Science Center, University of Innsbruck, Austria
We seek to learn discrete skill abstractions to facilitate long-horizon, goal-conditioned reinforcement-learning (RL) tasks. Recent approaches have shown success by quantizing actions via clustering or reconstruction. However, these objectives lead to skills that are not directly related to what the current state affords or what the goal requires. Instead, we argue that goal-directed skills should be driven by how they affect the state of the agent. To realize this, we introduce a novel quantization method for action chunks that optimizes next-state predictions conditioned on the current state and action. This objective encourages skills to be distinguished by the future states they lead to, resulting in a vocabulary that spans diverse outcomes reachable from a given state. Our framework can easily be paired with common offline RL methods by replacing their continuous actor head with a discrete one that selects among the learned skills. We can execute these skills in the environment by converting them back to continuous actions using a trained low-level controller. Experiments on benchmark navigation and manipulation tasks largely show substantial and consistent improvements over both the continuous-actor baselines and reconstruction-based discretizations. Our project page can be found at: https://burcukilic.github.io/projects/effect-driven-skill-abstractions/.
Figures & tables
Figure 1: Three-stage training and evaluation overview of our proposed framework. Stage I : Action chunk quantization, optimized for predicting next-state features. Stage II : Learning to execute the skill codes. Stage III : Training a goal-conditioned discrete policy that produces skill codes. During evaluation, the high-level policy πZ produces discrete skill codes that are converted to continuous actions by the trained low-level controller and are executed in the environment.
Figure 2: Learned skills in the humanoidmaze-medium-navigate-v0 environment at five different states (black stars). Left: next-state predictions by the skills discovered at Stage I. Right: sample rollouts of the low-level controller trained at Stage II.
Figure 3: Displacement clusters in the offline dataset colored by skill code produced by the four quantization methods in Stage - I on antmaze-large-navigate (top) and humanoidmaze-medium-navigate (bottom). The baseline methods are Reconstruction-Based Quantization (RBQ), Full-State Prediction (FSP), and Single-Step Action Quantization (SSAQ), as detailed in the text. Each dot represents the displacement entailed by an action chunk at:t+L sampled from the offline dataset and is colored by the corresponding code k . Markers locate the centroids of all action-chunk samples mapped to the same k .
Environment
Ours
FSP
SSAQ
RBQ
antmaze-medium-navigate
72±2
27±3
10±1
21±13
antmaze-large-navigate
46±4
19±2
9±2
15±8
antmaze-giant-navigate
4±1
0±0
0±0
0±0
antmaze-medium-stitch
60±9
20±3
49±7
53±8
antmaze-large-stitch
16±2
10±0
11±3
12±5
antmaze-giant-stitch
0±0
0±0
0±0
0±0
Table 1: Success Rate ( % ) for trained policies that use different Stage I architectures: Ours, Full-State Prediction (FSP), Single-Step Action Quantization (SSAQ), and Reconstruction Based Quantization (RBQ). The runs are taken with GCBC for state-based and GCIQL for pixel-based tasks. The results report the mean and standard deviation of the success rates over 5 seeds. Bold values indicate statistically best or indifferent models (Welch’s t-test, p>0.05).
GCBC
GCIQL
GCIVL
QRL
Environment
Base
D-
Base
D-
Base
D-
Base
D-
pointmaze
medium-navigate
9±6
37±7
53±8
85±4
63±6
89±3
82±5
88±5
large-navigate
29±6
67±11
45±5
67±5
34±5
88±6
86±9
91±2
giant-navigate
1±2
7±6
0±0
78±7
0±0
82±7
68±7
75±1
medium-stitch
23±18
35±12
21±9
56±7
70±14
77±2
80±12
87±2
Table 2: Performance comparison across various environments. The results are reported as the mean and standard deviations of success rates over 8 seeds for state-based OGBench tasks and D4RL Kitchen, 4 seeds for pixel-based OGBench tasks, and the T-block’s maximum coverage of the goal pose in Push-T over 5 seeds. Bold values denote the statistically best or indifferent variant for each high-level policy (Welch’s t-test, p>0.05).
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 4: Environments used in our main experiments. (Top) PointMaze large, AntMaze giant, and HumanoidMaze medium [ 3 ] . (Bottom) Scene, Puzzle 4x4 [ 3 ] , Push-T [ 17 ] , and D4RL Kitchen [ 18 ] .
Environment
FSQ
VQ
pointmaze-medium-navigate
0.90±0.02
0.81±0.05
antmaze-medium-navigate
0.79±0.07
0.61±0.05
humanoidmaze-medium-navigate
0.85±0.01
0.67±0.01
Appendix
Table 3: Normalized Codebook Perplexity for FSQ and VQ (3 seeds)
Environment
Ours
State Conditioned Quantizer
pointmaze-medium-navigate
86±4
32±44
antmaze-medium-navigate
83±2
57±40
humanoidmaze-medium-navigate
39±2
10±17
Appendix
Table 4: Effect of giving state information to the quantizer alongside action chunk on three different maze tasks. We report Success Rate (%) of the trained GCIQL across 5 seeds.
Environment
K
Success Rate (%)
pointmaze-medium-navigate
8
31±15
16
37±8
32
38±13
antmaze-medium-navigate
16
75±1
32
72±2
64
65±5
Appendix
Table 5: Effect of codebook size K on the proposed framework. We report Success Rate (%) of the trained GCBC across 5 seeds. Bold indicates the value of K used in the main experiments.
K=16
K=32
K=64
L=40
35±3
36±5
37±2
L=80
37±3
39±2
40±4
L=120
31±4
35±2
37±4
Appendix
Table 6: Effect of codebook size K and chunk length L on the humanoidmaze-medium-navigate environment. We report Success Rate (%) of the trained GCIQL across 5 seeds. Bold indicates the value of configuration used in the main experiments.
Environment
D-GCIQL
D-QRL
HIQL
OTA
pointmaze-medium-navigate
85±4
88±5
79±5
86±2
pointmaze-large-navigate
67±5
91±2
58±5
85±5
antmaze-medium-navigate
84±3
90±2
96±1
96±1
antmaze-medium-stitch
55±6
69±5
94±1
93±1
humanoidmaze-medium-navigate
38±2
53±3
89±2
94±1
humanoidmaze-large-stitch
7±2
6±2
28±3
57±3
Appendix
Table 7: We report Success Rate (%) of the trained D-GCIQL (Ours), D-QRL (Ours), HIQL, and OTA across 8 seeds in state-based and 4 seeds in pixel-based tasks. Bold values indicate the statistically best or indifferent values (Welch’s t-test, p>0.05).
Figure 5: Learned skills in the pointmaze-large-navigate-v0 (top) and the antmaze-giant-navigate-v0 (bottom) environments at five different states (black stars). Left: next-state predictions by the skills discovered at Stage I. Right: sample rollouts of the low-level controller trained at Stage II.
Figure 6: Example of successful rollouts of the discrete (D-) variants on the Visual Scene (top row) and D4RL Kitchen (bottom row) tasks.
Figure 7: Example of successful rollouts of the discrete (D-) variants on pointmaze, antmaze, and humanoidmaze environments with different dataset types. The colors on the trajectory indicate different skill codes k∈{1,…,K} . Different tasks are the goals defined by the OGBench [ 3 ] benchmark.