Subwords as Skills: Tokenization for Sparse-Reward Reinforcement Learning

David Yunis, Justin Jung, Falcon Dai, Matthew R. Walter
2/12/2026

Official code: dyunis/subwords_as_skills (4 stars, MIT, last commit 2024-10-30).

Abstract

Exploration in sparse-reward reinforcement learning is difficult due to the requirement of long, coordinated sequences of actions in order to achieve any reward. Moreover, in continuous action spaces there are an infinite number of possible actions, which only increases the difficulty of exploration. One class of methods designed to address these issues forms temporally extended actions, often called skills, from interaction data collected in the same domain, and optimizes a policy on top of this new action space. Typically such methods require a lengthy pretraining phase, especially in continuous action spaces, in order to form the skills before reinforcement learning can begin. Given prior evidence that the full range of the continuous action space is not required in such tasks, we propose a novel approach to skill-generation with two components. First we discretize the action space through clustering, and second we leverage a tokenization technique borrowed from natural language processing to generate temporally extended actions. Such a method outperforms baselines for skill-generation in several challenging sparse-reward domains, and requires orders-of-magnitude less computation in skill-generation and online rollouts. Our code is available at \url{https://github.com/dyunis/subwords_as_skills}.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Subwords as Skills: Tokenization for Sparse-Reward Reinforcement Learning"

40PythonOct 30, 20241 years agoMIT

Similar Papers

Cite this paper

@article{yunis2026subwords,
  title  = {Subwords as Skills: Tokenization for Sparse-Reward Reinforcement Learning},
  author = {David Yunis and Justin Jung and Falcon Dai and Matthew R. Walter},
  year   = {2026},
  eprint = {2309.04459},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2309.04459},
  journal = {NEURIPS 2023 2023}
}

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/2309.04459.svg)](https://codeofpaper.com/paper/2309.04459)

Discussion