Skip to main content
QUICK REVIEW

[Paper Review] HRDA: Context-Aware High-Resolution Domain-Adaptive Semantic Segmentation

Lukas Hoyer, Dengxin Dai|arXiv (Cornell University)|Apr 27, 2022
Domain Adaptation and Few-Shot LearningComputer Science7 citations
TL;DR

HRDA proposes a multi-resolution training framework for unsupervised domain adaptation in semantic segmentation, combining high-resolution detail crops and low-resolution context crops with a learnable scale attention mechanism to preserve fine-grained details while capturing long-range context. It achieves state-of-the-art performance with 73.8 mIoU on GTA→Cityscapes and 65.8 mIoU on Synthia→Cityscapes, improving SOTA by 5.5 and 4.9 mIoU respectively, while maintaining manageable GPU memory usage.

ABSTRACT

Unsupervised domain adaptation (UDA) aims to adapt a model trained on the source domain (e.g. synthetic data) to the target domain (e.g. real-world data) without requiring further annotations on the target domain. This work focuses on UDA for semantic segmentation as real-world pixel-wise annotations are particularly expensive to acquire. As UDA methods for semantic segmentation are usually GPU memory intensive, most previous methods operate only on downscaled images. We question this design as low-resolution predictions often fail to preserve fine details. The alternative of training with random crops of high-resolution images alleviates this problem but falls short in capturing long-range, domain-robust context information. Therefore, we propose HRDA, a multi-resolution training approach for UDA, that combines the strengths of small high-resolution crops to preserve fine segmentation details and large low-resolution crops to capture long-range context dependencies with a learned scale attention, while maintaining a manageable GPU memory footprint. HRDA enables adapting small objects and preserving fine segmentation details. It significantly improves the state-of-the-art performance by 5.5 mIoU for GTA-to-Cityscapes and 4.9 mIoU for Synthia-to-Cityscapes, resulting in unprecedented 73.8 and 65.8 mIoU, respectively. The implementation is available at https://github.com/lhoyer/HRDA.

Motivation & Objective

  • To address the limitation of existing unsupervised domain adaptation (UDA) methods in semantic segmentation that downscale images to reduce GPU memory usage, leading to loss of fine details.
  • To preserve small object segmentation and fine boundary details that are lost in low-resolution predictions.
  • To capture long-range contextual dependencies robust to domain shifts without increasing GPU memory consumption.
  • To combine the strengths of high-resolution detail crops and low-resolution context crops through a learnable attention mechanism.
  • To achieve state-of-the-art performance in UDA semantic segmentation while maintaining computational feasibility.

Proposed method

  • HRDA trains on two crops per image: a large low-resolution (LR) context crop for long-range context and a small high-resolution (HR) detail crop for fine-grained details.
  • The model uses a learned scale attention module to dynamically fuse predictions from both crops based on input-dependent confidence.
  • The attention mechanism learns which scale—LR or HR—is more reliable for each image region during inference.
  • Training uses random crops to maintain GPU memory efficiency, with the HR detail crop focused on local regions within the LR context crop.
  • Additional improvements include overlapping slide crops for the detail branch and a small auxiliary loss on the detail branch to enhance feature learning.
  • The framework is compatible with existing UDA methods and can be integrated into models like DAFormer.

Experimental results

Research questions

  • RQ1Can combining high-resolution detail crops and low-resolution context crops improve semantic segmentation performance in unsupervised domain adaptation?
  • RQ2Does a learnable scale attention mechanism effectively fuse predictions from different resolutions to improve segmentation accuracy?
  • RQ3Can multi-resolution training preserve fine details of small objects while maintaining long-range context awareness under GPU memory constraints?
  • RQ4How does HRDA compare to naive high-resolution training or single-scale approaches in terms of performance and memory efficiency?
  • RQ5To what extent do context and detail crops contribute independently to the final performance gain?

Key findings

  • HRDA achieves 73.8 mIoU on the GTA→Cityscapes benchmark, a 5.5 mIoU improvement over the previous state-of-the-art.
  • On the Synthia→Cityscapes benchmark, HRDA achieves 65.8 mIoU, a 4.9 mIoU improvement over the prior SOTA.
  • The learned scale attention mechanism contributes +3.0 mIoU over simple averaging of predictions from both scales.
  • Using a real HR detail crop yields +1.9 mIoU over bilinear upsampling an LR crop to HR, demonstrating the importance of true high-resolution features.
  • HRDA outperforms a strong baseline using large HR crops (HR₀.₇₅) by +3.8 mIoU, despite requiring 40% less GPU memory.
  • Ablation studies show that overlapping detail crops and additional supervision on the detail branch further improve performance by +0.9 mIoU and +1.4 mIoU respectively.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.