arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.06575cs.LGcs.AI
收藏

方向一致性作为互补优化信号:GONO框架

Directional Consistency as a Complementary Optimization Signal: The GONO Framework

Department of Artificial Intelligence(人工智能系);Anurag University(安拉格大学)

Victor Daniel Gera

AI总结:

GONO框架通过引入方向一致性信号改进优化器,通过调整动量系数提升梯度方向一致性,实验证明其在多个数据集上表现优异。

摘要:

我们识别并形式化了深度学习优化中一个未被充分探索的现象:方向对齐和损失收敛可以解耦。优化器可以表现出接近完美的方向一致性(cc_t→1,通过连续梯度余弦相似性测量),而损失仍保持高位或缓慢下降。这一观察揭示了现有优化器如Adam、SGD和RMSprop缺乏显式机制来利用时间一致性梯度方向,而是依赖基于幅度的信号,无法区分高原、鞍点和真实收敛。受此启发,我们引入GONO(梯度导向范数自适应优化器),根据cc_t调整Adam的动量系数beta_1:在方向一致性时增强动量,在振荡时抑制动量。我们证明GONO与Adam的O(1/sqrt(T))收敛速率一致,并且当信号无信息时恰好退化为Adam。实验证明,cc_t在振荡检测上达到F1=1.00(对比梯度范数的0.45),且在MNIST(98.15%)、CIFAR-10(43.14%)和ResNet-18(75.44%)上与AdamW竞争性表现优异,确立了方向对齐作为理论严谨且实用的优化信号。代码:https://github.com/victordaniel/gono-optimizer

英文摘要:

We identify and formalize an underexplored phenomenon in deep learning optimization: directional alignment and loss convergence can be decoupled. An optimizer can exhibit near-perfect directional consistency (cc_t -> 1, measured via consecutive gradient cosine similarity) while the loss remains high or decreases slowly. This observation reveals that existing optimizers such as Adam, SGD, and RMSprop lack explicit mechanisms to exploit temporal consistency in gradient directions, relying instead on magnitude-based signals that fail to distinguish plateaus, saddle points, and genuine convergence. Motivated by this, we introduce GONO (Gradient-Oriented Norm-Adaptive Optimizer), which adapts Adam's momentum coefficient beta_1 based on cc_t: amplifying momentum under directional consistency and suppressing it during oscillation. We prove GONO matches Adam's O(1/sqrt(T)) convergence rate and reduces exactly to Adam when the signal is uninformative. Empirically, cc_t achieves oscillation detection with F1=1.00 (vs. 0.45 for gradient norm), and GONO remains competitive with AdamW on MNIST (98.15%), CIFAR-10 (43.14%), and ResNet-18 (75.44%), establishing directional alignment as a theoretically grounded, practically actionable optimization signal. Code: https://github.com/victordaniel/gono-optimizer

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

↑