Skip to main content
QUICK REVIEW

[Paper Review] TMAC: A Toolbox of Modern Async-Parallel, Coordinate, Splitting, and Stochastic Methods

Brent Edmunds, Zhimin Peng|arXiv (Cornell University)|Jun 14, 2016
Stochastic Gradient Optimization TechniquesComputer Science56 references5 citations
TL;DR

TMAC is an open-source C++11 toolbox for large-scale optimization that implements modern asynchronous-parallel, coordinate, splitting, and stochastic algorithms. It enables efficient, scalable optimization across multi-core systems by decomposing problems into simple subproblems and supporting both synchronous and asynchronous parallelism, with demonstrated speedups up to 14.5x on 16 threads for nonnegative matrix factorization.

ABSTRACT

TMAC is a toolbox written in C++11 that implements algorithms based on a set of modern methods for large-scale optimization. It covers a variety of optimization problems, which can be both smooth and nonsmooth, convex and nonconvex, as well as constrained and unconstrained. The algorithms implemented in TMAC, such as the coordinate up- date method and operator splitting method, are scalable as they decompose a problem into simple subproblems. These algorithms can run in a multi-threaded fashion, either synchronously or asynchronously, to take advantages of all the cores available. TMAC architecture mimics how a scientist writes down an optimization algorithm. Therefore, it is easy for one to obtain a new algorithm by making simple modifications such as adding a new operator and adding a new splitting, while maintaining the multicore parallelism and other features. The package is available at https://github.com/uclaopt/TMAC.

Motivation & Objective

  • To provide a flexible, extensible, and efficient toolbox for implementing modern large-scale optimization algorithms.
  • To enable high-performance, scalable optimization on multi-core architectures through asynchronous and parallel execution.
  • To support both convex and nonconvex, smooth and nonsmooth, constrained and unconstrained optimization problems.
  • To facilitate rapid prototyping of new algorithms by mimicking scientific notation of optimization methods.
  • To extend support to future computing paradigms, including cluster computing and stochastic algorithms.

Proposed method

  • TMAC uses a layered architecture (executables, drivers, schemes, operators, linear algebra) to separate algorithmic components and enable modular development.
  • It implements operator splitting methods such as ADMM, Douglas-Rachford, and primal-dual splitting to decompose complex problems into simpler subproblems.
  • Coordinate update methods are supported with various selection rules (random, cyclic, greedy) and can be executed in parallel, either synchronously or asynchronously.
  • The toolbox leverages C++11 thread library for portable, efficient multi-threading across Linux, Mac, and Windows.
  • Numerical linear algebra operations are accelerated via BLAS or ScaLAPACK, and parallelism can be extended to these operations.
  • New algorithms are created by extending existing layers—e.g., adding a new operator or splitting scheme—without rewriting core logic.

Experimental results

Research questions

  • RQ1How can a general-purpose optimization toolbox be designed to support both sequential and highly parallel asynchronous execution?
  • RQ2What architectural principles enable efficient and extensible implementation of modern optimization methods like coordinate updates and operator splitting?
  • RQ3How can a toolbox maintain readability and modularity while achieving high performance on multi-core systems?
  • RQ4What performance gains are achievable through asynchronous parallelism in nonconvex and large-scale problems?
  • RQ5How can future extensions like stochastic algorithms, cluster computing, and GUI interfaces be integrated into a modular, extensible framework?

Key findings

  • TMAC achieved a 14.51x speedup on 16 threads for nonnegative matrix factorization, demonstrating strong scalability.
  • Portfolio optimization showed a 15.12x speedup with 16 threads, confirming high parallel efficiency.
  • The toolbox achieved 14.47x speedup on 16 threads for nonnegative matrix factorization with k=100, indicating robust performance across problem sizes.
  • The codebase is modular and extensible: new algorithms can be implemented by modifying only one layer, such as adding a new operator or splitting.
  • TMAC supports both convex and nonconvex problems, including empirical risk minimization, SVM, and NMF, with demonstrated performance on real-world problem instances.
  • Future extensions, including stochastic methods, MPI-based cluster computing, and GUI interfaces, are planned and under active development.

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.