r/MachineLearning • Researcher • Jun 18 '20

Research [R] SIREN - Implicit Neural Representations with Periodic Activation Functions

Sharing it here, as it is a pretty awesome and potentially far-reaching result: by substituting common nonlinearities with periodic functions and providing right initialization regimes it is possible to yield a huge gain in representational power of NNs, not only for a signal itself, but also for its (higher order) derivatives. The authors provide an impressive variety of examples showing superiority of this approach (images, videos, audio, PDE solving, ...).

I could imagine that to be very impactful when applying ML in the physical / engineering sciences.

Project page: https://vsitzmann.github.io/siren/
Arxiv: https://arxiv.org/abs/2006.09661
PDF: https://arxiv.org/pdf/2006.09661.pdf

EDIT: Disclaimer as I got a couple of private messages - I am not the author - I just saw the work on Twitter and shared it here because I thought it could be interesting to a broader audience.

262 Upvotes

81 comments sorted by

View all comments

Show parent comment

2

u/JH4mmer Jun 19 '20

A colleague of mine wrote either his Master's or part of his Dissertation on "unusual" activations, sinosoids included. If I remember correctly, they can be used, but learning rates have to be dropped considerably, which slows training quite a lot. His work involved time series data and the combination of different periodic functions. The main idea was that the sine activations can be used for periodic components, while, say, linear activations allow for linear trends. It worked pretty well (again if I'm remembering correctly).

For this work, I did experiment with different activations, but they only turned out to be relevant when constraining the image representation to be smaller than what would actually be necessary given the image data. If some image requires 100 weights (in the information-theory sense), but you only allow it to use 50, you get a sort of abstract artistic reconstruction of the original image. In those cases, the activation function changes the appearance of the reconstruction (or the style, if you will).

Traditional sigmoids result in a water ripple effect, while relus result in a more cubist interpretation that has lots of sharp lines. They made some really interesting images!

However, once you reach the minimum information threshold, the reconstruction matches the original image, and there aren't any remaining artifacts that would allude to the original choice of activation in the encoding network.