453 points · by pumpikano · 10y ago · 145 comments
What happens here with generating illegal content? If you put a public text->image gan up, and someone uses it to generate child porn, are you responsible?
How could you make sure it couldn't?
Though that then raises the question: when happens when it can be generated so realistically that it looks indistinguishable from the real thing? Would it still be treated like cartoons? How could you prove one way or the other? Lots of questions here.
I just realized the answer to this is pretty obvious, you could have a network trained to classify child pornography and use it to censor the output.
Getting the training set would be an issue, you would probably have to work with law enforcement to do it.
Though at the same time I fear the type of pornography it may come across.
They have that, it's called 'Google' :)
I don't understand how Google's algorithm can be misled into finding sexiness in those. I imagine it has something to do with skin tones or flesh colors, but then what about the high-contrast patchwork of green and brown fields Google finds "likely to contain adult content"? That's totally puzzling.
The confusion with medical images is way more understandable. If you squint, you can almost imagine those are pics of skin cancer or lesions.
Oddly enough, I even see violence in the "violent" picture. In an abstract, Rorschach Test sort of way. Well done, Google!
I'm reminded of a paper for which the authors generated different pictures of static that fooled neural network image classifiers into confidently identifying them as different objects: https://arxiv.org/abs/1412.1897
Wired summary: https://www.wired.com/2015/01/simple-pictures-state-art-ai-s...
> Computer vision and human vision are nothing alike. And yet, since it increasingly relies on neural networks that teach themselves to see, we’re not sure precisely how computer vision differs from our own. As Jeff Clune, one of the researchers who conducted the study, puts it, when it comes to AI, “we can get the results without knowing how we’re getting those results.”
There are other SSGs, I use Hugo myself (http://gohugo.io, sample of my blog: http://arianv.com/). I like Hugo cause it's probably the fastest SSG (every time you create a post/change content, you're remaking your entire site from scratch. If you have lots of posts - this adds up!) but Jekyll is the most popular and has great tooling.
Hope that helps!
I imagine we would get some really interesting images back...
I'm guessing the one who had to input the data/images had a fun time at work :p
However, I imagine that's far more difficult to accomplish. How do you detect graphic violence? Looking for blood isn't going to cut it. Also, I can't imagine how you'd separate the fictional from the real - I can watch horror movies with realistic special effects all day, but real violence/mutilation/death bothers me deeply.
But looking at the meager 3 sample images I'm confused about the scoring already. Why is the one in the middle scoring the highest?
The question is an honest one. The two rightmost images seem to be interchangeable to me and are ~boring~: People at the beach. Is this network therefor already trained to include the biases of the creators?
As someone with a broad Norwegian accent: This has gotten massively better over the last few years.
Not that long ago, my local cinema chain started using voice recognition to discriminate between a list of city names, and it would consistently think I said "Birmingham" when I said "London" (!).
These days, both my Amazon Fire and the Youtube app will correctly recognise most things I throw at it, including e.g. names of random Youtube channels that bear no relation to real English words.
It's by no means perfect, but it's getting there. In relation to the "old, white, male" problem (well, I do somewhat fit that), presumably because these systems are now finally trained on huge and varied data sets.
Or you're really into R'lyehian porn.
It's called tentacle hentai...
Cataloging, categorising pornography seized is a nasty job and one that cops across the planet might do better with good common OSS tools.
Hopefully this will help
My second thought: I could probably use this to find porn in unexpected places via a webscraping Python program.
[1] Almost, because porn is SFW when your work involves porn.
For instance, if you read it like this, it still makes sense (I replaced NSFW with pornographic):
Disclaimer: The definition of pornographic is subjective and contextual. This model is a general purpose reference model, which can be used for the preliminary filtering of pornographic images. We do not provide guarantees of accuracy of output, rather we make this available for developers to explore and enhance as an open source project.
e.g.
penis 0.94
vagina 0.01
Is the training set itself large, or are you meaning a... large training set?
(sorry I couldn't help myself)
http://www.hackerfactor.com/blog/index.php?/archives/529-Kin...
It'd be interesting to see a direct comparison of the two. Off the cuff, I'd expect the deep neural network to be more accurate and better at generalizing, but much more expensive to train.
I have been using nude.js to do this ( http://s.codepen.io/icodeforlove/debug/gMrEKV ), which is hit or miss.
Thus, it is meant to be for off the shelf use rather than being able to tinker with the network to produce nuanced results.
Making the data set available and whether you can tinker with or retrain it are very different things.
Took a couple hours to get it all up and running but indeed it works, and not half badly at that!
This is obviously a way cheaper alternative to https://sightengine.com or http://imagevision.com
Kudos to Yahoo for releasing this!
https://yahooeng.tumblr.com/post/151148689421/open-sourcing-...
which contains some technical details. (And furthermore, I guess the HN crowd has enough Internet experience to come up with stupid jokes of their own design.)
[1] https://yahooeng.tumblr.com/post/151148689421/open-sourcing-...