跳到正文
arXiv cs.AI· Hamidreza Sadeghi, Saeedeh Momtazi, Reza Safabakhsh·· 10 小时前AI 评分28

Neural Isomorphic Fields:基于 Transformer 的代数数值嵌入方法

Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding

AI 导读

论文提出 Neural Isomorphic Fields(NIF),一种数字序列 Transformer 自编码器,用嵌入向量替代原始数值以避免溢出、下溢等数值不稳定问题。

正文 · 原文

View PDF HTML (experimental)

Abstract: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%.
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL)
Cite as: arXiv:2601.12095 [cs.LG]
  (or arXiv:2601.12095v2 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2601.12095

arXiv-issued DOI via DataCite

Submission history

From: Hamidreza Sadeghi [view email]
[v1] Sat, 17 Jan 2026 16:25:52 UTC (931 KB)
[v2] Wed, 25 Nov 2026 15:30:28 UTC (273 KB)

来源:arXiv cs.AI · arxiv.org