素数傅里叶嵌入:模算术的一个有原则的基础
Prime Fourier Embeddings: A Principled Basis for Modular Arithmetic
AI总结:
提出素数傅里叶嵌入(PFE),通过素数索引的(cos, sin)对编码整数,使模运算简化为选择相关素数通道,并证明线性等变映射的块对角结构,实验验证了通道专业化比率超过500倍。
摘要:
数字具有代数结构,但标准神经嵌入往往无法揭示这种结构。我们引入了素数傅里叶嵌入(PFE),它将整数编码为从Q的调和分析导出的素数索引的(cos, sin)对,提供了一种预结构化表示,其中模运算简化为选择相关的素数通道,而不是从头发现代数结构。我们证明了任何在PFE上关于乘积群作用等变的线性映射必须是块对角的,每个素数对应一个独立块——这是舒尔引理应用于所得特征分解的结果。对于无平方因子的复合模数,中国剩余定理预测哪些素数通道与任务相关。这两个预测都得到了实验验证:消融研究显示,任务相关通道与任务无关通道之间的专业化比率超过500倍,在所有测试的无平方因子复合模数上均达到完美的分布内测试准确率。
英文摘要:
Numbers have algebraic structure that standard neural embeddings often fail to expose. We introduce Prime Fourier Embeddings (PFE), which encode integers as prime-indexed (cos, sin) pairs derived from the harmonic analysis of Q, providing a pre-structured representation in which modular arithmetic reduces to selecting the relevant prime channel rather than discovering algebraic structure from scratch. We prove that any linear map equivariant with respect to the product group action on PFE must be block-diagonal with one independent block per prime -- a consequence of Schur's lemma applied to the resulting character decomposition. For square-free composite moduli, the Chinese Remainder Theorem predicts which prime channels are task-relevant. Both predictions are confirmed empirically: ablation studies show specialization ratios exceeding 500x between task-relevant and task-irrelevant channels, with perfect in-distribution test accuracy across all square-free composite moduli tested.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。