arXiv:2507.01649cs.LGcs.AI2025-07NeurIPS被引 6

设计可处理梯度的等变神经网络,提升优化与模型分析性能

GradMetaNet: An Equivariant Architecture for Learning on Gradients

  • 基于等变性、多数据点梯度组合与秩1分解构建新架构
  • 在多层感知机与Transformer上实现更优的梯度任务表现
  • 适合研究优化算法、模型编辑与损失曲面分析的学者

神经网络的梯度蕴含丰富的优化、编辑与分析信息,常被用作特定任务的输入。现有方法虽尝试直接学习梯度,但缺乏专为梯度处理设计的架构,限制了应用效果。本文提出一种基于三个原则的系统性设计:(1) 保持神经元置换对称性的等变结构,(2) 联合多个数据点的梯度以捕捉曲率信息,(3) 通过秩1分解实现高效梯度表示。基于此,我们提出GradMetaNet,由简单等变模块构成的新型梯度学习架构。理论证明其通用性,且能逼近此前方法无法近似的自然梯度函数。实验表明,该架构在多层感知机与Transformer上的多种梯度任务中表现优异,涵盖自适应优化、INR编辑与损失曲面曲率估计。

原文摘要 · Abstract (English)

Gradients of neural networks encode valuable information for optimization, editing, and analysis of models. Therefore, practitioners often treat gradients as inputs to task-specific algorithms, e.g. for pruning or optimization. Recent works explore learning algorithms that operate directly on gradients but use architectures that are not specifically designed for gradient processing, limiting their applicability. In this paper, we present a principled approach for designing architectures that process gradients. Our approach is guided by three principles: (1) equivariant design that preserves neuron permutation symmetries, (2) processing sets of gradients across multiple data points to capture curvature information, and (3) efficient gradient representation through rank-1 decomposition. Based on these principles, we introduce GradMetaNet, a novel architecture for learning on gradients, constructed from simple equivariant blocks. We prove universality results for GradMetaNet, and show that previous approaches cannot approximate natural gradient-based functions that GradMetaNet can. We then demonstrate GradMetaNet's effectiveness on a diverse set of gradient-based tasks on MLPs and transformers, such as learned optimization, INR editing, and estimating loss landscape curvature.

梯度学习等变网络优化算法模型分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。