NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Convolutional Dictionary Learning via Local Processing

Vardan Papyan, Yaniv Romano, Michael Elad, Jeremias Sulam

Abstract

Convolutional Sparse Coding (CSC) provides a powerful global model for sparse representation but is often computationally prohibitive, leading researchers to favor Fourier-domain solutions that sacrifice spatial intuition. This paper introduces "Slice-Based Dictionary Learning," a framework that solves the global CSC problem using local, patch-based processing entirely within the spatial domain. By shifting from traditional patches to "slices," the proposed method achieves faster convergence and state-of-the-art results in image restoration. This approach offers a more intuitive bridge between local signal processing and global model consistency, enabling features like spatially adaptive sparsity and efficient online learning.

Introduction

Sparse representation has long been a cornerstone of signal processing, typically implemented by partitioning images into small, independent patches. However, this local approach often ignores patch overlaps, leading to reconstruction inconsistencies. Convolutional Sparse Coding (CSC) addresses this by treating the entire image as a single global model. While effective, the computational intensity of CSC usually necessitates Fourier-domain solutions. While efficient, these "black box" global methods sacrifice spatial intuition, complicate boundary handling, and limit the use of local tools like spatially adaptive sparsity. This paper introduces a middle ground that solves the global CSC problem using intuitive local operations.

Methodology

The core innovation of this work is the shift from traditional patches to slices. In this framework, a "needle" represents a sparse vector at a specific location, and a "slice" is its contribution to the image. Unlike a traditional patch, which is a standalone segment of the final image, a slice is a component that, when summed with overlapping neighbors, forms the global reconstruction.

Figure 1: Diagram illustrating the global CSC model decomposed into local slices and needles.

The algorithm employs the Alternating Direction Method of Multipliers (ADMM) entirely within the spatial domain. The iterative process includes:

  1. Local Sparse Pursuit: Solving for "needles" using standard tools like LARS or OMP.
  2. Slice Aggregation: Summing slices to form a global estimate.
  3. Local Laplacian Update: A consensus step that ensures overlapping areas agree by subtracting an averaged signal version from each slice, forcing consistency across the global model.
  4. Dictionary Update: Updating filters (atoms) using familiar methods like K-SVD.

Experimental Setup

The method was evaluated using the Fruit Dataset (10 images) for training initial convolutional dictionaries. Performance was tested on a standard benchmark of 11 widely used images (including Barbara, Boat, Lena, and Peppers) for inpainting tasks. Additionally, specialized synthetic and natural images were used to demonstrate the model's capability in texture and cartoon separation.

Results and Discussion

The slice-based approach offers several advantages over Fourier-based methods. It allows for spatially adaptive sparsity, where more atoms are allocated to complex regions like textures while fewer are used for smooth areas like the sky. Furthermore, the method supports online learning, achieving high-quality results by sampling only a subset (e.g., 30%) of available slices, significantly reducing computational overhead.

Figure 2: Time complexity comparison between the proposed local method and existing Fourier-domain approaches.

Quantitatively, the proposed method outperformed state-of-the-art solvers in both convergence speed and reconstruction quality. In image inpainting tasks, it consistently achieved higher Peak Signal-to-Noise Ratio (PSNR) values; for instance, reaching 6.24dB on the Barbara image compared to 5.22dB for previous leading Fourier-based methods. The model also successfully performed texture/cartoon separation without common artifacts like halos or gradient reversals.

Conclusion

Slice-Based Dictionary Learning provides a flexible and intuitive bridge between local signal processing and global consistency. By avoiding the Fourier domain, the method maintains spatial locality and enables more sophisticated, adaptive sparsity patterns. While the aggregation step remains a potential bottleneck for extremely high-resolution data, the framework's structural similarity to Convolutional Neural Networks (CNNs) suggests promising future work in "unrolling" these pursuits to improve deep learning interpretability.

Summary updated

BibTeX
@inproceedings{papyan2017convolutional,
  author = {Vardan Papyan and Yaniv Romano and Michael Elad and Jeremias Sulam},
  title = {{Convolutional Dictionary Learning via Local Processing}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.566},
}
Figure