4 ms·
Worth pointing out the main criticism of GANs, which is that right now researchers don't really have a way to tell if a GAN is just copying and pasting the trai
by argonaut 9y ago
Worth pointing out the main criticism of GANs, which is that right now researchers don't really have a way to tell if a GAN is just copying and pasting the training data or not (there is no "test set" unlike in supervised learning). And in fact an ideal GAN could just learn to output the training set. One example someone found in the generated images for this model: https://twitter.com/nalkalchbrenner/status/924013332549513217 https://twitter.com/nalkalchbrenner/status/92401333254951321....
- moultano 9y agoSeems like you could validate using random points in the latent space, and crudely verifying that the nearest neighbors in image space aren't similar.
- 317070 9y agoThat is true, but if you don't look at them as a machine learning method, but rather as a computer graphics method, then it is quite impressive. It has the added benefit of being allowed to overfit as long as the average human does not find out. If you optimize for psychovisual metrics, GANs are fine.
- tw1010 9y agoBut if you don't see it as a machine learning method, and don't care if the things the GAN spits out are just memorized photos, that means you don't actually care about the synthesis parts of the GAN? Thus the only reason to get excited about it is the interploration stuff; which significantly reduces how interesting it is in my eyes.
- mannigfaltig 9y agoActually, GANs reach state of the art in anomaly/outlier detection and drug/molecule prediction, so there is certainly more to it than just artistic applications: https://openreview.net/forum?id=S1EfylZ0Z https://openreview.net/forum?id=S1EfylZ0Z https://www.ncbi.nlm.nih.gov/pubmed/28703000 https://www.ncbi.nlm.nih.gov/pubmed/28703000 http://pubs.acs.org/doi/abs/10.1021/acs.molpharmaceut.7b00346 http://pubs.acs.org/doi/abs/10.1021/acs.molpharmaceut.7b0034...
- torthrw 9y agoThis is also relevant to your comment: https://arxiv.org/abs/1705.07663 https://arxiv.org/abs/1705.07663
- deleted 9y ago[deleted]
- AndrewKemendo 9y agoMy interpretation of this "problem" is that it's a radically efficient solution to the problem of generating content in absence of outside reinforcement. Said another way: If we gave a human the task of: [make a painting of a bridge] using a handful of examples of bridges as inspiration, and they did a 1-1 copy of one of them, it would be the most efficient result. However there is generally a culturally implied task of [the new painting should not be a direct replication of one of the examples]. So this "problem" with GAN's is a novelty requirement which is not explicitly built in to the generation chain.
- colllectorof 9y agoCan we please stop with these bullshit human comparisons that happen in every AI comment section? Copying pictures is not efficient within the scope of this problem. The whole point of these algorithms is to extract (or ideally understand) essential features of some class of objects and to be able to represent an object of such class with radically smaller amounts of data that would be required for the full description. That is the only definition of efficiency that matters here.
- AndrewKemendo 9y agoNo we can't. You're right that copying pictures is not the goal - and that is my point. Simply copying pictures would satisfy the "adversarial" side of the DNN inference most efficiently and within the constraints of the GAN architecure. We would consider it a hack or a cheat because the problem is poorly defined, hence the paradox. Human level AI is the goal (at least mine), so every time we see something unexpected or a "failure" in ML it's worth thinking about the "failure" mode when compared with how a human could hack the system.
- alexmlamb2 9y agoTo be frank - the problem is not poorly defined, you're just not aware of the definition. In general in generative models, you have some "true data distribution" P and an estimator distribution Q. The goal is to make P and Q the same, generally by minimizing some divergence between them. The actual objective is defined as being between the actual distributions P and Q, but because we only have so many data points, we define an empirical loss that just uses the real observations from P. So if the model makes Q just memorize the samples from P, then it actually hasn't made P and Q similar, it's only minimized the empirical loss. One practical way to get around this with GANs is to train a conditional GAN instead of an unconditional GAN, and then run the conditioned generation task on held-out samples from the validation set. Another good and perhaps more general solution is to train an inference network and to generate reconstructions on held out data points. If they look totally different, then the model is probably not very "representative".
- jaakkol 9y agoAn GAN that just made verbatim copies from the training set would not be able to smoothly interpolate in latent space. Also, see Fig. 10 in the paper at http://research.nvidia.com/publication/2017-10_Progressive-Growing-of http://research.nvidia.com/publication/2017-10_Progressive-G....
- superfx 9y agoBut they seemed to have picked closest neighbors in pixel space instead of z-space, which is not the best idea, no?
- ericjang 9y agoThis is a general problem for generative models, regardless of whether they are explicit latent density (variational autoencoders) or implicit density (GANs) or fully-observed (PixelCNN). To date no consensus has been reached in the research community on what the "right" way to evaluate a generative model is: e.g. Parzen Windows estimators, log-probability, ELBO, etc. Yann Lecun himself (as of NIPS2016) was pretty critical of probability-based metrics, as those have strong dependence to the choice of model (e.g. if the model is poor the log-probability is meaningless). In GANs, the critic and the generator are trained w.r.t. each other, reaching some kind of equilibrium. A recent proposal that seems to be "ok" for evaluating GANs was proposed by https://arxiv.org/abs/1705.05263 https://arxiv.org/abs/1705.05263, which is to train a separate critic on the generator, for use in evaluation (the generator never sees gradient information from this critic). This evaluation critic approximates the Wasserstein distance. One could imagine actually training the independent critic on a validation set of images not seen by the training set.
- argonaut 9y agoThe critic idea seems interesting but doesn't really get to the question of whether/to what degree the GAN is just interpolating the training data. It seems more of a useful tool for diagnosing GANs.
- ericjang 9y agoIf it were memorizing training data, it would due poorly on a Wasserstein critic trained on a validation set drawn from the same data distribution.
- colllectorof 9y agoYeah. There are a lot of really sketchy transitions that don't look human in that video. Also, when the picture looks fully realistic, you can Google search it and find that there are lots of very similar images. Now, the fact that they usually aren't identical to Google's finds is moderately impressive. So is the fact that some transitions are "smooth" - being able to move from one head/eye position to another. But the difference between drawing a face and copy-pasting someone's face onto a different hair+background is very significant, and quite often the algorithm seems to be doing the latter. (And in any case, GANs are clearly not the way humans draw faces.) It would be interesting to see someone try to do the same thing without a neural network. How far would they get on the same training set? The dataset is 30,000 pre-aligned and cropped images. (Would be nice if there was a searchable version to make sure generated versions are not identical to something in that set.) I bet you could get pretty far with just matching and region replacement, plus some color corrections. But not one would pay you for that.
- alexmlamb2 9y agoThere are a few things to say about this: 1. If you train a conditional GAN to do image inpainting (for example, left to right), it should be quite apparent the degree to which the model is copying and pasting the training set - by running the model with "given" parts from the test set. 2. I disagree that an ideal GAN could just output the training set. I think the right conceptual framework is that any generative model is trying to produce a distribution similar to the data distribution, and we try to accomplish this by using samples from the data distribution. So if the model memorizes the training set, then it isn't actually that close to the true underlying data distribution. In likelihood-based models (for example the usual generative RNN) you can test this by evaluating likelihood on a validation set.
- deleted 9y ago[deleted]