[Paper Review] Revisiting Sparse Convolutional Model for Visual Recognition
This paper embeds convolutional sparse coding (CSC) layers as drop-in replacements for standard convolutions to form Sparse Dictionary Learning Networks (SDNets), achieving competitive accuracy with added interpretability and robustness to corruptions and adversarial perturbations.
Despite strong empirical performance for image classification, deep neural networks are often regarded as ``black boxes'' and they are difficult to interpret. On the other hand, sparse convolutional models, which assume that a signal can be expressed by a linear combination of a few elements from a convolutional dictionary, are powerful tools for analyzing natural images with good theoretical interpretability and biological plausibility. However, such principled models have not demonstrated competitive performance when compared with empirically designed deep networks. This paper revisits the sparse convolutional modeling for image classification and bridges the gap between good empirical performance (of deep learning) and good interpretability (of sparse convolutional models). Our method uses differentiable optimization layers that are defined from convolutional sparse coding as drop-in replacements of standard convolutional layers in conventional deep neural networks. We show that such models have equally strong empirical performance on CIFAR-10, CIFAR-100, and ImageNet datasets when compared to conventional neural networks. By leveraging stable recovery property of sparse modeling, we further show that such models can be much more robust to input corruptions as well as adversarial perturbations in testing through a simple proper trade-off between sparse regularization and data reconstruction terms. Source code can be found at https://github.com/Delay-Xili/SDNet.
Motivation & Objective
- Motivate and bridge interpretability of sparse models with the strong empirical performance of deep nets in image classification.
- Introduce CSC-layers as differentiable optimization layers to replace standard convolutions in CNN backbones.
- Demonstrate competitive accuracy on CIFAR-10, CIFAR-100, and ImageNet with maintained training efficiency.
- Show robustness benefits against input corruptions and adversarial perturbations through a principled sparse modeling approach.
Proposed method
- Define a convolutional sparse coding (CSC) layer that solves a sparse coding objective via FISTA as a differentiable implicit layer.
- Replace selected or all convolution layers in ResNet-based backbones with CSC-layers to form SDNet architectures.
- Train end-to-end with cross-entropy loss and a normalized dictionary constraint; use projected SGD to enforce A in the normalization set.
- Leverage the robust inference by adjusting the sparsity parameter lambda at test time to handle noisy inputs (theorem-inspired stability in CSC).
- Unroll two iterations of FISTA for forward passes to enable backpropagation and practical training.
- Provide a robust inference procedure (Algorithm 1) that learns a lambda residual relation from synthetic corruption to select lambda during testing.
Experimental results
Research questions
- RQ1Can CSC-layers provide competitive image classification performance relative to standard ConvNets on CIFAR-10/100 and ImageNet?
- RQ2Do SDNets with CSC-layers offer improved robustness to input perturbations and adversarial perturbations without heavy data augmentation or training changes?
- RQ3How does the sparsity-based modeling influence interpretability and layer-wise behavior in deep networks?
- RQ4Can a simple test-time adjustment of the sparsity parameter lambda improve robustness to corruptions across different noise types?
- RQ5What is the trade-off between computational cost and accuracy when replacing convolutions with CSC-layers?
Key findings
- SDNet-18/SDNet-34 achieve Top-1 accuracies on CIFAR-10/100 and ImageNet that are on par with ResNet-18/34 under similar parameter budgets.
- SDNet models exhibit robustness to corrupted inputs, with adaptive lambda further improving accuracy on CIFAR-10-C and ImageNet-C compared to fixed lambda.
- Adaptive lambda guided by Algorithm 1 yields substantial gains in corrupted environments over fixed training-time lambda (0.1).
- Compared to MDEQ, SDNet-18 is faster by more than 7x while maintaining higher accuracy on CIFAR-10/ImageNet; SCN achieves competitive accuracy but suffers slow training.
- SDNets show improved adversarial robustness when lambda is tuned, significantly boosting robust accuracy under PGD attacks.
- Increasing the number of FISTA iterations in CSC-layers consistently improves natural and robust accuracy on ImageNet and ImageNet-C.
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.