Abstract
Learning filters to produce sparse image representations in terms of overcomplete dictionaries has emerged as a powerful way to create image features for many different purposes. Unfortunately, these filters are usually both numerous and non-separable, making their use computationally expensive. In this paper, we show that such filters can be computed as linear combinations of a smaller number of separable ones, thus greatly reducing the computational complexity at no cost in terms of performance. This makes filter learning approaches practical even for large images or 3D volumes, and we show that we significantly outperform state-of-the-art methods on the linear structure extraction task, in terms of both accuracy and speed. Moreover, our approach is general and can be used on generic filter banks to reduce the complexity of the convolutions.
Introduction
In modern computer vision, learning "dictionaries" of filters to represent images is a standard way to extract high-quality features. However, there is a major computational bottleneck: to achieve high performance, researchers often employ a large number of filters (e.g., 100+), and these learned filters are almost always non-separable.
A standard 2D convolution with a $K \times K$ filter requires $O(K^2)$ operations per pixel. If the filter is "separable" (meaning it can be decomposed into a vertical and horizontal pass), the complexity drops to $O(2K)$. This cost disparity explodes in 3D applications, such as biomedical imaging, where non-separable filters require $O(K^3)$ operations. While the Fast Fourier Transform (FFT) can mitigate some of this cost, it remains inefficient when applying dozens or hundreds of different filters to the same image. This research bridges the gap between the high performance of learned non-separable filters and the extreme efficiency of separable ones.
Methodology: Achieving Separability
The authors propose two primary strategies to achieve computational efficiency through separability:
1. SEP-DIRECT (Penalizing High-Rank)
This approach modifies the standard convolutional sparse coding objective by adding a nuclear norm penalty. This constraint forces the filters to be low-rank (ideally rank-1) during the learning process, making them naturally separable from the outset.
2. SEP-COMB (Linear Combinations)
This more powerful approach recognizes that instead of forcing every filter to be separable, one can learn a standard bank of non-separable filters and then approximate them. The method finds a very small set of separable "basis" filters whose linear combinations can reconstruct the original bank. For 3D data, where standard Singular Value Decomposition (SVD) is inapplicable, the authors utilize Canonical Polyadic Decomposition (CPD) to decompose 3D tensors into rank-1 components.
Crucially, the authors introduce SEP-COMB*: if the filter outputs are fed into a linear classifier (like a Random Forest), the original filter responses do not need to be reconstructed. The classifier can be trained directly on the outputs of the small separable basis, implicitly learning the necessary linear combinations during training.
Performance Benchmarks
The approach was evaluated on tasks requiring the extraction of thin, linear structures (vessels and neurons) and general image denoising across several datasets, including DRIVE, STARE, and 3D volumes from the DIADEM challenge.
Key Results
- Speed: In 3D voxel classification, the proposed method was 30 times faster than a state-of-the-art FFT-based implementation (FFTW) of non-separable filters.
- Accuracy: On the DRIVE and STARE datasets, the separable approximation matched the accuracy of the original non-separable filters and significantly outperformed hand-crafted methods like Optimally Oriented Flux (OOF).
- Efficiency in Denoising: The researchers demonstrated that just 36 separable filters could approximate a bank of 256 K-SVD filters well enough to achieve nearly identical Peak Signal-to-Noise Ratio (PSNR) results.
Discussion and Future Work
The core insight of this work is that redundancy in learned filter banks is an opportunity. By treating the entire bank as a system, the whole set can be represented using a much smaller "basis" of separable atoms. Furthermore, the discovery that a separable basis learned on one image (e.g., Barbara) could effectively reconstruct filters for entirely different images suggests these separable atoms capture fundamental, universal image structures.
While the SEP-COMB approach is highly effective, it remains a two-step process. Future work may explore global optimization techniques that learn the separable basis and the combinations simultaneously. Additionally, while this paper focuses on linear structure detection and denoising, the principles of separable approximation may have significant implications for optimizing more complex deep learning architectures.
Summary updated