Hanlin Tang
5 previous affiliations
- Alibaba Group (China)2025–2026
- Researcher · 2025–2026
- ByteDance (China)2024–2025
- Researcher · 2024–2025
- Huawei Technologies (China)2023–2024
- Researcher · 2023–2024
- Tencent (China)2021–2023
- Researcher · 2021–2023
- University of Rochester2017–2021
- PhD student · 2017–2021
1 other author named Hanlin Tang: Hanlin Tang (7 papers)
Research Overview
Hanlin Tang focuses on distributed optimization, communication-efficient machine learning, and model compression for large-scale architectures. His trajectory spans early contributions to decentralized federated learning over complex network topologies to advanced gradient compression techniques for distributed training. Most recently, his work addresses extreme low-precision quantization and efficient inference strategies for large language models and diffusion transformers.
Research Trajectory
Hanlin Tang's early research concentrated on the theoretical and practical challenges of decentralized machine learning, particularly in environments lacking a central coordinating server. In 2019, he participated in developing algorithms for the research direction of Decentralized Federated Learning without a Central Server. This work included Central Server Free Federated Learning over Single-sided Trust Social Networks, which introduced the Online Push-Sum (OPS) algorithm. OPS was designed to function over directed graphs where trust is single-sided, providing a framework for privacy-preserving learning that remains robust in the broader area of Distributed Optimization over Directed Networks and within the research area of Decentralized Learning under Network Churn. Concurrently, he led an investigation into the theoretical foundations of decentralized online learning. In Decentralized Online Learning: Take Benefits from Others' Data without Sharing Your Own to Track Global Trend, he and his collaborators demonstrated mathematically that inter-node communication significantly reduces regret bounds by filtering out local stochastic noise, allowing individual nodes to better track shifting global trends without exposing raw data.
As the scale of deep learning models grew, Tang's focus shifted toward mitigating the communication bottlenecks inherent in distributed training. In 2020, he introduced APMSqueeze: A Communication Efficient Adam-Preconditioned Momentum SGD Algorithm, contributing to the research area of Sign-Based Optimization for Communication-Efficient Distributed Training. This work sought to maintain the convergence benefits of adaptive optimizers while drastically reducing the volume of data exchanged between GPUs. He expanded on this theme with ErrorCompensatedX: error compensation for variance reduced algorithms, addressing the problem of algorithmic divergence caused by biased gradient compression. By extending error compensation techniques to variance-reduced algorithms—where the variance of the stochastic gradient is smoothed using a moving average—this work provided a more stable path for compressed distributed learning. Furthering this collaborative effort to scale training, he contributed to 1-bit LAMB: Communication Efficient Large-Scale Large-Batch Training with LAMB's Convergence Speed, which combined the large-batch capabilities of the LAMB optimizer with aggressive 1-bit communication compression to accelerate the training of massive architectures like BERT.
Following his work on training efficiency, Tang's research evolved to address the deployment and inference bottlenecks of large-scale models through advanced compression and quantization techniques. In the area of Scaling Deep Learning to Extreme Low Precision, he developed MKQ-BERT: Quantized BERT with 4-bits Weights and Activations. This research pushed Transformer compression boundaries by introducing an MSE-based gradient for quantization scales alongside a distillation strategy, achieving significant reductions in model size and inference latency. As models scaled into the billions of parameters, he investigated the broader research direction of The Performance Cliff in Ultra-Low Bit LLM Quantization. Recognizing that traditional calibration methods relying on small training samples could degrade a model's ability to generalize to unseen tasks, he proposed EasyQuant: An Efficient Data-free Quantization Algorithm for LLMs. This training-free approach allowed for the quantization of large language models without the need for calibration data, preserving zero-shot generalization performance.
In his most recent work, Tang has focused on the specific memory and computational bottlenecks of generative AI inference. To address the massive memory footprint of ultra-long sequence processing in large language models, he developed RazorAttention: Efficient KV Cache Compression Through Retrieval Heads. This algorithm identified that global context is primarily handled by a small subset of retrieval heads, allowing the remaining Key-Value cache to be heavily compressed using a compensation token strategy while maintaining compatibility with hardware-optimized attention mechanisms like FlashAttention. Expanding his optimization research to visual generative models, he collaborated on RT-Lynx: Putting the GEMM Sparsity In a Right Way for Diffusion Models. This work introduced a structural shift for Diffusion Transformers (DiTs) by applying 2:4 semi-structured sparsity to activations rather than weights, utilizing norm-compensation and lightweight LoRA adaptation to accelerate linear layers with minimal impact on image generation quality.
Current Directions
Recent work investigates the extreme memory and computational demands of deploying state-of-the-art generative models, spanning both large language models and diffusion architectures. A primary focus is the optimization of inference for ultra-long context windows. This involves developing training-free compression algorithms that target the Key-Value (KV) cache, identifying specialized attention heads that manage global context to selectively compress redundant information without sacrificing accuracy or hardware compatibility.
Additionally, current research explores structural sparsity in visual generative models, specifically Diffusion Transformers. Rather than traditional weight pruning, this direction emphasizes applying semi-structured sparsity patterns directly to model activations. By combining these sparsity constraints with lightweight adaptation techniques and fused hardware kernels, the work aims to significantly accelerate matrix multiplications during inference while preserving the high-fidelity output of diffusion models.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake