A Learnable Radial Basis Positional Embedding for Coordinate-MLPs

Sameera Ramasinghe, Simon Lucey

Abstract

Coordinate-based Multi-Layer Perceptrons (MLPs), or neural fields, have become a cornerstone for representing continuous signals like 3D shapes and high-resolution images. However, these models often suffer from spectral bias, failing to capture high-frequency details without carefully tuned positional embeddings. This paper introduces a novel framework for learning instance-specific positional embeddings using graph-Laplacian regularization and super-Gaussian radial basis functions (RBFs). By optimizing for manifold smoothness rather than simple training error, the proposed method enables the network to adapt its embedding to local signal complexity, avoiding the common pitfall of overfitting. Our approach significantly outperforms standard Random Fourier Features (RFF) in reconstruction quality, generalization from sparse data, and computational efficiency.

What Problem Does This Paper Address?

Coordinate-MLPs, often called neural fields, have revolutionized how we represent 3D shapes, images, and volumes (e.g., NeRF). These networks take a coordinate (like $x, y, z$) and output a value (like color or density). However, standard MLPs have a "spectral bias"—they struggle to learn high-frequency details.

To fix this, researchers use positional embeddings to project low-dimensional coordinates into a higher-dimensional space. The gold standard has been Random Fourier Features (RFF). The catch? RFF hyperparameters (like the scale of frequencies) are usually hand-tuned or found via expensive cross-validation. If you try to "learn" these parameters alongside the network weights using standard backpropagation, the model catastrophically overfits: it memorizes the training points perfectly but fails to interpolate between them, resulting in "noisy" or broken reconstructions.

Reconstruction of 2D signals using the proposed learnable embedding framework.

Methods

The authors propose a framework to learn these embedding parameters by optimizing for smoothness rather than just minimizing training error.

  1. Manifold Smoothness: They argue that the "volume" of the manifold created by the embedding should be proportional to the local gradient (Jacobian) of the target signal. Where the signal changes rapidly, the embedding should be more expressive.
  2. Graph-Laplacian Regularization: Since we work with discrete pixels or points, they approximate the manifold using a similarity graph. They use the Graph Laplacian ($ au(u) = u^T L u$) as a regularization term. This term penalizes the embedding if it becomes too "distorted" relative to the signal's complexity.
  3. Super-Gaussian RBFs: Instead of periodic sine/cosine waves (Fourier), they use Radial Basis Functions (RBFs), specifically a "super-Gaussian" formulation. These have spatial locality, making them much easier to regularize for local smoothness.
  4. Scalable Optimization: To avoid the massive computational cost of building a full similarity graph for large images, they discovered that the optimal standard deviation ($\sigma_x$) for the RBFs is a point-wise property of the signal's derivative. They use a simple polynomial equation to predict the best $\sigma_x$ for any given coordinate.

Key Insights and Ideas

  • The Overfitting Paradox: End-to-end training fails because the network finds a "trivial" solution where it pushes embedded coordinates as far apart as possible to minimize training loss, destroying the geometric relationship between points.
  • Locality Matters: Fourier features are global; changing a frequency affects the whole domain. RBFs are local, allowing the model to increase detail in a specific area of an image (like a butterfly's wing) without affecting a smooth area (like the sky).
  • Shallow is Better: The learnable RBFs allow very shallow networks (even a 1-layer MLP) to outperform deeper networks using standard RFF, proving that the "intelligence" of the representation often lies in the embedding.

Key Results

  • Superior Generalization: In 1D signal tests, the proposed method achieved a Test PSNR of 31.17, compared to 26.03 for the best-tuned RFF.
  • 3D Reconstruction: On NeRF-style synthetic scenes, the method reached a PSNR of 32.17 and an SSIM of 0.981, outperforming "matched" RFF (31.13 PSNR / 0.947 SSIM).
  • Robustness to Sparse Data: When training on only 10% of available data, the super-Gaussian embedder maintained high quality, while RFF performance degraded significantly. This is particularly evident when comparing 1-layer and 3-layer MLP performance.
Comparison of reconstruction quality between the proposed method and RFF across varying training data densities and network depths.

Limitations and Future Work

While the polynomial approach for $\sigma_x$ solves the scalability issue of the Graph Laplacian, the coefficients for that polynomial still need to be "pre-calculated" using a small training set of similar signals. Additionally, the current formulation relies heavily on knowing the signal's gradients. In some "blind" inverse problems where the ground truth signal isn't fully known, applying this regularization might be more challenging. Future directions include extending this framework to other types of basis functions and integrating it into large-scale generative models.

Summary updated

BibTeX
@inproceedings{ramasinghe2023learnable,
  author = {Sameera Ramasinghe and Simon Lucey},
  title = {{A Learnable Radial Basis Positional Embedding for Coordinate-MLPs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i2.25307},
}
Figure