Glossary
RLDS: Reinforcement Learning Dataset Standard
RLDS stands for Reinforcement Learning Datasets: an ecosystem for storing, retrieving and manipulating episodic sequential-decision data. Episodes contain steps. is_first and is_last are mandatory flags; optional fields still share a consistent field set within a dataset. Field presence does not make a final-step action valid.
Quick facts
- Boundary flags
- is_first and is_last are mandatory; terminal and truncated endings differ.
- Last step
- Field presence does not make a final action valid.
- Status
- Illustrative boundary example; dataset, licence and executed loader remain unverified.
Read three flags without conflating them
An episode ending with is_terminal=false is truncated. On a terminal step, observation may itself be meaningless depending on the environment. Inspect that environment's meaning. [1]
| Flag or label | Meaning | Does not establish |
|---|---|---|
| is_first | First step containing the initial state | Task success |
| is_last | Last step containing the last observation | Valid subsequent action/reward/discount |
| is_terminal | Observation corresponds to a terminal state | A successful outcome |
| Task-success label | Source-defined outcome, if provided | Universal comparability across sources |
Quick boundary example
Illustrative, not executed: o0/a0 starts an episode; o1/a1 continues it; o2 has is_last=true and no valid subsequent action. In the terminal variant is_terminal=true; in the truncated variant it is false. A placeholder action can remain in a serializer for field consistency, but its invalid semantics must be masked by the consumer. Do not read its presence as a recorded robot command.
A dm_env-style recorder initially associates an action with the resulting observation; loaded RLDS pairs the action with the observation it acts on. Check which convention you are reading before interpreting a demonstration. [1]
Related pages
Use these to move from category-level context into specific task, dataset, format, and comparison detail.
External references and source context
- RLDS README (moving main branch)
RLDS mandatory and optional fields, boundary validity, terminal/truncated interpretation and recorder alignment.
GitHub ↩
More glossary terms
FAQ
Are six fields mandatory on every step?
No. The specification distinguishes mandatory boundary flags from optional fields, while requiring a consistent field set within one dataset.
Is a last step a successful task?
No. Find a separately defined outcome label.
Where do I inspect an export?
Use the RLDS format acceptance card, then the conversion guide for target masks. This glossary explains the term and flags; it does not verify a dataset, licence or executed loader.
Can I treat a placeholder action as a command?
No. A placeholder action can remain in a serializer for field consistency, but its invalid semantics must be masked by the consumer. Do not read its presence as a recorded robot command.
Working with RLDS?
TrueLabel is the software platform for data providers, labs, and robotics companies that run their own capture operations, taking capture devices through processing to high-quality training and alignment data.