Introduction
This paper introduces a novel training scheme for Stacked Denoising Auto-encoders (SDA) that enables them to perform high-quality image denoising and "blind" inpainting. By training deep networks to map corrupted image patches back to their clean counterparts, the authors achieve results comparable to state-of-the-art sparse coding. Uniquely, this approach enables the automatic removal of complex, structured noise—like superimposed text—without needing prior knowledge of where the corruption is located.
The Challenge of Image Restoration
Image restoration is the process of recovering a clean image from a "noisy" observation. This typically falls into two categories:
- Denoising: Removing random interference (like Gaussian noise) introduced by sensors or transmission.
- Inpainting: Filling in missing pixels or removing unwanted objects (like text, watermarks, or scratches).
The "holy grail" in inpainting is blind inpainting. In standard inpainting, the algorithm is provided a mask detailing exactly which pixels are corrupted. In blind inpainting, the algorithm must autonomously determine what is noise and what is signal. While traditional methods like KSVD (sparse coding) work well for simple noise, they often struggle with complex, non-linear patterns. The authors aim to bridge the gap between the "sparse" principles of traditional coding and the "deep" representational power of neural networks.
Methods: Stacked Sparse Denoising Auto-encoders (SSDA)
The authors utilize Stacked Sparse Denoising Auto-encoders (SSDA). While Denoising Auto-encoders (DA) were originally designed for unsupervised feature learning, this paper adapts them specifically for restoration tasks through several key innovations:
- Modified Training Scheme: Traditionally, a DA is trained by adding random noise to clean data and asking the network to reconstruct the original. Here, the authors use actual corrupted images (e.g., images with text over them) as the input and the clean images as the target.
- Layer-wise Stacking for Restoration: When stacking layers, the authors calculate hidden activations for both the noisy and clean inputs. These pairs then serve as the training data for the subsequent layer, building a deep hierarchy of features.
- Sparsity Regularization: To mimic the benefits of sparse coding, they incorporate a KL-divergence penalty into the cost function. This forces the hidden units to be "inactive" most of the time, encouraging the network to learn only the most essential, robust features of the image.
- Patch-based Processing: Because processing an entire high-resolution image at once is computationally heavy, the model works on overlapping small patches, which are subsequently stitched back together.
- Optimization: They use the L-BFGS algorithm (a quasi-Newton method) for both pre-training and final global fine-tuning, which converges faster than standard gradient descent for this architecture.
Key Insights
- Blind is Better: The standout feature is the model's ability to perform blind inpainting. It does not need a "mask" to locate text; it learns the statistical differences between natural image textures and the structured, artificial patterns of text.
- Noise-Specific Features: The authors argue that "noise" isn't just a nuisance to be ignored during feature learning. By training on specific types of corruption (like Salt-and-Pepper noise vs. Gaussian), the network learns features specifically robust to those environments.
- Deep vs. Shallow: While sparse coding (KSVD) is a powerful "shallow" linear model, the non-linear, multi-layer nature of the SSDA allows it to capture more complex dependencies, leading to sharper boundaries and better texture preservation.
Key Results
- Denoising Performance: The SSDA achieved Peak Signal to Noise Ratio (PSNR) levels comparable to KSVD and BLS-GSM. For example, at a high noise level ($\sigma=50$), SSDA scored a PSNR of 27.37, effectively matching KSVD's 27.34.
- Qualitative Superiority: Visually, the SSDA often outperformed traditional methods by restoring more realistic textures and clearer edges, even when numerical PSNR scores were similar.
- Complex Inpainting: The model successfully removed superimposed text of various fonts and sizes (18px to 36px). It produced results comparable to non-blind KSVD, despite the SSDA having the much harder task of identifying the text pixels automatically.
Limitations and Future Work
The primary limitation of the SSDA is its data dependency. It generally only removes noise patterns it has encountered during training; if it hasn't seen a specific type of corruption before, it may not generalize well. Additionally, training deep networks is significantly more computationally expensive than applying traditional structural priors.
Future directions suggested by the authors include extending this framework to other domains like audio denoising, video restoration, and image super-resolution. They also highlight the potential for using more realistic noise models (rather than just i.i.d. Gaussian) to improve unsupervised feature learning broadly.
Summary updated