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

斐波那契网络:一种简单的位置编码替代方案

The Fibonacci Network: A Simple Alternative for Positional Encoding

Yair Bleiberg, Michael Werman

AI总结:

本文提出斐波那契网络,一种分块MLP架构,利用半频率和四分之一频率输入重建高频信号,作为位置编码的简单替代方案,无需额外超参数。

摘要:

基于坐标的多层感知机(MLP)已知难以重建训练数据中的高频成分。解决此问题的一个常见方法是位置编码(PE),该方法已变得相当流行。然而,PE存在缺陷。它会产生高频伪影,并且像批归一化和丢弃法一样,增加了另一个超参数。我们认为,在某些情况下,PE并非必要,通过更智能的网络架构构造以及智能的训练方法,足以达到类似的结果。在本文中,我们表明,非常简单的MLP在给定半频率和四分之一频率的输入时,可以相当容易地输出一个频率。利用这一点,我们设计了一种分块网络架构,其中每个块的输入是前两个块的输出以及原始输入。我们将其称为斐波那契网络。通过在每个块上训练对应频率的信号,我们表明斐波那契网络可以重建任意高的频率。

英文摘要:

Coordinate-based Multi-Layer Perceptrons (MLPs) are known to have difficulty reconstructing high frequencies of the training data. A common solution to this problem is Positional Encoding (PE), which has become quite popular. However, PE has drawbacks. It has high-frequency artifacts and adds another hyper-hyperparameter, just like batch normalization and dropout do. We believe that under certain circumstances PE is not necessary, and a smarter construction of the network architecture together with a smart training method is sufficient to achieve similar results. In this paper, we show that very simple MLPs can quite easily output a frequency when given input of the half-frequency and quarter-frequency. Using this, we design a network architecture in blocks, where the input to each block is the output of the two previous blocks along with the original input. We call this a {\it Fibonacci Network}. By training each block on the corresponding frequencies of the signal, we show that Fibonacci Networks can reconstruct arbitrarily high frequencies.

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

↑