Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR AI

Date Submitted: Feb 24, 2026
Date Accepted: Oct 20, 2026

The final, peer-reviewed published version of this preprint can be found here:

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

Saavedra-Roa A, Pineda-Marin C, Vallejo-Medina P, Montesano A

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

JMIR AI 2026;5:e94097

DOI: 10.2196/94097

PMID: 43002709

Detecting Emotional Signals of Relationship Well-Being Using Artificial Intelligence: 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

ABSTRACT

Background:

Natural language processing (NLP) and artificial intelligence (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.

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 external validity against a theory-driven measure of relational well-being.

Methods:

A total of 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’s Z tests were conducted to compare dependent correlations across models.

Results:

Both approaches showed significant associations with relational well-being; however, the transformer-based model demonstrated stronger and more theoretically coherent correlations, particularly for positive and negative valence (r = .66 and r = –.74, respectively). The lexicon-based approach detected smaller associations, primarily within negative emotion dimensions. Significant differences between paradigms were observed across multiple affective categories.

Conclusions:

Transformer-based NLP models show greater sensitivity to emotionally nuanced relational discourse compared to traditional lexicon-based methods. These findings extend methodological evaluation frameworks for computational emotion detection by incorporating theory-driven external validation and highlight implications for responsible AI deployment in psychologically sensitive domains.


 Citation

Please cite as:

Saavedra-Roa A, Pineda-Marin C, Vallejo-Medina P, Montesano A

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

JMIR AI 2026;5:e94097

DOI: 10.2196/94097

PMID: 43002709

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.