Manifold Random Features
Ananya Parashar, Derek Long, Dwaipayan Saha, Krzysztof Choromanski
TL;DR
This work introduces Manifold Random Features (MRFs), a framework to approximate bi-variate functions on manifolds by learning continuous feature fields through discretization and Graph Random Features (GRFs). By training a neural surrogate to realize a bilinear form $F(x,y)\approx \int g(x,\omega)g(y,\omega)d\omega$, MRFs produce a positive, bounded feature map that enables efficient kernel-vector computations on non-Euclidean domains. The authors establish a deep connection between discrete GRFs and continuous kernel representations, derive RF constructions for diffusion/heat and Gaussian kernels, and show that Gaussian RFs emerge naturally from grid-based GRFs. Extensive experiments on Euclidean spaces and 2D surfaces (sphere, ellipsoid, Möbius strip, torus) demonstrate high-fidelity kernel approximations and substantial speedups, with mesh-interpolation tasks illustrating practical scalability. Overall, MRFs offer a scalable path for kernel methods on manifolds, with potential impact on ML applications involving non-Euclidean data.
Abstract
We present a new paradigm for creating random features to approximate bi-variate functions (in particular, kernels) defined on general manifolds. This new mechanism of Manifold Random Features (MRFs) leverages discretization of the manifold and the recently introduced technique of Graph Random Features (GRFs) to learn continuous fields on manifolds. Those fields are used to find continuous approximation mechanisms that otherwise, in general scenarios, cannot be derived analytically. MRFs provide positive and bounded features, a key property for accurate, low-variance approximation. We show deep asymptotic connection between GRFs, defined on discrete graph objects, and continuous random features used for regular kernels. As a by-product of our method, we re-discover recently introduced mechanism of Gaussian kernel approximation applied in particular to improve linear-attention Transformers, considering simple random walks on graphs and by-passing original complex mathematical computations. We complement our algorithm with a rigorous theoretical analysis and verify in thorough experimental studies.
