potentialpaper

CHARM+: Cross-Hardware Attention with Re-Merge Multistream Mechanism

Xinhang Zhang, Boning Zhang, Chengchun Liu, Chunpu Li, Lei Sun, Weifeng Zhang, Limin Xiao

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. CHARM+ restructures sequence-parallel attention into hierarchical, parallel communication stages while separating cross- and intra-hardware traffic, reducing synchronization overhead and achieving up to 3.9× speedup over Ring-Attention.

Abstract. As sequence lengths continue to grow, distributed attention based on sequence parallel (e.g., Ring-Attention) has become a mainstream solution for large language models (LLMs). Nevertheless, inherent communication dependencies limit computation–communication overlap, reducing GPU utilization. Moreover, in cross-hardware (NUMA or node) architectures, due to imbalanced communication bandwidth, frequent communication synchronization will limit overall performance. Based on these insights, we propose CHARM+, Cross-Hardware Attention with Re-Merge Multistream Mechanism. We reorganize sequential communications into several levels and achieve intra-level parallelism and computation overlap. Furthermore, we decouple cross-hardware communication from intra-hardware communication, eliminating synchronization overhead caused by bandwidth imbalance. Forward and backward algorithms were evaluated on multiple hardware architectures and consistently outperformed state-of-the-art methods. Compared to Ring-Attention, our forward and backward algorithms achieve average speedups of 1.3×1.3\times and 1.7×1.7\times on a dual-NUMA PCIe architecture, and $2.8\times $ and 3.9×3.9\times on a dual-node NVLink architecture, respectively.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
2 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Ring-Attention has become a mainstream solution for LLMs. Nevertheless, inherent communication dependencies limit the overlap between computation and communication, which reduces GPU utilisation. This paper proposes to reorganise sequential communications into several levels and achieves intra-level parallelism together with computation overlap, allowing fast intra-node links to densely compute local KV blocks and thereby completely hide cross-node latency. Extensive evaluations claims to achieve up to 2.8x forward and 3.9x backward speedups.

Weaknesses that may be crucial for the final decision

  • Settings which demonstrate a clear benefits: Reviewer u7w9 is asking for a real-life setting in which this method would apply, along with configurations (cN4n) that could explicitly demonstrate the need for overlap compared to vanilla Ring-Attention
  • Missing reference: Reviewer NKqX pointed out an important missing reference; it would be of great help to contrast the difference with this related work and possibly use it as a baseline
  • Several experiments have been requested by the reviewers that do not require a significant amount of compute. Those that amount to sanity checks or easy benchmarking, rather than heavy compute, should be carried out
  • Reviewer u7w9 questions the algorithmic correctness of the paper.

Weaknesses

  • A cleaner evaluation of the method across concurrent works would be appreciated
  • The presentation should be made neater throughout the paper
Final justification

In the review by cN4n, the detailed discussion clarified my main concerns. Overall, there appears to be broad consensus that this is a strong paper deserving acceptance. The authors did a good job addressing the reviewers comments, and I view the remaining revisions as minor. Consequently, I believe the paper is ready for publication and support its acceptance.

Area Chair 6YNj · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Ring-Attention has become a mainstream solution for LLMs. Nevertheless, inherent communication dependencies limit the overlap between computation and communication, which reduces GPU utilisation. This paper proposes to reorganise sequential communications into several levels and achieves intra-level parallelism together with computation overlap, allowing fast intra-node links to densely compute local KV blocks and thereby completely hide cross-node latency. Extensive evaluations claims to achieve up to 2.8x forward and 3.9x backward speedups.

Weaknesses that may be crucial for the final decision

  • Settings which demonstrate a clear benefits: Reviewer u7w9 is asking for a real-life setting in which this method would apply, along with configurations (cN4n) that could explicitly demonstrate the need for overlap compared to vanilla Ring-Attention
  • Missing reference: Reviewer NKqX pointed out an important missing reference; it would be of great help to contrast the difference with this related work and possibly use it as a baseline
  • Several experiments have been requested by the reviewers that do not require a significant amount of compute. Those that amount to sanity checks or easy benchmarking, rather than heavy compute, should be carried out
  • Reviewer u7w9 questions the algorithmic correctness of the paper.

Weaknesses

  • A cleaner evaluation of the method across concurrent works would be appreciated
  • The presentation should be made neater throughout the paper
Final justification

In the review by cN4n, the detailed discussion clarified my main concerns. Overall, there appears to be broad consensus that this is a strong paper deserving acceptance. The authors did a good job addressing the reviewers comments, and I view the remaining revisions as minor. Consequently, I believe the paper is ready for publication and support its acceptance.

1 comment
Authors · CommentOpenReview ↗

Dear AC,

We sincerely appreciate the time and effort that you and the reviewers devoted to both the review and rebuttal process. Our paper received several constructive suggestions and we comprehensively addressed the key concerns by providing detailed clarifications and supporting evidence. These include:

1. Concerns Regarding the Experimental Setup

A. Some baselines are restricted to specific sequence lengths and we followed their required settings. To demonstrate the generality of our method, we also evaluated it across a wide range of sequence lengths and consistently observed significant performance improvements.

B. Our method modifies the communication--computation overlap mechanism while keeping the underlying Ring Attention computation unchanged. Therefore, the observed speedups can be attributed primarily to reduced exposed communication time, suggesting more effective communication--computation overlap than Ring Attention.

2. Missing reference

We clarified the distinctions between our work and Tree Attention, particularly in terms of core contributions and optimization objectives.

3. Required Experiments

We completed all required experiments during the rebuttal, beyond those already included in the appendix. This includes more baseline comparisons, end-to-end evaluations on larger models, and experiments on extremely long sequences.

4. Correctness of the Algorithm

We have clarified the correctness of our algorithm from both theoretical and experimental perspectives.

A. Theoretical correctness. Prior works (e.g., Ring Attention and Attention2D) have established that the aggregation order of local attention outputs does not affect the correctness of the final global attention result. Therefore, our communication optimization preserves the correctness of the original algorithm.

