Adaptive Texture Filtering for Single-Domain Generalized Segmentation

Xinhui Li, Mingjia Li, Yaxing Wang, Chuan-Xian Ren, Xiaojie Guo

Abstract

Domain generalization in semantic segmentation aims to alleviate performance degradation on unseen domains by learning domain-invariant features. Existing methods typically diversify the source domain through complex texture augmentation, which can be computationally expensive and dependent on external texture banks. In this paper, we propose a novel Adaptive Texture Filtering Mechanism (AFM) that suppresses domain-specific textures directly within the source domain, eliminating the need for external augmentation. We further introduce a Hierarchical Guidance Generalization Network (HGGN) with structure-guided enhancement modules to preserve critical structural information. Our approach achieves state-of-the-art performance on standard benchmarks, demonstrating superior generalization from synthetic to real-world datasets.

Introduction: The Challenge of Domain Shift

Deep learning models for semantic segmentation are notoriously fragile. A model trained on synthetic data, such as the GTA5 game engine, often fails when deployed in the real world due to distribution shift—differences in lighting, weather, and camera sensors.

The standard solution in Domain Generalization (DG) is "texture augmentation": adding noise, random colors, or artistic styles to training images so the model learns to ignore them. However, this approach is computationally intensive and relies on a massive, diverse "bank" of textures to be effective.

Standard texture augmentation approaches diversify the source domain by adding complex or abnormal textures.

Instead of adding more noise, the authors of this paper propose a paradigm shift: Texture Suppression. By filtering out the textures that cause domain confusion, the model can focus on invariant structural features like shapes and contours.

Methodology

The proposed framework isolates the "signal" (structure) from the "noise" (texture) using two primary components.

Adaptive Filtering Mechanism (AFM)

The AFM is designed to suppress domain-specific textures without requiring external style banks. It consists of two sub-modules:

  1. Adaptive Strength Predictor (ASP): Since different images require different levels of smoothing, the ASP analyzes the "style" of an input image (using mean and variance statistics) to predict an optimal filtering intensity parameter ($\lambda_a$).
  2. Texture Filtering Generator (TFG): This U-Net-based module performs "structure-preserving smoothing." It decomposes the original image into a smooth, texture-free content image ($I_c$) and a texture-dependent residual image ($I_t$).
The proposed Adaptive Filtering Mechanism suppresses textures to isolate domain-invariant structural features.

Hierarchical Guidance Generalization Network (HGGN)

Smoothing can inadvertently erase important internal boundaries. To counteract this, the HGGN utilizes Structure-guided Enhancement (SGE) modules. These modules fuse features from both the smooth content image ($I_c$) and the texture residual ($I_t$). Crucially, they incorporate a Contour Detector supervised by ground-truth labels. This ensures the network prioritizes object shapes and boundaries—features that remain consistent across domains—over volatile surface textures.

Experimental Setup and Results

The model was trained on synthetic source domains (GTA5 and SYNTHIA) and evaluated on three unseen real-world target domains: Cityscapes, BDD-100k, and Mapillary Vistas.

Performance Metrics

The proposed method consistently outperformed existing state-of-the-art (SOTA) methods:

  • Generalization Performance: When trained on GTA5 and tested across all three real-world datasets using a ResNet-101 backbone, the model achieved an average mIoU (mean Intersection over Union) of 44.24%, surpassing previous SOTA methods by nearly 2%.
  • Backbone Robustness: The performance gains were maintained across different architectures. With a ResNet-50 backbone, it achieved 40.51% average mIoU, compared to the previous best of 39.65%.
  • Qualitative Analysis: Visual evaluations indicate that the model is significantly better at identifying thin structures (such as poles) and distant objects, which are often lost when models over-fit to synthetic textures.

Conclusion

The core insight of this research is that Texture Suppression is often more efficient and effective than Texture Augmentation for domain generalization. By adaptively filtering out domain-specific noise and using contours as structural anchors, the proposed model learns features that are truly domain-invariant. This approach not only reduces computational overhead but also sets a new performance benchmark for single-domain generalized semantic segmentation.

Summary updated

BibTeX
@inproceedings{li2023adaptive,
  author = {Xinhui Li and Mingjia Li and Yaxing Wang and Chuan-Xian Ren and Xiaojie Guo},
  title = {{Adaptive Texture Filtering for Single-Domain Generalized Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=OolY9Y6onOW},
}
Figure