Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Hanlin Tang 0002

dblp:179/3388-2 · DBLP profile ↗
← Back
9ranked-venue papers
7as first author
5since 2021 · last 2025
0000-0002-6613-9174ORCID · corroborated

Domains — the database's venue-derived domains; a paper can count in several

Artificial intelligence and machine learning · 8 · 7 first-author · 4 since 2021Systems, architecture and hardware · 1 · 1 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Artificial intelligence
8 papers
Efficient and distributed learning · 69% Optimization for machine learning · 20% Language models and text generation · 11%
Computer architecture, parallel and distributed computing, and storage systems
3 papers
Distributed systems · 76% High-performance computing · 24%

Topics — the 23 heaviest of 23, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Machine learning › Efficient and distributed learning
distributed training
2.462021
ErrorCompensatedX: error compensation for variance reduced algorithms · NeurIPS 2021
1-bit Adam: Communication Efficient Large-Scale Training with Adam's Convergence Speed · ICML 2021
Distributed Learning over Unreliable Networks · ICML 2019
Machine learning › Efficient and distributed learning
model compression
1.522025
RazorAttention: Efficient KV Cache Compression Through Retrieval Heads · ICLR 2025
EasyQuant: An Efficient Data-free Quantization Algorithm for LLMs · EMNLP 2023
Machine learning › Efficient and distributed learning › KV cache management
KV cache compression
0.912025
RazorAttention: Efficient KV Cache Compression Through Retrieval Heads · ICLR 2025
Natural language and speech › Language models and text generation › large language model inference
long-context inference
0.912025
RazorAttention: Efficient KV Cache Compression Through Retrieval Heads · ICLR 2025
Machine learning › Efficient and distributed learning › model compression › quantization › post-training quantization
data-free quantization
0.712023
EasyQuant: An Efficient Data-free Quantization Algorithm for LLMs · EMNLP 2023
Natural language and speech › Language models and text generation
large language model inference
0.712023
EasyQuant: An Efficient Data-free Quantization Algorithm for LLMs · EMNLP 2023
Machine learning › Efficient and distributed learning › model compression
quantization
0.712023
EasyQuant: An Efficient Data-free Quantization Algorithm for LLMs · EMNLP 2023
Machine learning › Efficient and distributed learning › model compression › quantization › weight quantization
weight-only quantization
0.712023
EasyQuant: An Efficient Data-free Quantization Algorithm for LLMs · EMNLP 2023
Machine learning › Optimization for machine learning › adaptive optimization
adam
0.512021
1-bit Adam: Communication Efficient Large-Scale Training with Adam's Convergence Speed · ICML 2021
Machine learning › Optimization for machine learning
adaptive optimization
0.512021
1-bit Adam: Communication Efficient Large-Scale Training with Adam's Convergence Speed · ICML 2021
Machine learning › Efficient and distributed learning › distributed training
communication-efficient training
0.512021
1-bit Adam: Communication Efficient Large-Scale Training with Adam's Convergence Speed · ICML 2021
Machine learning › Optimization for machine learning
error compensation
0.512021
ErrorCompensatedX: error compensation for variance reduced algorithms · NeurIPS 2021
Machine learning › Efficient and distributed learning › distributed training
gradient compression
0.512021
ErrorCompensatedX: error compensation for variance reduced algorithms · NeurIPS 2021
Machine learning › Optimization for machine learning
variance reduction
0.522021
D2: Decentralized Training over Decentralized Data · ICML 2018
ErrorCompensatedX: error compensation for variance reduced algorithms · NeurIPS 2021
Machine learning › Efficient and distributed learning › distributed training
communication-efficient distributed SGD
0.412019
DoubleSqueeze: Parallel Stochastic Gradient Descent with Double-pass Error-Compensated Compression · ICML 2019
Machine learning › Efficient and distributed learning › communication compression
error-feedback compression
0.412019
DoubleSqueeze: Parallel Stochastic Gradient Descent with Double-pass Error-Compensated Compression · ICML 2019
Machine learning › Optimization for machine learning
stochastic gradient descent
0.412019
DoubleSqueeze: Parallel Stochastic Gradient Descent with Double-pass Error-Compensated Compression · ICML 2019
Distributed systems
fault tolerance
0.412019
Distributed Learning over Unreliable Networks · ICML 2019
Machine learning › Efficient and distributed learning
communication compression
0.312018
Communication Compression for Decentralized Training · NeurIPS 2018
Machine learning › Efficient and distributed learning › distributed training
distributed stochastic gradient descent
0.312018
D2: Decentralized Training over Decentralized Data · ICML 2018
Machine learning › Optimization for machine learning
stochastic optimization
0.312018
D2: Decentralized Training over Decentralized Data · ICML 2018
High-performance computing
large-scale training
0.112021
1-bit Adam: Communication Efficient Large-Scale Training with Adam's Convergence Speed · ICML 2021
Distributed systems › distributed machine learning
distributed training
0.112018
D2: Decentralized Training over Decentralized Data · ICML 2018

