Skip to main content
QUICK REVIEW

[Paper Review] Large Scale Distributed Multiclass Logistic Regression

Pengtao Xie, Jin Kyu Kim|arXiv (Cornell University)|Jan 1, 2018
Stochastic Gradient Optimization TechniquesComputer Science6 references2 citations
TL;DR

This paper proposes a distributed multiclass logistic regression framework that reduces communication costs by transmitting only two vectors instead of the full gradient matrix, using a Sufficient Vector Broadcaster (SVB) to reconstruct gradients on receivers. The method achieves linear communication complexity, significantly improving scalability on large-scale datasets like ImageNet without sacrificing correctness.

ABSTRACT

Multiclass logistic regression (MLR) is a fundamental machine learning model to do multiclass classification. However, it is very challenging to perform MLR on large scale data where the feature dimension is high, the number of classes is large and the number of data samples is numerous. In this paper, we build a distributed framework to support large scale multiclass logistic regression. Using stochastic gradient descent to optimize MLR, we find that the gradient matrix is computed as the outer product of two vectors. This grants us an opportunity to greatly reduce communication cost: instead of communicating the gradient matrix among machines, we can only communicate the two vectors and use them to reconstruct the gradient matrix after communication. We design a Sufficient Vector Broadcaster (SVB) to support this communication pattern. SVB synchronizes the parameter matrix of MLR by broadcasting the sufficient vectors among machines and migrates gradient matrix computation on the receiver side.SVB can reduce the communication cost from quadratic to linear without incurring any loss of correctness. We evaluate the system on the ImageNet dataset and demonstrate the efficiency and effectiveness of our distributed framework.

Motivation & Objective

  • To address the challenge of scaling multiclass logistic regression to large-scale data with high dimensionality, many classes, and massive sample sizes.
  • To reduce communication overhead in distributed training of multiclass logistic regression beyond traditional approaches.
  • To design a communication-efficient framework that maintains model accuracy while minimizing data transfer between machines.
  • To enable efficient training on real-world datasets such as ImageNet with high-dimensional features and numerous classes.

Proposed method

  • The framework uses stochastic gradient descent (SGD) to optimize the multiclass logistic regression model.
  • It exploits the mathematical structure of the gradient matrix as an outer product of two vectors, enabling communication reduction.
  • A Sufficient Vector Broadcaster (SVB) is designed to broadcast only the two vectors instead of the full gradient matrix across machines.
  • The receiver machines reconstruct the gradient matrix from the received vectors, avoiding full matrix transmission.
  • SVB synchronizes the parameter matrix by distributing the sufficient vectors, ensuring consistency across workers.
  • The method maintains correctness by preserving the exact gradient computation through vector-based reconstruction.

Experimental results

Research questions

  • RQ1Can communication costs in distributed multiclass logistic regression be reduced from quadratic to linear complexity without losing accuracy?
  • RQ2How does the outer product structure of the gradient matrix enable efficient communication in distributed training?
  • RQ3What is the performance impact of using vector-based gradient transmission on large-scale datasets like ImageNet?
  • RQ4Can the Sufficient Vector Broadcaster (SVB) maintain model convergence and correctness under real-world data conditions?
  • RQ5How does the proposed framework scale with increasing feature dimensions, number of classes, and data samples?

Key findings

  • The Sufficient Vector Broadcaster (SVB) successfully reduces communication cost from quadratic to linear complexity in distributed multiclass logistic regression.
  • The framework maintains exact gradient computation by reconstructing the gradient matrix from transmitted vectors, ensuring no loss of correctness.
  • The system achieves efficient training on the ImageNet dataset, demonstrating scalability to large-scale data with high-dimensional features and many classes.
  • The communication reduction is achieved without compromising model accuracy or convergence speed.
  • The proposed method enables scalable and efficient distributed training of multiclass logistic regression on real-world large-scale datasets.

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.