- Rating
- 3
- Clarity
- 2
- Confidence
- 4
- Originality
- 1
- Quality
- 3
- Significance
- 3
Read review
Summary
- The paper proposes FCP (Flexible Context Parallelism), a dynamic context parallelism scheduling for long context LLM training under heterogeneous sequence lengths, which adaptively reconfigures context parallelism degrees to prevent short sequences from incurring communication overheads.
- FCP allows arbitrary integer (non power-of-two) CP degrees by building on ring style CP, contrasted with FlexSP's power-of-two restriction.
- FCP proposes a two-stage approximation algorithm (BFD + 2D-DP) to solve the NP-hard sequence allocation problem in polynomial time complexity.
- FCP outperforms Megatron-LM and DeepSpeed in both LLM and MLLM training by up to 1.47x speedup in average throughput while maintaining near-linear scaling efficiency across large scale clusters.
Strengths and weaknesses
Strengths
- Non-intrusive Megatron-LM integration. FCP is implemented as add-on modules without modifying the Megatron core. This allows seamless integration to the existing Megatron-LM based training clusters.
- Two-stage polynomial time approximation is positioned well. A millisecond-scale BFD + 2D-DP algorithm occupies a reasonable point in the design space between expensive ILP solve (FlexSP) and fully greedy heuristics (ByteScale).
Weaknesses
- Non-power-of-two ablation. The paper's primary claimed advantage over FlexSP is supporting non-power-of-two CP degrees. However, it provides no algorithm or implementation detail to enable or optimize non-power-of-two ring sizes. Plus, ByteScale allows non-power-of-two CP degrees, which weakens the authors' claim that it is one of their contributions.
- No comparison against relevant dynamic baselines. The paper positions itself directly against ByteScale and FlexSP, yet the evaluation is done only against static CP, i.e., Megatron-LM and DeepSpeed. The authors justified this in Section 6.1 saying that they are closed-source, however, this is insufficient; (1) a power-of-two-restricted FCP variant can easily be evaluated at practically zero additional cost, and (2) replacing stage-2 DP with a greedy allocation on the same atomic groups is a ByteScale simulation. Neither experiment is run.
- FlexSP solver cost seems to be overstated. The paper frames FlexSP's 5~15s solving time as a critical bottleneck, but FlexSP paper explicitly demonstrates that this overhead can fully be overlapped with computation (Section 6.6). If scheduling latency can fully be hidden, the comparison to FlexSP should now focus on solution quality (e.g. makespan or throughput), which FCP never directly reports. This weakness makes FCP seem to solve the already addressed problem with a different approach that does not have noticeable improvements.
Minor comments
- Figure 2, overall workflow, is confusing. Why the scheduler has to chunk the global batch to microbatches? Is it to use pipeline parallelism as well or for gradient accumulation? Both cases are anyway not directly related to paper and there is no explanations about microbatch planning, so it will distract readers.
- Section structural error; Section 6.4.2 should be a dedicated subsection, not under Section 6.4.
Questions
- Non-power-of-two ablation. The paper's primary claimed advantage over FlexSP is supporting non-power-of-two CP degrees. However, no experiment shows this contribution clearly. Please run FlexSP (ideally) or at least DeepSpeed Ulysses and FCP with non-power-of-two and power-of-two, and show that Ulysses CP suffers from non-power-of-two CP setup while FCP is better in non-power-of-two setups.
- The paper compares only to static baselines. Please provide at least two simulated comparisons: (1) FCP with stage-2 DP replaced by greedy rank allocation (a ByteScale style hueristic) and (2) the FCP algorithm introduced in Algorithm 2~6 in page 4 (a FlexSP style optimal algorithm).
- FlexSP solver time evaluation and comparison. Section 6.3 only includes FCP compute, schedule, and solver time; under the same configuration, how does FlexSP work and how much FCP's two-stage approximation is faster than FlexSP's algorithm? Also, assuming we overlap solving and scheduling with computation, how much net advantages FCP gain over FlexSP? The authors only introduced 5~15s for FlexSP but cannot identify from which configuration such numbers came out.
Limitations
- The authors introduce one limitation in Conclusion section, which is fair. But such situation (balanced data) is very unlikely, the effectiveness of balanced context parallelism is still in effect.
- The authors should implement related works (ByteScale and FlexSP) and compare FCP against them to show true advantages of FCP over the SOTA works.
Paper formatting concerns
None
Final justification
As the most critical parts (e.g. missing evaluation against existing SOTA) are addressed during rebuttal, I have raised my score. However, my score remains a borderline reject for the following unaddressed, still critical reasons.
Limited effectiveness of the faster algorithm
- The authors indicated that the solver algorithm complexity is independent to model size, thus running smaller model execution cannot overlap the solver runtime overhead. It is true that the main algorithm complexity is not affected by the model size thus smaller models may not hide the overhead, however, at the same time this limits the advantage of FCP (more specifically, faster algorithm) only to smaller models (~1B), while recent open weight models' size is getting bigger (30B~1T) and for those models solver overhead can mostly be hidden for both FCP and FlexSP.
- The author reiterated the same claim over FlexSP that theoretically it has exponential complexity. The authors claim that it is impossible to hide exponentially growing scheduling overhead with linear CPU expansion. While I agree that the FlexSP algorithm is theoretically NP-hard, their scalability analysis shows that FlexSP algorithm overhead can still be hidden even with 1k GPUs, while the authors couldn't provide evidence other than citing 5-15s from the original FlexSP paper that the overhead cannot be hidden.
Limitations of power-of-two CP (This is an acknowledgement, not indicated as a reason of the score decision)
- The authors claimed that the official Megatron implementation "cannot" run non power-of-two ranks and running all-gather on various world size. First, as far as I know, ulysses CP utilizes all-to-all, not all-gather. But I got the point that collective communications are optimized for power of two ranks while ring based CP can support arbitrary world size.
- I do no think "because the implementation looks like this it is not possible to run". Algorithm-wise, although it for sure should be slow, can run on non power-of-two world. Even if the number of heads is not divisible to the world size, some rank simply executes more heads, incurring more imbalance and eventually make the entire CP slower, Ulysses can run. It just runs slower. However, the authors provide a very simple evaluation; while it is too rough and naive, I got the authors' point that running collectives on non-power-of-two indeed has high overhead.
Limitations of FlexSP CP backend
- While providing numbers that collectives on non power-of-two ranks have high overhead is a meaningful improvement to the paper, it is not enough to prove the novelty of FCP. The authors claimed that FlexSP uses power-of-two Ulysses CP and that limits their performance. While it is true that they used Ulysses, I still do not think their main algorithmic design regarding flexible CP is tied to Ulysses CP backend, which the authors do not seem to be able to prove. I asked if FlexSP's algorithm is tied with Ulysses's style CP, but the authors seem to misunderstand my intention as "if Ulysses cannot run on arbitrary world" and provided the result in the second point.
- The reason I asked to clarify if FlexSP algorithm is tied with Ulysses was that without it we should assume FlexSP also is flexible to use any CP backend, including ring based CP, same as FCP. This means if FlexSP algorithm is fundamentally not tied to power of two rank limitation then it can achieve the same performance benefits from non-power-of-two flexibility by simply replacing their backend implementation. Then, the claimed throughput advantage of FCP over FlexSP, mainly from non power of two ranks, is negligible.
Combined with the limited effectiveness of the faster algorithm and lack of evidence in tackling the limitations of the existing work, I think the contribution of the paper as of the submitted form is limited and recommend not to accept.
Meta-review
FCP addresses an important and well-motivated systems problem: static context-parallel layouts can waste computation and communication under long-tailed sequence-length distributions. The paper presents a practical, non-intrusive implementation, a low-overhead allocator, and broad LLM/MLLM results. The main uncertainty is whether the evaluation demonstrates the paper's claimed advance over existing dynamic methods, rather than only over static baselines. The paper therefore needs clarification on the following prioritized points:
Please isolate the source of the gains. Using the existing implementation, report (i) fixed CP with cost-aware cross-DP assignment/packing and (ii) FCP restricted to power-of-two CP degrees. This would show how much improvement comes from better assignment versus variable/non-power-of-two CP.
Please substantiate the claim that the schedule is near-optimal. On small instances where exact search is feasible, report the makespan or throughput gap of BFD plus 2D-DP, and compare it with a simple greedy stage-2 allocator. This is more informative than solver latency alone.
Please sharpen the comparison with FlexSP and ByteScale. Identify which mechanisms are genuinely new and explain the remaining benefit if FlexSP's solver is fully overlapped. A feature/algorithm comparison plus the in-framework ablations above is sufficient; a full reimplementation of closed-source systems is not required for rebuttal.
Please clarify scope: support for FSDP x CP x TP meshes, applicability to non-ring backends, and portability beyond Ascend. New NVIDIA-cluster experiments are not required for rebuttal, but unsupported generality claims should be narrowed.