r/MachineLearning • • Jun 21 '20

Discussion [D] Paper Explained - SIREN: Implicit Neural Representations with Periodic Activation Functions (Full Video Analysis)

https://youtu.be/Q5g3p9Zwjrk

Implicit neural representations are created when a neural network is used to represent a signal as a function. SIRENs are a particular type of INR that can be applied to a variety of signals, such as images, sound, or 3D shapes. This is an interesting departure from regular machine learning and required me to think differently.

OUTLINE:

0:00 - Intro & Overview

2:15 - Implicit Neural Representations

9:40 - Representing Images

14:30 - SIRENs

18:05 - Initialization

20:15 - Derivatives of SIRENs

23:05 - Poisson Image Reconstruction

28:20 - Poisson Image Editing

31:35 - Shapes with Signed Distance Functions

45:55 - Paper Website

48:55 - Other Applications

50:45 - Hypernetworks over SIRENs

54:30 - Broader Impact

Paper: https://arxiv.org/abs/2006.09661

Website: https://vsitzmann.github.io/siren/

230 Upvotes

29 comments sorted by

View all comments

Show parent comment

17

u/ykilcher Jun 21 '20

I get what you're saying about jpegs, but I feel this is fundamentally different. A jpeg is sort of like a Fourier transform, which still represents the actual data point, i.e. the information is equivalent to storing the pixel values. SIRENs on the other hand learn a continuous function from coordinates to rgb, which is really different. Yes, both include sine waves, but for entirely different purposes.

Also, why do you assert that sine networks are more expressive than e.g. tanh networks? both are deterministic functions from R to [-1, 1] with zero parameters, as such the networks are exactly equally expressive. Their argument is just that SIRENs are better suited to natural signals.

I do agree with your point on comparing to e.g. elus, which would make sense here.

3

u/notdelet Jun 21 '20

Projecting onto any basis, even finite bases like the DCT, can also be thought of as getting a continuous function to RGB.

2

u/tpapp157 Jun 21 '20

In response to expressiveness, your point would be true if they restricted values to the range -pi/2 to pi/2 but they specifically encourage (via their initialization) values to span multiple sine periods which effectively enables each neuron to model some sort of multimodal distribution. Tanh cannot do this at all.

3

u/IborkedyourGPU Jun 21 '20

I agree with your point, but I would frame it differently: the key difference IMO is that the ReLU indicator function I(max(0,alpha * x)>0), or even the softplus indicator function I(log(1+exp(alpha * x))>0) have VC dimension 2, while the sin indicator function I(sin(alpha * x)>0) have VC dimension +\infty.

1

u/Red-Portal Jun 24 '20

According to http://auai.org/uai2019/proceedings/papers/25.pdf , using periodic functions for activation does not result in more complex patterns. In the context of the equivalence between Bayesian NNs and Gaussian processes, cosine activation functions result in an additive RBF kernel (which is not periodic).

1

u/nomology Jun 21 '20

When you say it maps coordinates to RGB, for 2-D images does this mean a map from [x, y] to [x,y, r, g, b], or [x, y, c] to [x,y, r, g, b], with c being a grayscale axis?

4

u/PublicMoralityPolice Jun 21 '20

The network is a continuous mapping from (x, y) to (r, g, b).