Decentralized Feature-Distributed Optimization for Generalized Linear Models

Brighton Ancelin, Sohail Bahmani, Justin RombergarXiv 2021

TL;DR

This paper introduces a decentralized optimization method for "all-for-one" learning, where data features are scattered across a network but only one agent knows the labels. By applying the Chambolle–Pock primal–dual algorithm to a saddle-point formulation, the authors achieve a $O(1/T)$ convergence rate that scales with the network's connectivity and the data's structure.

What Problem Does This Paper Address?

Most distributed machine learning research focuses on sample-distributed settings: every agent has a full set of features for a few samples (data parallelism). This paper tackles the opposite: feature-distributed optimization. In this scenario, every agent sees a different part of the feature vector for all samples.

The authors focus on a specific "all-for-one" configuration:

  1. Distributed Features: Features are partitioned among $m$ agents in a connected network.
  2. Centralized Labels: Only one agent (the "first" agent) observes the response variables ($y$).
  3. Decentralized Communication: There is no central server. Agents only talk to their immediate neighbors in a graph.

This setup is highly relevant for "cross-silo" federated learning—for example, a bank, a retail chain, and a credit bureau collaborating to predict a loan default where only the bank knows who actually defaulted, but everyone holds different pieces of the puzzle.

Methods

The authors transform the standard regularized empirical risk minimization problem into a saddle-point formulation. They introduce local versions of dual variables for each agent and use the Graph Laplacian ($L$) to enforce consensus across the network.

Key technical components include:

  • Chambolle–Pock Algorithm: A first-order primal-dual framework used to solve the saddle-point problem. It breaks the global optimization into local updates.
  • Local Iterations: Most updates are either closed-form expressions or simple proximal operators. Even the "first agent" (who handles the loss function) only needs to perform coordinate-wise 1D minimizations.
  • Loss Function Classes: The analysis establishes convergence for two broad classes: Lipschitz loss (like Logistic or Huber loss) and Square Root Lipschitz loss (like Squared loss).

Datasets

The study uses a synthetic dataset to maintain controlled conditions for testing convergence:

  • Scale: $16,384$ samples and $2,048$ features.
  • Generation: The design matrix $X$, ground truth $\theta^*$, and noise are all drawn from i.i.d. standard normal distributions.
  • Partitioning: Features are split equally among agents (e.g., if there are 64 agents, each holds 32 features).
  • Network Topologies: The algorithm was tested on Complete, Star, Erdős-Rényi, 2D Lattice, and Random Geometric graphs.

Key Insights and Ideas

  • The Power of the Laplacian: The convergence rate is explicitly tied to the spectral gap of the communication network. This means the "shape" of the network (how well-connected it is) directly dictates how fast the agents can learn.
  • Expanders are Better: Networks that act as "spectral expanders" (high connectivity with few edges) are the most favorable for this algorithm because they have a large spectral gap and small maximum degree.
  • Parallelism vs. Overhead: While decentralized communication adds a "communication tax," it also parallelizes the heavy lifting. As the number of agents increases, the size of the local matrix-vector multiplications decreases, potentially speeding up the wall-clock time in computation-heavy environments.
  • Separability is Key: By assuming the regularizer is separable across agents, the authors ensure that each agent can handle its own part of the model ($\theta_j$) without needing to know the full model state.

Key Results

  • Convergence Rate: The algorithm achieves a $O(1/T)$ convergence rate for the empirical risk.
  • Topology Performance:
    • Complete Graphs converged the fastest for a fixed number of agents.
  • Star and 2D Lattice Graphs performed poorly as the number of agents increased, likely due to "bottlenecks" and small eigenvalues in their Laplacians.
  • Efficiency: In scenarios where computation is more expensive than communication, the decentralized approach with 256 agents on a sparse Erdős-Rényi graph achieved performance comparable to a single-agent baseline, proving the viability of the parallelization.

Limitations and Future Work

  • Global Knowledge: Currently, agents need to know certain global constants (like the spectral gap $\delta$ and the design bound $\chi$) to choose the optimal step sizes ($\tau, \sigma$). In a truly decentralized setting, estimating these locally is a challenge.
  • Linear Predictors Only: The framework is limited to Generalized Linear Models (GLMs). It does not currently support non-linear predictors (like deep neural networks) because the composition of non-linear predictors with standard loss functions is generally not convex.
  • Communication Cost: The saddle-point formulation requires communicating dual variables ($\lambda$ and $v$) which can be high-dimensional. The authors note it is unclear if this high communication cost is an inherent requirement of the feature-distributed problem or a specific drawback of this primal-dual approach.

Summary updated

BibTeX
@misc{ancelin2021decentralized,
  author = {Brighton Ancelin and Sohail Bahmani and Justin Romberg},
  title = {{Decentralized Feature-Distributed Optimization for Generalized Linear Models}},
  year = {2021},
  eprint = {2110.15283},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.15283},
}
Figure