跳到正文
@SemiAnalysis_· @SemiAnalysis_ · X·· 24 天前AI 评分24
AI 导读

SemiAnalysis 提出可为 s 和 t 学习独立嵌入函数,称为"位置不变",但这会违背位置嵌入的初衷,也不尊重平移不变性,仅在 token 局部位置本身编码信息时可能有用。该技术可学习参数更多,但经简单优化后运行速度反而比前一版本更快。

正文

If we really wanted chaos, we could learn independent embedding functions for s and t. We might call this "position invariant," and it starts to cut against the purpose of a positional embedding in the first place. It does not respect translation invariance, but it could be useful if there were information somehow encoded in each token's local position, rather than in pairwise displacement.

Even though this technique has more learnable parameters, a simple optimization made it much faster to run than the previous one. Pencil out the math and see if you can spot it! (6/7)

来源:@SemiAnalysis_ · x.com