arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.02035cs.LGstat.ML
收藏

状态空间模型的频率偏置调谐

Tuning Frequency Bias of State Space Models

Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);International Computer Science Institute(国际计算机科学研究所);Center for Applied Mathematics, Cornell University(康奈尔大学应用数学中心);Data Science Institute, University of Chicago(芝加哥大学数据科学研究所);KTH Royal Institute of Technology(瑞典皇家理工学院);Nordita, KTH Royal Institute of Technology and Stockholm University(北欧理论物理研究所);University of California at Berkeley(加利福尼亚大学伯克利分校)

Annan Yu, Dongwei Lyu, Soon Hoe Lim, Michael W. Mahoney, N. Benjamin Erichson

AI总结:

本文揭示了状态空间模型固有的低频偏置,并提出通过缩放初始化或Sobolev范数滤波器两种机制来调谐该偏置,从而提升长程序列学习性能。

摘要:

状态空间模型(SSMs)利用线性时不变(LTI)系统来有效学习具有长程依赖的序列。通过分析LTI系统的传递函数,我们发现SSMs表现出一种隐式偏置,即相比高频分量,更有效地捕捉低频分量。这一行为与深度学习模型训练中更广泛的频率偏置概念一致。我们表明,SSM的初始化赋予其一种固有的频率偏置,并且以常规方式训练模型不会改变这种偏置。基于我们的理论,我们提出了两种调谐频率偏置的机制:要么通过缩放初始化来调谐先天的频率偏置;要么通过应用基于Sobolev范数的滤波器来调整梯度对高频输入的敏感度,从而允许我们通过训练改变频率偏置。使用图像去噪任务,我们通过实验表明,使用这两种机制可以增强、削弱甚至逆转频率偏置。通过调谐频率偏置,我们还可以提高SSMs在学习长程序列上的性能,在Long-Range Arena(LRA)基准任务上平均达到88.26%的准确率。

英文摘要:

State space models (SSMs) leverage linear, time-invariant (LTI) systems to effectively learn sequences with long-range dependencies. By analyzing the transfer functions of LTI systems, we find that SSMs exhibit an implicit bias toward capturing low-frequency components more effectively than high-frequency ones. This behavior aligns with the broader notion of frequency bias in deep learning model training. We show that the initialization of an SSM assigns it an innate frequency bias and that training the model in a conventional way does not alter this bias. Based on our theory, we propose two mechanisms to tune frequency bias: either by scaling the initialization to tune the inborn frequency bias; or by applying a Sobolev-norm-based filter to adjust the sensitivity of the gradients to high-frequency inputs, which allows us to change the frequency bias via training. Using an image-denoising task, we empirically show that we can strengthen, weaken, or even reverse the frequency bias using both mechanisms. By tuning the frequency bias, we can also improve SSMs' performance on learning long-range sequences, averaging an 88.26% accuracy on the Long-Range Arena (LRA) benchmark tasks.

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

↑