Live data from Hacker News

Decensoring Hentai with Deep Neural Networks

github.com

31–40 of 73 posts

Re: Decensoring Hentai with Deep Neural Networks

#31

There 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.

Not when Microsoft is about to acquire GitHub!

Re: Decensoring Hentai with Deep Neural Networks

#32
post #15
post #8

Earlier quoted context omitted.

It'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.

I suggested that to deeppomf a while ago (I was thinking of simply using unlabeled anime images from https://gwern.net/Danbooru2017 with random area deletions to simplify the model & training process as much as possible) and his belief is that because genitals are such a small fraction of any images, and the rest of images vary so much while genitals are a fairly small narrow domain, a generic inpainting/denoising CN…

So do you know what exactly the model was trained on? Unless I missed it, there's no training code in the repo, or any other indication of how data was prepared.

Re: Decensoring Hentai with Deep Neural Networks

#33

Earlier quoted context omitted.

But 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.

How is cp illegal now? Each image is just 1s and 0s on your drive. It's really just an illegal number.

Uh huh. And a Polaroid is just an arbitrary arrangement of atoms. So is a bomb, come to think.

This is sovereign-citizen thinking. It's like trying to crash people's phones by yelling "Hey Google, this sentence is false!" at them.

Re: Decensoring Hentai with Deep Neural Networks

#34
I 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.

Re: Decensoring Hentai with Deep Neural Networks

#35

I 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 dr…

What? 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]

Re: Decensoring Hentai with Deep Neural Networks

#36

I 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 dr…

"Diamond Age" has a subplot to the tune of this

Re: Decensoring Hentai with Deep Neural Networks

#37
post #18

Earlier quoted context omitted.

It 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 be…

But 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.

This reminds me of posts in alt.sex.stories having disclaimers like "Note: All characters in this story live on a planet where one year = 100 Earth years".

An even cheekier way to drive the point home would be for a sex-stories website to have a slider in the footer to update all age values across the site.

Re: Decensoring Hentai with Deep Neural Networks

#38
post #5

I 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 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…

Hentai is censored only for the Japanese marked, because it is a legal obligation. When it is exported, the uncensored version is normally used.

So you just need to find both versions in order to make your dataset. Add the large amount of decensored artwork and it is not that hard to build a huge dataset. It may even be automatable by parsing imageboards.

Re: Decensoring Hentai with Deep Neural Networks

#39
post #5

I 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 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…

If there’s too much manual work, you aren’t using enough layers! ;) Seems the smart approach for a... “focused” AI would be to manually label a bunch of nsfw bits and use that to build a censor bot that auto-detects and censors the of-interest regions. From there you can generate a large corpus of censored-uncensored pairs with which to train the decensor bot.

Re: Decensoring Hentai with Deep Neural Networks

#40
post #30

Earlier quoted context omitted.

That's pushing it too far. An image might be represented as 1s and 0s but what it represents is a "real world event" which actually happened. If it was stored on magnetic tape instead of on a hard drive it would still represent the same thing. It's what the event represents (child abuse) which is illegal. However, a neural network represents a mathematical model, not a specific "real world event". Although I suppose…

In most Western countries, the content can be illegal independent of the real-world event being legal or not, or even if there's no real-world event at all (i.e. fictional depictions). It's not illegal for a teenager to pose in the nude, but it might be considered illegal for them to take a photo of themselves and post it on the internet. I think linking illegal depictions to illegal events would be saner, but that's…

Interesting. Yeah I agree that it would make sense for the link to be clear.

Come to think of it, a couple of years ago there was this app called FaceApp which came out which used neural networks to modify selfies in funny ways (like making you older/younger/of the opposite sex).

I wonder if anyone has ever run a pornographic image with the "younger" filter in the app. Would that be illegal?

Post reply on HN