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?

Currently submitted to: JMIR Formative Research

Date Submitted: Nov 9, 2026
Open Peer Review Period: Nov 23, 2026 - Jan 18, 2027
(currently open for review)

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Dual-Layer Symbolic-Neural Framework Using LLMs and NLP-based Technique for Negative-to-Positive Thought Reframing for Cognitive Behavioral Therapy

  • Tasnim Niger; 
  • Hasan Mahmud; 
  • Md Kamrul Hasan

ABSTRACT

Background:

Automated cognitive reframing using large language models (LLMs) offers opportunities to support cognitive behavioral therapy (CBT), but conventional prompting often produces generic responses lacking empathy and contextual relevance.

Objective:

This study aimed to develop and evaluate a dual-layer symbolic-neural framework for generating encouraging, empathetic, and contextually relevant alternatives to negative thoughts.

Methods:

Using a dataset of 156,786 thoughts, the first layer employed named-entity recognition and noun-chunk extraction over a positive-thought corpus to construct contextual grounding. The second layer used GPT-3.5-turbo-instruct to generate reframes without fine-tuning. The framework was compared with a plain-prompt baseline across 630 response pairs. Evaluation combined human ratings from 40 participants, LLM-as-a-Judge assessments, BERTScore, and TextBlob sentiment analysis.

Results:

Human evaluators preferred dual-layer responses in 89% of comparisons. LLM-as-a-Judge assigned high or very high ratings to 84%, 78%, and 67% of dual-layer responses for encouragement, empathy, and relevance, respectively. Despite marginally lower sentiment polarity, dual-layer responses received higher evaluator ratings.

Conclusions:

Symbolic contextual grounding shows potential to improve the perceived empathy and contextual relevance of LLM-generated cognitive reframes. Further clinical validation is needed before therapeutic application.


 Citation

Please cite as:

Niger T, Mahmud H, Hasan MK

Dual-Layer Symbolic-Neural Framework Using LLMs and NLP-based Technique for Negative-to-Positive Thought Reframing for Cognitive Behavioral Therapy

JMIR Preprints. 09/11/2026:116538

DOI: 10.2196/preprints.116538

URL: https://preprints.jmir.org/preprint/116538

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.