Point-to-Manifold Geometry: Flexibly Overcoming the Curse of Dimensionality in Neural Computational Units

Rohan Ghosh, Mehul MotaniNeurIPS 2026

TL;DR

Deep learning mostly relies on neurons that slice space with flat planes (perceptrons) or wrap points in rigid spheres (radial basis functions). This paper introduces the Generative Matching Unit (GMU), a new computational building block that runs a miniature generative inference step during its forward pass to measure the distance from an input point to a learned manifold. By swapping standard first-layer neurons with GMUs, networks effortlessly side-step the curse of dimensionality and gain massive boosts in out-of-distribution robustness—without needing data augmentation.

What Problem Does This Paper Address?

At the end of the day, a neural network is only as good as the geometric inductive bias of its individual neurons. Standard perceptrons carve up data using flat hyperplanes; mathematically, a single layer of perceptrons is only Bayes-optimal if your data features are conditionally independent given the class label—a rare luxury in the real world. Radial Basis Function (RBF) units offer curved, spherical boundaries by measuring Euclidean point-to-point distances, but in high dimensions, Euclidean distances famously collapse: every point starts looking equally far from every other point (the curse of dimensionality).

Real-world data usually has complex, interdependent structure, often lying on low-dimensional manifolds embedded in high-dimensional space. The authors ask: if we model data generation more realistically—where each class is produced by its own latent causal mechanism—what does the mathematically optimal neuron look like?

Figure 1: Comparing ground truth data generation models (a) Exponential Conditionally Independent (ECI) Sampling, which samples every input dimension xi independently given the label Y and (b) Class-wise latent structural causal model based sampling (CL-SCM), which maintains a separate SCM for each class. (c) outlines the SCM in the CL-SCM approach, which can emulate more complex structural dependencies in the data.

Methods

To match structured data, the authors propose the Generative Matching Unit (GMU). Instead of computing a simple dot product, each GMU contains an internal generative model parameterized by trainable weights $W$.

During the forward pass, the GMU treats computation as an internal inference problem:

  1. Given an input $x$, it finds the optimal instance-specific latent parameters $\theta$ (of dimension $k$, the "order" of the GMU) that best reconstruct $x$.
  2. It calculates the reconstruction error—geometrically, the shortest distance from the point $x$ to the unit's internal manifold.
  3. It passes this distance through a monotonically decreasing activation function (like a Gaussian exponential), firing strongly when the input lies close to its manifold.
Conceptual diagram of a GMU measuring the distance from an input point to its internal generative manifold.

Optimization inside every neuron sounds painfully slow, so the authors restrict the internal generator to linear subspaces ($W^T\theta$). This Linear GMU yields a clean, closed-form least-squares analytical solution using pseudo-inverses, keeping inference instantaneous. Geometrically, its decision boundaries are flexible "hyper-cylinders"—curving tightly in some directions while stretching infinitely along the $k$ subspace dimensions.

Because stacking exponential activations across many layers causes gradients to vanish, the authors place GMUs exclusively in the first layer of standard MLPs, ResNets, and CNNs (creating convolutional GMUs) to untangle the data before handing it off to standard layers.

Datasets

The authors put GMUs through a massive empirical gauntlet:

  • Tabular: 27 diverse OpenML datasets (ranging from 800 to 170,000 samples, and 5 to 1,000 dimensions).
  • Vision & Corruptions: MNIST, Fashion-MNIST, CIFAR-10, smallNORB, and SVHN, evaluated across 34 test-time corruption benchmarks (e.g., fog, motion blur, impulse noise) and cross-dataset transfer tasks.
  • Synthetic: 30 controlled synthetic scenarios (detailed in their appendix) testing Fourier series, tree-structured models, and manifold boundaries.

Key Insights and Ideas

  • Immunity to Distance Collapse: When high-dimensional data ($d$) actually lives on a lower-dimensional intrinsic subspace, standard Euclidean distance loses its ability to tell points apart. A $k$-order GMU effectively subtracts $k$ dimensions from the problem, preserving high variance (discriminative power) in its distance measurements even as ambient dimensionality grows.
