NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Temporal Behavior Trees for Reinforcement Learning: Specifications as Rewards, Curricula, and Diagnostics

Vladimir Krsmanovic, Bernd Finkbeiner

NeurIPS page · OpenReview · Open on the map

Category: Reinforcement Learning & Games › Temporal Logic Planning · Type: new method · Keywords: Temporal Behaviour Trees, reinforcement learning specifications, curriculum learning, reward shaping, policy diagnostics

Areas: Evaluation & Benchmarks › Agent Capabilities and Memory › Automated Planning; RL for LLMs & Agents › Language Model Reinforcement Learning › Reward Specification

Summary

TBTCL uses Temporal Behaviour Trees (TBTs) as a unified interface to simultaneously define tasks, generate dense robustness rewards, construct curricula, and provide interpretable diagnostics for reinforcement learning.

Explained to a 5-year-old

In reinforcement learning, an agent learns to do tasks by trying actions and getting feedback. Usually, people write separate rules for what the task is, how to give points, what order to learn, and how to see mistakes. This paper says that rules can be written as a tree, which is like a branching picture. This tree can tell the agent what to do, give points for progress, decide what to learn next, and show which parts it still needs to improve. Using this tree makes learning easier and helps us understand why the agent fails.

Explained to a 5-year-old, longer

In reinforcement learning, an agent learns to do things by trying actions and getting rewards. Usually, people write separate pieces of code to say what the goal is, how to give points, what order to learn, and how to see mistakes. This makes it hard because you have to connect all those pieces together. The paper suggests using a tree-shaped rule that can do all those jobs at once. A tree is like a picture with branches that show different steps or sub-tasks. The top of the tree says what the overall goal is, and the branches break it into smaller parts. As the agent follows the tree, it gets points for each small step, which helps it learn faster. The tree also decides which parts to learn first, making a smooth learning path. When the agent finishes a branch, the tree tells us how well it did on that part. If the agent struggles on a branch, the tree highlights that part so we can focus on it. This way, the same simple rule handles the task, the rewards, the learning order, and the diagnosis. It makes the whole learning process easier to understand and improves performance.

For a technical reader

The paper proposes a unified way to encode reinforcement learning tasks using Temporal Behaviour Trees, which capture hierarchical subtasks and constraints. From this single tree, the system automatically generates dense reward signals, builds a curriculum that orders subtasks logically, and creates diagnostic profiles that highlight where the learned policy fails. This eliminates the need for separate reward functions, curriculum designers, and debugging tools, reducing engineering overhead. The approach has been evaluated on six specifications across both discrete and continuous environments, matching existing dense-reward methods on simple tasks and outperforming baselines on reach-avoid problems. By grounding all components in a formal specification language, the framework provides interpretable insights into policy behavior without requiring additional user-defined predicates or demonstrations.

Problem

Reinforcement learning from formal specifications typically splits task definition, reward shaping, curriculum design, and policy diagnostics into separate components, leading to extra conversion steps and loss of structural information such as sub-task boundaries and ordering constraints.

Method

The approach adapts Temporal Behaviour Tree syntax and semantics for specification-guided RL, automatically extracting a curriculum DAG and dense robustness-based rewards from the tree, and using trace segmentation to generate competence profiles and adapt rewards toward bottlenecks.

Results

The approach matches dense STL shaping on simpler tasks and outperforms baselines on reach-avoid specifications, while providing interpretable sub-task failure diagnostics.

Contributions

The paper introduces a unified framework that uses Temporal Behaviour Trees to simultaneously serve as task specification, reward generator, curriculum builder, and diagnostic tool, and provides algorithms to automatically extract curricula and rewards without extra user inputs.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction