Site icon Synced

NSFW Dataset Removes Humans From Content Review

The proliferation of social media in our daily lives has profoundly changed the way we work and play with others. It has also created an entirely new job: thousands of people worldwide now work for Google, Facebook and Twitter “Community Operations Teams.” Whenever a user flags content as offensive, it’s sent to these guys for review.

Community Operations Teams however do not get a lot of love from Internet users — they’re often being criticized for their decisions, explanations or work speed. There are also issues with the job itself. All this exposure to NSFW content — and some of it is extremely disturbing — can even be linked with Post-Traumatic Stress Disorder.

Now, Montréal-based data scientist Alexander Kim (GitHub name “Alexkimxyz”) has come up with a way to take humans out of the content review loop. “NSFW Data Scrapper” is a set of scripts that enable the collection of tens of thousands of images which developers can use to train convolutional neural network (CNN) image classifiers. The NSFW dataset contains over 220,000 images in five “loosely defined” categories:

Each of the images in the dataset comes with an accessible URL, which can be easily read and downloaded in different system interferences and toolkits. Kim has also developed scripts for Ubuntu 16.04 Linux distribution platform users to read and download the image dataset, executable as follows:

The script introduction:

Kim used a simple CNN to achieve a 91 percent accuracy rate for actual classification tasks with following confusion matrix:

Current applications that leverage AI to review flagged content include Chinese startup TupuTech’s AI algorithm, which has achieved a 99 percent success rate identifying pornographic images. But as we are seeing with microblogging website Tumblr’s ongoing battle against nudity, content review tech remains far from perfect.

The NSFW Data Scrapper project release will surely accelerate AI-based image review algorithms in real life applications, while the tech’s scope can also be expected to expand beyond porn. It’s very possible that all those Community Operation Team jobs will be gone just as quickly as they appeared.

More information on the NSFW Data Scrapper is available on the project’s GitHub page.


Author: Robert Tian | Editor: Michael Sarazen

Exit mobile version