注意力作为受挫同步
Attention as Frustrated Synchronization
AI总结:
提出受挫同步网络(FSN),通过复值耦合核和延迟项实现基于同步的注意力机制,在百万参数级字符级文本和代码任务上优于调优的RoPE-SwiGLU Transformer。
摘要:
一个完美同步的振荡器网络无法进一步计算,因此基于同步构建的注意力架构必须将其计算定位在结构性的偏离一致中。我们引入了受挫同步网络(FSN),其令牌状态是环面上的相位,整个值通路是一个学习到的复值耦合核,包含谐波和一步延迟。核的每个分量在同步文献意义上都是一个受挫。复相位是静态的Kuramoto-Sakaguchi受挫角,带符号的谐波是排斥性的Daido分量,而延迟项(将每个令牌与其关注的令牌的后继耦合)在代数上与Kuramoto-Sakaguchi耦合相同,其受挫角是数据自身的转移,因此下一个令牌预测被实现为由数据受挫的同步。在匹配百万参数和训练预算的字符级文本和代码任务上,FSN的验证损失在每个测量周期都低于调优的RoPE-SwiGLU Transformer,并且该比较在基线训练至收敛后仍然成立:每30个周期的enwik8种子都低于Transformer收敛的50周期损失1.611,而FSN完成的50周期运行收敛至1.5953 ± 0.0014。一种变体将每个前馈块替换为对学习到的集体模式的平均场耦合,堆栈中不保留多层感知机,其性能与Transformer相当。在自然文本上,无受挫的基础层在每个复制深度上都落后于收敛的Transformer,在长距离复制事件上最差;而核在四个及以上深度处逆转了这种劣势。标题比较在百万参数规模下进行;规模阶梯在四百万参数下完成,优势持续存在,其余分支标记为进行中。
英文摘要:
A network of oscillators that synchronizes perfectly computes nothing further, so an attention architecture built from synchronization must locate its computation in structured departures from agreement. We introduce the Frustrated Synchronization Network (FSN), whose token states are phases on a torus and whose entire value pathway is one learned complex coupling kernel over harmonics and a one-step delay. Each component of the kernel is a frustration in the sense of the synchronization literature. The complex phases are static Kuramoto-Sakaguchi frustration angles, the signed harmonics are repulsive Daido components, and the delay term, which couples each token to the successors of the tokens it attends to, is algebraically identical to Kuramoto-Sakaguchi coupling whose frustration angle is the data's own transition, so next-token prediction is implemented as synchronization frustrated by the data. At matched one-million-parameter and training budgets on character-level text and code, the FSN's validation loss is below a tuned RoPE-SwiGLU transformer's at every epoch measured, and the comparison survives training the baseline to convergence: every thirty-epoch enwik8 seed finishes below the transformer's converged fifty-epoch loss of 1.611, and the FSN's completed fifty-epoch runs converge to 1.5953 +/- 0.0014. A variant with every feed-forward block replaced by mean-field coupling to learned collective modes, leaving no multilayer perceptron in the stack, tracks the transformer. On natural text the unfrustrated base layer falls behind the converged transformer at every copy depth, worst on long-range copy events; the kernel reverses the deficit at every depth of four and beyond. Headline comparisons are at the one-million-parameter scale; a scale ladder is complete through four million parameters with the advantage persisting, and remaining arms are marked as in progress.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。