NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Metadata-Based Detection of Child Sexual Abuse Material

Mayana Pereira, Rahul Dodhia, Richard Brown · DOI

TL;DR

This paper introduces a novel machine learning framework for detecting Child Sexual Abuse Material (CSAM) by analyzing file metadata (specifically file paths) instead of the content itself. This approach bypasses the significant ethical and legal hurdles associated with collecting and using CSAM imagery for training, offering a more practical and scalable solution for law enforcement and online platforms.

What Problem Does This Paper Address?

Child Sexual Abuse Material (CSAM) is a pervasive and devastating problem, with its distribution amplified by online platforms. While machine learning has shown promise in detecting CSAM, training these models typically requires vast datasets of CSAM images and videos. However, the collection and storage of such material are fraught with severe ethical and legal constraints, creating a significant barrier to research and development. This paper addresses this critical gap by proposing a method to detect CSAM using only file metadata, specifically file paths, which are not subject to the same restrictions and can be collected more readily. This approach aims to increase the rate of CSAM discovery and aid in protecting victims.

Methods

The core of this paper lies in its proposed framework for training and evaluating machine learning models for CSAM detection using file paths. The framework includes:

  • Metadata-Based Approach: Instead of analyzing the actual media content (images, videos), the models focus on file paths, which include folder names and file names. This is based on the observation that perpetrators often use coded language in file paths to communicate and trade CSAM.
  • Text Preprocessing Techniques: Two methods are employed for vectorizing file paths:
  • TF-IDF (Term Frequency-Inverse Document Frequency): This standard technique assigns weights to words or character sequences based on their frequency within a document and across the entire corpus.
  • Character-Based Quantization: This method converts text into sequences of fixed-length vectors, suitable for deep learning models.
  • Machine Learning Models: A range of algorithms are explored, including traditional methods like Logistic Regression, Naive Bayes, and Boosted Trees, as well as deep learning architectures like Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) networks.
  • Robust Evaluation Framework: A key contribution is the comprehensive evaluation strategy designed to mimic real-world deployment challenges. This includes testing against:
  • Out-of-sample CSAM and non-CSAM data.
  • Adversarially modified file paths designed to evade detection.
  • Benign file paths from distinct data distributions to assess generalization and false positive rates.

Datasets

  • Project VIC Dataset: This dataset, collected by Project VIC International, forms the primary source for training and evaluating the models. It contains over 1 million file paths from 55,312 unique storage systems, labeled as either CSAM or non-CSAM.
  • Common Crawl Dataset: Used for evaluating the models' performance on benign data from different distributions. Specifically, data from Common Crawl index CC-MAIN-2021-10 was used to extract Linux and Windows file paths.

Key Insights and Ideas

  • Metadata as a Powerful Signal: The research demonstrates that file paths, often overlooked, contain sufficient information to effectively detect CSAM, circumventing the need for direct content analysis.
  • Adversarial Robustness is Crucial: The paper highlights the importance of evaluating models against adversaries who actively try to evade detection. This is a critical step for real-world deployment, as perpetrators will adapt their methods.
  • CNNs Excel in This Domain: The study found that character-level CNN models achieved the highest performance, outperforming traditional methods and LSTM networks in terms of recall and accuracy, even under adversarial conditions.
  • Low False Positive Rate is Achievable: The proposed CNN model demonstrated a very low false positive rate on benign data, especially when a high confidence threshold is applied, making it suitable for deployment without overwhelming human reviewers.

Key Results

  • The best-performing model, a character-based CNN, achieved a recall rate of 0.94 and an accuracy of 0.97 on the Project VIC dataset.
  • This CNN model maintained a high recall rate even when faced with adversarially modified file paths.
  • When tested on benign data from distinct distributions (Common Crawl), the CNN model achieved a false positive rate of 0.005 at a confidence threshold of 0.85.
  • The evaluation framework provided concrete evidence of the model's robustness against various adversarial attacks, including random character substitutions and CSAM lexicon substitutions.

Limitations and Future Work

  • Adversarial Knowledge: The current adversarial threat model assumes the attacker does not have access to the model's architecture or confidence scores. Future work could explore scenarios where adversaries have more knowledge.
  • Dataset Size: While the Project VIC dataset is extensive, the authors acknowledge that the true distribution of CSAM on the internet is likely much larger and more diverse.
  • Generalization to Other Languages/Scripts: The current models are primarily trained on data that likely reflects a dominant language. Expanding to handle a wider range of languages and scripts could improve global applicability.
  • Integration with Existing Tools: The authors suggest that their metadata-based classifier can be integrated with existing tools like PhotoDNA and computer vision models to create a more comprehensive CSAM detection system.

Summary updated

BibTeX
@article{pereira2020metadata,
  author = {Mayana Pereira and Rahul Dodhia and Richard Brown},
  title = {{Metadata-Based Detection of Child Sexual Abuse Material}},
  journal = {IEEE TDSC},
  year = {2020},
  doi = {10.1109/tdsc.2023.3324275},
}
Figure