Detecting Narcissistic Personality Disorder Traits on Forums: Proof-of-Concept Study.

Identifying traits of narcissistic personality disorder (NPD) is clinically challenging, yet early detection can significantly improve outcomes. Online forums have become a major source of self-expression, offering new opportunities to understand mental health. However, analyzing this complex language requires new tools.

This study aims to determine whether a machine learning model could be trained to reliably detect language patterns associated with NPD traits in Reddit posts. Specifically, we sought to identify both authors who exhibit these traits and posts discussing individuals with these traits.

We analyzed 75,985 posts from 4 Reddit communities (r/Narcissism, r/DeepThoughts, r/Showerthoughts, and r/ImposterSyndrome). A subset of 966 posts was annotated by 2 psychiatrists to create a reliable dataset. Using a range of machine learning techniques, from traditional text analysis to modern transformer-based embedding models, we trained the system to distinguish posts containing NPD-trait markers from general reflective posts. This secondary analysis of deidentified public Reddit data was exempted by the Boğaziçi University FMINAREK (Fen Bilimleri ve Mühendislik Alanları İnsan Araştırmaları Etik Kurulu) Institutional Review Board (exemption/application number 2025-13).

Our models demonstrated high accuracy. The modern embedding-based models were particularly effective, achieving a mean F1-score of 0.90, indicating a strong balance between recall and precision by correctly identifying posts with NPD-trait markers while minimizing false positives. The models remained effective even when common keywords such as "narcissism" were removed, with a mean relative F1-score decrease of 3.6% for the frequency-based baseline classifier and less than 2% (1.9% and 0.8%) for the embedding models.

This study demonstrates that automated analysis of online posts is a promising approach for understanding and identifying NPD traits. Although this technology has potential for future clinical applications, it is currently a research tool and should be used only with strict ethical oversight, not for public-facing diagnosis.
Mental Health
Care/Management

Authors

Aladağ Aladağ, Özgür Özgür, Akbaş Akbaş, Zahmacioglu Zahmacioglu, Bingol Bingol
View on Pubmed
Share
Facebook
X (Twitter)
Bluesky
Linkedin
Copy to clipboard