Skip to main content
QUICK REVIEW

[Paper Review] NOMAD: Non-locking, stOchastic Multi-machine algorithm for Asynchronous and Decentralized matrix completion

Hyokun Yun, Hsiang‐Fu Yu|arXiv (Cornell University)|Dec 1, 2013
Blind Source Separation TechniquesComputer Science5 references32 citations
TL;DR

NOMAD is a lock-free, decentralized, asynchronous stochastic algorithm for large-scale matrix completion that enables efficient parallel computation on commodity hardware by eliminating synchronization bottlenecks. It achieves superior convergence and scalability over state-of-the-art methods in both multi-core and distributed-memory settings, especially as data size and machine count grow.

ABSTRACT

We develop an efficient parallel distributed algorithm for matrix completion, named NOMAD (Non-locking, stOchastic Multi-machine algorithm for Asynchronous and Decentralized matrix completion). NOMAD is a decentralized algorithm with non-blocking communication between processors. One of the key features of NOMAD is that the ownership of a variable is asynchronously transferred between processors in a decentralized fashion. As a consequence it is a lock-free parallel algorithm. In spite of being an asynchronous algorithm, the variable updates of NOMAD are serializable, that is, there is an equivalent update ordering in a serial implementation. NOMAD outperforms synchronous algorithms which require explicit bulk synchronization after every iteration: our extensive empirical evaluation shows that not only does our algorithm perform well in distributed setting on commodity hardware, but also outperforms state-of-the-art algorithms on a HPC cluster both in multi-core and distributed memory settings.

Motivation & Objective

  • Address the inefficiency of existing matrix completion algorithms on commodity hardware with limited bandwidth and unreliable interconnects.
  • Develop a scalable, parallel algorithm that avoids synchronization overheads common in synchronous distributed systems.
  • Enable high-performance matrix completion on large-scale datasets by leveraging asynchronous, decentralized computation with serializable updates.
  • Achieve better convergence and performance than state-of-the-art algorithms in both shared-memory and distributed-memory environments.
  • Demonstrate robust scaling when both data size and number of machines increase, simulating real-world collaborative filtering workloads.

Proposed method

  • Uses a decentralized, symmetric architecture where all processors perform identical computation and communication tasks.
  • Employs an owner-computes paradigm to eliminate locks by assigning variable ownership dynamically across processors.
  • Enables non-blocking, asynchronous communication between processors, avoiding bulk synchronization after each iteration.
  • Ensures serializability of updates by guaranteeing that there exists an equivalent sequential update order, preventing stale parameter usage.
  • Applies stochastic gradient descent with a weighted square loss and L2 regularization, where the objective function is separable over observed entries.
  • Supports arbitrary separable loss functions and regularizers, with focus on square loss and weighted Frobenius norm regularization in the paper.

Experimental results

Research questions

  • RQ1Can a decentralized, lock-free, asynchronous algorithm achieve better performance than synchronous or blocking algorithms on commodity hardware?
  • RQ2How does NOMAD scale with increasing numbers of machines and data size in distributed-memory environments?
  • RQ3Does the absence of synchronization barriers lead to faster convergence and improved performance in real-world collaborative filtering workloads?
  • RQ4How does NOMAD compare to state-of-the-art algorithms like DSGD, DSGD++, and CCD++ in terms of convergence speed and solution quality?
  • RQ5Can NOMAD maintain high performance and scalability when both dataset size and number of machines grow proportionally?

Key findings

  • NOMAD achieves near-linear scaling up to 30 threads on a single machine, demonstrating strong multi-core performance.
  • On a fixed dataset, NOMAD scales nearly linearly across up to 32 machines, outperforming synchronous and other asynchronous baselines.
  • On commodity hardware clusters, NOMAD shows a more pronounced performance advantage over DSGD, DSGD++, and CCD++ compared to HPC clusters.
  • When both data size and number of machines grow proportionally, NOMAD maintains superior scaling behavior, with its performance gap widening as scale increases.
  • In experiments with synthetic datasets mimicking Netflix, NOMAD consistently outperforms DSGD++ and other competitors, especially at scale.
  • The algorithm’s serializable update mechanism ensures correctness without synchronization, enabling faster convergence than methods that use stale parameters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.