Skip to main content
QUICK REVIEW

[Paper Review] Metadata-Based Detection of Child Sexual Abuse Material

Mayana Pereira, Rahul Dodhia|arXiv (Cornell University)|Oct 5, 2020
Digital and Cyber ForensicsComputer Science8 citations
TL;DR

This paper proposes a metadata-based machine learning framework for detecting Child Sexual Abuse Material (CSAM) using file paths, avoiding the need for training on actual CSAM imagery. Leveraging a character-level convolutional neural network (CNN), the model achieves 97% accuracy and 94% recall, with a false positive rate as low as 0.001 at high confidence thresholds, demonstrating robustness against adversarial path modifications and strong generalization on open datasets.

ABSTRACT

Child Sexual Abuse Media (CSAM) is any visual record of a sexually-explicit activity involving minors. CSAM impacts victims differently from the actual abuse because the distribution never ends, and images are permanent. Machine learning-based solutions can help law enforcement quickly identify CSAM and block digital distribution. However, collecting CSAM imagery to train machine learning models has many ethical and legal constraints, creating a barrier to research development. With such restrictions in place, the development of CSAM machine learning detection systems based on file metadata uncovers several opportunities. Metadata is not a record of a crime, and it does not have legal restrictions. Therefore, investing in detection systems based on metadata can increase the rate of discovery of CSAM and help thousands of victims. We propose a framework for training and evaluating deployment-ready machine learning models for CSAM identification. Our framework provides guidelines to evaluate CSAM detection models against intelligent adversaries and models' performance with open data. We apply the proposed framework to the problem of CSAM detection based on file paths. In our experiments, the best-performing model is based on convolutional neural networks and achieves an accuracy of 0.97. Our evaluation shows that the CNN model is robust against offenders actively trying to evade detection by evaluating the model against adversarially modified data. Experiments with open datasets confirm that the model generalizes well and is deployment-ready.

Motivation & Objective

  • To develop a deployment-ready machine learning framework for CSAM detection that avoids legal and ethical constraints of training on actual CSAM content.
  • To enable detection of CSAM using only file metadata—specifically file paths—making it applicable across media types and storage systems.
  • To evaluate model robustness against adversarial modifications in file paths, simulating real-world evasion attempts by offenders.
  • To ensure low false positive rates in out-of-distribution, benign datasets to support practical deployment in production environments.
  • To provide a reusable, open framework for training and evaluating CSAM detection models on metadata such as file paths, search terms, and keywords.

Proposed method

  • The framework employs a text classification pipeline using character-level representations of file paths as input to machine learning models.
  • A character-level CNN (char-CNN) is used as the primary model architecture, processing sequences of characters in file paths to detect patterns associated with CSAM.
  • The training pipeline includes multiple text representation techniques and machine learning methods, with model evaluation conducted on diverse data distributions.
  • Adversarial testing is performed by generating modified file paths that mimic evasion tactics, assessing model resilience under realistic attack conditions.
  • The model is evaluated on open, real-world datasets such as Common Crawl, using out-of-sample benign file paths to measure generalization and false positive rates.
  • Decision thresholds are tuned to balance recall and false positive rate, with high thresholds (e.g., 0.95) achieving sub-0.001 FPR on both Linux and Windows file paths.

Experimental results

Research questions

  • RQ1Can a machine learning model trained solely on file path metadata detect CSAM with high accuracy and low false positive rates, avoiding the need for CSAM image data?
  • RQ2How robust is the model to adversarial modifications in file paths that simulate evasion attempts by offenders?
  • RQ3To what extent does the model generalize to out-of-distribution, benign file paths from real-world web crawls?
  • RQ4What confidence threshold settings achieve optimal trade-offs between recall and false positive rate in production deployment?
  • RQ5Can the proposed framework be reused and adapted for other metadata-based CSAM detection tasks, such as keyword or search term classification?

Key findings

  • The best-performing model, a character-level CNN, achieves 97% accuracy and 94% recall in detecting CSAM-related file paths.
  • At a confidence threshold of 0.95, the false positive rate drops to approximately 0.001 for both Linux and Windows file paths in out-of-sample benign datasets.
  • The model demonstrates strong generalization, maintaining low false positive rates across distinct data distributions from the Common Crawl dataset.
  • Adversarial testing confirms the model's robustness, as it remains effective even when file paths are modified to evade detection.
  • The framework enables deployment-ready CSAM detection without requiring access to actual CSAM imagery, reducing legal and ethical barriers.
  • The system is media-agnostic and scalable, capable of scanning thousands of file storage systems quickly using only file path metadata.

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.