r/computerscience • • May 15 '25

Discussion Most underground and unknown stuff

Which kind of knowledge you think is really underground and interesting, but usually nobody looks up?

36 Upvotes

22 comments sorted by

View all comments

Show parent comment

4

u/claytonkb May 15 '25

Transformers might exhibit a bias towards simpler solutions or more compressible representations

From the standpoint of K-complexity, all learning is an instance of compression. This is basically true by definition -- if you memorize the names of the weekdays, you have merely memorized them, but you have not "learned" anything in the sense of understanding a causal structure of some kind. They are just labels. But if you learn the algorithm to work out a weekday name from any given date on the Gregorian calendar, then you have indeed learned something because that algorithm compresses a table that would be several megabytes of raw data, into a very short equation that you can use in your working memory as an algorithm to figure out the day of the week from a given calendar date.

Regularization will have the effect of biasing towards "simpler" solutions in the sense that you are throwing out weights that aren't "moving the needle" on your cost-function on the presumption that they are not helping. So, for a given set of weights, regularization helps compact as much useful information into those weights, given the training-set, as possible. From a K-complexity standpoint, this is like biasing your search-space towards shorter programs, because storing a larger number of short programs that score "pretty good" on the training data is superior to storing a small number of longer programs that score higher but do not generalize as well.

generalization often relies on finding underlying simple patterns in complex data.

Sure, if we zoom out far enough, generalization can be thought of as interpolation from a learned algorithm.