One thing people might not realize (I'm not sure how obvious it is) is that these renders depend strongly on the statistics of the training data used for the ConvNet. In particular you're seeing a lot of dog faces because there is a large number of dog classes in the ImageNet dataset (several hundred classes out of 1000 are dogs), so the ConvNet allocates a lot of its capacity to worrying about their fine-grained features.
In particular, if you train ConvNets on other data you will get very different hallucinations. It might be interesting to train (or even fine-tune) the networks on different data and see how the results vary. For example, different medical datasets, or datasets made entirely of faces (e.g. Faces in the Wild data), galaxies, etc.
It's also possible to take Image Captioning models and use the same idea to hallucinate images that are very likely for some specific sentence. There are a lot of fun ideas to play with.
Since you have this all set up, can you make some feedback loop animations for example with zooming? Or apply this to each frame of a movie? For example something famous like Charlie Bit My Finger. Hopefully using the deeper more horrifying setting.
The visuals generated by the neural network remind me of visuals experienced under the influence of psilocybin or LSD. I wonder if I am making an unjust leap or if there is a similar organic process (searching for familiar patterns) taking place in the mind? Fascinating, thanks for sharing.
No hypothesis is unjust! It could also be related some of the experiences people have in sensory deprivation tanks. Your brain attempting to see structure in noise and hallucinates. One hypothesis would be that on LSD, and other psychoactive substances, this feedback loop is somehow enhanced. There might be a few doctorates to be earned in testing these hypotheses.
"Be careful running the code above, it can bring you into very strange realms!"
Reminds me of Charlie Stross's new novel,
"A brief recap: magic is the name given to the practice of manipulating the ultrastructure of reality by carrying out mathematical operations. We live in a multiverse, and certain operators trigger echoes in the Platonic realm of mathematical truth, echoes which can be amplified and fed back into our (and other) realities. Computers, being machines for executing mathematical operations at very high speed, are useful to us as occult engines. Likewise, some of us have the ability to carry out magical operations in our own heads, albeit at terrible cost."
You might also like Shadowfist (http://shadowfist.com), a card game that used to have the Purists, a playable faction powered by esoteric, math-centric magic.
Great, I got the dependencies installed on OSX and I'm already monsterifying a head shot for LinkedIn. Now, to find a way to get this working in real time with a webcam...
Amazing that it easily runs on consumer hardware, this dispels suspicions that a Google cluster was necessary for these results.
I'm wondering if it's possible to use this with a model that was trained on a database without labels, just pictures. Is such a thing even possible? For this particular application, labeling and categories are ultimately superfluous, but are they required in order to get there?
A simpler version of this idea (making an image A out of matching pieces of a set of images B) was implemented in the early 90s and released as open source: http://draves.org/fuse/
I always wonder why sometimes the system finds faces and other elements in essentially untextured / homogeneous parts of images. Wouldn't there be some sort of "data term" in the energy functional that would suppress these results and/or move them to other parts of the image?
Perhaps this is working entirely differently and I'm thinking too much in the classical computer vision realm. Would love some explanation though.
Does anyone know if this technique can be used to slurp up a database and produce "typical" records for populating a test database? This is a problem that I struggled with a few years ago and still haven't found a good automated solution.
Could you refine your question? This is a post about image processing via neural network. Do you mean take an existing database, learn via neural network, and populate a fresh one with "learned" attributes?
[+] [-] karpathy|10 years ago|reply
In particular, if you train ConvNets on other data you will get very different hallucinations. It might be interesting to train (or even fine-tune) the networks on different data and see how the results vary. For example, different medical datasets, or datasets made entirely of faces (e.g. Faces in the Wild data), galaxies, etc.
It's also possible to take Image Captioning models and use the same idea to hallucinate images that are very likely for some specific sentence. There are a lot of fun ideas to play with.
[+] [-] unknown|10 years ago|reply
[deleted]
[+] [-] amelius|10 years ago|reply
Would it be possible on a simple commercial computer?
[+] [-] zan2434|10 years ago|reply
[+] [-] bemmu|10 years ago|reply
Since you have this all set up, can you make some feedback loop animations for example with zooming? Or apply this to each frame of a movie? For example something famous like Charlie Bit My Finger. Hopefully using the deeper more horrifying setting.
[+] [-] colah3|10 years ago|reply
[+] [-] codezero|10 years ago|reply
Check out the tiger, and super weird tiger: https://twitter.com/radiofreejohn/status/616490624095621120 :) :)
[+] [-] mikedmiked|10 years ago|reply
Some of us are going to be putting our own on http://reddit.com/r/deepdream
[+] [-] analogmind|10 years ago|reply
[+] [-] IgorPartola|10 years ago|reply
[+] [-] wormley|10 years ago|reply
[+] [-] anantzoid|10 years ago|reply
[+] [-] Liquix|10 years ago|reply
[+] [-] sabalaba|10 years ago|reply
[+] [-] tim333|10 years ago|reply
[+] [-] unknown|10 years ago|reply
[deleted]
[+] [-] hellbanner|10 years ago|reply
Reminds me of Charlie Stross's new novel,
"A brief recap: magic is the name given to the practice of manipulating the ultrastructure of reality by carrying out mathematical operations. We live in a multiverse, and certain operators trigger echoes in the Platonic realm of mathematical truth, echoes which can be amplified and fed back into our (and other) realities. Computers, being machines for executing mathematical operations at very high speed, are useful to us as occult engines. Likewise, some of us have the ability to carry out magical operations in our own heads, albeit at terrible cost."
http://www.tor.com/2015/06/30/excerpt-the-annihilation-score...
[+] [-] thirdtruck|10 years ago|reply
[+] [-] kordless|10 years ago|reply
[+] [-] malkia|10 years ago|reply
[+] [-] MrBuddyCasino|10 years ago|reply
[+] [-] rsp1984|10 years ago|reply
[+] [-] saintcorp|10 years ago|reply
[+] [-] malkia|10 years ago|reply
[+] [-] cing|10 years ago|reply
[+] [-] sciencerobot|10 years ago|reply
[+] [-] benanne|10 years ago|reply
You can suggest what objects the network should dream about (combinations of two are also possible).
Our code will be published on GitHub later today!
[+] [-] majora2007|10 years ago|reply
[+] [-] pierrec|10 years ago|reply
I'm wondering if it's possible to use this with a model that was trained on a database without labels, just pictures. Is such a thing even possible? For this particular application, labeling and categories are ultimately superfluous, but are they required in order to get there?
[+] [-] nicklovescode|10 years ago|reply
[+] [-] zan2434|10 years ago|reply
[+] [-] spot|10 years ago|reply
[+] [-] rsp1984|10 years ago|reply
Perhaps this is working entirely differently and I'm thinking too much in the classical computer vision realm. Would love some explanation though.
[+] [-] wodenokoto|10 years ago|reply
There will basically always be an output nose with the highest confidence, no matter how low.
[+] [-] rayalez|10 years ago|reply
Also I didn't know that github displays .ipynb, that's pretty awesome.
[+] [-] jrabek|10 years ago|reply
[+] [-] johnwatson11218|10 years ago|reply
[+] [-] sova|10 years ago|reply
[+] [-] taliesinb|10 years ago|reply
Are there any other flavors of hallucination? Why all the dogs? I suppose ImageNet has a lot of dog varieties in its category list.
[+] [-] unknown|10 years ago|reply
[deleted]
[+] [-] malkia|10 years ago|reply
[+] [-] sova|10 years ago|reply
[+] [-] llSourcell|10 years ago|reply
[+] [-] grrowl|10 years ago|reply
[+] [-] Nordavind|10 years ago|reply
[+] [-] armab|10 years ago|reply