计算机科学 > 机器学习
[提交于 2026年1月17日 (v1),最后修订于 2026年11月25日 (此版本, v2)]
标题:Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要: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. We introduce Neural Isomorphic Fields (NIF), a digit-sequence Transformer autoencoder trained with two learned commutative operators and an antisymmetric neural comparator. At zero loss, the embeddings provably form an ordered integral domain isomorphic to the decimal fractions, whose field of fractions is isomorphic to the rationals. For the trained model, we bound errors of operations, chains and algebraic laws by decoding margins, defects and Lipschitz constants. Trained on up to 25 digits, NIF reaches at least 99.9% exact match on closure, identity, associativity and distributivity and 99.8% on ten-step chains and the order relation. With four channels per decimal place, reconstruction and both operations exceed 99.7% exact match on numbers of up to 200 digits whose parts stay within training lengths, so the dimension grows linearly. In a language model, frozen operators raise exact match on 14-20-digit word problems from 12.0% (operators off) to 39.7%.
提交历史
来自:Hamidreza Sadeghi[v1] 2026年1月17日 星期六 16:25:52 UTC (930 KB)
[v2] 2026年11月25日 星期三 15:30:28 UTC (273 KB)