▲ | semiinfinitely 2 days ago | ||||||||||||||||
right and it should be totally obvious that we would choose an energy function from statistical mechanics to train our hotdog-or-not classifier | |||||||||||||||||
▲ | C-x_C-f 2 days ago | parent | next [-] | ||||||||||||||||
No need to introduce the concept of energy. It's a "natural" probability measure on any space where the outcomes have some weight. In particular, it's the measure that maximizes entropy while fixing the average weight. Of course it's contentious if this is really "natural," and what that even means. Some hardcore proponents like Jaynes argue along the lines of epistemic humility but for applications it really just boils down to it being a simple and effective choice. | |||||||||||||||||
| |||||||||||||||||
▲ | xelxebar 2 days ago | parent | prev | next [-] | ||||||||||||||||
The connection isn't immediately obvious, but it's simply because solving for the maximum entry distribution that achieves a given expectation value produces the Botlzmann distribution. In stat mech, our "classifier" over (micro-)states is energy; in A.I. the classifier is labels. For details, the keyword is Lagrange multiplier [0]. The specific application here is maximizing f as the entropy with the constraint g the expectation value. If you're like me at all, the above will be a nice short rabbit hole to go down! [0]:https://tutorial.math.lamar.edu/classes/calciii/lagrangemult... | |||||||||||||||||
▲ | Y_Y 2 days ago | parent | prev [-] | ||||||||||||||||
The way that energy comes in is that you have a fixed (conserved) amount of it and you have to portion it out among your states. There's nothing inherently energy-related about, it just happens that we often want to look energy distributions and lots of physical systems distribute energy this way (because it's the energy distribution with maximal entropy given the constraints). (After I wrote this I saw the sibling comment from xelxebar which is a better way of saying the same thing.) |