[Paper Review] Improving the Robustness of Deep Neural Networks via Stability Training
This paper introduces stability training, a lightweight method that enhances deep neural network robustness against natural input distortions—such as JPEG compression, resizing, and cropping—by optimizing for output consistency across perturbed inputs. The approach improves performance on noisy data without sacrificing accuracy on clean data, achieving state-of-the-art results in near-duplicate detection, similar-image ranking, and classification under corruption.
In this paper we address the issue of output instability of deep neural networks: small perturbations in the visual input can significantly distort the feature embeddings and output of a neural network. Such instability affects many deep architectures with state-of-the-art performance on a wide range of computer vision tasks. We present a general stability training method to stabilize deep networks against small input distortions that result from various types of common image processing, such as compression, rescaling, and cropping. We validate our method by stabilizing the state-of-the-art Inception architecture against these types of distortions. In addition, we demonstrate that our stabilized model gives robust state-of-the-art performance on large-scale near-duplicate detection, similar-image ranking, and classification on noisy datasets.
Motivation & Objective
- Address the problem of deep neural network output instability under common, naturally occurring image distortions such as JPEG compression, resizing, and cropping.
- Overcome the limitation of state-of-the-art models that produce significantly different feature embeddings for visually indistinguishable images.
- Develop a general-purpose training technique that enhances model robustness without compromising performance on clean data.
- Demonstrate improved performance on real-world vision tasks involving noisy or corrupted inputs, such as near-duplicate detection and classification on corrupted datasets.
Proposed method
- Introduce a stability training objective that encourages the model’s output to remain consistent across small input perturbations.
- Train the model on augmented data consisting of distorted copies of the original inputs, including JPEG-compressed, cropped, and resized versions.
- Combine the standard cross-entropy loss with a regularization term that penalizes large output changes under small input perturbations.
- Use a noise parameter σ to control the magnitude of perturbations during training, simulating realistic image corruptions.
- Apply the stability objective during backpropagation to jointly optimize for both accuracy and output stability.
- Use hyperparameters α (regularization strength) and σ (noise scale) to tune the trade-off between stability and original task performance.
Experimental results
Research questions
- RQ1Can deep neural networks be made more robust to naturally occurring image distortions such as JPEG compression and resizing without sacrificing performance on clean data?
- RQ2To what extent does stability training reduce feature embedding variance for near-duplicate images compared to standard training?
- RQ3How does stability training affect model performance on corrupted or noisy test sets, particularly in tasks like image classification and similar-image ranking?
- RQ4Does the stabilized model generalize better to real-world visual datasets with uncurated, lossy image processing?
- RQ5What is the optimal trade-off between stability regularization and original task accuracy, and how do hyperparameters α and σ affect this?
Key findings
- Stability training significantly improves ranking performance on corrupted image data: the Deep Ranking model achieves a ranking score of 7,360 at top-30 on JPEG-compressed images (vs. 7,286 for baseline), with consistent gains across all distortion types.
- On the ImageNet validation set with JPEG quality 50, the stabilized Inception model achieves 92.7% top-5 accuracy (vs. 92.4% for baseline), and 75.7% top-1 accuracy (vs. 75.1%), showing a 0.6% improvement under corruption.
- At high distortion levels (e.g., JPEG quality 10), the stabilized model outperforms the baseline by 5–6 percentage points in top-1 and top-5 accuracy, demonstrating strong robustness.
- The stabilized model maintains state-of-the-art performance on clean ImageNet data (top-1: 77.9% vs. 77.8% for baseline), with the difference within statistical error, confirming no performance degradation on clean data.
- The method is effective across multiple tasks: stabilized models outperform baselines in near-duplicate detection and similar-image ranking on corrupted data, with higher ranking scores and more consistent feature embeddings.
- Robustness improves with appropriate hyperparameters: using α=0.01 and σ=0.04, the stabilized model begins to outperform the baseline at JPEG quality levels below 80%, showing strong generalization under increasing distortion.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.