Characterizing & Finding Good Data Orderings for Fast Convergence of Sequential Gradient Methods
By Amirkeivan Mohtashami, Sebastian U. Stich, Martin Jaggi. 2022
15 citations recorded by the source corpus.
While SGD, which samples from the data with replacement is widely studied in theory, a variant called Random Reshuffling (RR) is more common in practice. RR iterates through random permutations of the dataset and has been shown to converge faster than SGD. When the order is chosen deterministically, a variant called incremental gradient descent (IG), the existing convergence bounds show improvement over SGD but are worse than RR. However, these bounds do not differentiate between a good and a bad ordering and hold for the worst choice of order. Meanwhile, in some cases, choosing the right order when using IG can lead to convergence faster than RR. In this work, we quantify the effect of order on convergence speed, obtaining convergence bounds based on the chosen sequence of permutations while also recovering previous results for RR. In addition, we show benefits of using structured shuffling when various levels of abstractions (e.g. tasks, classes, augmentations, etc.) exists in the dataset in theory and in practice. Finally, relying on our measure, we develop a greedy algorithm for choosing good orders during training, achieving superior performance (by more than 14 percent in accuracy) over RR.
Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Optimization & Training
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Martin Strobel
- Hong Chang
- Yucheng Lu
- Christopher De Sa
- Wentao Guo
- Reza Shokri
- Prakhar Ganesh
- Prateek Mittal
In Computer Vision and Pattern Recognition
- Martin Strobel
- Hong Chang
- Yucheng Lu
- Christopher De Sa
- Wentao Guo
- Reza Shokri
- Prakhar Ganesh
- Christopher R'e
In Optimization & Training
Citations in the corpus
- On The Impact of Machine Learning Randomness on Group Fairness (2023, background): “Data order during training governs gradient updates and thus its impact on fairness is unsurprising [32, 37, 42, 47, 48, 50].”
- GraB: Finding Provably Better Data Permutations than Random Reshuffling (2022, methodology): “[6] proposes evaluating gradients on all the examples first to minimize Equation (2) before starting an epoch, applied to Federated Learning; Lu et al.”