Implicit Neural Representations (INRs) have revolutionized how we model continuous signals, from 3D scenes in NeRF to high-resolution images. However, getting an INR to generalize well—to "fill in the blanks" correctly—often feels like more of an art than a science. Researchers usually spend hours tweaking activation functions and input encodings without a clear theoretical map.
A new paper, "Learning Input Encodings for Kernel-Optimal Implicit Neural Representations," aims to change that. By bridging the gap between deep learning practice and Neural Tangent Kernel (NTK) theory, the authors propose a principled way to design INR architectures that generalize better by design.
TL;DR
The authors introduce PEAK (Plug-in Encoding for Aligned Kernels), a framework that improves INR generalization by aligning the network's internal "kernel" with a theoretically optimal one. By using a learnable polynomial input encoder and a specialized regularizer, PEAK achieves state-of-the-art results in image reconstruction and NeRF tasks with fewer parameters and faster training times.
What Problem Does This Paper Address?
The core challenge with INRs is generalization. When you train an INR on a sparse set of pixels or camera views, how does it decide what the missing parts look like? This behavior is dictated by the network's architecture—its depth, width, activation functions, and especially its input encodings (like the positional encodings used in NeRF).
Currently, these choices are mostly empirical. We know Fourier features help capture high frequencies, but we don't have a rigorous way to determine the best encoding for a specific task. The authors tackle this by looking at INRs through the lens of Neural Tangent Kernel (NTK) theory, which describes how infinitely wide neural networks behave like kernel regression. The goal is to find a way to "align" the network's kernel with the structure of the data it's trying to represent.
Methods
The authors' approach, PEAK, consists of three main theoretical and algorithmic pillars:
- The Optimal Kernel: They derive a formula for the "optimal kernel" that minimizes the expected squared error for a given data distribution. This serves as the "North Star" for architecture design.
- Kernel Alignment Regularizer (KAR): They propose a new loss term that encourages the INR's empirical kernel to match this optimal kernel. Interestingly, they prove that this regularizer is mathematically related to Dirichlet Energy, providing a geometric interpretation of kernel alignment as a form of principled smoothing.
- Plug-in Encoding: They prove that an INR with a learnable input encoding can approximate any positive semidefinite dot-product kernel. They implement this as a learnable polynomial encoder (using tensor products of the input coordinates). Because it's an encoder, it can be "plugged in" to any existing INR backbone (like a standard MLP or SIREN) without changing the core architecture.
Datasets
The authors evaluated PEAK across several challenging domains:
- Image Reconstruction: Standard benchmarks like Baboon, Cameraman, and Jetplane were used to test inpainting and reconstruction from sparse, noisy, or patterned missing data.
- Phase Retrieval: Reconstructing images from only the magnitude of their Fourier transform (FPR) or Gaussian measurements (GPR).
- Neural Radiance Fields (NeRF): The standard NeRF synthetic dataset (e.g., chair, lego, mic) was used to test novel view synthesis, particularly in "few-shot" scenarios with very few training views.
Key Insights and Ideas
- Alignment over Architecture: Instead of manually searching for the "perfect" activation function, we should focus on aligning the network's kernel. If the kernel is aligned, the network naturally "understands" the underlying signal's structure.
- The Power of the Input: You don't need to redesign the whole network to change its fundamental behavior. A learnable input mapping is theoretically sufficient to transform a standard MLP's kernel into nearly any desired kernel.
- Efficiency Gains: By forcing the network to be "kernel-optimal," it learns more efficiently. PEAK often reaches higher accuracy faster and with fewer parameters than popular methods like Hash encodings or Fourier features.
Key Results
- Superior Inpainting: In image reconstruction tasks with 50% random missing pixels, PEAK achieved 22.60dB PSNR on the Baboon image, significantly outperforming standard MLPs (18.64dB) and Fourier features (20.10dB).
- Few-Shot NeRF: PEAK is particularly robust when data is scarce. On the chair scene with only 25 views, PEAK reached 24.42dB, while the highly optimized Instant-NGP lagged at 23.79dB.
- Computational Efficiency: PEAK was shown to train faster and achieve higher PSNR with fewer parameters than SIREN, Fourier, and Hash-based models. For example, it achieved better results on the Baboon image with roughly $1/10$th the parameters of some baselines.
Limitations and Future Work
While theoretically grounded, the current work relies on NTK theory, which assumes networks are infinitely wide. While this provides excellent guidance, real-world finite-width networks might exhibit "feature learning" behaviors that the NTK doesn't fully capture.
The authors suggest that future work could explore even more complex, non-polynomial learnable encoders and investigate the deeper relationship between kernel alignment and the expressiveness of neural networks. There is also potential to apply this "kernel-first" design philosophy to other areas of deep learning beyond implicit representations.
Summary updated