Detecting Narcissistic Personality Disorder (NPD): A Hybrid Regex and NLP-Based AI Approach With Phase-Aware Classification
Open Access
- 23 October 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 185011-185024
Abstract
Narcissistic Personality Disorder (NPD) is considered one of the three malevolent personality traits comprising the ’Dark Triad’ alongside Machiavellianism and Psychopathy. Recent advances in computational psycholinguistics have demonstrated the potential of natural language processing (NLP) for the detection of personality disorders. To address the complexities of detecting nuanced linguistic patterns associated with NPD and abuse cycles, hybrid models that integrate rule-based and deep learning approaches have been proposed. Our approach synergises a transparent Regex based system for explicit markers with a fine-tuned, domain-adapted BERT model for implicit, contextual patterns. Crucially, we validated this hybrid system through a rigorous three-stage process, demonstrating a replicable methodology that successfully bridges the domain gap to real-world proxy data for toxic online discourse. This work provides a robust foundation for developing computational tools to aid researchers and clinicians in analysing textual data for patterns relevant to narcissistic dynamics.Keywords
This publication has 20 references indexed in Scilit:
- The Cyber Predators2024
- Machine learning techniques for emotion detection and sentiment analysis: current state, challenges, and future directionsBehaviour & Information Technology, 2022
- Natural language processing applied to mental illness detection: a narrative reviewnpj Digital Medicine, 2022
- Emotion Recognition Through Human Conversation Using Machine Learning Techniques2021
- Predicting Personality Using Answers to Open-Ended Interview QuestionsIEEE Access, 2020
- Generation and evaluation of artificial mental health records for Natural Language Processingnpj Digital Medicine, 2020
- The IEEE Global Initiative on Ethics of Autonomous and Intelligent Systems2019
- Abusive Language Detection in Online User Content2016
- Automatic personality assessment through social media language.Journal of Personality and Social Psychology, 2015
- Different routes to limited empathy in the sexes: Examining the links between the Dark Triad and empathyPersonality and Individual Differences, 2013