arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.00260cs.LGmath.OC
收藏

学习洗牌:用于随机优化的块重排和反转方案

Learning to Shuffle: Block Reshuffling and Reversal Schemes for Stochastic Optimization

IBM Research, Thomas J. Watson Research Center(IBM研究院,托马斯·J·沃森研究中心)

Lam M. Nguyen, Dzung T. Phan, Jayant Kalagnanam

AI总结:

本文提出块重排和配对反转结构,通过分析证明其在统一洗牌框架下减少前缀梯度方差常数,并降低顺序敏感性,实验验证了其在凸和非凸基准上的优势。

摘要:

随机梯度下降(SGD)的洗牌策略,包括增量梯度、一次洗牌和随机重排,均通过严格收敛分析支持任意epoch内排列。特别是随机重排在优化常数上优于循环和一次洗牌方案。然而,现有理论对设计进一步改进优化常数或稳定性的新数据排列方案有限。本文设计了一种利用大语言模型(LLM)引导的程序进化框架,发现有效的无替换SGD洗牌规则。抽象出实例,我们识别出两个基本结构组件:块重排和配对反转。我们分别分析这些组件,并证明块重排在统一洗牌框架下严格减少前缀梯度方差常数,证明在温和条件下优于随机重排。此外,我们证明配对反转对称化epoch映射并取消了顺序依赖的二次项,将顺序敏感性从二次降低到立方。发现算法的数值实验验证了理论并证明在凸和非凸基准上的一致优势。

英文摘要:

Shuffling strategies for stochastic gradient descent (SGD), including incremental gradient, shuffle-once, and random reshuffling, are supported by rigorous convergence analyses for arbitrary within-epoch permutations. In particular, random reshuffling is known to improve optimization constants relative to cyclic and shuffle-once schemes. However, existing theory offers limited guidance on how to design new data-ordering schemes that further improve optimization constants or stability beyond random reshuffling. In this paper, we design a pipeline using a large language model (LLM)-guided program evolution framework to discover an effective shuffling rule for without-replacement SGD. Abstracting from this instance, we identify two fundamental structural components: block reshuffling and paired reversal. We analyze these components separately and show that block reshuffling strictly reduces prefix-gradient variance constants within the unified shuffling framework, yielding provable improvements over random reshuffling under mild conditions. Separately, we show that paired reversal symmetrizes the epoch map and cancels the leading order-dependent second-order term, reducing order sensitivity from quadratic to cubic in the step size. Numerical experiments with the discovered algorithm validate the theory and demonstrate consistent gains over standard shuffling schemes across convex and nonconvex benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