PsychAdapter: adapting LLMs to reflect traits, personality, and mental health

Read full text
Authors: Huy Quan Vu, Huy A. Nguyen, Adithya V Ganesan, Swanie Juhng, Oscar N. E. Kjell, Joao Sedoc, Margaret L. Kern, R L Boyd, Lyle Ungar, H. Andrew Schwartz, Johannes C. Eichstaedt
Cited by: 5
References: 47

Abstract

AI language generators are now ubiquitous but typically produce generic text that fails to reflect individual differences. Here, we introduce PsychAdapter, a lightweight LLM architectural modification that uses empirically derived links between language and personality, demographic, and mental health traits to generate trait-reflective text, regardless of prompt. PsychAdapter was applied to GPT-2, Gemma-2B, and LLaMA-3, and expert raters confirmed that the generated text matched the specified traits: it produced Big Five personality traits with 87.3% and depression and life satisfaction with 96.7% accuracy. PsychAdapter is a novel method for embedding psychological behavioral patterns into language models by conditioning every transformer layer, without relying on prompting. Beyond personality-conditioned generation, this approach has potential uses for simulated patients reflecting psychopathology and translation tailored to reading or educational level. It also enables generation of characteristic sentences for studying the language of traits, expanding the language processing toolkit for psychology.

Fields of Study & Subjects

Mental Health via Writing Digital Mental Health Interventions Artificial Intelligence in Healthcare and Education

Publication details

Journal / source
npj Artificial Intelligence
Publisher
Springer Science and Business Media LLC
Volume
2
Issue
1
Pages
26–26
Publication date
2 March 2026
Language
EN