Skip to content
Robotics.world

Research

HIDRA: Hierarchical Dual-Routing Attention for Replay-Free Lifelong Imitation Learning

Replay-free lifelong imitation learning normally lets routing degrade across tasks; HIDRA's hierarchical dual-attention keeps expert selection stable in single-pass updates, the constraint deployed…

The paper’s first page · arXiv:2610.36374
arXiv
2610.36374 · accepted · NEURIPS
Published
2026-10-26
Authors
Fanqi Yu, Matteo Tiezzi, Cigdem Beyan, Tommaso Apicella, Vittorio Murino

In plain words

Robots deployed in the real world see a continuous stream of demonstrations and often cannot store or revisit old data, so each new task must be learned from one pass and then never seen again.

AI summary

Overview

  • Research area: Robotics / embodied AI — specifically lifelong imitation learning (LIL) with vision-language-action (VLA) policies, continual learning, and modular expert routing.
  • Technical level: Advanced. The paper assumes familiarity with behavioral cloning, LoRA adapters, dot-product attention, and continual-learning metrics (FWT, NBT, AUC).
  • Scope: A routing architecture (HIDRA) plus a key-space regularizer that lets a frozen pretrained robot policy acquire a stream of new manipulation tasks in a single pass without replaying past data.

What This Paper Is About

Robots deployed in the real world see a continuous stream of demonstrations and often cannot store or revisit old data, so each new task must be learned from one pass and then never seen again. In expert-based ("modular") imitation learning, this regime causes routing interference: as new tasks shift the internal representation space, the router progressively misassigns old experts, and errors accumulate because there is no replay to correct them. The paper's goal is to make expert selection stable in this strict setting by separating which task the instruction refers to from which expert the current moment needs.

Key Contributions

  1. Hierarchical dual-routing attention. A two-stage routing mechanism that first performs instruction-level retrieval to pick an "anchor" expert from language semantics, then performs context-level refinement using visual and proprioceptive queries — but only inside a restricted candidate set of experts introduced before the anchor, preventing unrelated experts from competing.
  2. Key-level geometric regularization. A pair of losses acting on learned context keys: an intra-task term that pulls each key toward a running-average prototype of its task's context states, and an inter-task term that pushes keys from different tasks toward orthogonality. This preserves separability of the routing space as the expert library grows.
  3. A unified replay-free, single-pass streaming LIL framework built on a frozen pretrained multimodal backbone with an expandable library of LoRA experts, where each new task adds adapters that are optimized during that task and then frozen.
  4. A harder evaluation protocol, including LIBERO-MIX (five tasks sampled from each of four LIBERO suites, interleaved into one long heterogeneous sequence, evaluated in an Inc1 and an Inc4 regime) and LIBERO-INS (language-variation variant), alongside the four standard LIBERO suites.

Main Findings

  • Best AUC on all four standard LIBERO suites. HIDRA reports FWT / NBT / AUC of 93.0 ± 1.5 / 2.2 ± 1.9 / 91.5 ± 0.1 on LIBERO-OBJECT, 67.5 ± 2.2 / 0.9 ± 5.5 / 66.7 ± 2.0 on LIBERO-GOAL, 58.0 ± 1.5 / −1.4 ± 0.8 / 58.7 ± 1.0 on LIBERO-SPATIAL, and 58.2 ± 1.5 / 0.1 ± 3.1 / 58.1 ± 1.5 on LIBERO-10.
  • Outperforms the strongest replay-based baseline. DMPEL (100%), which replays all past data, reaches AUC 82.2 on LIBERO-OBJECT, 64.3 on LIBERO-GOAL, 47.0 on LIBERO-SPATIAL and 53.8 on LIBERO-10 — all below HIDRA's, which uses no replay.
  • Near-zero or negative forgetting. NBT is close to zero on most suites and negative on LIBERO-SPATIAL (−1.4) and on LIBERO-MIX Inc4 (−2.0) and LIBERO-INS (−3.0), meaning earlier tasks are retained or slightly improved rather than degraded.
  • Replay-based DMPEL degrades when replay is removed. DMPEL (0%) keeps high forward transfer (73.0 on LIBERO-OBJECT) but collapses in retention (NBT 73.3, AUC 24.7), illustrating the routing-interference failure mode the paper targets.
  • Heterogeneous sequences. On LIBERO-MIX @ Inc1 HIDRA reports 71.3 / 2.8 / 68.0 versus DMPEL (100%) at 53.0 / −3.9 / 55.2 and ISCIL at 21.1 / 0.4 / 20.6; on LIBERO-MIX @ Inc4 it reports 66.2 / −2.0 / 67.0 versus DMPEL (100%) at 61.0 / 2.4 / 59.9.
  • Language variation remains hard for everyone. On LIBERO-INS, HIDRA is best but only marginally: AUC 27.6 ± 3.8 versus 27.1 ± 4.3 for DMPEL (100%), with ISCIL at 10.0 and MLR-IFA at 7.9. Absolute success under paraphrased instructions is low across all methods.
  • Ablation: routing structure matters most. Replacing attention routing with a simple projection yields AUC 26.1 on LIBERO-OBJECT and 9.2 on LIBERO-SPATIAL; single-branch attention reaches 83.2 (instruction-only) and 70.0 (context-only) on LIBERO-OBJECT; dual attention reaches 85.8; adding intra-task regularization 87.4; adding inter-task regularization 88.8; adding both 91.5.
  • Both regularizers contribute. The full model (93.0 FWT / 91.5 AUC on LIBERO-OBJECT, 58.0 / 58.7 on LIBERO-SPATIAL) is the best configuration in the ablation, though the authors note that NBT improvements from the regularizers are less consistent than the AUC and FWT gains.

