语言作为波的现象:神经网络中的语义相位锁定与干涉
Language as a Wave Phenomenon: Semantic Phase Locking and Interference in Neural Networks
AI总结:
本文探讨神经序列模型中相位的作用,提出PRISM模型通过复值编码和相位锁定实现语义信息编码,发现相位结构能有效区分同义词对,并展示相位表示在对抗噪声时的鲁棒性。
摘要:
神经序列模型中相位的作用仍不明确。为解决此问题,我们引入PRISM,一种强制单位范数约束(|z|=1)的复值编码器,用门控频谱过滤替代注意力机制。在该约束下,模型无法通过激活幅度区分信号与噪声,必须依赖相位角度。我们发现语义关系与可测量的相位结构相关:同义词对表现出显著更高的相位一致性(R=0.198 vs. 0.072,p<0.001),模型通过层特定的相位旋转解决词义歧义,同时保持接近单位增益。这些相位表示对标量衰减具有鲁棒性,当信号幅度均匀降低时,翻译质量仍保持97%。我们还确定了频谱密度阈值:模型无法从孤立词元生成一致输出,需最小序列长度以产生支持其计算的干涉图案。最后,我们展示了一种混合架构(波-粒变换器)结合相位编码器与标准注意力机制,在33M参数下匹配Transformer基线,尽管我们不声称其能推广到更大规模。我们的发现提供了受控证据,表明相位角度可以在复值网络中编码语义信息,并刻画了这种编码成功与失败的条件。
英文摘要:
In standard Transformer architectures, semantic importance is often conflated with activation magnitude, obscuring the geometric structure of latent representations. To disentangle these factors, we introduce PRISM, a complex-valued architecture designed to isolate the computational role of phase. By enforcing a strict unit-norm constraint ($|z| = 1$) and replacing attention with gated harmonic convolutions, the model is encouraged to utilize subtractive interference in the frequency domain to suppress noise, rather than relying on magnitude-based gating. We utilize this constrained regime to study a hybrid architecture -- fusing phase-based routing with standard attention -- which achieves improved parameter efficiency and representation quality compared to baselines in our evaluated settings. Mechanistically, interventional ablations indicate that the model carries substantial task-relevant information in phase: preserving phase largely maintains performance, whereas disrupting phase causes severe degradation. Together, these results suggest that phase-based spectral interference is a usable computational mechanism for neural sequence modeling at the evaluated scale.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。