# Clapping: Removing Per-sample Storage for Pipeline Parallel Learning with Communication Compression

*Boao Kong, Xu Huang, Yuqi Xu, Yixuan Liang, Bin Wang, Kun Yuan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148239) · [OpenReview](https://openreview.net/forum?id=zMLxSjEos8) · [alphaXiv](https://www.alphaxiv.org/abs/2509.19029) · [Open on the map](../papers.html#p148239)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Async Pipeline Communication Optimization](../pgroup/304.md) · Type: new method · Keywords: pipeline parallel learning, communication compression, lazy sampling, distributed optimization, gradient error propagation

Areas: [Optimization & Algorithms](../areas/optimization.md) › Optimization Guarantees › Communication-Efficient Distributed Optimization

## Summary
Clapping introduces a lazy sampling strategy that reuses data samples across pipeline steps, removing per-sample storage and enabling convergence with communication compression in few-epoch or online regimes.

## Explained to a 5-year-old
In big computer systems, many workers talk to each other and send big messages. Sending these messages takes a lot of time. Also, each worker needs to remember a lot of data for each step of learning, which uses a lot of memory. This paper finds a way to reuse the same data over and over, so they don't need to keep a lot of copies. This helps the workers finish learning faster and uses less memory.

## Explained to a 5-year-old, longer
Many computers work together to teach AI things. They pass information back and forth to learn. Passing big pieces of information takes a long time. Each computer also has to keep a lot of information for each step of learning. Keeping all that information uses a lot of memory. The paper suggests a trick where they reuse the same information instead of storing new copies each time. By reusing data, they don't need as much memory. They also compress the information they send, making it smaller. This makes the learning process faster and uses less memory. The method works for different kinds of learning tasks. It can be used when only a few rounds of learning are done. Overall, it helps big AI systems learn more efficiently.

## For a technical reader
Clapping addresses the high communication overhead in pipeline-parallel distributed training by introducing a lazy sampling strategy that reuses activations across pipeline stages. It combines this strategy with gradient compression, eliminating the need for per-sample storage and reducing memory footprint. Two variants, Clapping-FC and Clapping-FU, are proposed, each achieving convergence without relying on unbiased gradient assumptions, thus mitigating error propagation in multi-worker settings. Experiments across multiple tasks demonstrate that Clapping maintains performance while significantly lowering communication volume and memory usage. The approach is suitable for few-epoch or online training regimes, offering a practical solution for scaling large-scale models.

## Problem
Pipeline-parallel distributed optimization suffers from high communication overhead due to transmitting large activations and gradients, and existing methods either rely on unrealistic unbiased gradient assumptions or require per-sample memory storage, limiting scalability.

## Method
The approach uses a lazy sampling strategy that reuses data samples across pipeline steps, combined with communication compression to reduce per-step memory and communication, and includes variants that handle compression error without requiring unbiased gradient assumptions.

## Contributions
The paper proposes a lazy sampling strategy that eliminates per-sample storage, introduces communication compression variants that converge without unbiased gradient assumptions, and demonstrates effectiveness across multiple tasks.

## Research questions this paper is counted under

- [How can we dynamically adapt parallelism to balance load and minimize communication in distributed large language model training?](../q/123.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148239)
