HyperSkill: Multi-Modal Skill Learning on the Unit Hypersphere

Erdemt Bao, JunChen, Weijun Qin, Shaopeng Li, Ming Li, Mengchen Zhao, Ziqian Zeng, Cen Chen, Huiping ZhuangNeurIPS 2026

TL;DR

Teaching robots to follow human instructions requires breaking big goals into reusable "skills." Instead of filing these skills into rigid, isolated bins—which throws away natural movement variations—HyperSkill maps them onto the smooth surface of a high-dimensional sphere. By pairing this spherical geometry with a flow-based action generator, robots can smoothly blend, reuse, and execute diverse multi-stage behaviors with significantly higher success and robustness.

What Problem Does This Paper Address?

Imagine telling a robot to "pick up the cup." There isn't just one right way to do this—it might arc over the top, swoop in from the left, or slide across the table.

Diverse execution trajectories for a single goal

To handle long, multi-step tasks, roboticists usually split the brain in two: a high-level planner that chooses which skill to use every few seconds, and a low-level controller that decides how to move the motors at each millisecond.

Traditionally, the interface between them uses Vector Quantization (VQ)—essentially a discrete dictionary of numbered skills. VQ has a major flaw: it snaps continuous, nuanced movements into isolated buckets. Semantically similar skills ("push left" and "slide left") might land in completely unrelated buckets, while distinct strategies get squished into one. Furthermore, discrete lookups break standard calculus, forcing researchers to use mathematical workarounds (straight-through gradients) that introduce bias. On the flip side, modern generative policies (like Diffusion) capture smooth diversity beautifully, but usually act as "flat" policies without high-level skill planning, struggling on long-horizon tasks.

Discrete VQ buckets versus a continuous hyperspherical manifold

Methods

HyperSkill replaces the discrete VQ dictionary with a continuous, 16-dimensional unit hypersphere ($\mathbb{S}^{d-1}$). Every skill is a point—a direction—on this sphere.

Figure 2: Architecture of HyperSkill. During training, each demonstration trajectory is partitioned into H-step observation–action segments τk = (okH:(k+1)H−1, akH:(k+1)H−1). A posterior encoder maps each segment to a hyperspherical skill embedding zpost ∈Sd−1, while a language-conditioned planner predicts a prior skill ˆzprior ∈Sd−1 from context state ht and instruction ℓ. Geodesic Skill Alignment (GSA) enforces consistency between posterior and prior skills on the unit hypersphere, forming a structured latent skill space. At inference, the planner selects a skill zk every H steps, and the decoder generates actions from current observation ot and skill zk in a closed-loop rollout.

Here is how the pieces fit together:

  • Spherical Skill Prior (New): Rather than hard buckets, the skill space is shaped by a mixture of von Mises–Fisher (vMF) distributions—think of them as soft Gaussian-like "spotlights" on a globe. To keep all spotlights from clumping together (mode collapse), the authors add a geodesic repulsion loss that gently pushes skill centers apart along the sphere's curved surface.
  • Geodesic Skill Alignment / GSA (New): During training, an encoder peeks at the full demonstration segment (including future actions) to find the ideal skill point on the sphere. Meanwhile, a causal Decision Transformer (the planner) tries to predict that exact point using only language and past observations. GSA aligns the two using squared geodesic distance (arc length along the sphere) rather than flat Euclidean distance. Crucially, gradients flow both ways: the planner learns to predict better, and the encoder learns to pick skills that are actually predictable.
  • Conditional Flow Matching Decoder (Adapted): Once the planner picks a skill every $H$ steps, a standard Conditional Flow Matching (CFM) network generates step-by-step motor actions. Because CFM models full probability distributions via smooth velocity fields, it captures trajectory-level variations without averaging two good paths into one bad middle path.

Datasets

No new datasets are introduced, though the authors add procedural language annotations to an existing one. They evaluate offline imitation learning on two simulated benchmarks:

  • LOReL Sawyer: Built on Meta-World, featuring 40,108 trajectories with crowd-sourced language instructions across six atomic tasks (opening/closing drawers, turning faucets, moving mugs).
  • Franka Kitchen: A MuJoCo environment with 566 human demonstrations of multi-stage kitchen manipulation (microwaves, kettles, burners, light switches), annotated by the authors with procedural language labels.

