Detecting Narcissistic Personality Disorder Traits on Forums: Proof-of-Concept Study
Study type: Observational study: it can show a link, but not prove that one thing causes another.
Abstract
Background
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. Objective
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. Methods
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). Results
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. Conclusions
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.
Subject terms
Headline, design, result, key points, caveat and citation as plain text.
Cite this article
Aladağ AE, Özgür A, Akbaş NB, Zahmacioglu O, Bingol HO. Detecting Narcissistic Personality Disorder Traits on Forums: Proof-of-Concept Study. J Med Internet Res. 2026;28:e75799. doi:10.2196/75799
Spotted a mistake? Suggest a correction