SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2102.09718 · 2021

Permutation-Based SGD: Is Random Optimal?

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 6 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
shashankrajput/flipflop canonical 4 of 6
FunctionStatusWhere it lives
IGD Ran shashankrajput/flipflop/Logistic/IGD.py
pointer only (licence: NONE) · get_code("917dcaa2b777e756")
IGD Ran shashankrajput/flipflop/Quadratic/IGD.py
pointer only (licence: NONE) · get_code("5de114ecfea3d967")
IGD_Flipping Ran shashankrajput/flipflop/Logistic/IGD.py
pointer only (licence: NONE) · get_code("27aa58b89cbf6164")
IGD_Flipping Ran shashankrajput/flipflop/Quadratic/IGD.py
pointer only (licence: NONE) · get_code("1238a647a25fbec0")
parallelOptimization Not yet run shashankrajput/flipflop/Quadratic/IGD.py
pointer only (licence: NONE) · get_code("3e021c49dd256199")
parallelOptimization_K Not yet run shashankrajput/flipflop/Logistic/IGD.py
pointer only (licence: NONE) · get_code("5bd4f0b13639de38")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

A recent line of ground-breaking results for permutation-based SGD has corroborated a widely observed phenomenon: random permutations offer faster convergence than with-replacement sampling. However, is random optimal? We show that this depends heavily on what functions we are optimizing, and the convergence gap between optimal and random permutations can vary from exponential to nonexistent. We first show that for 1-dimensional strongly convex functions, with smooth second derivatives, there exist permutations that offer exponentially faster convergence compared to random. However, for general strongly convex functions, random permutations are optimal. Finally, we show that for quadratic, strongly-convex functions, there are easy-to-construct permutations that lead to accelerated convergence compared to random. Our results suggest that a general convergence characterization of optimal permutations cannot capture the nuances of individual function classes, and can mistakenly indicate that one cannot do much better than random.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2102.09718")
get_code_for_paper("2102.09718")
have("2102.09718")

Connect an agent — have() is free.