# Poster 30269

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/30269

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, my name is Sam Adia and I'm here to discuss our recent work using the neural tangent kernel to explore our multi-grid parametric encodings to learn fine details in low dimensional spaces. Some quick background on why this problem is important. There's been a lot of recent work on implicit neural representations, which seek to use small, fast to evaluate and train networks and applying them into many different applications, whether it's for function compression, or maybe it's in a rendering pipeline for material properties or as neural surrogates for engineering optimization and design.
Now we see in the naive implementation of these networks if we say take a simple feed-forward network with ReLU activation on the right and we try to learn the underlying RGB values of an image we see that only a low frequency blocky coarse image is learned. Now this is a problem known as spectral bias and we're here to look at multiple ways that mitigate this problem. Now there's two main ways to mitigate this problem. First is using activation functions or we can embed the inputs into higher dimensional spaces before passing them to a network.
network. We're going to focus on those encodings here. Now the two most common encodings are the Fourier feature encoding which seeks to approximate the Fourier transform with sines and cosines before passing to the network. Now there's a lot of theoretical understanding of why this works using signal processing techniques and this tends to be the most common encoding in most literature. From the graphics field we have the multi-grid parametric encoding which we see a diagram on in the bottom right which has a hierarchy of grids with learnable parameters at the intersections. Now we linearly interpolate
interpret those those learnable parameters concatenate them and then pass them to the network and then we see in the top right here that both of these encodings are able to really learn those fine details in the image but however in practice we find that the multi-grid encoding often outperforms the Fourier encoding and that's what we seek to quantify here
To do this, we're going to use something called the neural tangent kernel spectrum. The neural tangent kernel is a way of viewing the training of these networks as a kernel regression problem, and then we're able to apply classical analysis techniques to the problem. Now we can view the neural tangent kernel as the average alignment of the vectors of the gradients for different values in the input training data set. Now why the eigenvalues are important is we can actually look at the difference between the predicted value f of theta on the input training data set.
is that x in the ground truth values y if we decompose the neural tangent kernel into its eigenvalues and eigenvectors we see that we're actually able to bound that training error by the exponential decay with the magnitude of those eigenvalues now the higher magnitude eigenvalues typically correspond to the lower frequency features and that's why we get these blocky representations now we want our encodings to raise the eigenvalue spectrum overall but we really want them to raise those lower magnitude eigenvalues so that the finer features are able to be learned
learned. Now, what does this look like for encodings? In our paper, we find that the multigrid parameter encoding has three main components. There's the first, which is the original NTK, which comes from just passing the original input to the network. And then we also have a contribution to the NTK based on the embedding space itself that we've passed through the inputs then embedding into a higher dimensional space before passing to the network. And then lastly, we also have NTK contributions from the grid parameters themselves. Now, in contrast to the Fourier encoding, the Fourier encoding only works in this embedding space. Now it's a different embedding space, so it's still good.
still get strong performance, but we're here to see why the multivariate encoding is able to outperform the Fourier encoding. Now if we look at the contribution of each individual parts of that NTK, we can actually view each additional contribution as a perturbation on the original kernel. This allows us to theoretically bound the minimum eigenvalue in the overall kernel by the smallest eigenvalue in each of the contributions. So if we plot the eigenvalue spectrum in each of those different segments, we actually see that the grid component is where we get
you get almost all of the improvement orders of magnitude over the baseline and the embedding space itself. Now this shows that the multi-grid encoding learns to better regress those finer details in a fundamentally different way than the Fourier encoding. So what does this look like on real data? So obviously we've been talking about the 2D image regression problem. We take 100 images from 100 different classes of ImageNet and then we apply these encodings to those image regression problems and find that the peak signal noise ratio and the multi-grid structural similarity are
are higher for the multi-grid encoding which is higher than the Fourier encoding and the Fourier encoding is also higher than the baseline. We find that these higher values correspond to higher eigenvalue spectrums overall. So this shows that our theoretical understanding of what the eigenvalue should be corresponds to the quantitative values that come from the regression problem. We also looked at a 3D surface regression to show that our theory works in
spaces other than 2d image regression and we looked at occupancy net which essentially is a binary classification of whether we're inside or outside of an object we picked a couple of objects from the classic stanford graphics data set and we find that the baseline encoding with the lowest eigenvalues overall is barely able to regress any noticeable features of the object before encoding with orders of magnitude higher eigenvalues is able to get the coarse features but then it's really the multi-grid encoding with the highest eigenvalues overall that are able to learn those fine details
else. Now in conclusion, we see that our work provides a theoretical analysis for why the multigrading coding is able to outperform the foreign coding and it's our hope that this analysis allows for greater adoption outside of the graphics community in things like scientific machine learning. This even opens the door for creating new encodings ones that are specifically designed for the data set if we're able to quickly compute the NTK and look at the lowest eigenvalue. Now of course we have a paper at IC or poster at ICLR so please reach out and I'm happy to talk more.
