Abstract
Deep learning models often struggle with out-of-distribution (OOD) data caused by environmental factors like weather or sensor changes. This paper presents the Input Optimization Network (ION), a CNN-based preprocessor designed to translate degraded visual data into a format optimized for pre-trained vision models. By employing a joint optimization strategy where the preprocessor and target model are trained in tandem, the proposed method significantly enhances resilience to domain shifts in classification and segmentation tasks, often outperforming traditional finetuning and aesthetic-focused image enhancement.
Introduction
The "brittleness" of deep learning models remains a significant hurdle for real-world deployment. A semantic segmentation model trained on the clear, sunny days of the Cityscapes dataset often fails when encountering rain, fog, or different camera sensors. This challenge, known as the Out-of-Distribution (OOD) problem, is typically addressed through model finetuning or standard image enhancement (e.g., dehazing). However, finetuning can lead to "catastrophic forgetting," and aesthetic enhancement does not necessarily improve machine performance.
This research introduces the ION to bridge this gap. Unlike traditional methods, ION focuses on "functional" translation—modifying images specifically to minimize the task loss of a downstream vision model.
Methodology
The core of the proposed approach is the ION, a symmetrical U-Net style encoder-decoder architecture.
Input Optimization Network (ION)
The ION ($G$) acts as a learned preprocessor. Unlike Generative Adversarial Networks (GANs) that optimize for human-perceived realism, the ION is trained to minimize the task loss (e.g., cross-entropy) of a specific target model ($F$).
During training, gradients are backpropagated from the target model's output through to the ION's weights. In the standard configuration, the target model remains frozen, ensuring its original capabilities are preserved.
Joint Optimization
To further improve performance, the authors propose a Joint Optimization scheme. In this mode, both the ION and the target model are trained simultaneously. This synergy allows the networks to converge on an internal representation that effectively handles both clean and degraded data without the pitfalls of standard finetuning.
Experimental Setup and Datasets
The effectiveness of ION was evaluated across two primary tasks:
- Image Classification: Using CIFAR-10 with added Gaussian noise.
- Semantic Segmentation: Using Cityscapes as the baseline, with evaluations on A2D2 (domain shift), and synthetic modifications for fog (CS Fog), rain (CS Rain), and underexposure.
Results and Discussion
The ION demonstrated significant performance gains across all tested scenarios.
Utility over Aesthetics
A key finding is that ION-processed images often appear "unnatural" to humans—exhibiting high contrast and exaggerated edges. However, these features are highly functional for the segmentation model, allowing it to better distinguish objects in low-visibility conditions. In low-light tests, ION outperformed GANs, producing higher Intersection over Union (IoU) scores despite GANs producing "prettier" images.
Performance Metrics
- Noise Resilience: ResNet-50 accuracy on noisy CIFAR-10 improved from 56.1% to 88.0% with ION.
- Segmentation Gains: In multimodal domain shift scenarios, the Joint Optimization approach achieved a mean IoU of 0.678 on Cityscapes, compared to a 0.584 baseline.
- Domain Adaptation: On the unseen A2D2 dataset, ION improved IoU from 0.333 to 0.415, nearly matching the 0.438 achieved by full finetuning.
Efficiency
The ION is computationally efficient. By scaling the architecture down to 3 blocks, the system achieves 16.5 FPS on a standard GPU, making it suitable for real-time applications in robotics and autonomous systems.
Conclusion and Future Work
The Input Optimization Network provides a robust framework for handling OOD visual data by prioritizing task-specific utility over aesthetic quality. While highly effective, the system occasionally "over-processes" images that the baseline model already handles well. Future research will explore "gatekeeper" mechanisms to selectively apply ION processing and methods to balance machine performance with human-readable outputs for safety monitoring.
Summary updated