ToS: Tree-of-Skill Reinforcement Learning driven by Behavior Tree for Long-Horizon Manipulation

Yishuai Cai, Xinglin Chen, Yunxin Mao, Kefei Zhu, Wenjing Yang, Yaodong Yang, Yuanpei Chen, Ji Wang, Minglong LiNeurIPS 2026

TL;DR

Robots can easily string together modular skills on paper using symbolic planners like Behavior Trees, yet they often fumble in the real world because "success" for one skill doesn't guarantee a physically workable starting pose for the next. Tree-of-Skill (ToS) bridges this gap by peeking one step ahead at runtime and letting the upcoming skill whisper continuous pose adjustments—via a shared, masked coordinate interface—to the currently executing skill. By learning these handoffs purely from skill pairs, robots can fluidly recombine behaviors into brand-new, multi-step tasks without needing task-specific retraining.

What Problem Does This Paper Address?

Imagine asking a robot to pack a cookie box into a drawer and shut it. In robotics, Behavior Trees (BTs) are a favorite control architecture for such multi-step tasks: they tick through a hierarchy of conditions and modular actions (skills) at every control step, reactively choosing what to do next based on high-level symbols like Holding(Cookie) or Inside(Cookie, Drawer).

Here is the catch: symbols are blind to continuous geometry. A PutIn skill might drop the cookie box vertically into the drawer. Symbolically, Inside(Cookie, Drawer) is true—mission accomplished! Physically, however, the box is sticking straight up, jamming the drawer so the subsequent Close skill fails completely. Even worse, because BTs are reactive rather than fixed linear scripts, a single skill might hand off to different successors depending on what happens at runtime. Existing skill-chaining methods in reinforcement learning (RL) usually train along predefined, static sequences. The challenge is getting independently trained skills to adapt their finishing poses on the fly for whatever successor the BT selects next, without sacrificing modularity.

Methods

ToS introduces a neuro-symbolic framework that marries symbolic lookahead with continuous goal-conditioned RL.

Figure 1: Overview of the ToS framework on a drawer-packing task (C: cookie box, D: drawer). (1) Skill prediction: predicts the runtime successor during BT execution using partial symbolic behavior models (⊃: preconditions, +: add effects). (2) Dependency check: checks the current skill–predicted successor pair against the dependency set; solid and dashed light-blue arrows denote explicit and implicit dependencies, respectively. (3) Dynamic skill chaining: the predicted successor’s guiding network (e.g., µ3, µ4) generates a handoff goal to condition the current skill for successor-compatible handoffs.

At runtime, ToS executes a three-part loop at every control step:

  1. One-Step Symbolic Prediction: While executing the current skill, ToS asks the BT: "If this skill succeeded right now, what skill would you pick next?" It does this by virtually overriding the current skill's symbolic effects and ticking the tree.
  2. Dependency Check: Using the symbolic models, ToS pre-computes a candidate set of skill pairs that depend on one another—capturing both explicit links (picking up a box enables placing it) and implicit ones (putting a box in a drawer affects closing it), pruned via coordinate masks and domain knowledge.
  3. Goal-Masked Dynamic Chaining: All skills share a unified, object-centric goal space (3D positions, 4D quaternions, and joint angles). Each successor owns a lightweight guiding network ($\mu$) that outputs a continuous "handoff goal" to steer the current skill into a friendly starting state. Binary goal masks act as universal adapters: they intersect what the successor cares about with what the current skill can actually control, filling any remaining coordinates with default targets.

Training is cleanly decoupled so you never have to train on full, sprawling Behavior Trees:

  • Stage 1 (Skill Learning): Each skill is trained independently via offline-to-online Soft Actor-Critic (SERL/RLPD) and Hindsight Experience Replay to reach sampled goals.
  • Stage 2 (Guiding Network Learning): With skills frozen, ToS runs two-step pairwise rollouts, scores them by combined reward, and trains the successor's guiding network via simple supervised regression on the top-performing goals. (An optional Stage 3 allows fine-tuning on a specific target BT).

Datasets

Rather than static offline datasets, this work evaluates interactive control in NVIDIA Isaac Sim and on a real-world dual-arm robot (two 7-DoF RM75-6F arms equipped with 6-DoF PsiBot G0-R dexterous hands). The authors build a tabletop manipulation benchmark featuring 8 dexterous skills (Pickup, Place, Pour, Handover, Push, Open, PutIn, Close) interacting with food packages, a bowl, and an articulated drawer, tested across 7 two-step transitions and 5 multi-branch, long-horizon tasks (3–5 skill invocations). Skill buffers are seeded with motion-planned trajectories in simulation and 20 teleoperated demonstrations per skill in the real world.

