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

Transformation Consistency Regularization - A Semi-supervised Paradigm for Image-to-Image Translation

Aamir Mustafa, Rafal K. MantiukECCV 2020

Introduction

Deep learning has significantly advanced image-to-image (I2I) translation tasks such as colorization, denoising, and super-resolution. However, these successes typically depend on large-scale, high-quality labeled datasets—pairs of degraded and ground-truth images. Creating such datasets is often prohibitively expensive or technically challenging.

While Semi-Supervised Learning (SSL) has flourished in image classification by leveraging unlabeled data through consistency regularization, its application to I2I translation is not straightforward. In classification, consistency implies invariance (the label should not change under transformation). In I2I translation, the output must be equivariant: if an input is rotated, the translated output must be rotated identically. This paper introduces Transformation Consistency Regularization (TCR) to bridge this gap.

Methodology: Transformation Consistency Regularization

The core of TCR is a modification of the smoothness assumption adapted for generative tasks. Instead of seeking invariance, TCR enforces equivariance under geometric transformations.

Overview of the TCR framework showing the combination of supervised loss and transformation consistency regularization on unlabeled data.

The TCR Loss Function

The training objective is a weighted sum of two components:

  1. Supervised Loss ($L_s$): Standard Mean Squared Error (MSE) or $L_1$ loss applied to the available labeled image pairs $(x_i, y_i)$.
  2. Unsupervised Regularization ($L_{us}$): For an unlabeled image $u$, the model produces a prediction $f(u)$. A geometric transformation $T$ is then applied. The loss penalizes the discrepancy between the model's prediction of the transformed input and the transformation of the original prediction: $$L_{us} = \sum_{m} mse(T_m(f_\theta(u_i)), f_\theta(T_m(u_i)))$$

The total loss is defined as $L = L_s + \lambda L_{us}$. The authors utilize a variety of geometric perturbations, including rotations (±45°), translations, zooming, and horizontal flipping.

The Manifold Perspective

A key insight of this work is how TCR helps the model navigate the "natural image manifold." In low-data regimes, purely supervised models often fail to map degraded inputs correctly, leading to outputs that fall "off the manifold" (i.e., look unnatural or contain artifacts).

Comparison of manifold mapping between a standard supervised approach and the proposed TCR. TCR keeps predictions on the natural image manifold by leveraging unlabeled data and geometric consistency.

By enforcing consistency across transformations on unlabeled data, TCR effectively regularizes the model to learn the underlying structure of natural images. This ensures that even when labels are scarce, the model's translations remain robust and physically plausible.

Experimental Results

The efficacy of TCR was evaluated across several benchmarks including the Places dataset for colorization, Set14 and BSD for denoising, and BSD500 for super-resolution.

Key Findings

  • Data Efficiency: TCR achieves performance parity with fully supervised models using only 10–20% of the labeled data.
  • Quantitative Gains: At 10% supervision, TCR provided a ~3.1 dB PSNR gain for colorization and ~3.0 dB for denoising over supervised baselines.
  • Video Stability: In video tasks (tested on 'Big Buck Bunny'), using just 1% of labeled frames resulted in a 6.1 dB PSNR gain. The geometric consistency naturally reduces temporal flickering.
  • Superiority to Augmentation: TCR outperforms standard data augmentation because the use of unlabeled data provides a significantly stronger regularizing effect on the model's mapping function.

Conclusion

TCR presents a powerful paradigm for semi-supervised I2I translation. By redefining consistency as equivariance, it allows models to learn from vast amounts of unlabeled data, drastically reducing the need for expensive manual labeling. While currently focused on geometric transformations, future work could explore extending this framework to non-geometric domains like medical imaging or artistic style transfer.

Summary updated

BibTeX
@inproceedings{mustafa2020transformation,
  author = {Aamir Mustafa and Rafal K. Mantiuk},
  title = {{Transformation Consistency Regularization - A Semi-supervised Paradigm for Image-to-Image Translation}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58523-5\_35},
}
Figure