Skip to content

Adelic Neural Network Architectures via Universal Approximation

Maxime Guigon, Lucas Dixon, Julien Randon-Furling, Michaël E. Sander

cs.LG

Abstract

Real and pp-adic spaces offer complementary inductive biases for machine learning: R\mathbb{R} naturally represents smooth variations of magnitude, whereas the ultrametric tree structure of Qp\mathbb{Q}_p naturally captures hierarchies and modular arithmetic. Combining both in a single neural network is not straightforward because R\mathbb{R} is connected whereas Qp\mathbb{Q}_p is totally disconnected, so naive cross-field layers either break continuity or discard the ultrametric geometry. In this paper, we derive a new universal approximator on the proxi-adelic space Rd0×∏i=1MQpidi\mathbb{R}^{d_0}\times\prod_{i=1}^{M}\mathbb{Q}_{p_i}^{d_i}, which combines real coordinates with pp-adic coordinates for finitely many distinct primes. For continuous maps on KR×∏iZpidiK_{\mathbb{R}}\times\prod_{i}\mathbb{Z}_{p_i}^{d_i}, with KRK_{\mathbb{R}} compact and connected, we show that the topology of the space largely constrains the form of an approximator. A real-valued output is approximated by finitely many real networks, each switched on by the indicator of a ball in the pp-adic coordinates. A pip_i-adic-valued output cannot depend on the real input at all, and depends on the other primes only through ball indicators. The result holds for any choice of universal real and pp-adic approximators; instantiated with perceptrons and pp-adic character networks, it yields an explicit universal layer. We then show that universality is preserved under two relaxations: replacing partitions by covers, which gives a successive refinement along the pp-adic tree, and replacing ball indicators by their Fourier expansion, which turns the gating into a modulation by cosines of pp-adic fractional parts.

Create a lesson