News for hackers. Stuff that matters.
Re:Training computer vision models on random noise instead o... by avsteele on Thursday December 09, 2021 @11:23PM (#29506366)
I'm confused. Are they just saying if you throw noise-like images at your hot dog classier and label them 'not hot dog' it improves performance?
Re:Training computer vision models on random noise instead o... by jswulff on Friday December 10, 2021 @12:22AM (#29506693)
Hi, author here. To hopefully clarify, our work is in the context of representation learning, which is a bit different from a "standard" classification.

For example, to classify a hotdog it might be useful to first generate an intermediate representation of the image (think "cylindrical, brown, meaty thing"). Such a representation can then fairly easily be mapped to the concept "hot dog".

These representations can be learned from large image datasets alone (they do not require labels!). In our work we show that you don't even need real images, but that images that are generated from noise processes are enough to train such representations, and that these representations are surprisingly good for classification.

Hope this clarifies things a bit, and happy to answer any other questions!

Re:Training computer vision models on random noise instead o... by sorenjan on Friday December 10, 2021 @02:26AM (#29507348)
Is this basically teaching the network how to do pattern processing, like line and corner detection, and then using that trained network as a starting point when training on real images?
Re:Training computer vision models on random noise instead o... by aaronblohowiak on Friday December 10, 2021 @12:44AM (#29506809)
The part you lost me on is noise processes - what goes in to the noise and how does it help if it is random?
Re:Training computer vision models on random noise instead o... by jswulff on Friday December 10, 2021 @01:52AM (#29507164)
One thing to note is that here noise != Gaussian iid noise, so these are not typical white noise images. I think we were not really clear on that part, but for us noise is basically a random process, which takes a seed as input (plus potentially some very low-level assumptions over image statistics, such as a 1/f spectrum) and produces a synthetic image.

It is then possible to generate arbitrary amounts of these images as samples from the stochastic process - these images exhibit certain image-like structures (such as oriented edges), but are as a whole still random and extremely varied, which is good and necessary for the representation learning.

In terms of helping, though, it is important to note that we do not achieve state-of-the-art performance yet, and when looking at absolute performance for a task like image classification, using real images is still better. That being said, something that is in the paper but generally seems to get lost is that our representations work very well when analyzing data that is very different from normal images, such as medical images or satellite images.

Re:Training computer vision models on random noise instead o... by vanderZwan on Friday December 10, 2021 @03:50AM (#29507830)
But then you aren't really throwing "random noise" at it are you? It's more like you are throwing generated data sets with abstract structures at it, and use the randomization part to ensure that it does not overfit on other accidental structures that might be in an individual image, because the randomization ensures that there are no other structures to speak of in the "average" (which does sound like a very sensible way to train a network on abstract structures). Or do I misunderstand the method here?
Re:Training computer vision models on random noise instead o... by l33tman on Friday December 10, 2021 @05:28AM (#29508375)
I'm pretty sure the title is clickbait, it's not uncorrelated random per-pixel noise as it gives the impression of.
Re:Training computer vision models on random noise instead o... by vanderZwan on Friday December 10, 2021 @06:08AM (#29508571)
Oh for sure, and I don't mean to accuse the authors; if pop-sci articles spread confusion about their work that's not their fault. I just want to clear things up for myself
Re:Training computer vision models on random noise instead o... by a_e_k on Friday December 10, 2021 @02:39AM (#29507422)
It could be very interesting to try Gabor noise.
Re:Training computer vision models on random noise instead o... by locuscoeruleus on Friday December 10, 2021 @03:34AM (#29507738)
Why would that be interesting?
Re:Training computer vision models on random noise instead o... by Animats on Friday December 10, 2021 @01:49AM (#29507146)
It's not random noise. Look at the images in the paper. Horizontal lines, vertical lines, snakeskin patterns, Minecraft textures. Examples of miscellaneous surface patterns, in other words.

Back before deep learning, people used to make recognizers for features like that as a lower level of feature recognition. Now it's expected that features will be derived automatically from real imagery. This is kind of a return to that level.

A useful training set might be a big texture library used for game development or animation. Those are easily available.

Re:Training computer vision models on random noise instead o... by jswulff on Friday December 10, 2021 @01:57AM (#29507184)
That would indeed be an interesting thing to try, use real data, but only in terms of textures - so effects like occlusions, perspective, etc. would not be present.

I would expect it to be somewhere in the ballpark of our StyleGAN images, which also look very "textural", but lack these effects that are an result of imaging the 3D world. Interestingly, modelling these effects without realistic textures seems to result in worse performance - this is for example the case for images taken from CLEVR or generated from Minecraft, and both perform worse than the StyleGAN images.

Re:Training computer vision models on random noise instead o... by ravel-bar-foo on Friday December 10, 2021 @04:41AM (#29508152)
This is a fascinating paper. Does training on generated noisy images make the resultant classifier more resistant to standard adversarial examples?
Re:Training computer vision models on random noise instead o... by YeGoblynQueenne on Friday December 10, 2021 @05:27AM (#29508372)
Hi, out of curiosity, what is the expected performance of a random classifier on your test datasets?
Re:Training computer vision models on random noise instead o... by nullc on Friday December 10, 2021 @07:34AM (#29509124)
Consider an analog. Say you wanted to design an image compression format in the spirit of jpeg, so you take a bunch of 8x8 blocks of image data and you use a principal component analysis to design an optimal orthogonal transformation to apply to 8x8 blocks to compact their energy into fewer coefficients so you can compress it.

But collecting lots of image data is hard so someone comes along and points out that the most important characteristic of your images is that they're appear drawn from an autoregressive process... That is that each pixel is (say) 95% correlated to the pixel 1 away, 95%^2 to the pixel two away, 95^3 three away and so on. So to compute the PCA you only need the covariance matrix anyways, so you just generate an AR0.95 covariance matrix and use the transform derived from that. And you find this works pretty well too.

This work is along those likes, they're generating random images with some simple natural-like statistical properties and training the first part of the classifier using them and getting useful results.

One interesting promising part is that this line of thinking may result in better network designs or insights that allow skipping training these initial layers: Going back to the block transform example, the next step would be to notice that the PCA of the AR0.95 matrix is the discrete cosign transformation, which is agreeable to an extremely efficient implementation.

Re:Training computer vision models on random noise instead o... by fennecfoxen on Thursday December 09, 2021 @11:44PM (#29506490)
If I'm reading it right, it seems to be saying that if you throw random noise at your image classifier, it's able to do produce an intermediate artifact that you can train more effectively when you throw hot dogs at it. It won't be quite as good as you get with the best models, but it's strikingly good for random noise. The paper puts it like so: "Although GANs need real images to learn the network parameters, we show in this paper that they introduce a structural prior useful to encode image properties without requiring any training."

https://openreview.net/pdf?id=RQUl8gZnN7O

Re:Training computer vision models on random noise instead o... by samkater on Friday December 10, 2021 @12:11AM (#29506638)
I’m not an expert, but my light reading of the paper makes it seem like it isn’t “random noise” in the colloquial sense, but more like “there are properties to the randomness even though the images look like noise.”

The abstract seems to say that, but again, I could be misinterpreting: “Our findings show that it is important for the noise to capture certain structural properties of real data but that good performance can be achieved even with processes that are far from realistic.”

Re:Training computer vision models on random noise instead o... by jswulff on Friday December 10, 2021 @02:01AM (#29507206)
That is correct -- by "noise", we don't meet pixel noise, but instead a stochastic process (in fact, different processes different properties which we compare in the paper) from which we can sample large amounts of varied training images.
Re:Training computer vision models on random noise instead o... by Retric on Friday December 10, 2021 @06:13AM (#29508591)
Except your not actually training on noise, your training on procedurally generated images which include random modifications. It’s just the summery is really bad at describing the process.
Re:Training computer vision models on random noise instead o... by anu7df on Friday December 10, 2021 @12:09AM (#29506627)
No. If I understand correctly, what they are doing is generating "noise" samples with statistics similar to natural images. Then they use unsupervised contrastive learning to create representations of these noise images. This network is then employed in some classification tasks and it does well under a specific training mode (linear classifier training in the final layer only). The details of the evaluation aside, what is being shown is that a network trained to generate representation based on these artificially generated images (noise) can encode a good prior for most vision tasks thereby potentially reducing the need for a very large number of real training images.

edited: Typo,clarity

Re:Training computer vision models on random noise instead o... by TheDudeMan on Thursday December 09, 2021 @11:26PM (#29506386)
I'm also confused. They seem to be missing a paragraph near the start of the article.