News for hackers. Stuff that matters.
Re:Understanding deep learning requires rethinking generaliz... by DavidSJ on Thursday March 04, 2021 @07:39PM (#26350757)
The thing is, despite the fact that deep neural networks can effectively learn the hash function you describe (i.e. they have the capacity to do so, and they will do so if "forced" to with random labels), they "prefer" not to. They learn a generalizable pattern in the data. That's the mystery this paper points to.
Re:Understanding deep learning requires rethinking generaliz... by sdenton4 on Thursday March 04, 2021 @10:35PM (#26352281)
Yeah, I've also done a bunch of work on hard classification problems where generalization pretty much fails. I think they're /probably/ doing the right thing in the infinite training data regime. And they're definitely doing interesting things in the generative case.

But ultimately they look for a convenient 'nearby' solution: that's the nature of stochastic gradient descent. If you have two solutions and one of them is the hash function, it would be helpful to /know/ that the hash function is harder to get to than the 'correct' solution.

Re:Understanding deep learning requires rethinking generaliz... by anonymousDan on Friday March 05, 2021 @07:19AM (#26356008)
But isn't that shown by the fact it takes training longer to converge in their experiments with random labels vs real labels?
Re:Understanding deep learning requires rethinking generaliz... by sdenton4 on Friday March 05, 2021 @11:00AM (#26358275)
Yeah, not a bad idea; for any given problem, just scramble the labels and compare training time...

For my pet problem, there's quite different performance across classes. It would be tougher to do the comparison for a subset of classes, but could still probably design some kind of experiment.

Re:Understanding deep learning requires rethinking generaliz... by joe_the_user on Thursday March 04, 2021 @10:36PM (#26352287)
The paper says that: "Specifically, our experiments establish that state-of-the-art convolutional networks for image classification trained with stochastic gradient methods easily fit a random labeling of the training data"

What is a generalization of a random labeling? Does the network become psychic? Is this saying "garbage works fine by these measures"?

Re:Understanding deep learning requires rethinking generaliz... by visarga on Friday March 05, 2021 @03:36AM (#26354401)
The network learns how to map data into an intermediate representation, then learns a hash output for each of these intermediate values. So it learns two things compared to when the intermediate values correspond to the task.
Re:Understanding deep learning requires rethinking generaliz... by DavidSJ on Friday March 05, 2021 @10:50AM (#26358159)
Random labeling can’t generalize. But in the usual case, the labels are nonrandom and the learned map generalizes.
Re:Understanding deep learning requires rethinking generaliz... by joe_the_user on Friday March 05, 2021 @04:12PM (#26362183)
That's the mystery this paper points to

I'm still honestly confused here. Yes, the success of neural networks generally shows they more than memorize. Some of the experiments here show they can just memorize too. I guess some describe something in-between.

But all this seems obvious. Is there something that's being quantified here?

Re:Understanding deep learning requires rethinking generaliz... by DavidSJ on Friday March 05, 2021 @09:34PM (#26364704)
You can measure the generalization gap: the difference between training and test performance. With good generalization that gap will be small. When fitting random labels the gap will be large.

Classical statistical learning theory (from Vapnik and Chervonenkis, among others), predicts that low capacity models will generalize (have small generalization gaps). It makes no promises for large capacity models, i.e. those which can fit random labels. Yet here we are.