Convolutions, Fast Fourier Transform and polynomials (2022)
alvarorevuelta.com
Convolutions, Fast Fourier Transform and polynomials (2022)
1–10 of 61 posts
Re: Convolutions, Fast Fourier Transform and polynomials (2022)
#2Re: Convolutions, Fast Fourier Transform and polynomials (2022)
#3[1]: http://numbers.computation.free.fr/Constants/Algorithms/fft....
Re: Convolutions, Fast Fourier Transform and polynomials (2022)
#4This paper talks about it in the context of RL https://arxiv.org/abs/1712.06115 but most approaches fit within that paradigm.
Re: Convolutions, Fast Fourier Transform and polynomials (2022)
#5Something that always bothers me about these explanations is they usually forget about numerical errors. You can't just abstract away multiplying coefficients as "constant time". You may as well abstract away the entire multiplication to begin with! If you take into account numerical precision, it's closer to O(n (log n)^3) [1]. [1]: http://numbers.computation.free.fr/Constants/Algorithms/fft....
Re: Convolutions, Fast Fourier Transform and polynomials (2022)
#6I think that all machine learning is solving a convolutional equation. This paper talks about it in the context of RL https://arxiv.org/abs/1712.06115 but most approaches fit within that paradigm.
Re: Convolutions, Fast Fourier Transform and polynomials (2022)
#7Re: Convolutions, Fast Fourier Transform and polynomials (2022)
#8Something that always bothers me about these explanations is they usually forget about numerical errors. You can't just abstract away multiplying coefficients as "constant time". You may as well abstract away the entire multiplication to begin with! If you take into account numerical precision, it's closer to O(n (log n)^3) [1]. [1]: http://numbers.computation.free.fr/Constants/Algorithms/fft....
But if the coefficients are integers, you can use NTT with a big enough modulus and get exact results and a boost (esp. in hardware) in multiplication time.
Re: Convolutions, Fast Fourier Transform and polynomials (2022)
#9Something that always bothers me about these explanations is they usually forget about numerical errors. You can't just abstract away multiplying coefficients as "constant time". You may as well abstract away the entire multiplication to begin with! If you take into account numerical precision, it's closer to O(n (log n)^3) [1]. [1]: http://numbers.computation.free.fr/Constants/Algorithms/fft....
But if the coefficients are integers, you can use NTT with a big enough modulus and get exact results and a boost (esp. in hardware) in multiplication time.
Re: Convolutions, Fast Fourier Transform and polynomials (2022)
#10Earlier quoted context omitted.
But if the coefficients are integers, you can use NTT with a big enough modulus and get exact results and a boost (esp. in hardware) in multiplication time.
Had no clue what NTT was but found this as a reference https://codeforces.com/blog/entry/48798#:~:text=NTT%20(Numbe... .