TL;DR
Standard image-to-image (i2i) translation often fails to capture subtle, local changes because it prioritizes global scene structure. This paper introduces "local domains"—spatially defined sub-regions like lane markings or road textures—to guide patch-based GANs, enabling realistic "hallucination" of unseen environments (like faded roads or snowy streets) using as few as 15 training images.
What Problem Does This Paper Address?
Image-to-image translation models, such as CycleGAN, are remarkably good at global style transfers—turning a summer photo into a winter one or a photo into a painting. However, they struggle with "local" transformations that don't change the overall layout of the scene.
For example, if you want to simulate a highway without lane markings to test an autonomous vehicle, a standard GAN might change the color of the asphalt or the sky but leave the lines intact because they are a small part of the global image. This is a major hurdle for safety-critical applications like autonomous driving, where we need to train models on rare "edge cases" (e.g., degraded roads, extreme weather) that are difficult and expensive to collect in the real world.
Methods
The authors propose a pipeline that leverages human knowledge about the geometry of a scene to focus the AI's attention.
- Local Domain Identification: Instead of treating the whole image as one domain, they define "local domains" (e.g., "lane markings" vs. "asphalt").
- Geometrically-Guided Patches: Using simple masks (often derived from existing dataset labels), they extract small patches specifically from these local domains.
- Patch-based GAN: They train a GAN specifically on these patches to learn the mapping between local domains (e.g., turning a "lane marking" patch into an "asphalt" patch).
- VAE Interpolation: To create a realistic spectrum of effects—like partially faded lines rather than just "on" or "off"—they use a Variational Autoencoder (VAE). This allows them to interpolate between the source and target characteristics smoothly.
- Hallucination: Finally, they stitch these translated patches back into the original images. This "hallucinates" a new, unseen domain (like a road with no lines) that preserves the rest of the original scene's integrity.
Datasets
The researchers evaluated their method across three distinct tasks using several well-known benchmarks:
- Lane Degradation: Used TuSimple (clear highway markings) as the source to hallucinate degraded roads, then evaluated on the India Driving Dataset (IDD), which features unstructured environments.
- Snow Addition: Used Cityscapes and ACDC (Adverse Driving Conditions) to simulate snow on roads and sidewalks.
- Deblurring: Used the Oxford 102 Flower dataset to demonstrate the model's ability to sharpen out-of-focus regions based on a simple center-vs-corner geometric prior.
Key Insights and Ideas
- The Power of Few-Shot Learning: Because the model trains on many small patches extracted from just a few images, it achieves high diversity with very little data. They successfully trained models using only 15 images.
- Source-Only Training: Remarkably, the model can learn to "remove" lane markings without ever seeing a target image of a road without markings. It simply learns the transition from the "lane" local domain to the "asphalt" local domain, both of which exist in the source data.
- Bridging the Reality Gap: The "hallucinated" images serve as a bridge for transfer learning. By training a standard lane detector on these simulated "messy" roads, the detector becomes significantly more robust when it finally encounters real-world degraded roads.
Key Results
- Improved Robustness: Lane detection models (SCNN and RESA) trained on hallucinated data saw a massive performance boost on the challenging IDD dataset. For SCNN, accuracy improved by 11.3%, while false negatives dropped by 16.4%.
- Semantic Segmentation: Adding hallucinated snow to training data improved the Mean Intersection over Union (mIoU) on the ACDC snow dataset. For example, the DeepLabv3+ model improved from 45.31 to 47.64 mIoU.
- Quality Metrics: The method outperformed baselines like DLOW in both Fréchet Inception Distance (FID) and Learned Perceptual Image Patch Similarity (LPIPS), indicating more realistic and consistent translations.
Limitations and Future Work
- Reliance on Priors: The method requires a "geometrical prior" (a mask). While these are often available in autonomous driving datasets, the method's success depends on the accuracy of these masks.
- Manual Domain Definition: Currently, a human must define what the "local domains" are (e.g., "this is a lane, this is asphalt"). Future work could involve automated discovery of these sub-domains.
- Complexity of Interpolation: The VAE-based interpolation adds a layer of complexity to the training pipeline that might be difficult to scale to highly complex scenes with many interacting local domains.
Summary updated