r/MachineLearning • • Jan 12 '16

great summary of deep learning

http://imgur.com/ZfkhOt4
563 Upvotes

72 comments sorted by

View all comments

254

u/farsass Jan 12 '16

28

u/pin9999 Jan 12 '16

ELI5: why doesn't deep learning suffer from the curse of dimensionality?

20

u/cryptocerous Jan 12 '16 edited Jan 12 '16

IMO - the curse of dimensionality was only ever actually valid as a relative relationship instead of a hard cutoff (when all possible models are available for use.) In this case, curse of dimensionality only creates a relative relation between sample size, dimensionality, and model performance. It is not valid in the way that most laymen interpret it, as a hard cutoff constant that the ratio between sample size and dimensionality cannot surpass or else model performance fails. I.e.,

(a) valid: (sample_size / dimensionality) => greater is generally better

(b) invalid: if (sample_size / dimensionality) > constant => failure

When considered from an information theoretic perspective, it has always been clear that there's no lower bound on how small the (sample_size / dimensionality) ratio can be! Even a single sample providing just a tiny fraction of a single bit can be enough to provide sufficient information for good predictions!

Why's that? There's a third trump card - priors.

As I check Google now, I see that it doesn't come up with any decent general definition of prior, as used in modern machine learning papers. So I'll explain it as this - any type of assumptions about the problem that are imposed by the model, whether intentionally or unintentionally. Realization of priors in a model can take on an unlimited number of forms, from shape of the deep learning circuit e.g. thin and deep, to bayesian priors, to other structure like attention mechanisms. What's important to remember is everything imposes some kind of prior(s), regardless of how general-purpose the model appears to be from your selection of experiments.

Side note: Humans' incredible inadequacy at memorizing even a small number of digits could be interpreted as a strong prior that forces us to give attention to just small parts of mathematical type problems at a time.

1

u/Hahahahahaga Jan 12 '16

Even a single sample providing just a tiny fraction of a single bit can be enough to provide sufficient information for good predictions!

But a fraction of a bit requires more than a bit to represent (._. )

1

u/cryptocerous Jan 12 '16

Not so, see the ways it's routinely done in data compression.

1

u/Hahahahahaga Jan 12 '16 edited Jan 12 '16

You can't compress a bit (._. )

Partial bits are not ever exist.

2

u/cryptocerous Jan 12 '16

Partial bits do exist mathematically, and there are ways to realize them in real world systems. Each input sample to a model can take up fewer than 1 bit, e.g. arithmetic encoding.

For the very first input bit, you may have to get creative in how exactly you represent that fraction of a bit on your real-word system, but it's not too difficult to do. Then, for successive bits you can potentially continue to pack multiple samples per bit.

Or we can choose to totally ignore digital systems and just look at it mathematically. In that case, it's trivially simple and clear.

For something of a conceptual inverse, see FEC, where each input bit potentially just represents a partial bit with respect to the output.

1

u/Hahahahahaga Jan 12 '16

(._. ) Sorry, am computer science man. Know what you mean. One weighted sample is represent many like moth is futility of life. :(