3 ms·
I like the visualisations on this page: http://colah.github.io/posts/2014-03-NN-Manifolds-Topology/ http://colah.github.io/posts/2014-03-NN-Manifolds-Topology/
by IshKebab 11y ago
I like the visualisations on this page: http://colah.github.io/posts/2014-03-NN-Manifolds-Topology/ http://colah.github.io/posts/2014-03-NN-Manifolds-Topology/ (Especially "The Easy Way Out" one.
It suggests that because neural networks cannot properly separate the classes, the often mush them together in the input-space so the "panda" region of image-space has loads of other classes speckled though it. If you purposely find those speckles you can make it think that a panda is a vulture.
That blog mentions adding smoothness constraints, so that you can't suddenly go from panda to vulture with a tiny change in an image. But I wonder if an easier solution (ok, hack) is just to add different noise to the image 10 times or so, run it through the network and then combine the results.
Essentially you'd be doing Monte Carlo sampling of the image space around the input image. Or kind of blurring the image space.
Just an idea anyway. I don't really know what I'm talking about.
- Houshalter 11y agoFrom the papers, training on images with random noise in them didn't help. But intentionally creating these adversarial images and training on them did help. And even improved the performance of the net in general.
- IshKebab 11y agoI don't mean training on images with random noise - what about evaluating the net on images with random noise?
- fundamental 11y agoMy understanding from reading a few 'adversarial example' papers is that it's also possible to talk about the classifier as having a poor margin between classes. An acceptable output classifier for the convolutional net would be to place the decision boundary arbitrarily close to the known examples, but this doesn't make much sense given how large the semantic differences actually are. There are multiple options to try to enhance the distance to the decision boundary (such as the adversarial examples referenced in the post), but I think the recent work from microsoft (I think it's published Dec 2015) on replacing pooling layers in the convolutional neural net with something analogous random forests might be the best option so far. More or less each decision tree will end up pushing values to 0/1 in the non-linear region, which mitigates some of the concern about overly linear systems and it places the decision boundary at a somewhat arbitrary location between classes. In aggregate when these locations are combined the resulting classifier has a larger margin without explicitly needing adversaries. So instead of sampling the image space, you're effectively sampling the classifier space. If you want, I can dig up the citation, but searching for deep neural nets and random forests should get you to the paper all the same.
- mziel 11y agoFor the lazy: http://research.microsoft.com/pubs/255952/ICCV15_DeepNDF_main.pdf http://research.microsoft.com/pubs/255952/ICCV15_DeepNDF_mai... From abstract: "(...) we introduce a stochastic and differentiable decision tree model, which steers the representation learning usually conducted in the initial layers of a (deep) convolutional network. (...)"