ResearchJournal of Medical Internet Research · Jul 29, 2026

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

Aladağ AE, Özgür A, Akbaş NB, Zahmacioglu O, Bingol HO
Digital Health & AIAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

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.

More on this topic

AI in medicine

Subject terms

Narcissistic Personality Disorder; Humans; Machine Learning; Proof of Concept Study; Social Media

DOI: 10.2196/75799 · PubMed: 42526023

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

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Digital Health & AI studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

Similar articles

Research · Transl Psychiatry · Mar 19, 2026 · Pediatric · Psychiatry & Mental Health, Digital Health & AI

A proof-of-concept machine learning model for short-term suicide risk stratification in depressed youth

Research · J Med Internet Res · Feb 4, 2026 · Digital Health & AI

Transformer-Based Topic Modeling: Characterizing Cannabis Product Adverse Experiences Self-Reported as Requiring Medical Attention on Reddit

Systematic review n = 89 · J Am Med Inform Assoc · Dec 24, 2020 · Digital Health & AI

New standardized protocol developed to address inconsistencies in health-related social media sentiment analysis research

Research · J Med Internet Res · Jun 3, 2026 · Digital Health & AI

Moving From Keywords to Contextual Meaning: A Commentary on Hybrid Bibliometric Synthesis in Health Research

Systematic review · J Med Internet Res · May 8, 2023 · Digital Health & AI, Psychiatry & Mental Health

Review of mental health monitoring on Twitter shows many studies lack verified clinical data