JMIR AI

Detecting Emotional Signals of Relationship Well-Being Using AI: A Cross-Sectional Comparison of Transformer-Based and Lexicon-Based Models for Couples Therapy Research.

Alejandro Saavedra-Roa, Claudia Pineda-Marin, Pablo Vallejo-Medina, Adrián Montesano

Faculty of Psychology and Education Sciences, Universitat Oberta de Catalunya, Rambla del Poblenou, 156, Barcelona, Catalonia, 08018, Spain, 1 934505225.

Observational

Key points

From the paper's conclusion
  • In this sample, Pysentimiento showed stronger associations with couple flourishing than the NRC Emotion Lexicon across several affective dimensions, although differences were not consistent across all categories. These findings support the value of theory-driven external criteria for evaluating computational emotion detection in relational narratives and underscore the importance of context-sensitive interpretation when applying AI tools in psychologically sensitive domains. These findings also highlight the potential relevance of computational emotion analysis for digital health research, particularly in digital mental health and couples therapy research, although further validation in clinical settings is needed before clinical implementation.

Abstract

BACKGROUND: Natural language processing and AI models are increasingly used to extract emotional signals from textual data; however, systematic validation of different computational paradigms in emotionally complex relational contexts remains limited. Such approaches may contribute to digital health research, particularly in the fields of digital mental health and couples therapy, where understanding emotional expressions within romantic relationships is especially relevant. OBJECTIVE: This study aimed to compare a lexicon-based approach (NRC Emotion Lexicon) and a transformer-based model (Pysentimiento) in detecting affective patterns within spontaneous romantic relationship narratives and to evaluate their criterion-related associations with a theory-driven measure of relational well-being. METHODS: In this cross-sectional exploratory study, 112 Spanish adults completed the Couple Flourishing Measure (CFM) and provided an open-ended description of their romantic relationship. Narratives were analyzed using both computational approaches to generate emotion and sentiment indices. Pearson correlations were computed between model outputs and CFM scores. Steiger Z tests were conducted to compare dependent correlations across models. RESULTS: Both approaches showed significant associations with couple flourishing, although the transformer-based model yielded stronger correlations for several affective dimensions, particularly positive sentiment (r=0.66, 95% CI 0.54-0.76) and negative sentiment (r=-0.74, 95% CI -0.82 to -0.65). The lexicon-based approach showed smaller associations, primarily for negative emotions. Steiger Z tests identified significant between-model differences for disgust (P=.04), joy (P=.01), sadness (P=.004), surprise (P=.03), and positive and negative sentiment (both P<.001), but not for anger or fear. CONCLUSIONS: In this sample, Pysentimiento showed stronger associations with couple flourishing than the NRC Emotion Lexicon across several affective dimensions, although differences were not consistent across all categories. These findings support the value of theory-driven external criteria for evaluating computational emotion detection in relational narratives and underscore the importance of context-sensitive interpretation when applying AI tools in psychologically sensitive domains. These findings also highlight the potential relevance of computational emotion analysis for digital health research, particularly in digital mental health and couples therapy research, although further validation in clinical settings is needed before clinical implementation.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Detecting Emotional Signals of Relationship Well-Being Using AI: A Cross-Sectional Comparison of Transformer-Based and Lexicon-Based Models for Couples Therapy Research — Science Skim