跳到正文
arXiv:cs.AI· Xingyu Xie, Xiaoyong Xie, Zhouchen Lin, Kim-Chuan Toh·· 10 小时前

Echo:面向 LLM 训练与推理的误差补偿 4-Bit 张量并行通信

Echo: Error-Compensated 4-Bit Tensor-Parallel Communication for LLM Training and Inference

AI 导读

Echo 是一种 4-bit all-reduce 方案,通过在高精度下求和并将每次调用注入的误差反馈到后续调用,使累积误差与层数无关。在 A100 上,1 GB 消息时它比 16-bit NCCL all-reduce 快 2.09x,空闲互连下首 token 时间最高加速 1.16x、训练步最高加速 1.09x,背景流量增长时可达 1.44x 和 1.38x。

正文

View PDF HTML (experimental)

Abstract:Tensor parallelism ends every layer with an all-reduce that sits between two dependent matrix multiplications, so its cost cannot be hidden and grows as compute outpaces interconnect bandwidth. Sending 4-bit instead of 16-bit values would cut this cost by nearly 4x, but the all-reduce must add the values it carries, and rounding the sum injects an error at every call. Model quality depends on how these errors accumulate over layers, yet existing methods treat each call on its own. We present Echo, a 4-bit all-reduce for training and inference that controls the accumulated error. Echo moves data in 4 bits and sums in high precision, so each value is quantized at most twice per call for any number of GPUs. The summation reveals each injected error, and Echo feeds it back into later calls, so old errors cancel instead of accumulating. We prove that the accumulated error stays bounded independently of depth. On A100 GPUs, Echo is 2.09x faster than the 16-bit NCCL all-reduce on 1 GB messages. It speeds up the time to first token by up to 1.16x and the training step by up to 1.09x on an idle interconnect, and by up to 1.44x and 1.38x as background traffic grows. It keeps the average accuracy over seven benchmarks within 0.4 points of 16-bit inference on Qwen3-8B. In 10B-token pretraining, its final loss is less than 0.9% above that of 16-bit training. Echo needs no FP8 or FP4 hardware.
Subjects: Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2610.14277 [cs.AI]
  (or arXiv:2610.14277v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2610.14277

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Xingyu Xie [view email]
[v1] Fri, 9 Oct 2026 19:49:55 UTC (148 KB)

来源:arXiv:cs.AI · arxiv.org