596 karma · joined February 1, 2022
In general herbie is pretty good at suggesting the right functions / rearrangements. For this example, it finds expm1: https://herbie.uwplse.org/demo/378a0682ec4d3e735c790a58fa97e...
(Although I don't have time to respond meaningfully today, I really appreciate the comments pointing out other relationships by mvcalder, Joschkabraun, yagyu and others.)
My own post basically covers the simplest possible case where gradient descent does something related to kernels. The problem is that the "tangent kernel" driving the evolution of the model over training is typically not constant. (In my case it is constant because my model is linear.)
Domingos' solution seems to be: in general, just integrate the tangent kernel over the path taken by your optimization and call it the path kernel. Then your resulting model can always be viewed as a kernel machine, with the subtlety that the kernel now depends on the trajectory you took during training. So in that sense, kernels are everywhere! I'll take another look on Monday :)
It's amusing how facts that look surprising and mysterious to the rest of the world are just table stakes at the right sort of math department. As a researcher I feel the pressure to make things that are "my own", but there's so much that already exists just waiting to be grokked and plugged in!
My favorite bit is his explanation of how dimensional analysis explains the relationships between powers used in Sobolev inequalities. After we get the idea of dimensions divorced from the usual physical MLT usage you can apply these techniques all over math.
Customarily, capital letters like M, T, L, etc., refer to dimensions, and you would something like [1 kg] = M to say that 1 kg is a quantity that scales like a mass. A PLT analogy analogy would be to compare physical quantities to values and dimensions to types.
In practice we can refer to dimensions by base units, but it has some mathematical benefits to view them as distinct. Hope that clarifies things!
That being said, I did try to connect infinite-dimensional problems with dimensional analysis in this post. Towards the end of my section on dimensions with complex powers, I applied dimensional analysis to the study of periodic signals and ended up arguing that (complex) Fourier basis elements can be thought of as dimensionful objects. I haven't seen dimensions used like this before, so I was hoping to earn the vote from fans of functional analysis ;)
* Write the content in Markdown.
* Don't require any source files to update it.
And here we are: https://cgad.ski.