Higher-order GMUs maintain a much higher Coefficient of Variation than standard Euclidean distance (k=0) on data with low intrinsic dimensionality.
  • Extreme Representational Asymmetry: A single GMU can exactly mimic an RBF unit (set $W=0$), and two GMUs can mimic a perceptron's boundary. Going the other way is brutal: approximating a single $k$-order GMU requires $O(d^{k/2})$ RBF units or an exponential number of standard MLP neurons.
  • Exponential Efficiency on Smooth Surfaces: When tiling a smooth, anisotropically curved decision boundary (curved differently in different directions), GMUs align their flat subspace axes with the flatter directions of the surface. This makes them exponentially more parameter-efficient than spheres (RBFs) or flat facets (MLPs).

Key Results

  • Tabular Wins: Replacing the first layer of a parameter-matched ResNet with GMUs improved or matched balanced accuracy on 21 out of 27 OpenML datasets.
  • Zero-Augmentation Robustness: Without any data augmentation during training, GMU-CNNs crushed standard CNN baselines on corrupted vision benchmarks. Average accuracy under corruption jumped from 68.95% to 94.34% on MNIST, 61.60% to 75.59% on Fashion-MNIST, and 66.91% to 72.72% on CIFAR-10 (using VGG-16).
  • Out-of-the-Box Domain Transfer: Training a model on MNIST and testing directly on real-world street numbers (SVHN) saw standard CNNs collapse to 19.95% accuracy, while GMU-CNNs hit 54.50% (and improved SVHN $\rightarrow$ MNIST from 67.28% to 83.99%).
  • Fast Inference: Because the matrix inverted inside each neuron is tiny ($k \times k$, with $k \le 8$), per-sample inference remains sub-millisecond: 0.017 ms vs. 0.004 ms on tabular ResNets, and 0.0265 ms vs. 0.0083 ms on vision CNNs.

Limitations and Future Work

  • Shallow Integration: GMUs are currently restricted mainly to the first network layer. Stacking GMU layers with exponential activations creates "exponentials of exponentials," leading to gradient collapse and training instability. Finding ways to train deep, multi-layer GMU networks is an open challenge.
  • Compute Overhead: While wall-clock inference is still sub-millisecond, the per-unit FLOPs scale as $2k^2d$. This ~3–4x compute multiplier could become a bottleneck for massive-scale architectures until more hardware-friendly approximations or deeper training recipes are developed.

Summary updated

Abstract

The ability of neural networks to generalize is fundamentally shaped by their computational units. While the perceptron provides a first-order, linear inductive bias and the radial basis function (RBF) unit offers an isotropic curved bias, we identify a critical opportunity for a structured extension: the Generative Matching Unit (GMU). Each individual GMU captures complex dependencies by treating the forward pass as an inference problem; its internal generative model optimizes instance-specific latent parameters to compute a reconstruction error, effectively measuring a point-to-manifold distance as opposed to the point-to-point distance in RBFs. We focus on linear GMUs, which yield closed-form analytical expressions for fast computation and extend naturally to convolutional architectures. Our theoretical analysis demonstrates that linear GMUs are highly flexible universal approximators capable of recovering structured class posteriors. We prove that while a single GMU can exactly emulate an RBF kernel and two can emulate the decision boundary of a perceptron, emulating a single $k$-order GMU’s decision boundary requires a hidden layer of standard units that scales polynomially or exponentially with input dimensionality. Furthermore, we prove that the GMU’s point-to-manifold distance can be significantly more discriminative than Euclidean distance when data has high ambient and low intrinsic dimension, offering unique robustness to the curse of dimensionality. Finally, we show that GMUs offer superior flexibility and efficiency in learning smooth manifold decision boundaries compared to MLPs and RBFs. Motivated by the theoretical results, we place GMUs in the first network layer like RBFs, where their role is to enhance linear separability for subsequent layers. This avoids the typical gradient collapse problem with stacking RBF-like units while ensuring the generalization benefits remain. We find that across extensive experiments involving 27 tabular datasets, five vision datasets evaluated across 34 test-time corruption settings, and 30 synthetic data scenarios, GMU networks demonstrate statistically significant improvements in generalization and robustness.
BibTeX
@inproceedings{ghosh2026point,
  author = {Rohan Ghosh and Mehul Motani},
  title = {{Point-to-Manifold Geometry: Flexibly Overcoming the Curse of Dimensionality in Neural Computational Units}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VbhnntlbxG},
}
Figure