跳到正文
arXiv (AI + Vision + Imaging)· Vladimir Evgrafov·· 8 天前AI 评分10

p-adic 数在神经网络计算模组中的适用性研究

On the Applicability of $p$-adic Numbers in Computational Modules for Neural Networks

AI 导读

研究将 p-adic 算术作为机器学习流程中的中间计算模组,以 scikit-learn Diabetes 数据集上的单特征线性回归为测试模型。在 pyAdic 实验中,有理重构要么无结果,要么与基线预测不符,改变计算精度还会改变重构值的大小与符号;SageMath 中前向转换成功但重构预测仍偏离基线。基于数字反转的替代表示因进位传播无法保持普通加法,测试设置下所有预测均未正确重构。

正文 · 原文

arXiv:2611.20467v1 Announce Type: new Abstract: The applicability of $p$-adic arithmetic as an intermediate computational module in an otherwise unchanged machine-learning pipeline is investigated. A one-feature linear regression on the scikit-learn Diabetes dataset serves as the test model. The fitted coefficients are represented in $\mathbb{Q}_p$, predictions are computed in that field, and rational reconstruction is applied to the outputs. In the pyAdic experiments, rational reconstruction either returns no result or produces values that differ from the baseline predictions; changing computational precision can change both the magnitude and sign of the reconstructed value. In SageMath, forward conversions succeed, but the reconstructed predictions differ from the baseline. An alternative representation based on digit reversal fails to preserve ordinary addition because of carry propagation. Under the tested settings, none of the test predictions is reconstructed correctly. These results show that the tested conversion and reconstruction procedures do not provide a compatible intermediate module even for linear regression. Models defined directly over $p$-adic data and operations offer a direction for further investigation.

来源:arXiv (AI + Vision + Imaging) · arxiv.org