arXiv:2610.36374cs.ROOct 2026

Manuscript Offprint

arXiv:2610.36374

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

Fanqi Yu, Matteo Tiezzi, Cigdem Beyan, Tommaso Apicella, Vittorio Murino

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 structured routing framework that mitigates this issue through a hierarchical dual-attention mechanism, which decouples instruction-level expert retrieval from context-dependent refinement. To further stabilize routing under representation drift, HIDRA introduces a key-level geometric regularization that enforces both alignment within tasks and separation across tasks. The resulting approach enables reliable expert selection while supporting an expandable set of experts for continual adaptation. We evaluate HIDRA on several LIBERO benchmark suites, including more challenging variants with heterogeneous task sequences and paraphrased language instructions. Our approach consistently outperforms both replay-free and replay-based baselines, improving AUC and forward transfer while maintaining low forgetting, with stronger gains under high interference and language variation. The code is available at: https://github.com/yfqi/HIDRA.

1 Introduction

Robotic agents deployed in the real world must adapt continuously as they interact with dynamic, non-stationary environments. Unlike offline imitation learning pipelines that rely on curated datasets and multi-epoch optimization, real robots receive an unbounded stream of demonstrations and observations, often under constraints that prevent storing or revisiting past data [1]. Enabling robots to learn online, in a replay-free, single-pass manner, is therefore central to the long-standing goal of lifelong robot learning [2, 3].

This continuous streaming perspective differs fundamentally from standard lifelong imitation learning (LIL) formulations, which typically assume discrete task boundaries and repeated access to past trajectories [4, 5, 6, 7]. Instead, a robot operating in the wild encounters a temporally correlated flow of multimodal data, including visual observations, language instructions, and proprioceptive feedback that rarely can be revisited [8, 9]. Recent vision language action (VLA) models, spanning early systems such as RT-2 [10] and Octo [11] to more recent large-scale policies (e.g., GR00T 1.5 [12], π0.5\pi_{0.5} [13], π0.7\pi_{0.7} [14], SmolVLA [15]), illustrate the promise of pretrained backbones for

Preprint.

general-purpose robotic control. Multi-task benchmarks like LIBERO [4] further highlight their capacity for compositionality and transfer [16, 7, 17]. Yet these high-capacity representations tend to entangle instruction semantics and fine-grained context, making them fragile under sequential updates. In a single-pass setting where revisiting data is impossible, such entanglement leads to irreversible errors, a phenomenon also observed in continual learning with pretrained feature extractors [18, 19]. More critically, single-pass learning demands rapid adaptation, yet such entanglement hinders the effective utilization of distinct knowledge, slowing router convergence and making it difficult to establish reliable routing decisions from a single exposure to incoming data.

The impact of representation entanglement is particularly pronounced in LIL, where the agent must integrate heterogeneous demonstrations while preserving previously acquired behaviors. This challenge becomes more severe when adaptation is performed on top of pretrained backbones, a common paradigm in modern visuomotor and vision-language-action (VLA) systems, where large models provide broad perceptual and linguistic priors before deployment. In such settings, sequential updates in a streaming regime can induce representation drift and catastrophic forgetting, progressively distorting the general-purpose features learned during pretraining [5, 7].

Capturing both task semantics and context-dependent variations within a shared embedding further intensifies the plasticity–stability trade-off [20, 21, 22]. In modular or expert-based architectures, this manifests as routing interference, where learning new tasks shifts the representation space and disrupts previously established expert assignments, causing routing errors to accumulate over time in the absence of replay. Existing approaches based on parameter-efficient fine-tuning [17, 23, 24, 25] or dynamic expert libraries [26] often rely on multi-epoch optimization or access to stored demonstrations to stabilize training, limiting their applicability in strict streaming regimes. In practice, these restrictive conditions are the norm. Human demonstrations are expensive and often cannot be stored due to privacy, memory, or deployment constraints [27, 28, 29]. A robot learning from a live stream of demonstrations must instead rely on online, replay-free, single-pass updates, where each trajectory provides a single opportunity for adaptation. Under these constraints, routing mechanisms must reliably disentangle instruction-level intent from rapidly shifting context, even as internal representations drift.

To operate effectively in this setting, we introduce a Hierarchical Dual-Routing Attention mechanism (HIDRA) that decouples instruction-driven expert retrieval from context-driven refinement, reducing interference and enabling stable expert selection without replay. We additionally introduce a key-level geometric regularization strategy that structures the routing space and improves separability among experts under representational drift. Together, these components define a streaming LIL framework with an expandable

Figure

Figure 1: Left: Existing methods (e.g., [26]) perform expert routing using a single projection over entangled representations, which is unstable without replay. Right: HIDRA decouples routing into instruction retrieval and context refinement with regularization, ensuring reliable expert selection in replay-free LIL.

expert set that learns from multimodal data streams without storing past demonstrations (see Fig. 1). We assume known task boundaries during lifelong adaptation, following the standard LIL protocol [4, 5]; here, “streaming” refers to single-pass, non-revisitable task-wise data arrival rather than boundary-free task discovery.

Our contributions are: (i) a dual-routing attention mechanism that separates instruction semantics from contextual adaptation, enabling reliable expert selection under replay-free, single-pass learning; (ii) a key-level geometric regularization strategy that stabilizes routing by enforcing structure in the expert-selection space; (iii) a unified streaming LIL framework with expandable expert libraries that achieves robust performance and forward transfer while maintaining low forgetting on diverse, long-horizon manipulation tasks with varied language instructions and object interactions, particularly under heterogeneous task sequences and language variation.

References (42)