Papers
Topics
Authors
Recent
Search
2000 character limit reached

Distributed Lion: Scalable Sign-Based Optimization

Updated 2 March 2026
  • Distributed Lion is a distributed optimization algorithm that extends the sign-based Lion optimizer to reduce communication overhead in large-scale deep learning.
  • It aggregates binary updates via Majority Vote or Averaging, achieving provable convergence and matching statistical efficiency with full-precision methods.
  • Empirical evaluations demonstrate that Distributed Lion maintains high accuracy across vision and language tasks even in bandwidth-constrained settings.

Distributed Lion refers to a class of distributed optimization algorithms that generalize the single-worker Lion optimizer—a first-order, sign-based momentum method—into scalable, communication-efficient distributed settings. These algorithms leverage the sign operation central to Lion to minimize per-iteration communication, enabling distributed training of large-scale deep models with significant bandwidth reduction and provable convergence properties, while matching or exceeding the statistical efficiency of standard aggregation-based optimizers.

1. Formal Algorithmic Structure

Distributed Lion operates within a parameter-server or similar synchronous distributed framework. The canonical formulation comprises NN workers and a central server. Each worker ii maintains its own set of local parameters xi,tx_{i,t} and momentum buffer mi,tm_{i,t}, updating these at each round as follows:

  • Worker step:
  1. Sample data ξi,t\xi_{i,t}, compute gradient gi,t=f(xi,t;ξi,t)g_{i,t} = \nabla f(x_{i,t}; \xi_{i,t}).
  2. Update momentum: mi,t+1=β2mi,t+(1β2)gi,tm_{i,t+1} = \beta_2 m_{i,t} + (1-\beta_2) g_{i,t}.
  3. Compute update: di,t=sign(β1mi,t+(1β1)gi,t){1,+1}dd_{i,t} = \operatorname{sign}\left(\beta_1 m_{i,t} + (1-\beta_1) g_{i,t}\right)\in\{-1,+1\}^d.
  4. Transmit di,td_{i,t} (a binary vector) to the server.
  • Server aggregation:
    • Majority Vote (MaVo): ii0.
    • Averaging (Avg): ii1.
    • 3. Broadcast ii2 to all workers.
  • Parameter update:

ii3.

This scheme preserves the sign-based nature of Lion updates while requiring only binary or low-bitwidth communications per iteration (Liu et al., 2024). Key variants include Majority Vote (strictly ii4 bit per parameter per direction) and Averaging (using ii5 bits per parameter per direction).

2. Theoretical Guarantees and Constrained Optimization Perspective

Distributed Lion inherits and extends the constrained optimization interpretation of the original Lion. The weight-decay operation implicitly enforces an ii6-box constraint, so

ii7

The dynamics exhibit two phases:

  • Phase I: Rapid contraction of parameters into the constraint set, with the box distance decaying exponentially [(Liu et al., 2024), Prop. A.5].
  • Phase II: Optimization within the ii8 box, converging to KKT stationarity as measured by

ii9

Convergence rates depend on the aggregation method:

  • Majority Vote (MaVo): Per-iteration expected KKT residual decays as xi,tx_{i,t}0.
  • Averaging (Avg): Similar, but the variance term persists with xi,tx_{i,t}1 [(Liu et al., 2024), Theorem 4.6/4.8].
  • In centralized or full-precision distributed settings, the rate matches xi,tx_{i,t}2 for sign-based methods (Jiang et al., 17 Aug 2025).

Bandlimited variants, using unbiased sign compression for both upward and downward communication, achieve provably controlled increases in asymptotic rates, e.g., xi,tx_{i,t}3 for the most communication-efficient version (Jiang et al., 17 Aug 2025).

3. Communication Complexity and Compression

Distributed Lion methods achieve marked reductions in per-iteration communication, tabulated as follows (Liu et al., 2024):

Method Worker→Server Server→Worker
Global Lion/AdamW xi,tx_{i,t}4 bits xi,tx_{i,t}5 bits
TernGrad xi,tx_{i,t}6 bits xi,tx_{i,t}7 bits
Deep Grad. Compress (DGC) xi,tx_{i,t}8 bits xi,tx_{i,t}9 bits
Distributed Lion-Avg mi,tm_{i,t}0 bit mi,tm_{i,t}1 bits
Distributed Lion-MaVo mi,tm_{i,t}2 bit mi,tm_{i,t}3 bit

This results in mi,tm_{i,t}4 reduction (MaVo) or mi,tm_{i,t}5–mi,tm_{i,t}6 reduction (Avg, mi,tm_{i,t}7) per iteration compared to full-precision approaches. The method is orthogonal to existing sparsification and quantization strategies and can be hybridized for further savings.

4. Empirical Performance and Applicability

