Flux: Online, Fine-Grained Data Scheduling for Training Machine Learning Interatomic Potentials
Yuanchang Zhou, Chen Wang, Hongtao Xu, Mingzhen Li, Guangming Tan, Weile Jia
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › Async Pipeline Communication Optimization · Type: new method · Keywords: online data scheduling, machine learning interatomic potentials, distributed training, load balancing, atomistic simulation
Summary
Flux is an online, workload-aware data scheduler that dynamically balances mini-batches for distributed training of machine learning interatomic potentials, improving throughput up to 4.76×.
Explained to a 5-year-old
Scientists want computers to guess how atoms stick together. They need lots of examples to train the computer. The examples come in different sizes and shapes, making it hard to feed them evenly. Flux looks at each example’s size and shape and makes groups that are balanced. This helps the computer learn faster and uses less time.
Explained to a 5-year-old, longer
Scientists want computers to understand how atoms move and stick together. They build models called machine learning interatomic potentials to do this. To make these models good, they need many examples of atoms. These examples can be very different, some with many atoms, some with few. If you just group them by the number of atoms, the groups can still be uneven because of shape and connections. This makes the computer slower and uses more time. Flux looks at each example’s size, shape, and how many connections it has. It then creates groups that are balanced and fit into memory. This way, the computer gets a steady flow of data. The training goes faster and uses less energy. It also works with different kinds of models and data. Researchers can use Flux without changing their existing code. Overall, Flux helps scientists train better atom models more efficiently.
For a technical reader
Flux is an online scheduler that dynamically balances mini-batches for distributed MLIP training. It estimates workload signals from lightweight physical and geometric priors during data loading, then calibrates them against runtime and memory costs. The scheduler constructs balanced, memory-feasible batches across data-parallel ranks without requiring precomputed graph metadata. It can be dropped in as a replacement for the standard distributed sampler, making it portable across setups. Across large-scale atomistic datasets and three MLIP architectures, Flux boosts training throughput up to 4.76× while preserving convergence.
Problem
Training MLIPs on heterogeneous atomistic data suffers from imbalanced workloads because atom count alone does not capture graph complexity, leading to inefficient batching and inflexible load balancing.
Method
The approach estimates workload signals from lightweight physical and geometric priors during data loading, calibrates them against runtime and memory costs, and constructs balanced, memory-feasible mini-batches across data-parallel ranks without precomputed metadata.
Results
The approach improves training throughput by up to 2.23-4.76× across large-scale atomistic datasets and three MLIP architectures without degrading convergence.
Contributions
It introduces an online, workload-aware scheduler that dynamically balances mini-batches using lightweight priors, works as a drop-in replacement for standard samplers, and maintains convergence while boosting throughput.
Practical relevance
Enables more efficient large-scale training of MLIPs on heterogeneous atomistic data, reducing training time and resource usage for researchers and industry.
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