In an attempt to mitigate Spectral Bias, this method maps input x coordinates into a set of random Fourier Features.

Stemming from Fourier Series

We start with a Fourier Series

Generalize to multiple dimensions. Given

Replace harmonic frequencies with arbitrary frequencies (because we don’t know what these frequencies are beforehand). Instead of we use arbitrary frequency vectors

Because we don’t know these harmonic frequencies, we randomly sample them. The current best choice to do so is sampling using a Gaussian Distribution.

Meaning that we are making the assumption that we can represent our output as approximately a sum of sine and cosine functions at differing magnitudes at a set of enough randomly sampled frequencies.

Given that we have a bunch of , we can finally stack our component form into a matrix representation of our mapping.

And we are trying to find

Which in a nice way looks like a Linear Layer! (see Layers)

Where we’re essentially learning the coefficients of a Fourier Series sampled at random frequencies