Context-specific Language Modeling for Human Trafficking Detection from Online Advertisements

Saeideh Shahrokh Esfahani, Michael J. Cafarella, Maziyar Baran Pouyan, Gregory J. DeAngelo, Elena Eneva, Andy E. Fano

Abstract

Identifying human trafficking victims within the vast landscape of online sex advertisements is a critical challenge for law enforcement. This paper presents a composite natural language processing (NLP) framework that integrates topic modeling (LDA), character-level word embeddings (FastText), and deep contextual representations (BERT). By leveraging these diverse linguistic features, the proposed model achieves a significant 26% improvement in recall at high precision levels compared to individual state-of-the-art methods.

Introduction: The Challenge of Online Sex Advertisements

Human traffickers frequently utilize the anonymity of online platforms to solicit clients, embedding subtle clues within advertisements to communicate with potential customers while evading detection. These ads are characterized by "noisy" text, including unconventional grammar, heavy slang, and extensive use of emojis.

Examples of online sex advertisements showing coded language and unconventional formatting used to evade detection.

For law enforcement (LE), the sheer volume of these advertisements makes manual review impossible. Standard NLP tools often fail in this domain because traffickers constantly evolve their vocabulary (e.g., using "roses" to signify dollars). The objective is to develop an automated system capable of maintaining high precision—to ensure LE resources are not wasted on false leads—while maximizing the recall of suspicious activity.

Methodology: A Composite NLP Framework

The researchers developed a composite feature set that feeds into a Logistic Regression classifier, combining three distinct featurization techniques:

  1. Topic Modeling (LDA): Latent Dirichlet Allocation was employed to identify 12 thematic topics, providing broad context for each advertisement.
  2. Average Word Vectors (AWV) via FastText: Unlike traditional word-level embeddings, FastText utilizes character-level n-grams. This allows the model to effectively process misspellings, novel abbreviations, and evolving slang common in trafficking ads.
  3. Pre-trained BERT: The BERT-base model was used as a feature extractor to capture bidirectional contextual information. The researchers opted not to fine-tune the model, testing its "raw" ability to understand unstructured, domain-specific text.

By concatenating these features, the model analyzes text through multiple "lenses," balancing thematic understanding with granular, character-level resilience.

Data and Labeling Innovation

The study utilized a dataset of approximately 10,000 ads crawled from platforms like Backpage and Eroticmugshots. To overcome the subjectivity of manual labeling, the authors used a database of phone numbers previously linked to trafficking victims. Ads containing these numbers were labeled as positive cases, creating a ground-truth dataset for training and evaluation.

Performance Evaluation and Key Results

The primary goal was to optimize performance at high precision levels (85% and 90%), which are most relevant for practical law enforcement applications.

Comparison of recall rates at 85% and 90% precision across different models, highlighting the superiority of the composite approach.

The composite model (LDA + AWV + BERT) demonstrated superior performance:

  • Significant Recall Gains: At a fixed precision of 85%, the composite model achieved a recall of 69%.
  • Comparative Advantage: This represents a 26% improvement in recall compared to using the Uncased BERT model alone (which achieved approximately 43% recall at the same precision level).
  • Robustness: The model maintained consistent performance regardless of whether emojis were treated as text or removed, suggesting that the underlying linguistic structure is highly indicative of trafficking activity.

Conclusion and Future Directions

This research highlights the power of ensemble linguistic features in detecting illicit activity within noisy, adversarial environments. While the results are promising, real-world deployment faces challenges such as extreme class imbalance—where trafficking ads represent a tiny fraction of total volume. Future work will focus on incorporating anomaly detection techniques and integrating additional metadata, such as image data and posting frequency, to further enhance detection capabilities.

Summary updated

BibTeX
@inproceedings{esfahani2019context,
  author = {Saeideh Shahrokh Esfahani and Michael J. Cafarella and Maziyar Baran Pouyan and Gregory J. DeAngelo and Elena Eneva and Andy E. Fano},
  title = {{Context-specific Language Modeling for Human Trafficking Detection from Online Advertisements}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1114},
}
Figure