B. Numerical verification. We further provided detailed numerical validation in the appendix, which demonstrates that our implementation is numerically equivalent to the reference implementations.


Following the second round of rebuttal, we are greatly encouraged by the positive feedback from all reviewers and sincerely appreciate their thoughtful feedback and constructive comments. We hope these responses help clarify the contributions, correctness, and effectiveness of our approach. Thank you again for your consideration.

Best regards,

The Authors

Reviewer NKqXOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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

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.

Formatting concerns

No concerns

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

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:

Method Ring Pattern Comm.-Comp. Dependency Architecture Specific Critical Path Open Source
Ring-Attention ✓ ✓ PCIe O(n) ✓ (Forward + Backward)
Zigzag-Ring ✓ ✓ PCIe O(n) ✓ (Forward + Backward)
Attention2D ✓ ✓ PCIe O(√n) ✗
TokenRing ✓ ✓ NVLink O(n) ✓ (Forward)
TASP ✓ ✓ NVLink O(n) ✓ (Forward)
Mesh-Attention ✓ ✓ NVLink O(n) ✗
CHARM+ ✗ ✗ PCIe / NVLink O(log n) Released in Supplementary Material

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.

B Seq Hidden T_comm T_comp CCR Ring TokenRing CHARM+ Speedup
2 215,040 12×192 790.23 858.51 1.09 948.76 799.00 619.16 1.53×
2 107,520 12×192 261.60 230.67 0.88 320.51 288.42 190.35 1.68×
4 107,520 12×192 525.40 457.61 0.87 650.41 543.08 373.18 1.74×
2 53,760 12×192 132.64 64.76 0.49 141.42 128.27 67.07 2.11×
4 53,760 12×192 264.55 127.76 0.48 282.00 255.92 129.01 2.19×
8 53,760 12×192 528.23 248.91 0.47 555.07 505.35 254.95 2.18×
2 26,880 12×192 67.16 20.46 0.30 66.11 61.77 27.53 2.40×
4 26,880 12×192 134.19 37.20 0.28 133.21 123.93 51.07 2.61×
8 26,880 12×192 266.00 72.29 0.27 266.97 249.17 99.96 2.67×
8 6,720 12×192 67.48 9.14 0.14 64.84 61.53 23.04 2.81×
16 6,720 12×192 134.25 16.28 0.12 129.11 122.80 43.92 2.94×
32 6,720 12×192 267.13 30.46 0.11 257.92 245.96 85.67 3.01×
64 6,720 12×192 533.38 58.88 0.11 515.50 487.76 167.87 3.07×
2 3,360 12×192 9.70 2.29 0.24 9.26 10.49 7.80 1.19×
4 3,360 12×192 17.60 3.09 0.18 16.98 17.03 8.23 2.06×
8 3,360 12×192 34.11 4.18 0.12 32.79 31.32 12.61 2.60×
16 3,360 12×192 67.53 7.04 0.10 64.65 61.17 23.03 2.81×
32 3,360 12×192 134.23 12.34 0.09 128.10 121.93 42.87 2.99×
64 3,360 12×192 267.61 22.86 0.09 255.88 244.47 83.59 3.06×
128 3,360 12×192 534.23 43.92 0.08 511.53 486.60 165.18 3.10×

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 n GPUs in approximately log(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:

  1. 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.

  2. 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.

Authors · CommentOpenReview ↗

Dear Reviewer NKqX,

We thank you for your insightful comments and the opportunity to clarify the points raised in your review. We have carefully prepared a detailed response to address the concerns you raised, with particular emphasis on clarifying the work on Tree Attention. We hope that our responses have adequately addressed your concerns and clarified the issues you identified. If you have any further questions or concerns regarding our responses, we would be pleased to provide further clarification.

Thank you once again for your valuable time and consideration.

Best regards,

The Authors

Reviewer cN4nOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose CHARM+, which reorganizes the KV exchange into a logarithmic-level merge topology. CHARM+ utilizes multistream parallelism to overlap Q and KV transfers, and introduces cross-hardware query parallelism. This specific design isolates slow inter-node links to transmit only queries in the background, allowing fast intra-node links to densely compute local KV blocks, thereby completely hiding the cross-node latency. Extensive evaluations demonstrate that CHARM+ achieves up to 2.8x forward and 3.9x backward speedups on a dual-node NVLink architecture compared to standard Ring-Attention.

Strengths and weaknesses

[Strengths]

  • CHARM+ transforms the O(n)O(n) linear communication path of Ring-Attention into a logarithmic O(logn)O(logn) tree-based merge structure, reducing synchronization barriers.

  • The proposed Cross-Hardware Query Parallelism effectively uses the high-bandwidth intra-node pipeline (e.g., NVLink) to perform dense computation while hiding the latency of slow cross-node Q-transfers in the background. By decoupling QQ and KVKV streams, the method enables parallel communication and computation, successfully filling the GPU idle "bubbles" that plague standard ring-based implementations.

  • The method delivers impressive speedups—up to 2.8x forward and 3.9x backward on NVLink-based dual-node systems—demonstrating strong practical relevance for high-end distributed training/inference clusters.

[Weaknesses]

  • Overstated complexity claim. The O(logn)O(log n) analysis describes synchronization depth rather than total communication cost, whose bandwidth term remains O(n)O(n); several communication costs are omitted.

  • The overall speedup can sometimes be marginal. E.g., a few individual configurations in Figure 6(b) appear to provide little or no improvement over Ring-Attention.

Questions
  • How does the proposed method fundamentally differ from recursive-doubling/tree-based collectives and existing hierarchical or 2D distributed-attention methods?
  • Please provide more detailed analysis covering message size, total communication volume, and Q/KV/output communication instead of only discussing the O(logn)O(log n) complexity.
Limitations

yes

Final justification

The authors' rebuttal well addresses my main concerns, so I raised my score from 4 to 5.

Formatting concerns

NA

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely appreciate the reviewer’s recognition of our work and valuable suggestions. Our responses are provided below.

Weakness 1: Clarification on overstated complexity claim

We respectfully note that our main claim throughout the paper is that we reduce the critical path of non-overlapping communication to O(logn), rather than reducing the total communication cost directly. As discussed in Section 3.1, due to the strong communication–computation dependency in Ring-Attention, its critical path remains O(n). Therefore, it cannot effectively overlap communication with computation. In contrast, inspired by the merge idea, our method reduces the critical path to O(logn), allowing each communication to overlap with multiple computation. More importantly, with the RM+ optimization, our method further enables communication–communication overlap. As a result, the overall execution time is reduced, including the total communication cost.

Weakness 2: Little or no improvement in Figure 6(b)

We sincerely thank the reviewer for pointing out this issue. We would like to clarify that the observed phenomenon is caused by two factors:

No improvement

The lack of improvement is mainly due to the distortion introduced by extremely small individual Q/K/V sizes. As discussed in Appendix C.1 and Table 5, intra-node communication on a single H20 GPU node is extremely efficient. Therefore, when the data chunk size becomes too small, the measured performance can be distorted. By profiling with Nsight, we found that in such cases, a large number of time bubbles are introduced, resulting in considerable synchronization overhead and ultimately degrading the overall performance. In real-world scenarios, such extremely small data chunks rarely occur. Therefore, this corner case has limited practical significance and the observed performance degradation should be viewed as measurement distortion rather than a representative limitation of our method. We provide partial data corresponding to Figure 6(b) below. It can be observed that when the combination of (batch size, sequence length, hidden dimension) results in an excessively small data chunk, this issue occurs.

B Seq Hidden T_comm T_comp 1/CCR Ring (F) CHARM+ (F) Speedup
8 1792 12×192 5.32 2.35 0.44 6.26 6.49 0.96×
8 1792 12×128 3.74 1.80 0.48 4.67 5.98 0.78×
16 1792 12×192 9.81 4.55 0.47 10.64 8.57 1.24×
16 1792 12×128 6.88 3.09 0.45 7.82 7.23 1.08×
32 1792 12×192 18.76 8.83 0.47 20.69 12.53 1.65×
32 1792 12×128 12.83 5.95 0.46 13.96 9.80 1.42×
64 1792 12×192 24.43 17.35 0.71 27.87 21.57 1.29×
64 1792 12×128 16.58 11.60 0.70 19.00 15.22 1.25×
128 1792 12×192 25.33 34.13 1.35 40.51 38.95 1.04×
128 1792 12×128 17.23 22.81 1.32 27.10 26.85 1.01×
256 1792 12×192 39.16 67.82 1.72 83.61 75.61 1.11×
256 1792 12×128 26.40 45.02 1.69 55.61 51.24 1.09×
8 3584 12×192 9.78 5.72 0.58 10.82 9.21 1.17×
8 3584 12×128 6.80 4.13 0.61 7.58 8.20 0.92×
16 3584 12×192 18.80 11.16 0.60 21.11 14.03 1.50×
16 3584 12×128 12.81 8.06 0.63 14.40 11.41 1.26×
32 3584 12×192 24.40 21.66 0.88 29.48 24.59 1.20×
32 3584 12×128 16.60 15.83 0.95 20.99 18.48 1.14×
64 3584 12×192 25.35 42.58 1.67 49.01 45.46 1.08×
64 3584 12×128 17.29 31.24 1.82 35.44 33.49 1.06×
128 3584 12×192 39.43 84.76 2.13 100.52 89.18 1.13×
128 3584 12×128 26.51 61.68 2.33 72.33 64.69 1.12×
8 7168 12×192 18.86 17.93 0.95 22.28 19.64 1.13×
8 7168 12×128 12.84 11.96 0.93 15.03 14.48 1.04×
16 7168 12×192 24.53 34.86 1.43 42.50 35.19 1.21×
16 7168 12×128 16.62 23.59 1.43 28.31 24.89 1.14×

Limited improvement

As mentioned above, intra-node communication on H20 is extremely fast. Consequently, within a single node, communication time can easily become comparable to or even shorter than computation time (i.e., the cases with CCR > 1 in the table). Under such circumstances, a single communication segment is already insufficient to fully overlap with computation. Therefore, the communication–computation overlap opportunity is limited in such scenarios. The overall performance improvement from distributed attention optimization is consequently limited.

Question 1: Fundamental distinctions from existing approaches

Recursive-doubling/tree-based collectives

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 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.

Hierarchical or 2D distributed-attention methods

As mentioned in Section 2.2, we have already discussed that representative distributed-attention methods, such as Attention2D, are constrained by the ring-based communication pattern: "However, these approaches do not optimize the ring-based pattern. Reducing the ring length or enabling multiple rings to communicate in parallel does not eliminate the communication dependencies, nor does it improve the communication–computation overlap." Our method redesigns the communication pattern beyond the ring-based approach with strong communication–computation dependencies. Moreover, we explicitly decouples inter-node and inter-NUMA communication. These optimizations fundamentally improve the scalability and performance of distributed attention.

Question 2: Detailed analysis of communication

message size

In attention, the sizes of Q, K, V, and Out are identical. Therefore, the communication volume of transferring one block of Q/K/V/Out is the same. We assume that transferring one block of Q/K/V/Out requires one message (m). For simplicity, we assume that the computation time is negligible compared with the communication time.

Forward

For Ring Attention under an 8-GPU setting, each K/V transfer requires two messages. After receiving K/V, each GPU performs local attention computation and updates the output. It then waits for the next K/V communication to complete.

Since there are seven K/V communication steps in an 8-GPU ring, the total communication volume is

total communication volume = 2m * 7=14m

For CHARM+, the communication volume of each K/V transfer is the same as Ring Attention. When communicating Q, each Q transfer requires one message, followed by local attention computation. However, the resulting output cannot be directly accumulated locally and needs to be sent back to the original GPU for update, introducing another message after computation.

For an 8-GPU setting, our method performs four K/V transfers and three Q transfers. Therefore, the total communication volume is calculated as follows:

total communication volume = 2m * 4+(1m+1m)*3=14m

Backward

For Ring Attention under an 8-GPU setting, each K/V transfer requires two messages. After local attention computation, each GPU obtains dQ, dK, and dV. The dQ gradient can be accumulated locally, while dK and dV are gradients belonging to other GPUs and therefore need to be transferred back.

Therefore, each communication step requires four messages, including two messages for K/V transfer and two messages for transferring back dK and dV.

Since there are seven communication steps in an 8-GPU ring, the total communication volume

total communication volume = 4m * 7=28m

For CHARM+, the communication volume of each K/V transfer is the same as Ring Attention. During Q communication, each transfer requires sending Q, dOut, and Out, resulting in three messages. After local attention computation, the GPU obtains dQ, dK, and dV. Since dK and dV can be accumulated locally, only dQ, which belongs to another GPU, needs to be transferred back. Therefore, each Q communication step requires four messages in total.

For an 8-GPU setting, our method performs four K/V transfers and three Q transfers. The four K/V transfers require 16 messages in total. The three Q transfers require four messages each. Therefore, the total communication volume is:

total communication volume = 4m * 4+(3m+1m)*3=28m

This analysis demonstrates that CHARM+ does not reduce the theoretical communication volume. Instead, its advantage comes from reorganizing the communication pattern and improving communication overlap, which reduces the critical path and overall execution time.

Q/KV/output communication

The detailed communication of Q/K/V and output is illustrated in Figure 3(f) of the main paper, where we simulate the complete execution workflow of CHARM+ on an 8-GPU system.

Authors · CommentOpenReview ↗

Dear Reviewer cN4n,

We sincerely appreciate the time and effort you have devoted to reviewing our work. We have carefully prepared a detailed response to address the concerns you raised. We hope that our responses have adequately addressed your concerns and clarified the issues you identified. If you have any further questions or suggestions, we would be pleased to address them.

Thank you once again for your valuable time and consideration.

Best regards,

The Authors

Reviewer cN4n · CommentOpenReview ↗

Thank you for the detailed rebuttal. It addresses my initial concerns and I have raised my score to 5 accordingly.

Reviewer u7w9OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents CHARM+, which is a novel method for sequence parallelism. CHARM+ leverages the observation that intra-NUMA/node and inter NUMA/node communication bandwidth is vastly different and proposed a merge-based communication pattern to efficiently exchange the KV between devices. Moreover, it further introduced "Re-Merge Multistream" to not only transfer KV but also Q as well, further increasing computation-communication overlap. As a result, CHARM+ can achieve up to 3.9x speedup over the baseline.

Strengths and weaknesses

Strengths:

  1. The authors have a good motivation that SP can be affected by the imbalanced communication bandwidth between intra and inter NUMA/node.
  2. The authors have proposed a reasonable strategy to increase the opportunities for overlapping.
  3. The idea of separating cross-hardware query movement from intra-hardware KV processing is interesting and appears practically effective.
  4. CHARM+ has delivered impressive performance as demonstrated in experiences under a diverse set of settings.

Weaknesses:

  1. I believe the authors should place the Algorithm sections in the main paper body as it is critical for understanding your work.
  2. Figure 3 and 4 are kind of confusing to me at the first glance. For example, the authors might want to use different colors for computation and communication and might want to label which GPU the Out will go.
  3. The algorithmic correctness is under-specified. Exact attention requires careful online softmax accumulation across KV blocks, especially with causal masks, backward pass, and mixed precision. The paper says causal masks are ignored in illustrations, but it should clearly prove or explain correctness for causal attention and backward propagation.
  4. The authors do not have real experimental analysis to showcase the drawbacks of current methods as mentioned in motivation.
  5. The blue line for TASP is only shown for forward in Figure 7 but not for backward and total time.
  6. Typo in Figure 4: "The Compution and ..." -> "The Computation and ..."
  7. The authors did not discuss the limitations of their method even though they claimed limitations are discussed in the checklist.
Questions
  1. The author stated in the paper that Ring-Attention "limits the communication-computation overlap and reduces GPU utilization". However, based on my personal experiences, the communication and computation can be generally well overlapped in Ring-Attention. Can the authors show evidence in your setup that Ring-Attention does not overlap computation and communication well?
  2. The experiment settings are not consistent. For example, Sequence length can be up to 26,880 in Table 4 for perf on H100 but it is only up to 7168 in Table 3 and 8192 in Table 2. Can the authors make the experiment settings more consistent so that we can better gauge the performance fairly?
  3. The major purpose of sequence parallelism is to train models with long sequence lengths. However, I think the sequence lengths such as 1k to 8k used in the experiments are not long enough as these lengths can be easily trained with FSDP. I am wondering if the authors should expand the experiments to cover longer sequence lengths such as 16k, 32k, 64k and even 128k to better showcase CHARM+'s performance?
  4. Can the authors report end-to-end results on larger models than GPT3-857M?
Limitations
  1. Large-scale experiments in terms of sequence length and model size would be needed to support the authors' claim in this paper
Final justification

The paper's method is novel and effective, however, some more justifications are required as stated in my response to the author's rebuttal.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely appreciate the reviewers’ constructive comments and valuable suggestions. Below are our detailed responses.


Weakness-1 and Weakness-2: Presentation and figure issue

Due to the limited space in the main paper, we prioritized presenting more experimental results to demonstrate the effectiveness of our method, while placing the detailed algorithm implementation in the appendix. Meanwhile, we greatly appreciate the suggestion of using different colors to distinguish communication and computation, which would make Figures 3 and 4 more intuitive and easier to understand. In the revised version, we will further improve the visualization and presentation to provide a clearer explanation of our approach.


Weakness-3: Correctness proof of CHARM+

As mentioned in the main paper, we intentionally omitted the causal mask in the illustrations for better readability. However, in our implementation, we follow the standard attention formulation and settings, including the exact online softmax accumulation and causal mask handling. We have also thoroughly verified the correctness of our implementation against Ring-Attention, as detailed in Appendix C.4 and Table 7. For convenience, we include the results from Table 7 below.

Diff CHARM+(Max) CHARM+(Mean) Ring(Max) Ring(Mean)
out 8.34147e-04 4.51229e-05 8.07648e-04 4.24147e-05
lse 1.65642e-06 2.94155e-07 1.75893e-06 3.04284e-07
dq 1.26290e-03 3.29077e-05 1.25977e-03 3.27659e-05
dk 2.87713e-03 3.53419e-05 2.89413e-03 3.53193e-05
dv 4.47177e-03 3.42940e-05 4.48120e-03 3.42894e-05

As shown, our final attention outputs are identical to values produced by Ring-Attention, demonstrating the correctness of our methods.


Weakness-4: Real experimental analysis to showcase the drawbacks of current methods

Our ablation studies in Section 4.4 not only verify the effectiveness of our proposed method but also clearly demonstrate the limitations of Ring-Attention discussed in the motivation section. Specifically, as mentioned in our motivation, Ring-Attention and related approaches suffer from two major limitations:

1. Insufficient GPU utilization caused by the dependency between computation and communication in the ring pattern

In the ring-based pattern, the sequential dependency between computation and communication prevents them from being fully overlapped, leading to GPU resource under-utilization. In contrast, our RM+ design breaks this dependency and enables more effective computation-communication overlap, thereby improving GPU utilization. As shown in our experiments on both 4-GPU H20 and 8-GPU H20 systems (under the setting without PCIe link contention), RM+ achieves significant improvements over Ring-Attention.

2. Large synchronization overhead in cross-node and cross-NUMA scenarios

Ring-Attention suffers from substantial synchronization overhead when scaling across nodes due to its communication pattern. Our proposed Cross-Hardware Query Parallelism directly addresses this issue by decoupling inter-node communication from intra-node communication, eliminating the synchronization overhead and substantially improving scalability in multi-node environments. This advantage is clearly reflected in our 16-GPU H20 experiments, where our method achieves significant performance improvements over both Ring-Attention and RM+, which do not resolve this fundamental limitation.


Weakness-5: TASP does not have backward time

As mentioned in Footnote 2 of the main paper, TASP does not provide the implementation of the backward algorithm. Therefore, we are unable to conduct a complete end-to-end comparison with TASP, including the backward time and the total time.


Weakness-6: Typo error

We sincerely thank the reviewer for pointing out this typo error. We will correct it in the revised version.


Weakness-7: Limitation of CHARM+

The limitation discussed by the reviewer is a common challenge for all distributed attention methods. Specifically, as the sequence length grows extremely long, attention computation gradually becomes the dominant performance bottleneck, while the proportion of communication time decreases accordingly.

As shown in the following experiment, when the sequence length reaches 400K, the computation time is larger than the communication time. In this scenario, further optimizing communication provides limited benefits to the overall performance.

B Seq Hidden T_comm T_comp CCR Ring (F) TASP (F) CHARM+ (F) Speedup
1 430080 12×192 320.14 335.61 1.05 358.16 332.21 235.19 1.52×
2 430080 12×192 636.30 666.03 1.04 724.97 654.15 458.31 1.58×

Question-1: The evidence that Ring-Attention does not overlap computation and communication well

As discussed in the main paper, Ring-Attention introduces a strong dependency between computation and communication, where each computation can only overlap with a corresponding single communication. When the communication time of a single buffer is significantly longer than the computation time, a large portion of the communication cannot be hidden, leaving the GPU idle during execution. In contrast, our method breaks this dependency and enables one communication to overlap with multiple computations. It significantly reduces GPU idle time and improves overall execution efficiency. Note that we do not modify the fundamental computation pattern of Ring-Attention. Therefore, when the overall execution time is reduced, it directly indicates that the unhidden communication time has been reduced, demonstrating that our approach achieves more effective communication-computation overlap. Consequently, all of our experimental results provide strong evidence that Ring-Attention cannot achieve the same level of overlap efficiency under these scenarios.


Question-2: Inconsistent setting of sequence

As mentioned in the main paper, TASP requires the sequence length to be divisible by n(n−1), where n is the number of GPUs. Therefore, for experiments with 8, 16, and 32 GPUs, we have to choose different sequence lengths due to this constraint. For experiments where TASP cannot be applied (e.g., backward performance evaluation), we follow the official sequence length configurations used in Ring-Attention. Across all experiments, we select comparable sequence lengths for fair comparisons. Furthermore, we provide extensive experiments with various sequence lengths in the appendix, all of which demonstrate consistent and strong performance improvements.


Question-3: Scenario of long sequence

As demonstrated by the massive experiments in the appendix, we evaluate our method extensively under various long-sequence settings, with the maximum sequence length reaching 215K tokens. Across all these settings, our method consistently achieves significant performance improvements. For convenience, we include the partial results from the appendix below.

B Seq Hidden T_comm T_comp CCR Ring (F) TASP (F) CHARM+ (F) Speedup
1 215040 12×192 81.49 86.01 1.06 116.76 86.93 66.74 1.75×
2 215040 12×192 164.31 171.51 1.04 241.03 171.91 125.43 1.92×
1 107520 12×192 38.34 23.16 0.60 44.08 26.36 21.43 2.06×
2 107520 12×192 74.25 45.20 0.61 89.20 51.46 42.28 2.11×
4 107520 12×192 146.17 88.94 0.61 182.15 101.74 81.88 2.22×

We hope these results in the appendix can address the reviewer’s concerns regarding scalability to long sequences.


Question-4: End-to-end results on larger models than GPT3-857M

Below are our results obtained with official GPT-350M and GPT-1.3B on 16 L20.

Size Batch Seq Attention/MLP Ring (ms) Ring (Memory) CHARM+ (ms) CHARM+ (Memory) Speedup
350M 16 2048 1:1 10082.6 11372 4847.0 11518 2.08×
350M 8 4096 1.5:1 10032.6 11348 4871.5 11544 2.06×
350M 4 8192 2.5:1 9914.5 11436 5173.6 11552 1.92×
350M 2 16384 4.5:1 10089.5 12112 5637.3 12170 1.79×
Size Batch Seq Attention/MLP Ring (ms) Ring (Memory) CHARM+ (ms) CHARM+ (Memory) Speedup
1.3B 16 2048 0.75:1 21505.5 30816 11738.3 31602 1.83×
1.3B 8 4096 1:1 22073.7 31190 11768.1 31546 1.88×
1.3B 4 8192 1.5:1 21857.8 31414 12097.5 32030 1.81×
1.3B 2 16384 2.5:1 22064.5 32270 12796.6 32312 1.72×

Since our optimization specifically targets distributed attention, increasing the model size does not fundamentally change the attention execution characteristics. Specifically, changing model configurations such as the number of layers and attention heads or hidden size does not affect the core performance behavior of the attention mechanism. Due to the Attention and MLP FLOPS ratios of different models, the performance of our method may fluctuate. However, our proposed optimization remains effective across different model scales. Due to memory constraints, we are unable to conduct experiments on larger models. We hope this result can address the reviewer's question.


We hope this additional analysis fully addresses the reviewers’ concerns and highlights the strengths of our method.

Authors · CommentOpenReview ↗

Dear Reviewer u7w9,

We express our gratitude for your contributions during the review stage. We have carefully prepared a detailed response to address the concerns you raised. At your convenience, we would be grateful if you could kindly review it and reconsider our manuscript. We would be glad to address any further questions or suggestions you may have.

Thank you once again for your valuable time and consideration.

Best regards,

The Authors

Reviewer u7w9 · CommentOpenReview ↗

Thanks the authors for addressing my concerns. I'd like to raise my score. However, I think the paper could be enhanced with the following points:I

  1. show the real stats of profiling trace where ring attention's communication is not fully overlapped (at least, the comm can be covered up by the compute in ring attention on my node)
  2. show the scaling experiments of the CHARM over the seq length dimension, e.g. scale your method with 4k, 8k, 16k, 32k, 64k, 128k context length
Authors · CommentOpenReview ↗

We sincerely appreciate the reviewer’s recognition of our work. Regarding the two suggestions raised by the reviewer, our responses are as follows: 

  1. In the revised version, we will include real execution traces from Nsight to provide a more concrete visualization of the computation-communication overlap between Ring Attention and our method. We would be happy to provide these results to the reviewer now. However, according to the rebuttal policy: “No links. The only exception is if reviewers asked for code, you may send an anonymized link to the AC in an Official Comment, with all linked files anonymized.” If the reviewer would like to access these results now, we can provide an anonymized link to the AC through an Official Comment, and the reviewer can view the materials accordingly. 
  2. We sincerely thank the reviewer for this valuable suggestion. As mentioned in our rebuttal, we have provided comprehensive scaling experiments in the appendix. We evaluated sequences with different lengths ranging from 4K to 128K tokens( As mentioned in our rebuttal and main paper, TASP requires the sequence length to be divisible by n(n−1)). For convenience, we provide the complete experimental results below.  F means forward, B means backward | B | Seq | T_comm | T_comp | CCR | Ring(F/B) | TASP(F) | CHARM+(F/B) | Speedup | |:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| | 2| 126,976 | 95.28| 36.30| 0.38| 102.34/280.48| 94.17| 39.95/111.60| 2.56×/2.51× | | 4 | 63,488 | 96.13 | 22.28 | 0.23 | 95.79/280.96 | 93.60 | 36.62/86.70 | 2.62×/3.24× | | 8 | 63,488 | 187.15 | 41.96 | 0.22 | 193.04/560.30 | 184.12 | 70.62/166.44 | 2.73×/3.37× | | 4 | 31,744 | 50.19 | 8.99 | 0.18 | 45.25/141.71 | 48.38 | 18.91/40.55 | 2.39×/3.49× | | 8 | 31,744 | 96.07 | 15.58 | 0.16 | 92.39/280.92 | 93.35 | 35.27/75.16 | 2.62×/3.74× | | 16 | 31,744 | 187.54 | 28.46 | 0.15 | 185.42/559.34 | 183.22 | 68.17/146.01 | 2.72×/3.83× | | 4 | 15,872 | 26.73 | 5.09 | 0.19 | 22.29/71.35 | 25.24 | 10.93/22.11 | 2.04×/3.23× | | 8 | 15,872 | 50.16 | 7.13 | 0.14 | 44.77/141.53 | 48.23 | 18.47/37.75 | 2.42×/3.75× | | 16 | 15,872 | 96.20 | 11.93 | 0.12 | 89.27/279.85 | 93.30 | 34.64/70.62 | 2.58×/3.96× | | 32 | 15,872 | 186.74 | 21.26 | 0.11 | 180.66/558.53 | 183.29 | 66.85/137.84 | 2.70×/4.05× | | 8 | 7,936 | 27.24 | 5.01 | 0.18 | 22.31/71.05 | 25.31 | 10.83/21.27 | 2.06×/3.34× | | 16 | 7,936 | 50.01 | 6.33 | 0.13 | 43.95/141.24 | 48.34 | 18.34/36.61 | 2.40×/3.86× | | 32 | 7,936 | 96.10 | 10.17 | 0.11 | 89.66/278.37 | 93.28 | 34.44/69.02 | 2.60×/4.03× | | 64 | 7,936 | 186.69 | 17.81 | 0.10 | 179.13/556.24 | 182.93 | 66.48/134.48 | 2.69×/4.13× | | 16 | 3,968 | 27.24 | 5.12 | 0.19 | 22.29/71.33 | 25.23 | 10.90/20.95 | 2.04×/3.41× | | 32 | 3,968 | 50.60 | 6.31 | 0.12 | 44.73/141.84 | 48.17 | 18.39/36.35 | 2.43×/3.90× | | 64 | 3,968 | 96.26 | 9.56 | 0.10 | 89.71/279.62 | 93.11 | 34.44/68.40 | 2.60×/4.09× | | 128 | 3,968 | 189.89 | 16.43 | 0.09 | 178.51/560.63 | 183.09 | 66.43/133.05 | 2.69×/4.21× |
Reviewer Ho8cOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

CHARM+ speeds up distributed attention for long-context LLMs. The baseline, Ring-Attention, passes KV around a ring of GPUs sequentially. Each transfer has to wait for the previous one. On top of that, when GPUs span NUMA boundaries or nodes, the slow cross-hardware links create more waiting. CHARM+ replaces the ring with a log-depth merge tree, parallelizes Q and KV communication on separate streams, and decouples the slow cross-hardware Q transfers from the fast intra-hardware KV transfers. Both forward and backward are implemented. They report up to 1.4x/1.9x forward/backward speedup on dual-NUMA PCIe and 3.2x/4.3x on dual-node NVLink versus Ring-Attention, and also beat TASP.

Strengths and weaknesses

Strengths:

  • The bottleneck is relevant with models having longer contexts and well-modeled. Section 3.1 writes down the unhidden communication time as a sum of max(0, T_comm - T_comp) and math leading to O(n) to O(log n) looks correct.
  • Three mechanisms, each solving a different problem. Merge handles the sequential dependency. Multistream handles intra-level overlap. Cross-hardware Q decoupling handles bandwidth imbalance. They stack cleanly.
  • Both forward and backward are implemented, many distributed-attention papers only do forward. The bigger backward speedup (3.9x vs 2.8x on NVLink) makes sense because backward has a longer compute-comm path.
  • PCIe and NVLink both evaluated. The authors are honest that multistream gains are smaller on PCIe because of link contention.

Weaknesses:

  • The component ablation could be cleaner. Ring vs Ring+Merge vs Ring+Merge+Multistream vs full CHARM+ would show how much each piece contributes.
  • Comparison breadth is narrow. Attention-2D, Mesh-Attention, and Striped-Attention are mentioned in related work but not in the results table. Adding one of them would strengthen the empirical case.
  • Memory overhead of multistream Q parallelism is not reported. Q is now being communicated in addition to KV. Some accounting of the memory cost would help readers decide whether to use this based on context lengths.
Questions
  1. Component ablation: Ring vs Ring+Merge vs Ring+Merge+Multistream vs full CHARM+. How much of the 3.9x NVLink backward speedup is from Cross-Hardware Q parallelism alone?
  2. Maybe makes sense to include at-least one of Attention-2D, Mesh-Attention, or Striped-Attention in comparison?
  3. What is the memory overhead of multistream Q parallelism on a representative model?
  4. Does CHARM+ still work at 256K and 1M context, and if memory is already constrained for the hardware?
Limitations

The paper acknowledges PCIe link contention and that gains are smaller there. What is missing is a discussion of how the method behaves at the very long context lengths (256K+) it is designed to enable. The extra buffers from multistream and the merge tree could matter a lot there, and the paper does not discuss the tradeoff.

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely appreciate the reviewer’s recognition of our work and valuable suggestions. Our responses are provided below.


Weakness 1& Question 1: Clarification on component ablation

As illustrated in Figure 4(a) of our paper, directly applying merge communication introduces a severe memory overhead: at the ii-th merge level, each GPU needs to simultaneously maintain 2i2^i buffers. Therefore, in multi-GPU and multi-node scenarios, the memory requirement grows exponentially with the number of devices.

Moreover, as we stated in the paper, “the merge communication mechanism reduces dependencies between ring communications, but communication at each merge level still follows the ring pattern.”, Ring+Merge is only used as our motivation to reveal the potential of the communication mechanism, rather than a practical solution. In contrast, Merge+Multistream (i.e., RM+) is the actual deployable solution. It effectively eliminates the communication dependency issue in Ring-Attention while avoiding the exponential memory growth introduced by naive merge communication.

Therefore, our ablation study compares Ring vs. Ring+ (RM+) vs. Full CHARM+, which respectively demonstrate the performance gains brought by our two major contributions: RM+ and Cross-Hardware Query Parallelism. The speedup achieved by Cross-Hardware Q Parallelism is evident from the 16×H20 results in Table 3 of our paper. Without decoupling intra-node and inter-node communication, the increased frequency of cross-node communication makes RM+ even slower than Ring-Attention. In contrast, Cross-Hardware Q Parallelism confines RM+ to within each node, enabling RM+ to fully exploit high-bandwidth intra-node interconnects. Moreover, by decoupling intra-node and inter-node communication, it substantially improves overall performance, which shows essentially the same behavior in the backward.


Weakness 2 & Question 2: More recent works

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:

Method Ring Pattern Comm.-Comp. Dependency Architecture Specific Critical Path Open Source
Ring-Attention ✓ ✓ PCIe O(n) ✓ (Forward + Backward)
Zigzag-Ring ✓ ✓ PCIe O(n) ✓ (Forward + Backward)
Attention2D ✓ ✓ PCIe O(√n) ✗
TokenRing ✓ ✓ NVLink O(n) ✓ (Forward)
TASP ✓ ✓ NVLink O(n) ✓ (Forward)
Mesh-Attention ✓ ✓ NVLink O(n) ✗
CHARM+ ✗ ✗ PCIe / NVLink O(log n) Released in Supplementary Material

As shown in the table, the implementations of Attention2D and Mash-Attention have not yet been open-sourced. We would like to clarify that Zigzag-Ring is essentially equivalent to Striped-Attention (the experiments shown in Figure 7 of our paper). After further investigation, we also found that TokenRing has been open-sourced, and therefore we include a comparison with TokenRing.

The following experiments are conducted on 16 NVIDIA H20 GPUs:

B Seq Hidden T_comm T_comp CCR Ring TokenRing CHARM+ Speedup
2 215,040 12×192 790.23 858.51 1.09 948.76 799.00 619.16 1.53×
2 107,520 12×192 261.60 230.67 0.88 320.51 288.42 190.35 1.68×
4 107,520 12×192 525.40 457.61 0.87 650.41 543.08 373.18 1.74×
2 53,760 12×192 132.64 64.76 0.49 141.42 128.27 67.07 2.11×
4 53,760 12×192 264.55 127.76 0.48 282.00 255.92 129.01 2.19×
8 53,760 12×192 528.23 248.91 0.47 555.07 505.35 254.95 2.18×
2 26,880 12×192 67.16 20.46 0.30 66.11 61.77 27.53 2.40×
4 26,880 12×192 134.19 37.20 0.28 133.21 123.93 51.07 2.61×
8 26,880 12×192 266.00 72.29 0.27 266.97 249.17 99.96 2.67×
8 6,720 12×192 67.48 9.14 0.14 64.84 61.53 23.04 2.81×
16 6,720 12×192 134.25 16.28 0.12 129.11 122.80 43.92 2.94×
32 6,720 12×192 267.13 30.46 0.11 257.92 245.96 85.67 3.01×
64 6,720 12×192 533.38 58.88 0.11 515.50 487.76 167.87 3.07×
2 3,360 12×192 9.70 2.29 0.24 9.26 10.49 7.80 1.19×
4 3,360 12×192 17.60 3.09 0.18 16.98 17.03 8.23 2.06×
8 3,360 12×192 34.11 4.18 0.12 32.79 31.32 12.61 2.60×
16 3,360 12×192 67.53 7.04 0.10 64.65 61.17 23.03 2.81×
32 3,360 12×192 134.23 12.34 0.09 128.10 121.93 42.87 2.99×
64 3,360 12×192 267.61 22.86 0.09 255.88 244.47 83.59 3.06×
128 3,360 12×192 534.23 43.92 0.08 511.53 486.60 165.18 3.10×

Overall, CHARM+ consistently achieves substantial speedups over existing approaches, including TokenRing, across different sequence lengths.


Weakness 3 & Question 3: Detailed memory analysis

We have provided a detailed memory analysis for each component of CHARM+ in Appendix B.2, along with corresponding experimental evaluations in the main paper. As described in our formulation, both forward and backward propagation introduce only a constant number of additional buffers. However, thanks to effective buffer reuse, the experimental results show that the peak memory consumption of CHARM+ is only 3%–5% higher than Ring-Attention, demonstrating that our approach introduces negligible memory overhead in practice. Regarding the memory overhead on a representative model, we report the memory consumption of official GPT-350M and GPT-1.3B in our end-to-end experiments. The models are deployed using Megatron on 16 L20 GPUs, and the results are presented as follows.

Size Batch Seq Ring (ms) Ring (Memory) CHARM+ (ms) CHARM+ (Memory) Speedup
350M 16 2048 10082.6 11372 4847.0 11518 2.08×
350M 8 4096 10032.6 11348 4871.5 11544 2.06×
350M 4 8192 9914.5 11436 5173.6 11552 1.92×
350M 2 16384 10089.5 12112 5637.3 12170 1.79×
Size Batch Seq Ring (ms) Ring (Memory) CHARM+ (ms) CHARM+ (Memory) Speedup
1.3B 16 2048 21505.5 30816 11738.3 31602 1.83×
1.3B 8 4096 22073.7 31190 11768.1 31546 1.88×
1.3B 4 8192 21857.8 31414 12097.5 32030 1.81×
1.3B 2 16384 22064.5 32270 12796.6 32312 1.72×

Weakness 4: Impact on extremely long sequences

For extremely long sequence lengths, computation gradually becomes the dominant bottleneck. As a result, the benefit of communication-computation overlap becomes limited, causing the performance improvement of all distributed attention approaches to diminish. CHARM+ is also inevitably affected by this trend. We further conducted experiments with sequence lengths up to 800K tokens at 16 H20 and 16 L20.

L20

B Seq Hidden T_comm T_comp CCR Ring (F) TASP (F) CHARM+ (F) Speedup
1 430080 12×192 1589.86 973.00 0.61 1706.54 2089.55 750.58 2.27×
2 430080 12×192 2678.61 1941.81 0.72 3500.11 3973.16 1422.93 2.46×
1 860160 12×192 4748.55 3850.26 0.81 4357.72 4007.86 2558.13 1.70×

H20

B Seq Hidden T_comm T_comp CCR Ring (F) TASP (F) CHARM+ (F) Speedup
1 430080 12×192 320.14 335.61 1.05 358.16 332.21 235.19 1.52×
2 430080 12×192 636.30 666.03 1.04 724.97 654.15 458.31 1.58×

The effectiveness of our method is mainly constrained by whether T_comm can be fully overlapped with T_comp (CCR<1), rather than by the sequence length. Even with a sequence length of 800K, T_comm remains larger than T_comp on the L20 server. In such a scenario, it allows effective communication-computation overlap, resulting in significant performance improvements. In contrast, when the sequence length reaches 400K, the computation time of each attention block becomes larger than the corresponding communication time on the H20 server. Therefore, the potential gains from communication optimization become limited, leading to smaller performance improvements for distributed attention methods in general.


We sincerely appreciate the reviewer's recognition of our work and hope that additional clarifications have addressed all of the concerns.

Authors · CommentOpenReview ↗

Dear Reviewer Ho8c,

We sincerely appreciate the time and effort you have already devoted to reviewing our work. We have carefully prepared a detailed response to address the concerns you raised. When convenient, we would be grateful if you could kindly review it and let us know whether it resolves the points in question. We would be glad to address any further questions or suggestions you may have.

Thank you once again for your valuable time and consideration.

Best regards,

The Authors

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…