Distributed Lion demonstrates strong empirical results across diverse deep learning settings:

  • Vision (CIFAR-10, ImageNet-1K): On ViT-Small and ViT-B/16 models, test accuracy with Distributed Lion MaVo is within mi,tm_{i,t}8 of full-precision Lion or AdamW, even with up to mi,tm_{i,t}9 workers (Liu et al., 2024).
  • Language (GPT2++, LLaMA-7B): Perplexity and few-shot tuning performance match or slightly exceed full-precision baselines. Communication-efficient Lion variants consistently outperform TernGrad, DGC, and other sign-based compression approaches for both accuracy and bandwidth trade-off.
  • Batch size and scalability: As the number of workers increases, all methods experience minor accuracy decrements (due to batch noise reduction), but Distributed Lion variants maintain competitive statistical efficiency.

Applicability is particularly strong in scenarios where:

  • Network bandwidth is limited (e.g., multi-site, wireless).
  • Models are large enough that communication is the bottleneck.
  • High-frequency, low-precision updates are acceptable or desirable.

5. Advanced Extensions: Momentum Synchronization and Quantization

Extended variants (e.g., Lion Cub (Ishikawa et al., 2024)) further address the communication bottleneck by combining:

  • Custom collectives: Efficient 1-bit or ξi,t\xi_{i,t}0-bit allreduce strategies, including fused bit-packing and direct CUDA/NCCL implementations, tuned for high-latency and bandwidth-constrained networks.
  • Quantization: Standard sign-quantization (ξi,t\xi_{i,t}1) and novel ξi,t\xi_{i,t}2-scale quantizers for few-bit encoding, empirically matching full-precision Lion's updates over ξi,t\xi_{i,t}3 of the time.
  • Momentum synchronization: Selective or periodic momentum buffer averaging (e.g., every ξi,t\xi_{i,t}4 steps for selected layers) is required for certain hyperparameter regimes, particularly when momentum decay rates are lower.

Empirically, these techniques enable up to ξi,t\xi_{i,t}5 reduction in end-to-end training time on Ethernet-based clusters, without sacrificing final model quality.

6. Distributed Lion in Federated and Heterogeneous Settings

The canonical Lion update naturally extends to federated optimization (FedLion (Tang et al., 2024)). In FedLion, clients perform local sign-based Lion steps with momentum, uploading quantized integer vectors and optionally momentum buffers. Compared to FedAvg, FedLion:

  • Achieves a per-round uplink close to ξi,t\xi_{i,t}6 bits (plus ξi,t\xi_{i,t}7 bits per parameter for the quantized update, ξi,t\xi_{i,t}8 = local epochs/steps).
  • Requires ξi,t\xi_{i,t}9 the rounds to reach the same accuracy, compared to state-of-the-art adaptive federated algorithms.

Convergence is established under standard bounded-variance, smoothness, and system heterogeneity assumptions, with an gi,t=f(xi,t;ξi,t)g_{i,t} = \nabla f(x_{i,t}; \xi_{i,t})0-rate in squared gi,t=f(xi,t;ξi,t)g_{i,t} = \nabla f(x_{i,t}; \xi_{i,t})1-norm, outperforming the gi,t=f(xi,t;ξi,t)g_{i,t} = \nabla f(x_{i,t}; \xi_{i,t})2-rate of FedAvg in dense gradient regimes.

7. Practical Trade-offs and Limitations

The choice of Majority Vote vs Averaging impacts the communication/accuracy trade-off:

  • Majority Vote: Strict gi,t=f(xi,t;ξi,t)g_{i,t} = \nabla f(x_{i,t}; \xi_{i,t})3-bit exchange, robust to high noise, preferable for small gi,t=f(xi,t;ξi,t)g_{i,t} = \nabla f(x_{i,t}; \xi_{i,t})4 and noisy updates.
  • Averaging: Slightly higher communication cost, potentially better accuracy, particularly at large gi,t=f(xi,t;ξi,t)g_{i,t} = \nabla f(x_{i,t}; \xi_{i,t})5 where batch-level gradient noise is reduced.

Distributed Lion assumes that local momentum/parameter drift due to sign-only communication can be effectively controlled by periodic synchronization or rich quantization when necessary, but for some tasks and optimizer configurations (e.g., low momentum rates), additional synchronization may be required (Ishikawa et al., 2024).

A plausible implication is that Distributed Lion sets a practical lower bound on communication in modern distributed deep learning and forms a basis for hybrid methods combining sign compression, gradient sparsification, or error compensation. Convergence, scalability, and statistical efficiency have been established rigorously and validated empirically across vision and language benchmarks (Liu et al., 2024, Jiang et al., 17 Aug 2025).


References

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Distributed Lion.