TL;DR
HiSPO (Hierarchical Subspaces of Policies) introduces a memory-efficient offline continual reinforcement learning framework designed for goal-conditioned navigation. By decoupling path planning from motor control into two distinct, adaptively expandable neural network subspaces, it achieves near-upper-bound performance and eliminates catastrophic forgetting while growing sublinearly in memory.
What Problem Does This Paper Address?
Reinforcement learning agents deployed in the real world must learn sequences of tasks over time without forgetting previous skills. In Continual Reinforcement Learning (CRL), traditional methods present severe trade-offs:
- Replay buffers store past transitions, which is often infeasible due to memory, latency, or privacy constraints.
- Regularization techniques (like EWC or $L_2$ penalties) restrict weight drift, failing when task dynamics change drastically (e.g., inverted controls or altered maze layouts).
- Architectural expansion (like Progressive Neural Networks) adds new parameters for every task, leading to linear or superlinear memory bloat.
Furthermore, most CRL research assumes active online environment interaction. In real-world robotics and game simulations, collecting data online can be unsafe or expensive. This paper targets Offline Goal-Conditioned CRL, where agents must continually master new navigation goals from pre-collected static datasets without forgetting past environments.
Methods
HiSPO combines hierarchical imitation learning with policy parameter subspaces:
- Hierarchical Decomposition: Navigation is split into:
- A high-level policy ($\pi^h$) that sets intermediate waypoints/sub-goals.
-
A low-level policy ($\pi^l$) that executes immediate control actions to reach those waypoints. Both are trained using Hierarchical Imitation Learning (HBC) combined with Hindsight Experience Replay (HER).
-
Dual Policy Subspaces: Instead of maintaining a single monolithic network, HiSPO builds two independent parameter subspaces (convex hulls of "anchor" weights $\{\theta_1, \dots, \theta_N\}$) for the high-level and low-level controllers.
- Subspace Extension vs. Pruning:
- When encountering task $T_{k}$, HiSPO tentatively trains a new candidate anchor $\theta_{N+1}$.
- It explores the existing subspace by sampling anchor weights $\alpha$ via a symmetric Dirichlet distribution (accelerated using a stick-breaking process).
- If the best configuration in the existing subspace performs within an acceptance tolerance $\epsilon$ of the newly expanded subspace ($L_{\text{prev}} \le (1 \pm \epsilon) L_{\text{curr}}$), the new anchor is pruned, reusing prior parameters. Otherwise, the anchor is retained.
- HiLOW (Low-Rank Extension): In an ablation variant, the authors replace full-parameter anchor expansions with Low-Rank Adaptation (LoRA) updates ($\Delta W = AB$), compressing added anchors even further.
Datasets
The authors benchmark across both physics-based robotics tasks and newly introduced video game simulations:
- Gymnasium MuJoCo Mazes (PointMaze & AntMaze): Standard $U$, Medium, and Large mazes derived from D4RL/Minari. Tasks introduce kinematic and perceptual shifts, including normal navigation, inverted actions/observations, and permuted controls (500 episodes per task).
- Godot 3D Navigation Environments (SimpleTown & AmazeVille): A new lightweight, open-source benchmark featuring 3D obstacle courses with raycast depth maps. SimpleTown ($30 \times 30\text{ m}$) tests straightforward routing across door configurations; AmazeVille ($60 \times 60\text{ m}$) introduces non-jumpable high blocks, jumpable low obstacles, and movable green barriers with human-authored trajectories (100–250 episodes per layout).
Key Insights and Ideas
- Decoupling Planning from Execution Saves Parameters: Topological variations (e.g., closed doors) only affect high-level navigation, while dynamic shifts (e.g., reversed steering) only affect low-level actions. Maintaining dual subspaces allows HiSPO to expand only the specific controller that actually encounters novelty, avoiding redundant parameter allocation.
- Offline Subspace Scoring Without Critics: Previous online policy subspace methods (like CSP) relied on SAC critics to score anchor interpolations. In the offline expert regime, $Q$-values can collapse and become action-independent. HiSPO sidesteps this by evaluating interpolation losses directly against offline expert demonstrations.
- Dirichlet Sampling Beats Naive Optimization: Uniformly sampling anchor convex weights using stick-breaking provides rapid, non-convex subspace evaluation without getting trapped in local minima.
Key Results
- Competitive Performance with Sublinear Memory: Across AntMaze streams, HiSPO matches the performance of parameter-heavy Progressive Neural Networks (87.7% vs. 89.3% average performance), while requiring roughly a third of PNN's memory usage ($\sim 2.8\times$ vs. $10\times$ baseline relative memory size).
- Zero Catastrophic Forgetting: HiSPO consistently achieves a Backward Transfer (BWT) of $0.0$ (or slight positive backward transfer), whereas standard finetuning (FT1) and naive sequential learning (SC1) suffer heavy forgetting (BWT dropping to $-40\%$ to $-65\%$).
- Subspace Modularity: On AntMaze ablations, transitioning from a single offline subspace (CSPO, 77.6% performance, $2.3\times$ memory) to dual hierarchical subspaces (HiSPO, 80.1% performance, $2.2\times$ memory) improved success rates while trimming parameter footprint.
Limitations and Future Work
- Limited Forward Transfer (FWT): Like many CRL architectures, HiSPO achieves low forward transfer (typically near $0.0$ to $3.0\%$), indicating that positive zero-shot skill transfer across distinct layouts remains difficult.
- Dependence on Expert Demonstrations: The framework builds on imitation learning. The authors note that noisy, sub-optimal, or mixed-quality offline datasets could degrade subspace selection.
- Future Directions: Integrating Inverse Reinforcement Learning (IRL) to score sampled policies on imperfect offline data, establishing dynamic/adaptive LoRA ranks per task, and formalizing Probably Approximately Correct (PAC) criteria to determine subspace fitting before training new anchors.
Summary updated