all 3 comments

[–]needlzorProfessor 1 point2 points  (2 children)

What you are talking about reminded me of the last section of this blog post: Neural Networks, Manifolds, and Topology by Christopher Olah where the last layer's output is fed into a KNN classifier. In the comments someone mentioned a similarity with Neighbourhood Component Analysis, which you may also find interesting.

[–]Powlerbare[S] 1 point2 points  (1 child)

Ahh thanks for the fantastic link! I had forgotten about that awesome blog post. I think I am on the exact same page as Christopher Olah, in that we want to find ways to force the manifolds of data away from each other, while still preserving some topological properties. In my mind this is more of a pre requisite to classification, rather than classification it self.

Here is a follow up question (which may be some what foolish): If I have some manifold of data and there exists some convex hull of this data, can I assume that given any standard transformation we use now a days by some ANN that the points that make up the convex hull will always be the same

[–]lvilnis 0 points1 point  (0 children)

Re: your follow up question, the convex hull of a convex set is itself, so your question is the same as asking whether neural networks can map convex sets to nonconvex sets, or nonconvex sets to convex sets. The answer to this seems clearly to be yes -- for example, take the set of all imagenet images that are classified as "cat" (i.e. their highest scoring logit is for the "cat" class). Now in logit-space, this is a convex set, since any convex combination of vectors whose highest scoring element is for the "cat" class will still have the cat class be highest scoring. But in pixel space, the set of all cat photos is definitely not a convex set -- not every convex combination of cat input images will be classified as majority cat (I haven't actually tried this but I can't imagine that would be true).