Introduction
Modern image restoration—encompassing tasks like denoising, super-resolution, and inpainting—is dominated by parametric deep learning. These models are trained on massive datasets to learn the statistical properties of "clean" images. However, this approach suffers from two critical vulnerabilities: a generalization gap, where models fail on out-of-distribution data, and adversarial vulnerability, where imperceptible pixel perturbations can cause catastrophic failures in downstream tasks like classification.
An alternative approach is the Deep Image Prior (DIP), which utilizes the architectural structure of a convolutional neural network (CNN) as a prior, requiring no training data. While effective, DIP is computationally expensive, often requiring thousands of iterations of gradient descent to converge for a single image. This paper introduces Deep Nonparametric Convexified Filtering (DNCF), a framework that achieves a 10x speedup over DIP while providing a robust, real-time defense against adversarial attacks.
Methodology: Convexification for Speed
The core innovation of DNCF lies in the "convexification" of the optimization landscape. Standard neural networks possess highly non-convex loss surfaces, making them difficult to optimize quickly. The authors observe that a network becomes "input-convex" if its weights are non-negative.
Rather than enforcing a hard constraint, DNCF applies a soft non-negativity regularization term to the network weights. This regularization nudges the objective function to behave more like a convex function, allowing the use of L-BFGS, a powerful second-order quasi-Newton optimization method. Unlike the standard Adam optimizer used in DIP, L-BFGS can navigate the convexified landscape far more efficiently, leading to the reported 10x reduction in inference time.
Furthermore, the authors employ a bi-convex formulation that separates the problem into two parts: a physical interference model (simulating the degradation process) and a generative model (simulating the underlying scene). This decomposition allows the network to focus on reconstructing natural image statistics without being misled by the specific noise or blur patterns.
Experimental Results
Image Restoration Performance
The DNCF framework was evaluated on standard imaging benchmarks, including classic test images like Lena, Peppers, and House. In tasks such as denoising and inpainting, DNCF consistently outperformed both DIP and DeepRED.
Visually, DNCF produces sharper edges and significantly fewer artifacts compared to its predecessors. Quantitatively, the speed improvements are stark: in a super-resolution benchmark, DIP required 353 seconds to converge, whereas DNCF achieved a superior result in just 12 seconds.
Adversarial Defense by "Forgetting"
One of the most compelling applications of DNCF is in adversarial defense. Adversarial attacks like Carlini & Wagner (CW) exploit specific features learned by a model during training. Because DNCF is nonparametric and optimizes its parameters from scratch for every input image, it has no "memory" of training data.
This "defense by forgetting" proves highly effective. In tests using 200 images from the ImageNet validation set, a GoogleNet classifier's accuracy dropped to 0% under a CW attack. By applying DNCF as a pre-processing filter to "purify" the image before classification, the accuracy was restored to 64.42%. This suggests that the inductive bias of the CNN architecture naturally favors the underlying natural image over the engineered adversarial noise.
Conclusion and Future Work
DNCF represents a significant step toward making nonparametric deep filtering practical for real-world applications. By leveraging soft convexity to enable second-order optimization, the authors bridge the gap between the flexibility of training-free methods and the speed required for deployment.
However, challenges remain. While 10x faster than DIP, DNCF still incurs a per-image optimization cost of several seconds, which is slower than the millisecond-latency of feed-forward networks. Future research may focus on automating hyperparameter tuning and further refining the optimization process to move closer to true real-time performance.
Summary updated