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

在权重流形上行走:受神经调节启发的条件化拓扑方法

Walking the Weight Manifold: a Topological Approach to Conditioning Inspired by Neuromodulation

Cold Spring Harbor Laboratory(冷泉港实验室);University of Southern Florida(佛罗里达州立大学)

Ari S. Benjamin, Kyle Daruwalla, Christian Pehle, Abdul-Malik Zekri, Anthony M. Zador

AI总结:

本文提出了一种基于拓扑的权重流形条件化方法,通过在权重空间中优化具有预定义拓扑的流形,以提升任务间的泛化能力和学习效率。

摘要:

人们经常希望以最有效的方式学习一系列相似的任务,通过在任务之间重用知识。在人工神经网络中,这通常是通过将任务上下文作为输入注入网络中来实现的。大脑有不同的策略:参数本身会根据多种神经调节物质(如血清素)进行调节。在这里,我们受到神经调节的启发,提出学习权重,这些权重是任务上下文变量的平滑参数化函数。而不是优化一个权重向量,即权重空间中的一个点,我们优化一个具有预定义拓扑的权重空间中的平滑流形。为此,我们推导了优化流形的正式处理,即在体积移动的约束下最小化损失函数,类似于梯度下降。在推理过程中,条件选择该流形上的一个点,作为特定子任务的有效权重矩阵。这种条件化策略有两个主要优势。首先,流形的拓扑(是否为线、圆或环面)是一个方便的归纳偏差杠杆,用于描述任务之间的关系。其次,在一个状态中学习会平滑地影响整个流形,鼓励跨状态的泛化。为了验证这一点,我们训练了具有多种拓扑的流形,包括权重空间中的直线(用于对输入数据中的噪声水平进行条件化)和椭圆(用于旋转图像)。尽管这些参数化简单,但它们在条件化相同网络时优于输入拼接,并且在超出分布样本上泛化效果更好。这些结果表明,通过低维流形调节权重提供了一种原则性和有效的替代传统条件化的方法。

英文摘要:

One frequently wishes to learn a range of similar tasks as efficiently as possible, re-using knowledge across tasks. In artificial neural networks, this is typically accomplished by conditioning a network upon task context by injecting context as input. Brains have a different strategy: the parameters themselves are modulated as a function of various neuromodulators such as serotonin. Here, we take inspiration from neuromodulation and propose to learn weights which are smoothly parameterized functions of task context variables. Rather than optimize a weight vector, i.e. a single point in weight space, we optimize a smooth manifold in weight space with a predefined topology. To accomplish this, we derive a formal treatment of optimization of manifolds as the minimization of a loss functional subject to a constraint on volumetric movement, analogous to gradient descent. During inference, conditioning selects a single point on this manifold which serves as the effective weight matrix for a particular sub-task. This strategy for conditioning has two main advantages. First, the topology of the manifold (whether a line, circle, or torus) is a convenient lever for inductive biases about the relationship between tasks. Second, learning in one state smoothly affects the entire manifold, encouraging generalization across states. To verify this, we train manifolds with several topologies, including straight lines in weight space (for conditioning on e.g. noise level in input data) and ellipses (for rotated images). Despite their simplicity, these parameterizations outperform conditioning identical networks by input concatenation and better generalize to out-of-distribution samples. These results suggest that modulating weights over low-dimensional manifolds offers a principled and effective alternative to traditional conditioning.

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

↑