Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-06T23:54:37.098Z Has data issue: false hasContentIssue false

Detecting sexual predators in chats using behavioral features and imbalanced learning*

Published online by Cambridge University Press:  31 January 2017

CLAUDIA CARDEI
Affiliation:
Department of Computer Science, University Politehnica of Bucharest, 060042 Bucharest, Romania e-mails: claudia.cardei@gmail.com, traian.rebedea@cs.pub.ro
TRAIAN REBEDEA
Affiliation:
Department of Computer Science, University Politehnica of Bucharest, 060042 Bucharest, Romania e-mails: claudia.cardei@gmail.com, traian.rebedea@cs.pub.ro
Rights & Permissions [Opens in a new window]

Abstract

This paper presents a system developed for detecting sexual predators in online chat conversations using a two-stage classification and behavioral features. A sexual predator is defined as a person who tries to obtain sexual favors in a predatory manner, usually with underage people. The proposed approach uses several text categorization methods and empirical behavioral features developed especially for the task at hand. After investigating various approaches for solving the sexual predator identification problem, we have found that a two-stage classifier achieves the best results. In the first stage, we employ a Support Vector Machine classifier to distinguish conversations having suspicious content from safe online discussions. This is useful as most chat conversations in real life do not contain a sexual predator, therefore it can be viewed as a filtering phase that enables the actual detection of predators to be done only for suspicious chats that contain a sexual predator with a very high degree. In the second stage, we detect which of the users in a suspicious discussion is an actual predator using a Random Forest classifier. The system was tested on the corpus provided by the PAN 2012 workshop organizers and the results are encouraging because, as far as we know, our solution outperforms all previous approaches developed for solving this task.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2017 
Figure 0

Table 1. Top ten results for the sexual predator competition at PAN 2012

Figure 1

Fig. 1. Histogram for the number of messages in conversations between two users.

Figure 2

Table 2. Size of the corpus after filtering

Figure 3

Table 3. Distribution of classes for each type of chat representation

Figure 4

Table 4. Top fifteen most relevant lexical features for detecting sexual predator ordered descending using MI

Figure 5

Table 5. Vocabulary size before and after feature selection

Figure 6

Table 6. Final feature vector size

Figure 7

Table 7. Behavioral features sorted by their relevance using MI. Features prefixed with DIF represent the difference between the feature values of the participants, while the ones starting with PRTN are computed for the chat interlocutor/partner

Figure 8

Table 8. Top fifteen most relevant features for detecting a sexual predator using MI

Figure 9

Table 9. Cost matrix for the suspicious conversation classifier

Figure 10

Table 10. Distribution of classes for the second classifier with/without SCI

Figure 11

Table 11. Cost matrix for the second classifier used for predator detection

Figure 12

Table 12. Experiments for the full participant-level corpus

Figure 13

Table 13. Experiments for the conversation-level corpus used for SCI

Figure 14

Table 14. Number of predators eliminated by the SCI stage

Figure 15

Table 15. Experiments for the filtered participant-level corpus

Figure 16

Table 16. Ablation tests for behavioral features in filtered participant-level corpus

Figure 17

Table 17. Final evaluation on the test corpus