신경 동형 필드: 트랜스포머 기반 대수적 수치 임베딩
Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding
Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding
@misc{sadeghi2026neural,
title = {Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding},
author = {Hamidreza Sadeghi and Saeedeh Momtazi and Reza Safabakhsh},
year = {2026},
eprint = {2601.12095},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2601.12095}
}
Sadeghi, H., Momtazi, S., & Safabakhsh, R. (2026). Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2601.12095
SADEGHI H, MOMTAZI S, SAFABAKHSH R. Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding[EB/OL]. (2026-01-17)[2026-11-29]. https://arxiv.org/abs/2601.12095.
초록
신경망 모델은 범용, 소수점, 그리고 불안정한 출력 변동과 같은 문제로 인해 매우 작은 또는 매우 큰 숫자를 처리할 때 어려움을 겪습니다. 이러한 문제를 완화하기 위해 우리는 숫자의 원시 값 대신 임베딩 벡터를 사용하도록 제안합니다. 이러한 임베딩은 필수적인 대수적 속성을 유지하면서 수치적 불안정성을 방지합니다. 우리는 두 개의 학습된 교환 연산자와 반대칭 신경 비교기를 사용하여 숫자 시퀀스 트랜스포머 자동인코더인 신경 동형 필드 (Neural Isomorphic Fields, NIF) 를 소개합니다. 손실이 0 이면 임베딩은 소수점 분수 (decimal fractions) 와 동형인 정역 (integral domain) 을 형성하며, 그 분수체는 유리수와 동형입니다. 학습된 모델에 대해 우리는 해독 여백 (decoding margins), 결함 (defects), 그리고 리프시츠 상수를 통해 연산, 연쇄, 및 대수 법칙의 오차를 상수화합니다. 최대 25 자리 숫자로 학습된 NIF 는 닫힘 (closure), 항등 (identity), 결합 (associativity), 및 분배 (distributivity) 에서 99.9% 이상의 정확한 일치 (exact match) 를 달성하며, 10 단계 연쇄 및 순서 관계에서는 99.8% 를 달성합니다. 소수점마다 4 개의 채널을 사용하여, 학습 길이를 초과하지 않는 최대 200 자리 숫자에 대해 재구성 및 두 가지 연산 모두 99.7% 이상의 정확한 일치율을 달성하며, 차원은 선형적으로 증가합니다. 언어 모델에서 고정된 연산자는 14 20 자리 단어 문제에서 정확한 일치율을 연산자가 비활성화되었을 때의 12.0% 에서 39.7% 로 높였습니다.
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%.