[D] Can someone explain the error metric reported in this paper?
https://arxiv.org/pdf/1609.01596v1.pdf
In Table 3 on page 7. The training error on CIFAR-100 is reported as 0.1% for a ConvNet, but test error is as high as 69%. How is backprop on a convnet doing so badly at classifying images, especially when training error is so low? Is this not overfitting?
Seems like all three methods described for that ConvNet are over-fitting. While I understand that the point is to show that the three methods perform roughly equally well, I'm curious why there is so much overfitting.
Similarly, for one of the models in that table, training error is 77%. That seems like a bad result to include, but I'm guessing the point was to show that the feedback alignment method is doing as well as backprop... ?
Posted Nov 8, 2017, 3:18 PM UTC
Actually, in table 3 DFA is underperforming backprop for the convnet by an absolute 7.3% (around 15% relative), and across the board underperforms BP. I've played around with FA, DFA, LAFS, and a slew of my own variants (which I collectively call "HackProp"), and there's a couple of things to note:
-They're interesting but absolutely inferior to backprop, and there's presently no reason you would ever use them in practice. The surprising thing about them is that they work at all, and don't just yield random-guessing error all the time, which is what makes them interesting from a research perspective.
-They're exceedingly sensitive to the choice of B, the feedback matrix. Even a tiny change in this can result in a 50% relative swing in observed generalization error.
-CIFAR-100 is actually a pretty challenging dataset, so for a small ConvNet you'll notice that it only gets around 52% accuracy when trained with backprop. It's unsurprising that using feedback alignment would land closer to 69%. Remember that the generalization gap is not necessarily synonymous overfitting, but for this one could definitely make a strong case that the feedback-aligned learning signal does empirically lead to greater overfitting (in the sense of paying attention to the meaningless variance in the training set rather than the actual underlying function).
-The learning process is surprisingly robust to nonsensical changes and corruptions. Corrupt the activations, corrupt the feedback weights, downsample the activations (tried this to save memory), reuse activations from other layers (another thing I tried to save memory, works okay), and it'll still train, and you may even see as little as a 10-15% relative performance drop depending on exactly what you do, but I have yet to find any variant that actually works better than backprop.
I've given a talk or two on the things I've tried, and might write em up in a blogpost sometime.
I'm sorry for the naive question, but how are you calculating this..? And what is the difference between relative error and the absolute error? I understood the metrics reported to be x% of examples classified wrongly.
But yes, BP is still doing better than DFA. The research aspect was what I was interested in.
Is this mentioned in the paper..? I didn't notice that.
This is interesting to note. Would be interested in the blog post too. Thanks!
Relative change in error between two values is the absolute reduction divided by the value so for e1=0.7 and e2=0.5, the relative improvement from e1 to e2 is (e1-e2)/e1, for an absolute reduction in error of 20% and a relative improvement of 28%. The table reports error (not a relative change in error, which is what I was commenting on).
The choice of B is briefly mentioned in the original FA paper by Lillicrap, and the note on sensitivity is from my own experiments. Basically try initializing B with glorot or he initialization and you'll find that it's ridiculously sensitive to the choice of gain or scaling.
Ah okay, I see what you mean.
From that table,
So relative error is (26.9-22.5)*100/(22.5) = 19.5%. Absolute error is 4.4%
you quoted 7.3% and 15% though...? if I took the lower bound on DFA's error (26.4%) and the higher bound on BP's error (22.9%), I get an absolute error of 3.5%, but a relative error of 15.8% which seems to line up with what you said...
That's for Table 2, not Table 3.