TAH-QUANT: Effective Activation Quantization in Pipeline Parallelism over Slow Network

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: He, Guangxin, Cao, Yuan, He, Yutong, Bai, Tianyi, Chen, Kai, Yuan, Kun, Yuan, Binhang
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915994424836096
author He, Guangxin
Cao, Yuan
He, Yutong
Bai, Tianyi
Chen, Kai
Yuan, Kun
Yuan, Binhang
author_facet He, Guangxin
Cao, Yuan
He, Yutong
Bai, Tianyi
Chen, Kai
Yuan, Kun
Yuan, Binhang
contents Decentralized training of large language models offers the opportunity to pool computational resources across geographically distributed participants, but is often bottlenecked by network communication, particularly under pipeline parallel settings. While pipeline parallelism partitions model layers across devices to handle large-scale models, it necessitates frequent communication of intermediate activations, creating challenges when network bandwidth is limited. To address these issues, we propose TAH-Quant (Tile-wise Adaptive Hadamard Quantization), a novel activation quantization framework for pipeline parallelism. TAH-Quant integrates fine-grained tile-wise quantization, entropy-guided tile-wise adaptive bit allocation for optimal bit usage, and a Hadamard-based transformation with pivot swapping to effectively suppress outliers. Compared with token-level allocation, the tile-wise allocator assigns precision at the granularity of small channel windows within each token, reducing quantization error under the same bit budget. We prove that pipeline parallel training equipped with TAH-Quant maintains a convergence rate of O(1/sqrt(T)), matching that of vanilla stochastic gradient descent. Extensive experiments demonstrate that TAH-Quant achieves an aggressive activation quantization ratio of 3-4 bits, providing up to 4.3x throughput speedup over uncompressed FP32 and up to 1.33x wall-clock speedup over AQ-SGD, while preserving training convergence, avoiding AQ-SGD's activation-cache overhead, and generalizing well across various training scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2506_01352
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle TAH-QUANT: Effective Activation Quantization in Pipeline Parallelism over Slow Network
He, Guangxin
Cao, Yuan
He, Yutong
Bai, Tianyi
Chen, Kai
Yuan, Kun
Yuan, Binhang
Machine Learning
Decentralized training of large language models offers the opportunity to pool computational resources across geographically distributed participants, but is often bottlenecked by network communication, particularly under pipeline parallel settings. While pipeline parallelism partitions model layers across devices to handle large-scale models, it necessitates frequent communication of intermediate activations, creating challenges when network bandwidth is limited. To address these issues, we propose TAH-Quant (Tile-wise Adaptive Hadamard Quantization), a novel activation quantization framework for pipeline parallelism. TAH-Quant integrates fine-grained tile-wise quantization, entropy-guided tile-wise adaptive bit allocation for optimal bit usage, and a Hadamard-based transformation with pivot swapping to effectively suppress outliers. Compared with token-level allocation, the tile-wise allocator assigns precision at the granularity of small channel windows within each token, reducing quantization error under the same bit budget. We prove that pipeline parallel training equipped with TAH-Quant maintains a convergence rate of O(1/sqrt(T)), matching that of vanilla stochastic gradient descent. Extensive experiments demonstrate that TAH-Quant achieves an aggressive activation quantization ratio of 3-4 bits, providing up to 4.3x throughput speedup over uncompressed FP32 and up to 1.33x wall-clock speedup over AQ-SGD, while preserving training convergence, avoiding AQ-SGD's activation-cache overhead, and generalizing well across various training scenarios.
title TAH-QUANT: Effective Activation Quantization in Pipeline Parallelism over Slow Network
topic Machine Learning
url https://arxiv.org/abs/2506.01352