Skip to content

MatrixFSDP: communication-free matrix optimizers under ZeRO-3 parameter sharding

Jul 2026 · arXiv.org · Vol abs/2607.05895 · 0 citations · 33 references
Computer Science

TL;DR

MatrixFSDP changes where ZeRO-3 shards live, not the optimizer being computed, to match full-matrix Muon while preserving ZeRO-3-scale memory, and reduces optimizer-step latency over stock FSDP2-Muon by 4.2x.

Abstract

Matrix optimizers such as Muon are attractive for large-scale training because they can improve convergence and token efficiency over coordinate-wise optimizers. Muon does this by orthogonalizing momentum-smoothed matrix updates with Newton-Schulz, producing spectrum-balanced updates that require the complete 2D matrix as input. This exposes a systems mismatch: FSDP/ZeRO-3 saves memory by making the optimizer see shards, not whole matrices. Existing systems therefore either reconstruct matrices at every optimizer step, paying weight-sized communication after backward, or make the update local by using ZeRO-1 owner placement with full parameters resident. MatrixFSDP takes a third path: it changes where ZeRO-3 shards live, not the optimizer being computed. For each 2D weight, one data-parallel rank owns the whole matrix and the other ranks hold empty shards; non-matrix tensors are packed into tail owners and stay on AdamW. The ordinary backward reduction then lands the full Muon input on the owner, so Newton-Schulz runs locally with no optimizer-step matrix collective. Forward and backward still materialize and reshard parameters; the runtime challenge is to make that uneven layout efficient and correct. MatrixFSDP does so with MatrixShard metadata, a balance-aware owner planner, deterministic owner-segment P2P collectives, owner-buffer pinning, and owner-shard checkpoint resharding. The resulting update matches full-matrix Muon while preserving ZeRO-3-scale memory: on 64 A100s, MatrixFSDP reduces optimizer-step latency over stock FSDP2-Muon by 4.2x on one node and 54.6x on eight nodes, reaches up to 2.15x end-to-end speedup, and runs model sizes where ZeRO-1 owner placement exceeds an 80 GB GPU.

View source

Similar papers

Jul 2026

PoLoRA: A Preconditioned Orthogonalized LoRA Optimizer

PoLoRA is introduced, a Preconditioned Orthogonalized LoRA optimizer built from three ingredients: a product-aware spectral update direction, curvature preconditioning derived from controlling the per-sample loss change, and a magnitude rule that controls the sizes of both the factor and merged updates.

Nikhil Ghosh, Tetiana Parshakova, Robert M. Gower · 1 citation
Preprint Aug 2026

Scaling Muon for Diffusion Transformers

Periodic Row-wise Muon is introduced, which performs a full NS5 spectral update once every \(K\) steps and applies a low compute and communication cost row-wise constrained update based on the current momentum at the remaining steps to preserve Muon's generative quality advantage while translating it into end-to-end tr...

Chenghao Li, Xiao Han, Xin-Xin Huang et al. · 0 citations
Preprint Aug 2026

Dion3: Full-Stack Orthogonal Updates

Dion3, a revision of Muon that targets this overhead at every level of the stack with a simple change to the update rule that cuts costs even further: selecting only a fraction of the momentum matrix's rows to orthogonalize at each step.

Noah Amsel, Jack Zhang, Kwangjun Ahn et al. · 0 citations
Preprint Aug 2026

SchurQuant: Groupwise Discrete Optimization for Layer-Wise LLM Quantization

SCHUROPT is introduced, which analytically eliminates the suffix's optimal continuous response, yielding an exact groupwise quadratic with Schur-complement curvature, and achieves the highest mean zero-shot accuracy among the evaluated backpropagation free PTQ baselines.

Gunjun Lee, Sehwan Son, Younjoo Lee et al. · 0 citations
#machine learning Preprint Sep 2026

Frozen Cores Need Task Signal: Fisher-Whitened Cross-Covariance for Low-Resource LLM Adaptation

FCCA, which estimates the signed input--error cross-covariance, whitens it with diagonal Fisher moments, truncates it in the resulting local metric, maps the selected directions back, and applies thin QR to obtain stable core coordinates, shows that a carefully selected fixed span can recover most of the benefit of mov...

Wen-Song Ye, Zhan-Ming Shen, Zhiqing Xiao et al. · 1 citation · ⚡1
Preprint Aug 2026

FraQ: Efficient Coordinate-Space Recompression for Federated Low-Rank Adaptation

FraQ, an efficient coordinate-space recompression method for federated LoRA, is proposed, an efficient coordinate-space recompression method for federated LoRA that achieves accuracy close to uncompressed baselines while substantially reducing downlink communication with low server-side recompression overhead.

Shenghui Li, Thiemo Voigt · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.