TL;DR
Dobb is a communication-efficient, matrix-aware optimizer that performs local preconditioning within parameter shards by using a block-diagonal approximation of activation second moments. By combining this block-diagonal structure with element-wise sign normalization, Dobb eliminates the need for cross-shard communication during the optimizer step, resulting in a 10x+ speedup in optimizer call time compared to state-of-the-art distributed optimizers like Dion while maintaining superior model quality.
What Problem Does This Paper Address?
Modern Large Language Models (LLMs) are too big to fit on a single GPU, requiring techniques like Fully Sharded Data Parallelism (FSDP) or Tensor Parallelism (TP) to distribute parameters across multiple devices. While standard optimizers like AdamW are element-wise and parallelize easily, "matrix-aware" optimizers (e.g., Muon, Shampoo) achieve faster convergence by exploiting the 2D structure of weight matrices.
However, these matrix-aware optimizers typically require global operations—like orthogonalization or second-moment estimation—that necessitate heavy communication between GPUs holding different shards of the same matrix. Previous attempts to reduce this overhead, such as the Dion optimizer, use low-rank approximations to shrink the data being exchanged. The authors of Dobb argue that this rank truncation hurts optimization quality and that a better path lies in exploiting locality.
Methods
The core innovation is Dobb (Distributed Optimizer with Block-diagonal Eigenbases). Instead of computing a global basis for a weight matrix, Dobb approximates the input-activation second moment as a block-diagonal matrix.
Key components include:
- Block-Diagonal Approximation: The input coordinates are partitioned into $B$ blocks. Dobb tracks a complete eigenbasis within each block rather than a global, low-rank one.
- Locality by Design: If these blocks are aligned with the GPU shard boundaries, the optimizer can compute updates locally. This results in zero cross-shard communication for the optimizer step itself.
- Project-Normalize-Reconstruct: For each block, Dobb projects the momentum into the local activation eigenbasis, applies element-wise sign normalization (which removes directional scaling), and then reconstructs the update.
- Amortized Computation: To save on expensive eigendecompositions, Dobb reuses the basis for several steps (typically $T=9$) and refreshes it using a single step of orthogonal iteration.
Datasets
The authors evaluated Dobb using:
- OpenWebText: Used for training GPT-2 style models ranging from 124M (Small) to 1.56B (XL) parameters.
- Qwen3 Models: Benchmarked on 8B and 32B parameter versions to measure iteration time and scalability in large-scale distributed settings.
Key Insights and Ideas
- Activation Spectra are "Concentrated": The authors found that input-activation second moments have a much lower "effective rank" than output-gradient moments (see Figure 2). This makes the activation eigenbasis a more effective coordinate system for normalization.
- Sign Normalization is Shard-Friendly: Unlike column normalization (used in Muon and Dion), which requires a reduction across the output axis, sign normalization acts on each coefficient independently. This is a critical "aha moment" for achieving zero-communication updates when the output axis is sharded.
- Blocks > Low-Rank: Partitioning a matrix into blocks and keeping a full basis within each (Dobb) preserves more geometric information than keeping a global but low-rank basis (Dion). As shown in Table 2, Dobb maintains much higher update orthogonality than Dion at equivalent "communication budgets."
Key Results
- Massive Speedups: In an FSDP setup with 32 H100 GPUs training GPT-2 XL, Dobb reduced the amortized optimizer-call time from 124.1 ms (Dion) to just 9.2 ms.
- Better Scaling Quality: On GPT-2 XL, Dobb with 16 blocks achieved a validation loss of 2.476, significantly better than Dion's 2.511 at a comparable rank fraction.
- Zero Payload: Dobb successfully eliminated optimizer-specific cross-shard bytes (beyond standard data-parallel synchronization of moments), whereas Dion's communication scales with the update rank.
- Scalability: In every measured configuration up to 32B parameters, Dobb's optimizer call was shorter than both Muon and Dion.
Limitations and Future Work
- Hyperparameter Tuning: The authors note that further work is needed to determine how block size and basis-refresh frequency should ideally vary across different layers or stages of training.
- Overlap Opportunities: The basis refresh currently happens inside the optimizer call. Since it doesn't depend on the current gradient, it could potentially be moved to "idle" intervals during the forward-backward pass to hide latency further.
- Theoretical Gap: While empirically successful, the theoretical impact of discarding cross-block correlations on global optimization dynamics remains an open question.
Summary updated