NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generative Adversarial Networks for Video-to-Video Domain Adaptation

Jiawei Chen, Yuexiang Li, Kai Ma, Yefeng Zheng

Abstract

Machine learning models trained on medical videos from one clinical center often exhibit poor generalization at others due to domain shifts in lighting, color, and hardware. This paper introduces VideoGAN, a novel generative adversarial network for unpaired video-to-video domain adaptation. Unlike standard image-to-image GANs that process frames independently, VideoGAN translates videos while strictly preserving anatomical structures and temporal consistency. By anchoring translations to a reference frame and employing specialized consistency losses, VideoGAN prevents content "hallucinations" and color flickering. Experimental results on colonoscopy and driving datasets show that VideoGAN significantly enhances performance in downstream tasks like colorectal polyp segmentation.

Introduction

In medical imaging, particularly endoscopy and colonoscopy, visual data varies significantly across clinical centers due to differences in camera hardware and illumination settings. A computer-aided diagnosis (CAD) system trained on data from one hospital typically experiences a substantial performance drop when deployed in a different environment.

While unsupervised domain adaptation techniques like CycleGAN can translate images between domains, applying them to video sequences frame-by-frame introduces two critical issues:

  1. Content Distortion: Standard GANs may alter underlying geometry, potentially erasing or hallucinating medical features like polyps.
  2. Intra-video Inconsistency: Independent frame translation leads to "mode jumping," where consecutive frames are mapped to different visual styles in the target domain, causing severe color flickering.

Methodology

The VideoGAN framework extends the cycle-consistency principle specifically for video data to ensure structural integrity and temporal stability.

VideoGAN framework overview showing domain translation and consistency losses.

The X-Shape Generator

The core of VideoGAN is the X-shape generator. Instead of a single frame, the generator accepts two inputs: the source frame (current) and a reference frame (typically the first frame of the sequence). These inputs are processed by independent encoders and fused in a "dense fusion block" before decoding. This architecture forces the network to map all frames within a video to a consistent mode in the target domain, effectively anchoring the visual style.

Consistency and Color Validation

To maintain temporal and color dynamics, the authors introduce:

  • Color Validator & Histogram Loss: This ensures that relative color changes (e.g., darkening as a camera moves) are preserved by tuning the color distribution based on the reference frame using a 15-bin RGB histogram loss.
  • Intra-Video Loss: A secondary discriminator validates that translated frames from the same source video appear to belong to the same target video, enforcing long-term consistency.

Experimental Setup

The paper evaluates VideoGAN across two distinct domains:

  • Medical (Colonoscopy): Utilizing the CVC-Clinic and ETIS-Larib datasets. These datasets represent different clinical centers with distinct color profiles. The primary task is colorectal polyp segmentation.
  • Natural (Driving): Using the CamVid dataset to translate "cloudy" driving footage into "sunny" scenes, demonstrating the architecture's general-purpose utility.

Results and Discussion

VideoGAN demonstrates superior performance in both qualitative and quantitative metrics compared to standard adaptation methods.

Qualitative comparison of domain translation between datasets.

Key Insights

  • Preservation of Clinical Content: A human physician study revealed that standard CycleGAN translations halved annotation accuracy due to polyp distortion. VideoGAN maintained accuracy levels comparable to the original videos.
  • Mode Stability: Anchoring the translation to a reference frame successfully prevents the "flickering" effect common in frame-by-frame GAN applications.

Quantitative Performance

  • Medical Transfer Learning: Training a segmentation network on CVC-Clinic data adapted to ETIS-Larib yielded a 76.69% Dice coefficient, significantly higher than CycleGAN (69.31%) and direct transfer (71.57%).
  • Data Augmentation: Using VideoGAN-translated videos for augmentation improved the segmentation Dice score to 83.50%.
  • Generalization: In the CamVid cloudy-to-sunny task, VideoGAN improved the mean Intersection over Union (mIoU) by +10.69% over direct transfer, preserving fine details like pedestrians and license plates.

Conclusion

VideoGAN addresses the critical challenges of content distortion and temporal instability in video-to-video domain adaptation. While the current model relies on RGB histograms and lacks explicit sequential modeling, it provides a robust framework for medical AI deployment across varying clinical settings. Future work may explore more complex color spaces and the integration of recurrent architectures to handle longer video sequences.

Summary updated

BibTeX
@inproceedings{chen2020generative,
  author = {Jiawei Chen and Yuexiang Li and Kai Ma and Yefeng Zheng},
  title = {{Generative Adversarial Networks for Video-to-Video Domain Adaptation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5750},
}
Figure