arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.12095cs.LGcs.AIcs.CL
收藏

神经同构场:一种基于变换器的代数数值嵌入

Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding

Hamidreza Sadeghi, Saeedeh Momtazi, Reza Safabakhsh

AI总结:

本文提出神经同构场,通过变换器实现代数数值嵌入,解决数值稳定性问题,展示加法在代数测试中的高准确率,同时指出乘法处理的改进空间。

摘要:

神经网络模型在处理非常小或非常大的数字时常常面临挑战,由于溢出、下溢和输出不稳定等问题。为缓解这些问题,我们提出使用嵌入向量来表示数字,而不是直接使用其原始值。这些嵌入旨在保留本质的代数属性,同时防止数值不稳定。在本文中,我们首次引入了一种固定长度的数字嵌入向量,该向量在有理数域内保留加法、乘法和比较等代数运算。我们提出了一种新的神经同构场,这是一种神经抽象的代数结构,如群和域。该神经场的元素是保持代数结构的嵌入向量。我们的实验表明,加法表现非常出色,在关键的代数测试如恒等性、封闭性和结合律上实现了超过95%的准确率。相比之下,乘法存在挑战,其准确性在各种代数属性上从53%到73%不等。这些发现突显了模型在加法下保留代数属性方面的优势,同时也指出了在处理乘法时进一步改进的途径。

英文摘要:

Neural network models often face challenges when processing very small or very large numbers due to issues such as overflow, underflow, and unstable output variations. To mitigate these problems, we propose using embedding vectors for numbers instead of directly using their raw values. These embeddings aim to retain essential algebraic properties while preventing numerical instabilities. In this paper, we introduce, for the first time, a fixed-length number embedding vector that preserves algebraic operations, including addition, multiplication, and comparison, within the field of rational numbers. We propose a novel Neural Isomorphic Field, a neural abstraction of algebraic structures such as groups and fields. The elements of this neural field are embedding vectors that maintain algebraic structure during computations. Our experiments demonstrate that addition performs exceptionally well, achieving over 95 percent accuracy on key algebraic tests such as identity, closure, and associativity. In contrast, multiplication exhibits challenges, with accuracy ranging from 53 percent to 73 percent across various algebraic properties. These findings highlight the model's strengths in preserving algebraic properties under addition while identifying avenues for further improvement in handling multiplication.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