Key Insights and Ideas

  • Implicit dependencies are silent task-killers: Symbolic planners don't know that PutIn and Close interact because Close only checks if the drawer is open. By treating non-conflicting skill pairs as potentially dependent and connecting them via continuous object-pose masks, ToS catches geometric bottlenecks that pure logic misses.
  • Pairwise training unlocks composition-level zero-shot reuse: Because skills communicate strictly through masked physical coordinates rather than hardcoded skill IDs, learning handoffs on isolated pairs ($A \rightarrow B$ and $B \rightarrow C$) is enough to stitch together unseen trees ($A \rightarrow B \rightarrow C$) at test time.
  • Handoff learning doesn't need fragile RL critics: Once skills know how to reach arbitrary goals, figuring out which goal helps a successor can be framed as straightforward supervised learning—ranking two-skill rollouts and regressing onto the winning candidate goals.

Key Results

  • Unseen BT Compositions: On two complex, unseen long-horizon tasks (Tasks 4 and 5, evaluated without any task-specific fine-tuning), ToS achieves 52.0% and 43.0% success rates, nearly doubling or tripling the strongest static-chaining baseline, SeqDex (27.0% and 15.0%).
  • Branching Long-Horizon Tasks: Across all five long-horizon simulation tasks, ToS averages 58.8% success (54.8% without fine-tuning), outperforming SeqDex (41.4%), monolithic GCRL (39.6%), and Modular RL without guidance (33.4%).
  • Why Guidance Matters: In two-step ablations, executing skills with successor-blind default goals succeeds just 9.4% of the time (and a dismal 5.0% on the implicit PutIn $\rightarrow$ Close handoff). Adding learned guidance boosts average success to 76.7%, and 81.6% with fine-tuning.
  • Real-World Execution: Trained directly on hardware, ToS achieves 77.5% average success on single skills, 66.7% across two-step compositions, and 45.8% across the five long-horizon tasks.

Limitations and Future Work

ToS leans on human engineering upfront: it assumes predefined skill libraries, accurate symbolic preconditions/effects, and manually specified goal masks and candidate sampling ranges. While re-ticking the BT handles physical disturbances, it cannot fix a fundamentally flawed symbolic model. Furthermore, as a skill library grows, pairwise training costs scale up, and introducing an entirely new guided transition requires running Stage 2 pairwise rollouts. Future work aims to learn symbolic models and goal representations automatically while scaling up the library of reusable skills.

Summary updated

Abstract

Behavior Trees (BTs) are known for their modular nature, making them a promising control architecture for long-horizon manipulation tasks. BT planning leverages high-level symbolic behavior models to generate task-specific BTs. However, low-level skill execution involves dependencies that are difficult to express symbolically, such as precise object poses. Moreover, reactive BT execution involves many-to-many skill handoffs, requiring each skill to terminate in a state compatible with its runtime-selected successor. Skill-chaining methods built around predefined sequences do not directly address such runtime-dependent handoffs. We propose Tree-of-Skill (ToS), a neuro-symbolic framework for dynamic skill chaining in BT-driven reinforcement learning. ToS uses symbolic behavior models to construct a dependency set with optional pruning and to predict the successor at runtime. For pairs in this set, the successor’s guiding network generates a handoff goal that conditions the current skill. Goal masks support modular goal exchange in a shared representation, allowing independently trained skills to accept guidance from different successors. Initial training combines goal-conditioned skill learning with supervised guiding-network learning from pairwise rollouts, without supervision of complete BT compositions. Optional task-specific fine-tuning further adapts the skills and guiding networks to a target BT. We evaluate 8 skills on 7 two-step tasks and 5 long-horizon tasks involving 3--5 skill invocations in representative successful executions. ToS generally achieves higher success rates than the evaluated baselines, particularly on unseen BT compositions of trained skill transitions without task-specific fine-tuning. Real-robot experiments further demonstrate its applicability to long-horizon manipulation.
BibTeX
@inproceedings{cai2026tos,
  author = {Yishuai Cai and Xinglin Chen and Yunxin Mao and Kefei Zhu and Wenjing Yang and Yaodong Yang and Yuanpei Chen and Ji Wang and Minglong Li},
  title = {{ToS: Tree-of-Skill Reinforcement Learning driven by Behavior Tree for Long-Horizon Manipulation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=cKguVoE2ry},
}
Figure