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

DICOD: Distributed Convolutional Coordinate Descent for Convolutional Sparse Coding

Thomas Moreau, Laurent Oudre, Nicolas VayatisICML 2018

TL;DR

DICOD (Distributed Convolutional Coordinate Descent) is a novel asynchronous algorithm designed to solve Convolutional Sparse Coding (CSC) for extremely long signals. By partitioning signals into segments and using local, greedy updates with minimal inter-process communication, it achieves a "super-linear" (nearly quadratic) speedup relative to the number of processor cores used.

What Problem Does This Paper Address?

Convolutional Sparse Coding (CSC) is a powerful tool for finding recurring patterns (atoms) in signals, such as heartbeats in an ECG or specific motifs in audio. However, standard CSC algorithms struggle with long signals.

As signals grow—for example, hours of physiological data sampled at high frequencies—the computational cost of finding the "best" update across the entire signal becomes a severe bottleneck. Existing parallel methods often rely on a centralized "parameter server" or strict synchronization steps (locks). These create communication overheads that kill performance as more cores are added. The authors sought a way to make CSC truly scalable for the "Big Data" of signal processing.

Methods

The authors introduce DICOD, which builds on the Coordinate Descent (CD) framework by leveraging the local nature of convolutions.

  1. Spatial Partitioning: The long input signal is split into $M$ contiguous segments. Each segment is assigned to a dedicated processor core.
  2. Asynchronous Local Updates: Each core runs a "greedy" coordinate descent locally on its segment. It doesn't wait for other cores; it simply picks the best update within its own boundaries.
  3. Local Message Passing: Most updates are independent. However, if a core updates a coordinate near the boundary of its segment, it might affect the neighboring segment due to the width of the convolutional patterns. In these cases, the core sends a small message to its neighbor to update its local state.
  4. No Centralized Clock: There are no global locks or synchronization steps. The algorithm is truly asynchronous, making it highly communication-efficient.
Illustration of local message passing between adjacent cores in DICOD.

The authors also introduce LGCD (Locally Greedy Coordinate Descent), a sequential version of the algorithm that serves as a middle ground between purely random and purely greedy selection.

Datasets

The paper primarily uses synthetically generated long signals to rigorously test scaling properties. Signals are generated by convolving a dictionary of $K=25$ patterns with sparse activation signals (drawn from a Bernoulli-Gaussian distribution) and adding Gaussian noise. Experiments were run on a cluster of five Linux machines using OpenMPI for distributed processing.

Key Insights and Ideas

  • The Super-Linear Speedup: This is the most striking finding. Usually, if you use 10 cores, you hope for a 10x speedup. DICOD achieves closer to a $100x$ ($M^2$) speedup in certain regimes.
Runtime of DICOD as a function of the number of cores, demonstrating the quadratic speedup.
  • Why $M^2$? The speedup comes from two sources: first, the parallelization (factor of $M$), and second, the reduction in search complexity. In a standard greedy algorithm, you search the whole signal ($T$) for the best update. In DICOD, each core only searches a segment ($T/M$). This double-reduction leads to the nearly quadratic performance boost.
  • Weak Dependency: The "Aha!" moment is realizing that in convolutional models, an update at one end of a long signal has zero impact on the other end. This "locality" is what makes asynchronous distributed computing safe and effective here.
  • Interference Control: The authors prove that as long as the dictionary atoms aren't too similar to shifted versions of themselves (low mutual coherence), the "interferences" between cores at the boundaries won't prevent the algorithm from converging to the optimal solution.

Key Results

  • Convergence: The authors provide a formal proof that DICOD converges to the optimal solution under mild conditions regarding communication delay and dictionary structure.
  • Performance vs. State-of-the-Art: DICOD significantly outperforms classical solvers like FISTA (Fast Iterative Soft-Thresholding) and FCSC (Fast Convolutional Sparse Coding) in terms of wall-clock time for long signals.
  • Scaling Transition: The quadratic speedup holds until the segments become too small (roughly when the number of cores $M$ exceeds half the signal length divided by pattern width). Beyond this point, boundary interferences begin to dominate, and performance gains level off.

Limitations and Future Work

  • 1D Focus: The current implementation and proofs are optimized for 1D signals. While the logic applies to 2D (images), the "interference zones" become much more complex (edges vs. corners), which the authors note as a direction for future research.
  • Dictionary Learning: This paper focuses on the coding step (finding activations for a fixed dictionary). Integrating this into a full dictionary learning loop (where the patterns themselves are learned) is a natural next step.
  • Hardware Sensitivity: As an asynchronous algorithm, its performance is tied to the latency of the local network. While efficient, very high-latency environments might require more careful tuning of the "interference" handling.

Summary updated

BibTeX
@inproceedings{moreau2018dicod,
  author = {Thomas Moreau and Laurent Oudre and Nicolas Vayatis},
  title = {{DICOD: Distributed Convolutional Coordinate Descent for Convolutional Sparse Coding}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=SkEEio-uWB},
}
Figure