Methodology in Plain English

The system starts from a pretrained vision-language-action policy whose weights are frozen. Instead of fine-tuning the whole model, the method bolts small low-rank adapter modules (LoRA) onto selected linear layers; each new task gets its own set of adapters, called an expert, distributed across the network. When task r is being learned, only its new adapters and its new routing parameters are trained — everything from earlier tasks stays frozen, so old skills cannot be overwritten by gradient updates.

The interesting part is how the robot decides which experts to activate at each timestep. Older modular methods ask one projection head to answer two questions at once ("which task is this?" and "what does the current moment need?"), and this entanglement breaks down when the representation shifts. HIDRA splits the question in two. Stage I builds a query from the frozen language embedding, mean-pooled over a short time window, and compares it against each expert's learned instruction key. The top-scoring expert becomes the anchor. Stage II then builds a second query from the visual and proprioceptive embeddings and compares it against context keys, but only among experts created before the anchor — later experts are excluded because activating them would silently alter an earlier routing decision without access to that earlier task's data. The instruction score and the context score are fused, and the top-K experts inside this restricted pool are mixed into the layer output.

To keep this key space well shaped as experts accumulate, the method tracks a running average of the context queries seen for each task and uses it as a prototype. One loss pulls each context key toward its own prototype (compactness within a task); another penalizes squared similarity between keys of different tasks (separation across tasks). Both are added to the behavioral-cloning loss, weighted by λ_intra and λ_inter.

Evaluation follows the LIBERO protocol: pretraining on LIBERO-90 with 50 demonstrations per task, then sequential adaptation to 10 tasks per suite (50 demonstrations each), one epoch, no stored data. Success rates are averaged over three seeds with 20 trials per seed on a single NVIDIA A100, and summarized with forward transfer, negative backward transfer, and area under the curve. The paper assumes known task boundaries during lifelong adaptation and states explicitly that "streaming" here means single-pass, non-revisitable task-wise data arrival, not boundary-free task discovery.

Why This Matters

Research impact. The paper isolates routing interference as a distinct failure mode of modular continual learning and shows that it, rather than capacity, is what breaks expert-based methods without replay. Decoupling task identity from momentary context, and regularizing the retrieval space geometrically rather than relying on replay to fix the router, is a transferable idea for any system with a growing module library.

Real-world applications.

  • Field or service robots that must pick up new manipulation skills on site, where storing customer data raises privacy and memory concerns.
  • Surgical or assistive robotics, where demonstrations are scarce and regulations discourage retaining raw patient or operator recordings.
  • Industrial cells where a robot is retaught new parts or procedures one after another without downtime for offline retraining.
  • Long-lived home robots that accumulate skills over months of deployment and cannot afford to degrade earlier ones each time a new skill is added.

Industry relevance. The approach adds capacity incrementally (a new set of adapters per task) instead of retraining a monolithic policy, and it operates on a frozen pretrained backbone — exactly the deployment pattern of current VLA systems. That makes it directly compatible with the "pretrain once, adapt forever" pipeline that commercial robot-foundation-model stacks are built around, and it avoids the storage bill of a replay buffer.

Future Directions

  • Removing the known-boundary assumption. The paper explicitly fixes task boundaries following the standard LIL protocol; boundary-free task discovery in a truly continuous stream is left open.
  • Relaxing the one-directional candidate set. Stage II can only reuse experts introduced before the anchor, so a later-discovered expert can never assist with an earlier-recalled task. Allowing bidirectional reuse without replay is an unresolved design question.
  • Better behavior under language variation. LIBERO-INS success rates are low for every method (best AUC 27.6), suggesting that paraphrased instructions remain a bottleneck for stable instruction-key retrieval.
  • Prototype and scaling studies. The provided text truncates in the middle of an ablation comparing batch-mean versus EMA prototype estimation, and the paper defers efficiency and multi-pass analyses to its appendix; how the approach scales in expert count and to real hardware is not established here.

Target Audience

Robotics and embodied-AI researchers working on lifelong or continual imitation learning; continual-learning researchers interested in modular and routing-based architectures rather than regularization or replay; and practitioners deploying VLA policies who need on-device adaptation without storing demonstrations. Readers should be comfortable with attention mechanisms, parameter-efficient fine-tuning, and the standard forgetting/transfer metrics used in continual learning.

Note: the supplied text is truncated mid-sentence during the prototype-estimation ablation, so the appendix results, the prototype-strategy comparison, the efficiency analysis, and the stated limitations could not be summarized.

Authors’ abstract

Robotic agents operating in real-world environments must adapt continuously from a stream of multimodal demonstrations, often under constraints that preclude storing or revisiting past data. In this replay-free, single-pass lifelong imitation learning setting, sequential updates can progressively distort the representation space, making expert-based approaches particularly sensitive to routing interference, causing expert selection to degrade over time. We propose HIDRA, a…

The full abstract on arXiv
Read the original paper

Related papers