- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper addresses the communication bottlenecks of RingAttention, especially with imbalanced communication settings. The authors propose CHARM+, a novel distributed attention framework, which splits the workers in a tree structure that takes into account the cluster topology. The approach implements a log-structured merge-tree that reduces the communication bottleneck. The paper validates this with different communication backends, demonstrating up to 3.9x speedup compared to Ring-Attention.
Strengths and weaknesses
Strengths:
- The paper has well-motivated problem statements and is written clearly.
- The work feels complete: the authors provide a codebase alongside detailed implementation specifics, making the contribution reproducible and practically grounded.
- The technical section is well-structured and follows naturally from the motivation. The lsm-tree idea is coherent and the theoretical analysis aligns correctly with the identified bottlenecks.
- The experimental section covers several cluster topologies, which gives a broad and convincing picture of the method's generality.
- The reported speedups appear consistent across configurations, suggesting the gains are real and not limited to a specific hardware setup or edge case.
Weaknesses:
- Several figures are hard to understand despite appearing central. The authors seem aware of this, as most figures come with long captions. Yet these captions are not sufficient to make some of the crucial figures self-explanatory. Clearer visual design or additional annotation would help significantly.
- A closely related work, Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU Clusters, is not discussed anywhere in the paper. This is surprising given the direct overlap in both the tree structure idea and the attention communication setting. Since that work reports an 8x speedup on the decoding side, a discussion or brief experimental comparison would significantly strengthen the positioning of the contribution and clarify what is genuinely novel here.
- The experimental comparisons are limited to TASP and RingAttention, leaving several related works mentioned in the paper without any empirical discussion. A comparison table covering the broader set of related approaches, even on a subset of metrics, would give a more complete picture of the contribution's impact.
Questions
The paper shares a core structural idea with Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU Clusters, which is not discussed in the related work. Could the authors clarify how their contribution differs from this prior work? A comparison on the decoding side would also be appreciated, given the reported 8x speedup. This point may change my evaluation score.
Do the authors have experimental results comparing CHARM+ to other related works discussed in the paper, beyond TASP and RingAttention?
Limitations
yes
Paper formatting concerns
No concerns
Final justification
Following the rebuttal by the authors, I am updating my review based on the position of the work regarding the Tree Attention paper.
We sincerely appreciate the reviewer’s recognition of our work and valuable suggestions. Our responses are provided below.
Weakness 1: Several figures are hard to understand
We sincerely appreciate the reviewer’s suggestion. In the revised version, we will include more illustrative figures and provide explanations combined with specific algorithms to make the paper easier to understand.
Weakness 3: The lack of comparison table and more baseline
We appreciate the reviewer’s comment. We have carefully revisited recent works on distributed attention and updated our comparison accordingly.
The following table summarizes representative distributed attention approaches:
Besides the comparisons with TASP and Ring-Attention in our paper, we also evaluate our method against Striped-Attention (i.e., Zigzag-Ring). Since other related approaches are not open-sourced, we are unable to perform direct comparisons with them. After further investigation, we found a newly open-sourced distributed attention method, TokenRing, and conducted additional experiments on 16 H20 GPUs. The results are shown below.
Overall, CHARM+ consistently achieves substantial speedups over TokenRing, across different sequence lengths.
Weakness 2 & Question 1: The discussion of the closely related work, Tree Attention
We sincerely appreciate the reviewer for introduce this work. We were aware of this paper before, but we did not include it in our discussion because of its limited application area (only targeting the decode stage during inference) and its fundamentally different optimization objective from general distributed attention. We would like to provide further clarification about this work below.
First, we briefly summarize the key ideas and contributions of this work.
In conventional distributed attention scenarios, each GPU holds different portions of Q, K and V. To obtain the attention results of its local Q with respect to all K, V, distributed attention requires continuous communication of K, V across GPUs. Each GPU computes attention with different K, V and progressively accumulates the results locally through the online softmax update mechanism.
However, in the special autoregressive decoding scenario, the setting is fundamentally different. Although each GPU still stores different portions of K, V, the query length is fixed to 1, meaning that the Q on every GPU corresponds to the same single token. Therefore, no K, V communication is required in this case. Each GPU can directly perform one attention computation with the local K, V and obtain the attention results of the Q over the entire K, V. The only remaining communication is the aggregation of the partial attention outputs computed from different K, V across GPUs.
Therefore, Tree Attention is designed to optimize this final output communication. Specifically, it obtains the exact global attention results by aggregating the local outputs and normalization statistics from different GPUs through collective reduction instead of point-to-point ring communication. Since these local results satisfy an associative reduction property, a tree-based reduction can be applied to reduce the number of cross-device communication rounds to a logarithmic scale. Under the ideal parallel communication model, a binary reduction tree can complete the aggregation of results across
nGPUs in approximatelylog(n)communication rounds, making it well suited for this scenario.Compared with Ring-Attention, it only communicates the compressed local attention outputs and corresponding statistics. The tree structure is mainly adopted to reduce the number of communication rounds, rather than to enable communication-computation overlap.
Next, we provide a detailed discussion of the differences between our work and Tree Attention.
As introduced above, Tree Attention adopts the conventional tree-based communication strategy to achieve optimal communication for the final output aggregation in the decoding stage, and formally proves its correctness through mathematical analysis.In contrast, our work focuses on a fundamental challenge widely studied in distributed attention: how to better overlap the frequent K,V communication with computation in conventional distributed attention scenarios. To address the strong dependency issue during K,V communication in Ring-Attention, we also adopt the idea of tree merge and optimize the critical path from O(n) to O(logn).
However, as discussed in the main paper, a straightforward tree-merge communication mechanism still suffers from dependency issues within each merge stage and retains the synchronization overhead introduced by ring communication across different nodes. More importantly, it introduces significant additional buffer overhead, making it impractical as a deployment solution. Therefore, we treat tree merge as a motivation rather than a practical solution.
To overcome these limitations, we propose RM+, which introduces multi-stream communication overlap during each merge stage, allowing communication to be overlapped with multiple computation segments. Furthermore, we propose Cross-Hardware Query Parallelism to decouple the synchronization overhead caused by cross-node and cross-NUMA communication. These designs significantly reduce the overall K,V communication overhead, improve GPU utilization, and ultimately achieve substantial end-to-end performance improvements.
In summary:
Both our work and Tree Attention are inspired by the traditional tree-merge idea, but they are applied to different stages of the communication process. More importantly, we do not simply adopt the tree-merge strategy; instead, we perform targeted optimizations specifically for the K,V communication challenges in general distributed attention scenarios.
Our key contributions, including RM+ and Cross-Hardware Query Parallelism, which constitute the truly practical solutions in our work, are fundamentally independent of the tree-based idea and the Tree Attention work. These techniques address the unique communication and synchronization challenges in distributed attention and represent the core contributions of our paper.
Finally, we discuss the experimental comparison with Tree Attention. As introduced above, all K,V communication is no longer required in the inference decoding stage, and the only remaining communication is the aggregation of the final outputs. Therefore, for distributed attention methods that are designed for general K,V communication scenarios, including Attention-2D, Striped-Attention, TASP, and our method, the communication patterns eventually become equivalent to Ring-Attention in this stage. Consequently, the experimental results should also be consistent with the Ring-Attention results reported in work of Tree Attention.
Therefore, we acknowledge that Tree Attention provides an excellent optimization for the distributed attention decoding stage. However, its optimization objective is different from ours. More importantly, due to its algorithmic design, it cannot be applied to the training stage or the prefill stage of inference. Therefore, a more comprehensive comparison with our method is not applicable.
We hope this additional analysis fully addresses the reviewer’s concerns and highlights the strengths of our method.