by sillysaurusx · 5y ago · 0 comments
If you're looking for deeper explanations, I recommend "Practical Signal Processing": https://www.amazon.com/Practical-Signal-Processing-Mark-Owen...
Many of the chapters are here: https://battle.shawwn.com/sdb/books/PSP/ but buy the book if you can afford to.
In particular, Chapter 4's "untwisting" intuition is the best I've found: https://imgur.com/a/r7KvO60
Another way of phrasing it: You know that effect when a wheel is spinning so fast, it looks like it's going backwards? If it looks like it's standing still, there's a Fourier coefficient at that rotational frequency.
... Or at least, I think there is. It's hard to be precise with analogies.
This is great for large filter, 2x2 strided neural net convolutions (e.g., 7x7 stride 2x2)
There's none of the waste you find elsewhere, in implementations that downsubsample the output of a dense (unstrided) Fourier convolution. I haven't seen this technique used anywhere else!
Like many others, I was hyped when it came out. Then it turns out that BERT with half the param count still kicks their butts in accuracy.
They also only model the .real component and ignore the .imaginary component entirely, which you can't do and expect good results.
But, FFTs are so cool and under-explored that I'm sure they'll be making the rounds in NNs soon. There are lots of advantages to frequency space representations.