1
$\begingroup$

For example, search engine companies want to classify their image searches into 2 categories (which they already do that) such as: NSFW (nudity, porn, brutality) and safe to view pictures.

How can artificial neural networks achieve that, and at what success rate? Can they be easily mistaken?

$\endgroup$
  • 2
    $\begingroup$ Generally there's no AI involved. There's just a primitive image analysis for large areas of "skin tone" color. $\endgroup$ – Mark Aug 9 '16 at 21:51
  • 2
    $\begingroup$ I think @rcpinto gave as good an answer as we will get. I'm just curious why this is a question you have haha. $\endgroup$ – Avik Mohan Aug 17 '16 at 19:56
  • 1
    $\begingroup$ Ad "can they be easily mistaken": yes, see "Does AI have a dirty mind, too?": medium.com/@marekkcichy/… $\endgroup$ – Piotr Migdal Apr 21 at 10:33
3
$\begingroup$

The 2015 paper entitled "Applying deep learning to classify pornographic images and videos" applied various types of convnets for detecting pornography. The proposed architecture achieved 94.1% accuracy on the NPDI dataset, which contains 800 videos (400 porn, 200 non-porn "easy" and 200 non-porn "difficult"). More traditional computer vision methods achieved 90.9% accuracy. The proposed architecture also performs very well regarding the ROC curve.

There does not seem to exist any works regarding the other aspects of NSFW yet.

$\endgroup$
1
$\begingroup$

The problem detecting NSFW has been around for over two decades.


This study from 2005 about finding naked people, demonstrates a strategy for finding such images based on the color and texture properties to fetch an effective mask for skin regions attempting to group a human figure using geometric constraints on the human structure. This method demonstrated

60% precision and 52% recall on a test set of 138 uncontrolled images of naked people.

Here are a few figures from the study explaining the algorithm:

Finding naked people via AI, neural network

Typical control images wrongly classified as containing naked people

The following post contains visualizations of nudity for scientific purposes (hover to display):

Typical images correctly classified as containing naked people


A more recent approach is using convolutional networks. This study from 2014PDF demonstrated impressive classification performance based on the ImageNet dataset. It's not clear 'how and why they perform so well', however they can be used for classification of images with a very low error rate.

For further details, check: What convolutional neural networks look at when they see nudity.

You will find the code example and the heatmap for how convnets see NSFW in the above link.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.