AI 导读
满足平移不变性的最弱双线性嵌入,就是从位移到任意可学习方阵的查表。这种朴素实现因参数过多,在 MacBook 上测试耗时约为前几个函数的 5 倍。作者指出,该函数虽在玩具测试中表现尚可,但明显浪费 FLOPs,实际应用中会非常脆弱。
正文
The weakest possible bilinear embedding that respects translation invariance is just a lookup table from the displacement to an arbitrary learnable square matrix of the proper dimension.
One reason algebraic structure is often nice is that it saves computation by reducing degrees of freedom. With so many extra parameters, in a naïve MacBook implementation, this unclever function took around 5 times longer to test than the previous ones.
Although it performs fine in a toy test, this function is obviously a bad way to spend FLOPs and would be very brittle in practice. (5/7)
来源:@SemiAnalysis_ · x.com