SPLAT: Semantic Pixel-Level Adaptation Transforms for Detection

Eric Tzeng, Kaylee Burns, Kate Saenko, Trevor DarrellarXiv 2018

Abstract

Domain adaptation of visual detectors is a critical challenge, yet existing methods have overlooked pixel appearance transformations, focusing instead on bootstrapping and/or domain confusion losses. We propose a Semantic Pixel-Level Adaptation Transform (SPLAT) approach to detector adaptation that efficiently generates cross-domain image pairs. Our model uses aligned-pair and/or pseudo-label losses to adapt an object detector to the target domain, and can learn transformations with or without densely labeled data in the source (e.g. semantic segmentation annotations). Without dense labels, as is the case when only detection labels are available in the source, transformations are learned using CycleGAN alignment. Otherwise, when dense labels are available we introduce a more efficient cycle-free method, which exploits pixel-level semantic labels to condition the training of the transformation network. The end task is then trained using detection box labels from the source, potentially including labels inferred on unlabeled source data. We show both that pixel-level transforms outperform prior approaches to detector domain adaptation, and that our cycle-free method outperforms prior models for unconstrained cycle-based learning of generic transformations while running 3.8 times faster. Our combined model improves on prior detection baselines by 12.5 mAP adapting from Sim 10K to Cityscapes, recovering over 50% of the missing performance between the unadapted baseline and the labeled-target upper bound.

Introduction

Object detectors trained in simulation (e.g., video games like GTA V) often fail when deployed in the real world due to domain shift—differences in lighting, texture, and weather. While domain adaptation for image classification is well-studied, detection is more challenging. Previous attempts usually focused on "feature-level" alignment, which can struggle when background layouts differ significantly. "Pixel-level" adaptation, translating synthetic images to look real, is promising but typically relies on CycleGANs, which are computationally expensive and prone to artifacts. SPLAT introduces a lightweight, "cycle-free" approach to unsupervised domain adaptation for object detection, leveraging semantic segmentation labels available in synthetic data to replace expensive cycle-consistency losses.

Methods

The core of SPLAT (Semantic Pixel-Level Adaptation Transform) is transforming source (synthetic) images into the style of the target (real) domain while preserving original content. The framework supports two primary modes: SPLAT-cycle, using standard CycleGAN-based alignment, and SPLAT-lite, a novel cycle-free method.

Overview of the SPLAT training and detection pipeline.

Once images are transformed, the detector is trained using two strategies:

  • Pseudo-labeling: Training on transformed images using original synthetic labels.
  • Pair Alignment: Forcing the detector to produce similar internal features for both the original synthetic image and its transformed counterpart.

The Cycle-Free Innovation

The key innovation, SPLAT-lite, exploits the fact that synthetic datasets often provide "free" semantic segmentation labels. Instead of the four image-generation passes required by CycleGAN to ensure content preservation via reconstruction, SPLAT-lite uses a Semantic Consistency Loss. This ensures the transformation network preserves object identity by requiring that a task network can still correctly identify pixels in the transformed image.

Comparison between standard CycleGAN and the proposed cycle-free method.

By dropping the "reverse" generator, computational overhead is drastically reduced. In synthetic data, semantic labels are "ground truth," providing a direct signal of what the content should be, which is more efficient than unsupervised cycle-consistency.

Evaluation and Results

The method was evaluated on a synthetic-to-real car detection task, adapting from Sim10k and GTA5 to the real-world Cityscapes dataset.

  • Accuracy: SPLAT-lite achieved 51.5 mAP on Cityscapes, a significant jump from the 39.0 mAP of the previous state-of-the-art (Domain Adaptive Faster R-CNN). This recovers over 50% of the gap to an "Oracle" model trained on real labeled data.
  • Efficiency: SPLAT-lite is 3.8x faster per training iteration than cycle-based methods.
  • Quality: SPLAT-lite produced cleaner images with fewer artifacts. Unlike CycleGAN, which often "hallucinated" common target-domain features (like Mercedes-Benz hood ornaments) onto all cars, SPLAT-lite adhered strictly to the source semantic map.

Discussion and Future Work

SPLAT demonstrates that pixel-level transforms can significantly outperform feature-level alignment for detector domain adaptation. By providing training data where domain-specific features (like the camera car's hood) are styled realistically, the model learns to ignore these distractions.

However, the "lite" version depends on dense semantic labels in the source domain. While common in modern synthetic datasets, this may limit applicability to legacy data. Future work could extend this approach to a wider variety of object classes beyond cars and explore more nuanced combinations of pseudo-labeling and pair alignment to further optimize target-domain representations.

Summary updated

BibTeX
@misc{tzeng2018splat,
  author = {Eric Tzeng and Kaylee Burns and Kate Saenko and Trevor Darrell},
  title = {{SPLAT: Semantic Pixel-Level Adaptation Transforms for Detection}},
  year = {2018},
  eprint = {1812.00929},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.00929},
}
Figure