GeCo: Geometry-Consistent Regularization for Domain Generalized Semantic Segmentation

Qi Zang, Dong Zhao, Nan Pu, Wenjing Li, Zhun Zhong, Meng WangCVPR 2026

TL;DR

Fine-tuning Vision Foundation Models (VFMs) for domain generalized semantic segmentation often causes them to overfit to source domain statistics, destroying their inherent generalization. GeCo introduces a geometry-consistent regularization framework that uses curvature-guided token perturbations and geodesic-based prediction constraints to expand representation capacity while respecting the VFM's pretrained manifold structure. This approach yields state-of-the-art performance across both closed-set and open-set generalization benchmarks with minimal trainable parameters.

What Problem Does This Paper Address?

Domain Generalized Semantic Segmentation (DGSS) aims to train a model on a source domain (e.g., synthetic data) so that it generalizes reliably to unseen target domains (e.g., real-world driving conditions, adverse weather).

Adapting powerful Vision Foundation Models (VFMs) like DINOv2 or CLIP via Parameter-Efficient Fine-Tuning (PEFT)—such as using lightweight adapters or LoRA—has become the standard approach. However, these adapters often overfit to source domain statistics and seen class boundaries, leading to domain bias and semantic rigidity.

While standard regularization techniques inject random noise into features to prevent overfitting, VFMs possess highly structured, non-Euclidean token embedding spaces (manifolds). As shown in the paper, naive random perturbations disrupt this geometric continuity, causing semantic drift and unstable generalization.

Visualization of the structured manifold of token embeddings in a pre-trained VFM.

Methods

The authors propose Geometry-Consistent Regularization (GeCo), which extrapolates the pretrained representation space toward the target task under structure-respecting constraints. It consists of two primary components:

  1. Curvature-Guided Perturbation (CGP): Instead of injecting isotropic random noise, GeCo estimates a local curvature proxy using tangent-based deviations (via local PCA on a token neighborhood enriched by a prototype bank). High-curvature regions (typically semantic boundaries or transitions) receive smaller perturbations to preserve discriminative details. Low-curvature regions (homogeneous areas) receive stronger perturbations to promote exploration. Furthermore, perturbations are restricted to the tangent space in complex regions and allowed to extend orthogonally in flat regions.
Illustration of curvature-guided perturbation in the manifold space.
  1. Geodesic-Based Regularization (GBR): To ensure that feature variations translate to stable decision behavior, GeCo constrains prediction shifts. Instead of using flat Euclidean or KL distance metrics, it minimizes the squared geodesic distance on a hyperspherical surrogate space (probability simplex). This provides a geometry-induced adaptive scaling mechanism that pulls ambiguous predictions back along smooth, manifold-aligned trajectories.
Comparison of Euclidean and geodesic distances in the prediction space.

Datasets

The authors evaluated GeCo across several challenging benchmarks:

  • Source Domains (Training): GTA5 and SYNTHIA (large-scale synthetic urban scene datasets).
  • Closed-Set Target Domains: Cityscapes, BDD-100K, and Mapillary Vistas.
  • Adverse Weather Target Domain: ACDC (covering fog, night, rain, and snow conditions).
  • Open-Set Target Domains: ACDC-POC and MUAD (benchmarks combining domain shifts with out-of-distribution/anomaly object detection).

Key Insights and Ideas

  • Manifolds are Sacred: Pretrained VFMs implicitly construct highly organized semantic spaces. Regularization techniques must treat these spaces as non-Euclidean manifolds rather than flat vector spaces.
  • Curvature as Complexity: Local curvature acts as an excellent proxy for semantic complexity, allowing the model to dynamically tune its exploration-vs-exploitation trade-off at the token level.
  • Probability Geometry Matters: Standard distance metrics assume a flat prediction space. Geodesic metrics properly account for the true curvature of the probability simplex, preventing aggressive and geometry-inconsistent prediction shifts during fine-tuning.

Key Results

  • State-of-the-Art Performance: In the single-source setting (GTA5 $\rightarrow$ Real Domains), GeCo consistently outperformed existing PEFT methods (like Rein, FADA, and FisherTune) across CLIP, EVA02, and DINOv2 backbones. For instance, with DINOv2-L, GeCo achieved a 67.7% average mIoU, outperforming FADA (66.1%) and Rein (64.3%).
  • Robustness to Extreme Weather: On the ACDC dataset, GeCo achieved the highest overall performance (78.7% mIoU on DINOv2-L), showing significant gains in severe conditions like night and rain where visual cues degrade heavily.
  • Open-Set Generalization: When evaluated on open-set benchmarks (ACDC-POC and MUAD), GeCo combined with Residual Pattern Learning (RPL) achieved the highest Average Precision (AP) and lowest False Positive Rate ($\text{FPR}_{95}$), demonstrating cleaner anomaly response maps.
  • Plug-and-Play Integrability: GeCo is model-agnostic. When plugged directly into existing adapter frameworks like Rein, it boosted the baseline performance by +2.0% absolute mIoU on average.
Figure 1. (a) We demonstrate the strong generalization ability of our method, GeCo, in both closed-set domain generalized semantic seg- mentation (complex real-world scenarios) and open-set domain generalized semantic segmentation (involving unknown class recognition). For the response map of the features: the redder the area, the higher the probability that the model recognizes it as an unseen class, while the bluer the area, the lower the probability. (b) - (c) Schematic diagrams of different perturbation methods. (b) shows the existing naive perturbation method, which introduces random noise. (c) shows our proposed perturbation method that aligns with the VFM representation space, where the magnitude and direction of the perturbation are guided by the curvature calculated at each token.

Limitations and Future Work

  • Computational Overhead: Estimating local curvature requires neighborhood construction and local PCA, which introduces a minor computational overhead during the training phase (though it remains parameter-efficient and lightweight compared to global manifold modeling).
  • Future Directions: The authors suggest that geometry-consistent adaptation principles could be extended beyond semantic segmentation to other dense downstream prediction tasks, such as depth estimation or object detection, and explored in fully test-time adaptation scenarios.

Summary updated

BibTeX
@inproceedings{zang2026geco,
  author = {Qi Zang and Dong Zhao and Nan Pu and Wenjing Li and Zhun Zhong and Meng Wang},
  title = {{GeCo: Geometry-Consistent Regularization for Domain Generalized Semantic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=Z7muk4TSCg},
}
Figure