Consensus Convolutional Sparse Coding

Biswarup Choudhury, Robin Swanson, Felix Heide, Gordon Wetzstein, Wolfgang Heidrich

Abstract

Convolutional Sparse Coding (CSC) is a powerful unsupervised learning framework constrained by significant memory requirements when applied to large-scale or high-dimensional datasets. This paper presents Consensus Convolutional Sparse Coding (CCSC), which reformulates the CSC objective into a consensus optimization problem. By partitioning data into manageable blocks and employing the Alternating Direction Method of Multipliers (ADMM), CCSC bypasses the "memory wall," enabling training on datasets like ImageNet and 4D light fields using standard hardware. Experimental results demonstrate significant speedups and improved reconstruction quality across various imaging tasks.

Introduction

Convolutional Sparse Coding (CSC) is a foundational tool for unsupervised feature learning, prized for its interpretability and generative capabilities in tasks such as denoising and deblurring. Unlike deep learning "black boxes," CSC learns an explicit dictionary of filters. However, traditional CSC solvers face a massive "memory wall." To learn filters, these solvers must maintain high-dimensional coefficient maps in memory. For a dataset like ImageNet, this would require petabytes of RAM, forcing researchers to train on only a handful of images. Consequently, the resulting filters often lack the generality needed for diverse real-world applications.

Methodology: Consensus Optimization

The core innovation of Consensus Convolutional Sparse Coding (CCSC) is the reformulation of the global optimization problem into a distributed consensus framework.

ADMM Splitting and Consensus

Instead of a monolithic solver, CCSC employs the Alternating Direction Method of Multipliers (ADMM) to distribute the workload. The dataset is partitioned into smaller, manageable blocks. Each "worker" processor handles a subset of the data to update local filters. A global synchronization step then "fuses" these local updates into a single global dictionary, ensuring the model converges on features that represent the entire dataset.

Comparison between Traditional CSC (left) requiring petabytes of memory and Consensus CSC (right) utilizing block partitioning and gigabyte-scale memory.

Handling High-Dimensional Data

CCSC extends this mathematical framework to handle non-convolutional dimensions, such as color channels in RGB images or angular views in light fields. This "hybrid" approach significantly reduces parameter counts for high-dimensional data (3D video, 4D light fields), making previously impossible tasks computationally feasible on standard hardware.

Experimental Results

The authors evaluated CCSC across a variety of large-scale and high-dimensional datasets, including 5,000 ImageNet images, 31-channel multispectral data, and 4D light fields.

Scalability and Speed

CCSC achieved a 54x speedup using 50 parallel workers compared to previous state-of-the-art solvers. Crucially, while traditional methods crashed due to "Out of Memory" errors on datasets exceeding 1,000 images, CCSC scaled efficiently, with memory requirements tied to the sub-problem size rather than the total dataset volume.

Qualitative and Quantitative Gains

Filters learned from large-scale data (e.g., 5,000 images) are fundamentally more diverse and general than those learned from small samples.

Comparison of filters learned via Traditional CSC versus Consensus CSC. Large-scale training with CCSC yields more general and diverse features.

In reconstruction tasks, CCSC demonstrated superior performance:

  • 2D Inpainting: Outperformed previous CSC methods by 1.5–2.0 dB in PSNR.
  • Multispectral Demosaicing: Achieved gains of over 5 dB on specific datasets.
  • Light Field Synthesis: Significantly reduced "ghosting" artifacts compared to specialized algorithms.

Discussion and Future Work

CCSC demonstrates that data volume is critical for learning robust generative priors. By breaking the memory bottleneck, it allows a machine with 128GB of RAM to perform tasks that previously required supercomputer-scale resources. While the current implementation is CPU-based, future GPU integration is expected to yield further performance gains. Furthermore, the high-quality features learned via CCSC could potentially be applied to high-level tasks like classification, bridging the gap between sparse coding and deep learning.

Summary updated

BibTeX
@inproceedings{choudhury2017consensus,
  author = {Biswarup Choudhury and Robin Swanson and Felix Heide and Gordon Wetzstein and Wolfgang Heidrich},
  title = {{Consensus Convolutional Sparse Coding}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
}

Loading related content...

Figure