Skip to main content
QUICK REVIEW

[Paper Review] Efficient filtering of adult content using textual information

Thomas Largillier, Guillaume Peyronnet|arXiv (Cornell University)|Dec 1, 2015
Web Data Mining and AnalysisComputer Science4 references4 citations
TL;DR

This paper proposes a text-based filtering method using a decision forest to build an adult-content-free search engine index, achieving 97.22% accuracy and 97.85% recall on a test dataset. The approach relies solely on textual content and URL features, effectively reducing adult content exposure by removing most such sites from the index rather than flagging them.

ABSTRACT

Nowadays adult content represents a non negligible proportion of the Web content. It is of the utmost importance to protect children from this content. Search engines, as an entry point for Web navigation are ideally placed to deal with this issue. In this paper, we propose a method that builds a safe index i.e. adult-content free for search engines. This method is based on a filter that uses only textual information from the web page and the associated URL.

Motivation & Objective

  • To develop a method that constructs a search engine index free of adult content, rather than relying on optional safe-search features.
  • To improve child safety on the web by proactively excluding adult websites from search results.
  • To evaluate the effectiveness of purely textual features—such as word frequency, URL structure, and metadata—in detecting adult content.
  • To minimize false positives while ensuring high recall, even when adult content lacks explicit textual markers.

Proposed method

  • The method employs a supervised machine learning pipeline based on a decision forest trained on 36 textual and structural attributes extracted from web pages and URLs.
  • Key attributes include ratio of English adult words (ratio_wen), proportion of French adult terms (prop_wfr), URL-based features (IN-URL, ratio_brand), and structural elements like image count and tag frequency.
  • A majority vote across all decision trees determines the final classification, with tunable thresholds to balance sensitivity and specificity.
  • The filter uses only textual and URL-based features, excluding image or video analysis, to maintain speed and scalability.
  • The system is designed to remove adult websites from the index entirely, thereby reducing their PageRank and minimizing visibility in search results.
  • Additional mechanisms such as TLD checks, disclaimer detection, and blacklist updates are considered to further improve performance.

Experimental results

Research questions

  • RQ1Can a purely text-based filtering system achieve high accuracy in identifying and excluding adult content from a search engine index?
  • RQ2How effective are URL-based features and word frequency patterns in detecting adult content without relying on image or video analysis?
  • RQ3What is the impact of removing adult websites from the index on their visibility and ranking in search results?
  • RQ4How do different textual attributes—such as language-specific adult word ratios and tag usage—contribute to classification performance?

Key findings

  • The filter achieved 97.22% accuracy, 97.85% recall, and 98.32% precision on a test set of 1,153 web pages, with 839 adult and 314 safe pages.
  • The miss rate was only 2.15%, indicating that the system successfully identified the vast majority of adult content.
  • False negatives primarily occurred on video streaming sites with minimal textual content, such as Beeg, which lack explicit adult keywords.
  • Discussion forums with mildly explicit content in non-explicit sections were also poorly detected, though these represent a minority of adult content.
  • Attributes like IN-URL, ratio_brand, and ratio_queries were used in over 70% of classifications, highlighting the importance of URL structure in detection.
  • The method’s reliance on textual content alone proved sufficient for 97.22% of cases, demonstrating that non-visual features are highly effective for adult content filtering.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.