9 ms·
Decensoring Hentai with Deep Neural Networks
- RankingMember 8y agoGotta give them some credit, that is a brilliant name.
- EForEndeavour 8y agoNext up in deep learning for porn augmentation: TenseHerFlow.
- eberkund 8y agoAre there any more examples? Removing a few lines doesn't seem that impressive and can be done with the PhotoShop pattern tool without any fancy neural net.
- claudiawerner 8y agoThere are examples posted on 4chan's /h/ board, that is to say, people using it for its intended purpose rather than only with examples, but I'm at work so I can't really browse it at the moment (and the threads are ephemeral anyway, unless you use an archive site).
- morenoh149 8y agosome threads are archived, your sibling for example
- nathanasmith 8y agoMore examples and commentary found here: https://boards.4chan.org/g/thread/68220714#p68220714 https://boards.4chan.org/g/thread/68220714#p68220714 Edit: should have mentioned NSFW
- deleted 8y ago[deleted]
- zawerf 8y agoI believe "Image Inpainting for Irregular Holes Using Partial Convolutions" has been superseded by "Free-Form Image Inpainting with Gated Convolution", especially for interactive use cases? https://arxiv.org/pdf/1806.03589.pdf https://arxiv.org/pdf/1806.03589.pdf http://jiahuiyu.com/deepfill2/ http://jiahuiyu.com/deepfill2/ I think the most interesting part of this project would be generating the dataset. That is a lot of manual redrawing of vaginas/penises. Or the reverse, where you find already decensored stuff and add realistic censorship yourself. Either way, a lot of time will be spent tagging genitals to build a large enough dataset to make NN techniques work...
- yorwba 8y agoIt's not clear to me that you'd actually need to manually label individual images for training. The work of detecting and marking the censored regions is left to the user, so the model just needs to be good at inpainting. There are probably enough specialized sites to get a decently-sized training set with little effort beyond writing a crawler.
- zawerf 8y agoYou could be right, I don't know. Maybe the authors can tell us about their experience. My intuition is that the dataset will be too imbalanced to learn anything useful. Even if you crawl only decensored images, the area you truly care about inpainting is still pretty small. If you don't focus on it somehow, it might learn how to inpaint anime-style geometry correctly (from the rest of the image) but produce "barbie doll" style anatomy.
- yorwba 8y agoThe demo in the repo only shows inpainting of anime-style geometry. In the 4chan thread linked by nathansmith, someone tried to apply it to a mosaicked penis, but it disappeared (NSFW, probably: https://i.4cdn.org/g/1540580868203.png https://i.4cdn.org/g/1540580868203.png). When they used the mosaic decensoring mode instead, it worked slightly better (NSFW, definitely: https://imgur.com/a/PwAunbc/ https://imgur.com/a/PwAunbc/). Other people complained about missing genitals as well. So I'm guessing that this model doesn't have any specific training for filling in only genitals. I think there are category-aware inpainting algorithms that could be used, but they'd need tagged data, as you say.
- anonytrary 8y agoThere should be NSFW examples in the Readme. I saw some practical (NSFW) examples on 4chan and it doesn't seem to work very well. Most hentai doesn't contain simple lines and blobs covering homogenous skin area. There is detail under those areas that the algorithm does not reproduce at all.
- benatkin 8y agoNot when Microsoft is about to acquire GitHub!
- anonytrary 8y agoMicrosoft serves abundant amounts of NSFW content on Bing, so I can't see this being a valid concern. I highly doubt Github is going to be censored.
- benatkin 8y agoThey don't have anything like SafeSearch in place on GitHub yet.
- flyingfences 8y agoOn the contrary, the examples I saw on /h/ looked pretty impressive for the most part.
- anonytrary 8y agoWell, I guess we have different definitions of impressive. The de-censored areas did not reproduce genitalia properly at all.
- flyingfences 8y agoThe original illustrators of plenty of hentai do not reproduce genitalia properly at all, if we're being honest.
- asianthrowaway 8y agoI wonder what will happen when neural networks can generate illegal content, like child pornography.
- bcOpus 8y agoIt will vary by country. In a lot of Europe and the US the content will still be illegal. In Japan it won’t be. At some point the issue is going to come down to what you want to spend manpower and money fighting, people who actually endanger and harm children, or people who use computers to emulate it. It might not be a very clear cut thing though, because I frankly wouldn’t be shocked to find out that the overlap between people who want pornography of real and simulated children is significant. Where it might be a little more clear cut is feeding the market that clearly exists for “teen” porn, which is currently filled by 18+ actresses. I suspect a non-trivial percentage of the non-child-abusing population would consume simulated 16 year old porn without ever considering the real thing. In that case you might see some changes. Reply edit It’s already outlawed. In the US for example pornographic drawings of children are outlawed. In the same way it’s illegal to try and sell cocaine stimulants, it’s illegal to try and sell child pornography simulations. I doubt the A.I. itself would be illegal, just its output.
- asianthrowaway 8y agoBut how would you outlaw it? A neural network is simply a set of coefficients, would certain coefficient combinations be illegal? It's an interesting question. PS: I am obviously against child pornography, I'm just curious about the implications of being able to generate illegal content and how governments would deal with it.
- Cantonese 8y agoHow is cp illegal now? Each image is just 1s and 0s on your drive. It's really just an illegal number.
- asianthrowaway 8y ago
- crimsonalucard 8y agoThis is genius. Give the network a bunch of photos with a persons' face censored (donald trump, for example). What would it replace the face with?
- userbinator 8y agoWhat would it replace the face with? Judging by the examples, correctly-coloured yet featureless skin.
- HONEST_ANNIE 8y agoI predict that the porn industry will be the first industry to suffer mass unemployment due to AI. Phase I: Deep learning combined with realistic physics simulation will eventually replace human actors. At some point amateurs can record their movements, then use variational autoencoders to improve their features (bigger boobs, thinner waist, smooth skin) and replace professionals. This is 'Uber phase' for porn and drives down the wages. Phase II: Eventually AI can mimic complete scenes and adjust the 'plot' to the current state of the observer. Tight sexual biofeedback loop will form. Phase III: The rapture of the nerds. Fully interactive VR + toolset. In the context of the Fermi paradox, Phase III is the Great Filter. ---- https://en.wikipedia.org/wiki/Great_Filter https://en.wikipedia.org/wiki/Great_Filter
- dna_polymerase 8y agoWhat? Think about it, call center employees are going to suffer first on a large scale. NLP is getting better and Google Duplex already showed us that human voice is no problem anymore. It's way easier to remove call centers than coming up with physics simulations that replace humans. Also I think porn is incredibly cheap to produce so everything must be automated to beat the current production cost.
- deleted 8y ago[deleted]
- RIMR 8y agoI am going to call this the Great Stimulus.
- dmitrygr 8y ago"Diamond Age" has a subplot to the tune of this
- anjc 8y agoMore than just my age is diamond after reading OPs post
- 8y ago
- huntie 8y agoSaw this a few days ago. It could use some work for mosaic censors but bar censors looked pretty good. I heard it was just some guy on /g/ who said he would make it and then actually did it, so I'm pretty impressed.
- skrowl 8y agoFinally, a use case for Deep Neural Networks that we actually need as a society!
- a1369209993 8y agoI wouldn't say need per se, since this is something that can and has been done in other ways already, but it's at least a use case with positive, rather than negative, value.
- matachuan 8y agoThe project name is GOLD
- throwawayhentai 8y agohttp://boards.4chan.org/h/thread/5159549 http://boards.4chan.org/h/thread/5159549
- anon_cow1111 8y agoI wonder how this deals with the stippling seen in black and white printed pages. As someone familiar with digital drawing/editing, any slight imperfection in the pattern becomes super obvious and it's even worse with stippled gradients. I'm sure it'll be a useful tool with refinement, but this is still a solution to an artificial problem. There's no reason for Japan's current censor laws to exist in 2018.
- flyingfences 8y agoFAQ says they currently make no attempt to deal with that and it straight up won't work if you try.
- Pica_soO 8y agoThis is actually quite nice to de-watermark stockfootage.
- andrewclunn 8y agoI used to think that censorship was a bitch, but now I can clearly see that it was a prick all along.
- Brian_K_White 8y agoAt least for the most common forms of obfuscation, pixellation and fuzz, why do you need AI for this? It seems conceptually simple to interpolate from several similar but moving frames, how a small obfuscated feature travelled across a huge pixel boundary to cause the small change in the entire oversized pixel. You'd need I, be it AI or the normal kind, to invent a guess from a single frame. But watch frames that each differ a little over time, and you should be able to deobfuscate pixellation and fuzz with plain math. Conceptually simple. Not saying I could knock it out over the weekend, just that there doesn't seem to be a mystery about how to proceed that puts it into "throw some ai at it and see if anything happens by ai magic" territory.
- sheharyarn 8y agoThis is exactly why AI was needed (and subsequently created) in the first place!