Hierarchical Prompt Injector for Domain Generalization Segmentation
Xin Kun Lin, Ruoyu Guo, Jiaqi Guo, Maurice Pagnucco, Yang Song
Key points
From the paper's conclusion- We achieve 70.62\% and 72.74\% mIoU on synthetic-to-real and real-to-real benchmarks, respectively.
Abstract
Domain Generalized Semantic Segmentation (DGSS) is a challenging task, as vision models often rely on low-level appearance cues that change across domains. In contrast, structural attributes exhibit cross-domain stability, motivating the use of structural priors for DGSS. Existing methods use prompt learning to transfer such priors into DGSS models, but typically encode each class as a single holistic prompt. Moreover, these methods apply prompts uniformly to all pixels, offering no mechanism to adapt when only a subset of object regions is visible due to viewpoint changes, occlusion, and environmental variation. We address this with \textbf{Spatial Hierarchical Prompts (SHP)} that enrich each class with region-level geometric anchors capturing structural appearance from distinct viewing angles, ensuring complementary coverage under arbitrary viewpoints. Additionally, we propose the \textbf{Hierarchical Prompt Injector (HPI)}, which enables spatially adaptive prompt injection in foundation models. HPI spatially grounds prompts by modeling their semantic relevance and spatial influence with visual features. Considering the difficulty of learning spatially and semantically aware prompt injection, we further introduce auxiliary supervision to align hierarchical prompts with their corresponding object regions. We achieve 70.62\% and 72.74\% mIoU on synthetic-to-real and real-to-real benchmarks, respectively. Code and checkpoints are released at https://github.com/MosukFate/HPI
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- HyperCLIP++: Fine-Tuning CLIP for Open-Vocabulary Semantic Segmentation in Hyperbolic Space.IEEE transactions on pattern analysis and machine intelligence · 2026
- Adapt, Generate, and Supervise: Geometry-Aware Diffusion-Guided SAM Framework for Remote Sensing Semantic SegmentationIEEE Transactions on Geoscience and Remote Sensing · 2026
- ASCoR: Asymmetric Semantic-Spatial Learning for Remote Sensing Domain GeneralizationarXiv · 2026
- Zero-Shot Domain Generalization via Domain Prompt LearningarXiv · 2026
- CrossEarth: Geospatial Vision Foundation Model for Domain Generalizable Remote Sensing Semantic SegmentationIEEE Transactions on Pattern Analysis and Machine Intelligence · 2025
- When Federated Prompt Learning Fails: Understanding and Mitigating Cross-Domain Prompt Interference.IEEE transactions on pattern analysis and machine intelligence · 2026