- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper introduces Flux, which aim to automatically generate binning strategies to improve load balance in data-parallel training over heterogenous molecular datasets. Flux uses an initial 'profiling' phase to determine how the model's workload depends on the graph attributes of the given input data, eg, how it varies with atoms/edges. It then loads this pre-profile information into a heuristic which is used to partition each batch into equal-workload segments which can be processed in parallel by different compute ranks.
Strengths and weaknesses
The papers does a good job in visualizing the relationship between dataset heterogeneity and load imbalance during training, in Figure 1/Section 3.2.
The models demoed on are quite limited (eSEN, MatRIS, AllScAIP). UMA and MACE might show different workload distributions due to the UMA's MoLe and some of MACE's architectural details.
The actual speedup over fairchem's is not that high.
Questions
Is the extracted workload pattern for the models analyzed the same for the forward or backwards pass? Eg, is there any case where the trends in execution time proxy would change between the forward and backwards passes, and so the relative fwd/bwd time would have to be accounted for?
Can the authors include more information about the extracted workload patterns across different models? This information might be generally useful to the community.
Is there a 'minimum batch size', at which the analysis step cannot be overlapped with previous batch processes?
How does Flux's speedup compare to a naive edge-level binning of molecules across the batch (eg, standardize the number of edges)?
Limitations
Yes
Paper formatting concerns
None
Final justification
I’m happy with the authors explanation to my questions, and I think this is a solid engineering work that can be of practical use to the community. I’m ok to raise my score to accept.
We thank the reviewer for the detailed and professional feedback. Our responses to the questions are provided below.
We additionally evaluated Flux on several SOTA models, as well as on models released after our submission (EquFlashV2 and TECE):
Additional experiments show that Flux consistently improves performance across different MLIP architectures, achieving 2.27–4.87× speedup over the baseline and 1.04-1.17x over FairChem. FairChem is a strong baseline, particularly when model computation is light or workload is mainly determined by atom count, leaving limited room for additional speedup from Flux.
Nevertheless, Flux requires no offline workload metadata and jointly models compute and memory costs. Therefore, its contribution lies not only in improving average throughput, but also in cross-architecture applicability, online scheduling, and memory robustness.
Yes. For all models evaluated in this paper, the forward and backward exhibit the same workload pattern. The main differentiable operators in the forward act on intermediate tensors indexed by graphs, atoms, edges, or (k)-body terms. Backpropagation follows the corresponding computation graph, so its workload remains dominated by the same structural features. Flux therefore fits its performance model using the full iteration time.
Following the reviewer’s suggestion, we analyzed several SOTA models on the mixed dataset used in this paper. Each cell reports the (R^2) for training time/memory, and Full uses all model-specific structural features.
The results show that atom count alone provides some predictive power, while using all workload features further improves accuracy.
We thank the reviewer for the suggestion and hope these results are useful to the community.
We tested an extreme case by training eSEN and MatRIS with a per-GPU batch size of 1, averaged over three runs. Their analysis times are 0.603–1.090 ms and 0.765–1.351 ms, respectively, compared with batch computation times of 147.7–463.6 ms and 110.8–549.4 ms. Even at batch size 1, the analysis step is fully overlapped with computation of the batch processing.
We added a naive edge-level binning baseline, with results shown below:
For eSEN, the additional gain from Flux is small, as expected: most eSEN computation operates on edge-indexed tensors, so edge-level binning already removes most load imbalance. MatRIS also contains substantial higher-order terms, which edge count alone cannot capture, leading to larger gains from Flux.
These results suggest that edge-level binning is a strong choice for edge-dominated models. Flux matches this performance while remaining applicable to models with higher-order interactions, such as MatRIS.
We thank Reviewer j6KM for the detailed and professional feedback. It has helped us improve the clarity of the paper. Please let us know if any part of our response remains unclear, and we would be happy to clarify.