Key Insights and Ideas

  • Curved geometry fixes flat-space blind spots: Why measure arc length ($\theta^2$) instead of straight-line chord distance through the sphere? If two skill vectors point in nearly opposite directions, flat Euclidean gradients shrink toward zero just when the error is worst! Geodesic gradients grow linearly ($2\theta$), providing strong corrective signals even for massive prediction errors.
  • Separating what from how: HyperSkill cleanly splits multi-modality in two: the vMF sphere handles skill-level diversity (which distinct strategy to pick), while Flow Matching handles trajectory-level diversity (the exact motor path).
  • A sphere alone isn't magic—the regularizers do the heavy lifting: Simply normalizing vectors onto a sphere performs similarly to standard Euclidean space under clean conditions—and actually crumbles when injected with noise. The resilience comes specifically from structuring the sphere with vMF spotlights and repulsion.

Key Results

  • LOReL Performance: HyperSkill beats all discrete and flat baselines across seen/unseen instructions and state/image inputs, hitting 63.6% (seen-state) and 42.5% (unseen-image)—jumping 11 to 13 percentage points over LADS, the strongest discrete VQ baseline.
  • Kitchen Performance: Achieves top subtask completion rates (out of 4) on seen-state (2.39), seen-image (1.70), and unseen-image (1.73), while staying competitive on unseen-state (2.06 vs. LADS's 2.23), shining especially on deeper 3- and 4-stage completions.
  • Richer Mode Usage & Noise Robustness: HyperSkill actively utilizes 16/20 skill modes (versus 11/20 for VQ). When Gaussian noise ($\sigma=0.2$) is injected into the planner's skill predictions at test time, HyperSkill holds steady at 34.7% success, whereas unregularized spheres and Euclidean latents plummet to 17.7% and 18.6%.
  • Clean Compositional Switching: Visualizations show the planner holding steady on one region of the sphere during a subtask and cleanly hopping to another region right at semantic task boundaries.

Limitations and Future Work

  • Planner dependency: Despite improved robustness, low-level control still suffers if the high-level planner makes noisy or inaccurate skill predictions.
  • Long-horizon unseen transfer: On unseen Kitchen instructions, performance mostly reflects partial progress; completing all four subtasks from scratch remains rare.
  • Fixed windows & simulation: Skills update on a rigid $H$-step clock, which can awkwardly slice across natural movement boundaries, and all tests are currently confined to offline simulation.
  • Future directions: Testing on real physical robots, dynamically allocating the number of vMF skill modes, and performing Riemannian flow matching directly on the sphere's surface.

Summary updated

Abstract

Language-conditioned manipulation requires skill representations that are both multi-modal and predictable: the same instruction may admit diverse executions, while the high-level planner must select a stable skill for low-level control. However, conventional vector-quantized skill codes compress continuous variations into isolated symbols, introduce biased straight-through gradients, and do not explicitly enforce local continuity at the policy interface. We propose $\textbf{HyperSkill}$, a hierarchical skill-learning framework that models skills as continuous embeddings on the unit hypersphere. We use a learnable von Mises--Fisher mixture prior to capture skill-level multi-modality, with geodesic repulsion encouraging diverse mode coverage on the hyperspherical manifold. To connect training-time skill inference with inference-time planning, we introduce Geodesic Skill Alignment (GSA), which aligns deterministic segment embeddings with causal planner predictions using squared geodesic distance. Together, these components provide a geometrically structured skill interface that preserves execution diversity while enabling causal skill prediction at inference time. For low-level control, a Conditional Flow Matching decoder samples actions at each environment step from a multi-modal distribution conditioned on the current observation and skill embedding. Experiments show higher reported LOReL success rates and competitive Kitchen performance, with gains depending on the observation setting and required subtask completion depth. Controlled ablations and perturbation tests support the effectiveness of the full vMF-regularized hyperspherical framework.
BibTeX
@inproceedings{bao2026hyperskill,
  author = {Erdemt Bao and JunChen and Weijun Qin and Shaopeng Li and Ming Li and Mengchen Zhao and Ziqian Zeng and Cen Chen and Huiping Zhuang},
  title = {{HyperSkill: Multi-Modal Skill Learning on the Unit Hypersphere}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=lOmo51p8Ne},
}
Figure