← 研踪 PaperTrailarXiv:2611.40574 · v1
Learning twin primality from pairs of modular-inverse graphs
首次提交 2026-11-30 14:59
版本更新 2026-11-30 14:59
雷达观测 2026-12-01 14:28
摘要
This work investigates whether twin-prime pairs can be identified from graph representations derived solely from modular-inverse relations. Each integer is represented as a graph whose vertices correspond to residues modulo that integer and whose edges encode multiplicative-inverse relations. We provide mathematical justification for two classification approaches: a Siamese Graph Isomorphism Network (SiameseGIN) and logistic regression. We identify the sum of the isolated-vertex proportions of the two graphs as a common structural quantity underlying both approaches and establish conditions under which it separates twin-prime pairs from non-twin pairs. For the SiameseGIN, we show that message passing and pooling encode the isolated-vertex proportions. For logistic regression, we establish conditions under which an affine function of this structural quantity achieves perfect separation. We further establish conditions for the existence of a common separating threshold across validation and test ranges. Both approaches are evaluated using disjoint training, validation, and test ranges. A threshold selected exclusively on the validation set is applied unchanged to the test set, where both models achieve a balanced accuracy of 1.000, with no false-positive or false-negative classifications. Additional experiments demonstrate perfect classification across extended numerical ranges, including integers near , without retraining or threshold adjustment. The principal contribution is a mathematical characterization of how the SiameseGIN architecture processes modular-inverse graphs for integers below , supported by experimental results.
作者备注:23 pages
期刊信息:Axioms 2026, 15(12), 878
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-11-30 14:59 · 最新观测版本
Learning twin primality from pairs of modular-inverse graphs
This work investigates whether twin-prime pairs can be identified from graph representations derived solely from modular-inverse relations. Each integer is represented as a graph whose vertices correspond to residues modulo that integer and whose edges encode multiplicative-inverse relations. We provide mathematical justification for two classification approaches: a Siamese Graph Isomorphism Network (SiameseGIN) and logistic regression. We identify the sum of the isolated-vertex proportions of the two graphs as a common structural quantity underlying both approaches and establish conditions under which it separates twin-prime pairs from non-twin pairs. For the SiameseGIN, we show that message passing and pooling encode the isolated-vertex proportions. For logistic regression, we establish conditions under which an affine function of this structural quantity achieves perfect separation. We further establish conditions for the existence of a common separating threshold across validation and test ranges. Both approaches are evaluated using disjoint training, validation, and test ranges. A threshold selected exclusively on the validation set is applied unchanged to the test set, where both models achieve a balanced accuracy of 1.000, with no false-positive or false-negative classifications. Additional experiments demonstrate perfect classification across extended numerical ranges, including integers near , without retraining or threshold adjustment. The principal contribution is a mathematical characterization of how the SiameseGIN architecture processes modular-inverse graphs for integers below , supported by experimental results.
查看此版本解读 →查看此版本原文 ↗