Towards Automatic Principles of Persuasion Detection Using Machine Learning Approach

Lázaro Bustio-Martínez, Vitali Herrera-Semenets, Juan-Luis García-Mendoza, Jorge Ángel González Ordiano, Luis N. Zúñiga-Morales, Rubén Sánchez-Rivero, José Emilio Quíroz-Ibarra, Pedro Antonio Santander-Molina, Jan van den Berg, Davide BuscaldiIWAIPR 2023

Abstract

Persuasion is a human activity of influence. In marketing, persuasion can help customers find solutions to their problems, make informed choices, or convince someone to buy a useful (or useless) product or service. In computer crimes, persuasion can trick users into revealing sensitive information, or even performing actions that benefit attackers. Phishing is one of the most common and dangerous forms of persuasion-based attacks, as it exploits human vulnerabilities rather than technical ones. Therefore, an intelligent system capable of detecting and classifying persuasion attempts might be useful in protecting users. In this work, an approach that uses Machine Learning to analyze messages based on principles of persuasion and different data representations is presented. The aim of this research is to detect which data representation and which classification algorithm obtain the best results in detecting each principle of persuasion as a prior step to detecting phishing attacks. The results obtained indicate that among the combinations tested, there is one combination of data representation and classification algorithm that performs best. The related classification models obtained can detect the principles of persuasion at a rate that varies between 0.78 and 0.86 of AUC-ROC.

Introduction

Phishing remains one of the most successful cyber-attack vectors because it exploits human vulnerabilities rather than technical ones. While traditional filters look for malicious links or suspicious sender metadata, they often miss the social engineering aspect: the persuasive language designed to trick a user into compliance. This research addresses a significant gap in current literature by focusing on how a message is communicated (the persuasive technique) rather than just the payload. By automating the detection of these principles, we can build more robust, human-centric phishing prevention systems.

Methodology

The researchers treated the detection of each persuasion principle as an independent classification task. Their methodology involved three key components:

  1. Data Representation (Feature Extraction): They evaluated eight different methods, including classical approaches like TF-IDF and N-grams, as well as modern deep learning embeddings like LASER, RoBERTa, and the Universal Sentence Encoder (using both Deep Averaging Networks (DAN) and Transformer (TRANSF) architectures).
  2. Classification Algorithms: The study tested a mix of models, including Naïve Bayes, K-Nearest Neighbors, Random Forest, Support Vector Machines (SVM), and fine-tuned transformer models (BERT and RoBERTa).
  3. Evaluation: Performance was assessed using 10-fold cross-validation, focusing on the AUC-ROC metric to handle the imbalanced datasets typical in security contexts.

The PoP Dataset

The authors introduced the PoP (Principles of Persuasion) dataset, derived from 1,113 confirmed phishing emails. Three referees manually labeled each email based on five principles: Authority; Commitment, Integrity and Reciprocation; Distraction; Liking, Similarity and Deception; and Social Proof. The labeling process achieved a high agreement rate of 94.75%.

Distribution of persuasion principles in the PoP dataset

As shown in the dataset distribution, there is a significant imbalance between categories. For instance, "Authority" is present in over 60% of samples, while "Liking, Similarity and Deception" appears in only 3.5%, presenting a challenge for machine learning training.

Key Results and Insights

The study successfully identified the best-performing models for each principle, with AUC-ROC scores ranging from 0.78 to 0.86. A key finding was that no single combination of data representation and classifier works best for every principle:

  • Authority: 0.86 (DAN + Random Forest)
  • Social Proof: 0.83 (TRANSF + SVM)
  • Distraction: 0.82 (DAN + SVM)
  • Liking, Similarity and Deception: 0.82 (LASER + SVM)
  • Commitment, Integrity and Reciprocation: 0.78 (RoBERTa + Naïve Bayes)

The Deep Averaging Network (DAN) feature extractor proved particularly versatile, appearing in top-performing combinations for several principles. These results indicate that ML models can reliably distinguish complex psychological patterns in short text samples.

Conclusion and Future Work

By identifying how an attacker attempts to manipulate a user, security systems could eventually provide "just-in-time" education, such as a pop-up warning that an email is using a "Distraction" technique. Future work will focus on expanding the dataset to include legitimate emails to ensure models can distinguish between benign marketing and malicious persuasion, ultimately integrating these detectors into a comprehensive phishing defense tool.

Summary updated

BibTeX
@inproceedings{bustiomartinez2023towards,
  author = {Lázaro Bustio-Martínez and Vitali Herrera-Semenets and Juan-Luis García-Mendoza and Jorge Ángel González Ordiano and Luis N. Zúñiga-Morales and Rubén Sánchez-Rivero and José Emilio Quíroz-Ibarra and Pedro Antonio Santander-Molina and Jan van den Berg and Davide Buscaldi},
  title = {{Towards Automatic Principles of Persuasion Detection Using Machine Learning Approach}},
  booktitle = {IWAIPR},
  year = {2023},
  url = {https://openreview.net/forum?id=b7oaruCo4x},
}

Loading related content...

Figure