注意力的引力场:位置相关性的幂律解释
Attention's Gravitational Field:A Power-Law Interpretation of Positional Correlation
AI总结:
本文提出注意力引力场概念,通过解耦位置编码与语义嵌入优化模型架构,展现其与万有引力定律的一致性,推动注意力机制的解释与模型优化研究。
摘要:
本文探讨了大型语言模型(LLMs)中位置关系和编码的底层原理,并引入了注意力引力场(AGF)的概念。通过将位置编码与语义嵌入解耦,我们优化了模型架构,并在准确性方面优于现有编码方法。此外,我们深入分析了AGF,证明其内在一致性与学习和稳定性曲线,并且在经验上与牛顿万有引力定律一致。通过提供对这些现象的严谨理论探索,本研究代表了解释注意力机制的重要一步,并为未来模型优化和可解释性研究开辟了新可能。
英文摘要:
This paper explores the underlying principles of positional relationships and encodings within Large Language Models (LLMs) and introduces the concept of the Attention Gravitational Field (AGF). By decoupling positional encodings from semantic embeddings, we optimize the model architecture and achieve superior accuracy compared to prevailing encoding methods. Furthermore, we provide an in-depth analysis of AGF, demonstrating its intrinsic consistency with learning and stability curves, as well as its empirical alignment with Newton's Law of Universal Gravitation. By offering a rigorous theoretical exploration of these phenomena, this work represents a significant step toward interpreting the Attention mechanism and unlocks new possibilities for future research in model optimization and interpretability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。