Hyperbolic Prototype Learning with Uncertainty-Aware Consistency for Continual Test-Time Segmentation

Siddhant Gole, Akash Pal, Amit More, S Divakar Bhat, Subhasis Chaudhuri, Biplab BanerjeeCVPR 2026

TL;DR

Continual Test-Time Adaptation (CTTA) allows segmentation models to adapt to changing environments online, but standard Euclidean models suffer from error accumulation due to crowded, fragile decision boundaries. This paper introduces HyperProtoSeg and HBCA, a framework that leverages the exponential volume growth of hyperbolic space (the Poincaré ball) to learn stable class prototypes and applies an uncertainty-aware dual-consistency loss to safely adapt to severe domain shifts without catastrophic performance drift.

What Problem Does This Paper Address?

Imagine an autonomous vehicle flawlessly trained on sunny California streets suddenly navigating a blinding snowstorm. The model can fail catastrophically because the visual environment has shifted drastically from its training data.

To solve this, Continual Test-Time Adaptation (CTTA) allows a model to adapt online to a continuous stream of unlabeled target domains (e.g., clear $\rightarrow$ rain $\rightarrow$ snow). However, most existing CTTA methods rely on self-training via pseudo-labels. When domain shifts are severe, early predictions are noisy, creating a catastrophic feedback loop where the model continually amplifies its own errors over time.

The authors identify two deep-rooted causes for this fragility:

  1. The Euclidean Geometry Limitation: Standard deep networks operate in Euclidean feature spaces where volume grows polynomially. This forces complex semantic features into crowded clusters separated by narrow, fragile decision boundaries.
  2. The Stability-Plasticity Dilemma: Models lack an explicit mechanism to balance rapid adaptation to new environments (plasticity) with the preservation of learned structures (stability).

Methods

The authors propose a proactive, geometry-aware solution consisting of two main components:

1. HyperProtoSeg (Hyperbolic Prototypical Segmentation)

Instead of using standard Euclidean embeddings, HyperProtoSeg maps features into the Poincaré ball model of hyperbolic space. Because hyperbolic space features constant negative curvature, its volume grows exponentially. This provides ample "room" to form compact, low-distortion semantic clusters with uniformly large inter-class margins.

Classes are represented by learnable interior prototypes that act as stable geometric anchors, preventing features from drifting wildly during adaptation.

2. HBCA (Hyperbolic Boundary Consistency Adaptation)

To resolve the stability-plasticity trade-off, HBCA uses a Teacher-Student architecture and partitions pixels into two distinct regions based on cross-view prediction consistency:

  • Confident "Core" Pixels: Pixels where the model is highly certain are updated using a geodesic distance-matching loss ($L_{core}$). This pulls the Student's embeddings directly toward the Teacher's reliable predictions, ensuring high plasticity.
  • Uncertain "Boundary" Pixels: For pixels near object boundaries or under heavy occlusion, strict distance matching would propagate noise. Instead, HBCA applies a novel Hyperbolic Directional Consistency Loss ($L_{boundary}$) in the tangent space. This discards noisy positional information and only aligns the directional vectors relative to the class prototypes, acting as a conservative stabilizer.
Figure 2. Framework Overview. (Top) HyperProtoSeg: During source-domain training, the model learns geometrically optimal class prototypes. (Bot- tom) HBCA: During CTTA, a dual geometric loss is applied based on uncertainty. (Top Right) For confident pixels, Lcore pulls the Student’s embedding (pink) towards the Teacher’s (orange). (Bottom Right) For uncertain pixels, Lboundary conservatively aligns the Student’s orientation with the Teacher’s, with both directions viewed from the stable Teacher prototype (red). This prevents a direct match to the noisy target and mitigates error amplification.

Datasets

The framework was evaluated on three challenging synthetic-to-real and real-world urban driving benchmarks featuring sequential, weather-induced domain shifts:

  • Cityscapes $\rightarrow$ ACDC: Adapting from clear weather to a sequence of adverse conditions (Fog, Night, Rain, Snow).
  • IDD $\rightarrow$ IDD-AW: Adapting from unstructured Indian roads to adverse weather conditions.
  • SHIFT: A synthetic dataset specifically designed for continuous, multi-task domain adaptation evaluation.

Key Insights and Ideas

  • Hyperbolic Space is Naturally Suited for Vision: Euclidean spaces scale poorly for complex relational data. Hyperbolic space's exponential expansion naturally accommodates hierarchical and complex semantic structures without crowding decision boundaries.
  • Direction Over Distance for Uncertainty: When dealing with highly uncertain pixels, trying to force exact distance matching introduces massive noise. Aligning only the angles (directions) in the tangent space provides a robust, scale-invariant regularization signal that prevents prototype corruption.
  • Interior vs. Boundary Prototypes: While some hyperbolic methods fix prototypes at the ideal boundary of the Poincaré ball, learning interior prototypes is crucial for CTTA because it allows the anchors themselves to subtly adapt to semantic shifts across domains.

Key Results

  • State-of-the-Art Performance: HyperProtoSeg + HBCA achieved substantial mean mIoU improvements over existing state-of-the-art CTTA methods: +4.02% on IDD $\rightarrow$ IDD-AW, +1.94% on Cityscapes $\rightarrow$ ACDC, and +1.24% on SHIFT.
  • Long-Term Stability: In a 10-round sequential adaptation test on Cityscapes $\rightarrow$ ACDC, the Euclidean baseline's performance degraded by 1.46% due to error accumulation. In contrast, the hyperbolic model limited degradation to just 0.62%.
  • High Efficiency: Despite the massive geometric advantages, HyperProtoSeg requires only a ~3% increase in GFLOPs compared to standard Euclidean baselines, proving that the gains stem from elegant representation geometry rather than raw parameter scaling.
Figure 3. Qualitative comparison of semantic segmentation under adverse conditions. Our model, HyperProtoSeg, demonstrates superior robustness in preserving fine- grained details (poles in fog) and detecting challenging objects (street lamps at night) that are often missed by competing methods. More qualitative results in Supp. Mat.

Limitations and Future Work

  • Fixed Curvature: The current implementation relies on a fixed curvature ($c=1$) for the hyperbolic space. The authors note that exploring adaptive curvature learning—where the model dynamically adjusts the curvature based on the severity of the domain shift—is a promising next step.
  • Task Scope: The framework is currently tailored for semantic segmentation. Future work will focus on extending these hyperbolic, uncertainty-aware principles to other dense prediction tasks like depth estimation or instance segmentation.

Summary updated

BibTeX
@inproceedings{gole2026hyperbolic,
  author = {Siddhant Gole and Akash Pal and Amit More and S Divakar Bhat and Subhasis Chaudhuri and Biplab Banerjee},
  title = {{Hyperbolic Prototype Learning with Uncertainty-Aware Consistency for Continual Test-Time Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=KV9IsUYNiL},
}
Figure