Methods — techniques the papers use, named apart from their topics

convergence analysis · 1.1variance-based preconditioning · 1.0error compensation compression · 1.0attention analysis · 0.9quantization range optimization · 0.7outlier preservation · 0.7variance-reduced algorithms · 0.5error feedback · 0.5parameter server · 0.4gradient compression · 0.4error compensation · 0.4variance reduction · 0.3decentralized SGD · 0.3
YearPublicationVenuePosition
2025 RazorAttention: Efficient KV Cache Compression Through Retrieval Heads
abstract
The memory and computational demands of Key-Value (KV) cache present significant challenges for deploying long-context language models. Previous approaches attempt to mitigate this issue by selectively dropping tokens, which irreversibly erases critical information that might be needed for future queries. In this paper, we propose a novel compression technique for KV cache that preserves all token information. Our investigation reveals that: i) Most attention heads primarily focus on the local context; ii) Only a few heads, denoted as retrieval heads, can essentially pay attention to all input tokens. These key observations motivate us to use separate caching strategy for attention heads.Therefore, we propose RazorAttention, a training-free KV cache compression algorithm, which maintains a full cache for these crucial retrieval heads and discards the remote tokens in non-retrieval heads. Furthermore, we introduce a novel mechanism involving a “compensation token” to further recover the information in the dropped tokens. Extensive evaluations across a diverse set of large language models (LLMs) demonstrate that RazorAttention achieves a reduction in KV cache size by over 70% without noticeable impacts on performance. Additionally, RazorAttention is compatible with FlashAttention, rendering it an efficient and plug-and-play solution that enhances LLM inference efficiency without overhead or retraining of the original model.
Hanlin Tang 0002, Qingsen Han, Danning Ke, Shikuan Hong, Yiwu Yao, Gongyi Wang
ICLR1
2023 EasyQuant: An Efficient Data-free Quantization Algorithm for LLMs
abstract
Large language models (LLMs) have proven to be very superior to conventional methods in various tasks.However, their expensive computations and high memory requirements are prohibitive for deployment.Model quantization is an effective method for reducing this overhead.The problem is that in most previous works, the quantized model was calibrated using a few samples from the training data, which might affect the generalization of the quantized LLMs to unknown cases and tasks.Hence in this work, we explore an important question: Can we design a data-free quantization method for LLMs to guarantee its generalization performance?In this work, we propose EasyQuant, a trainingfree and data-free weight-only quantization algorithm for LLMs.Our observation indicates that two factors: outliers in the weight and quantization ranges, are essential for reducing the quantization error.Therefore, in EasyQuant, we leave the outliers (less than 1%) unchanged and optimize the quantization range to reduce the reconstruction error.With these methods, we surprisingly find that EasyQuant achieves comparable performance to the original model.Since EasyQuant does not depend on any training data, the generalization performance of quantized LLMs are safely guaranteed.Moreover, EasyQuant can be implemented in parallel so that the quantized model could be attained in a few minutes even for LLMs over 100B.To our best knowledge, we are the first work that achieves comparable performance with datadependent algorithms under a data-free setting and our algorithm runs over 10 times faster than the data-dependent methods.
Hanlin Tang 0002, Yifu Sun, Decheng Wu, Kai Liu 0052, Jianchen Zhu, Zhanhui Kang
EMNLP1
2022 1-bit LAMB: Communication Efficient Large-Scale Large-Batch Training with LAMB's Convergence Speed
abstract
To train large machine learning models (like BERT and GPT-3) on hundreds of GPUs, communication has become a significant bottleneck, especially on commodity systems with limited-bandwidth TCP networks. On one side, large batch-size optimization such as the LAMB algorithm was proposed to reduce the frequency of communication. On the other side, communication compression algorithms such as 1-bit Adam help to reduce the volume of each communication. However, we find that simply using one of the techniques is not sufficient to solve the communication challenge, especially under low network bandwidth. Motivated by this we aim to combine the power of large-batch optimization and communication compression but we find that existing compression strategies cannot be directly applied to LAMB due to its unique adaptive layerwise learning rates. To this end, we design a new communication-efficient optimization algorithm, 1-bit LAMB, which introduces a novel way to support adaptive layerwise learning rates under compression. In addition to the algorithm and corresponding theoretical analysis, we propose three novel system implementations in order to achieve actual wall clock speedup: a momentum fusion mechanism to reduce the number of communications, a momentum scaling technique to reduce compression error, and a NCCL-based compressed communication backend to improve both usability and performance. For the BERT-Large pre-training task with batch sizes from 8K to 64K, our evaluations on up to 256 GPUs demonstrate that our optimized implementation of 1-bit LAMB is able to achieve up to 4.6x communication volume reduction, up to 2.8x end-to-end time-wise speedup, and the same sample-wise convergence speed (and same fine-tuning task accuracy) compared to uncompressed LAMB. Furthermore, 1-bit LAMB achieves the same accuracy as LAMB on computer vision tasks like ImageNet and CIFAR100.
Conglong Li, Ammar Ahmad Awan, Hanlin Tang 0002, Samyam Rajbhandari, Yuxiong He
HIPC3
2021 1-bit Adam: Communication Efficient Large-Scale Training with Adam's Convergence Speed
abstract
Scalable training of large models (like BERT and GPT-3) requires careful optimization rooted in model design, architecture, and system capabilities. From a system standpoint, communication has become a major bottleneck, especially on commodity systems with standard TCP interconnects that offer limited network bandwidth. Communication compression is an important technique to reduce training time on such systems. One of the most effective ways to compress communication is via error compensation compression, which offers robust convergence speed, even under 1-bit compression. However, state-of-the-art error compensation techniques only work with basic optimizers like SGD and momentum SGD, which are linearly dependent on the gradients. They do not work with non-linear gradient-based optimizers like Adam, which offer state-of-the-art convergence efficiency and accuracy for models like BERT. In this paper, we propose 1-bit Adam that reduces the communication volume by up to 5x, offers much better scalability, and provides the same convergence speed as uncompressed Adam. Our key finding is that Adam’s variance becomes stable (after a warmup phase) and can be used as a fixed precondition for the rest of the training (compression phase). We performed experiments on up to 256 GPUs and show that 1-bit Adam enables up to 3.3x higher throughput for BERT-Large pre-training and up to 2.9x higher throughput for SQuAD fine-tuning. In addition, we provide theoretical analysis for 1-bit Adam.
Hanlin Tang 0002, Shaoduo Gan, Ammar Ahmad Awan, Samyam Rajbhandari, Conglong Li, Xiangru Lian, Ji Liu 0002, Ce Zhang 0001, Yuxiong He
ICML1
2021 ErrorCompensatedX: error compensation for variance reduced algorithms
abstract
Communication cost is one major bottleneck for the scalability for distributed learning. One approach to reduce the communication cost is to compress the gradient during communication. However, directly compressing the gradient decelerates the convergence speed, and the resulting algorithm may diverge for biased compression. Recent work addressed this problem for stochastic gradient descent by adding back the compression error from the previous step. This idea was further extended to one class of variance reduced algorithms, where the variance of the stochastic gradient is reduced by taking a moving average over all history gradients. However, our analysis shows that just adding the previous step's compression error, as done in existing work, does not fully compensate the compression error. So, we propose ErrorCompensateX, which uses the compression error from the previous two steps. We show that ErrorCompensateX can achieve the same asymptotic convergence rate with the training without compression. Moreover, we provide a unified theoretical analysis framework for this class of variance reduced algorithms, with or without error compensation.
Hanlin Tang 0002, Yao Li 0039, Ji Liu 0002, Ming Yan 0006
NeurIPS1
2019 DoubleSqueeze: Parallel Stochastic Gradient Descent with Double-pass Error-Compensated Compression
abstract
A standard approach in large scale machine learning is distributed stochastic gradient training, which requires the computation of aggregated stochastic gradients over multiple nodes on a network. Communication is a major bottleneck in such applications, and in recent years, compressed stochastic gradient methods such as QSGD (quantized SGD) and sparse SGD have been proposed to reduce communication. It was also shown that error compensation can be combined with compression to achieve better convergence in a scheme that each node compresses its local stochastic gradient and broadcast the result to all other nodes over the network in a single pass. However, such a single pass broadcast approach is not realistic in many practical implementations. For example, under the popular parameter-server model for distributed learning, the worker nodes need to send the compressed local gradients to the parameter server, which performs the aggregation. The parameter server has to compress the aggregated stochastic gradient again before sending it back to the worker nodes. In this work, we provide a detailed analysis on this two-pass communication model, with error-compensated compression both on the worker nodes and on the parameter server. We show that the error-compensated stochastic gradient algorithm admits three very nice properties: 1) it is compatible with an arbitrary compression technique; 2) it admits an improved convergence rate than the non error-compensated stochastic gradient method such as QSGD and sparse SGD; 3) it admits linear speedup with respect to the number of workers. The empirical study is also conducted to validate our theoretical results.
Hanlin Tang 0002, Chen Yu 0009, Xiangru Lian, Tong Zhang 0001, Ji Liu 0002
ICML1
2019 Distributed Learning over Unreliable Networks
abstract
Most of today’s distributed machine learning systems assume reliable networks: whenever two machines exchange information (e.g., gradients or models), the network should guarantee the delivery of the message. At the same time, recent work exhibits the impressive tolerance of machine learning algorithms to errors or noise arising from relaxed communication or synchronization. In this paper, we connect these two trends, and consider the following question: Can we design machine learning systems that are tolerant to network unreliability during training? With this motivation, we focus on a theoretical problem of independent interest—given a standard distributed parameter server architecture, if every communication between the worker and the server has a non-zero probability $p$ of being dropped, does there exist an algorithm that still converges, and at what speed? In the context of prior art, this problem can be phrased as distributed learning over random topologies. The technical contribution of this paper is a novel theoretical analysis proving that distributed learning over random topologies can achieve comparable convergence rate to centralized or distributed learning over reliable networks. Further, we prove that the influence of the packet drop rate diminishes with the growth of the number of parameter servers. We map this theoretical result onto a real-world scenario, training deep neural networks over an unreliable network layer, and conduct network simulation to validate the system improvement by allowing the networks to be unreliable.
Chen Yu 0009, Hanlin Tang 0002, Cédric Renggli, Simon Kassing, Ankit Singla, Dan Alistarh, Ce Zhang 0001, Ji Liu 0002
ICML2
2018 D2: Decentralized Training over Decentralized Data
abstract
While training a machine learning model using multiple workers, each of which collects data from its own data source, it would be useful when the data collected from different workers are unique and different. Ironically, recent analysis of decentralized parallel stochastic gradient descent (D-PSGD) relies on the assumption that the data hosted on different workers are not too different. In this paper, we ask the question: Can we design a decentralized parallel stochastic gradient descent algorithm that is less sensitive to the data variance across workers? In this paper, we present D$^2$, a novel decentralized parallel stochastic gradient descent algorithm designed for large data variance \xr{among workers} (imprecisely, “decentralized” data). The core of D$^2$ is a variance reduction extension of D-PSGD. It improves the convergence rate from $O\left({\sigma \over \sqrt{nT}} + {(n\zeta^2)^{\frac{1}{3}} \over T^{2/3}}\right)$ to $O\left({\sigma \over \sqrt{nT}}\right)$ where $\zeta^{2}$ denotes the variance among data on different workers. As a result, D$^2$ is robust to data variance among workers. We empirically evaluated D$^2$ on image classification tasks, where each worker has access to only the data of a limited set of labels, and find that D$^2$ significantly outperforms D-PSGD.
Hanlin Tang 0002, Xiangru Lian, Ming Yan 0006, Ce Zhang 0001, Ji Liu 0002
ICML1
2018 Communication Compression for Decentralized Training
abstract
Optimizing distributed learning systems is an art of balancing between computation and communication. There have been two lines of research that try to deal with slower networks: {\em communication compression} for low bandwidth networks, and {\em decentralization} for high latency networks. In this paper, We explore a natural question: {\em can the combination of both techniques lead to a system that is robust to both bandwidth and latency?} Although the system implication of such combination is trivial, the underlying theoretical principle and algorithm design is challenging: unlike centralized algorithms, simply compressing {\rc exchanged information, even in an unbiased stochastic way, within the decentralized network would accumulate the error and cause divergence.} In this paper, we develop a framework of quantized, decentralized training and propose two different strategies, which we call {\em extrapolation compression} and {\em difference compression}. We analyze both algorithms and prove both converge at the rate of $O(1/\sqrt{nT})$ where $n$ is the number of workers and $T$ is the number of iterations, matching the convergence rate for full precision, centralized training. We validate our algorithms and find that our proposed algorithm outperforms the best of merely decentralized and merely quantized algorithm significantly for networks with {\em both} high latency and low bandwidth.
Hanlin Tang 0002, Shaoduo Gan, Ce Zhang 0001, Tong Zhang 0001, Ji Liu 0002
NeurIPS1