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?

Previously submitted to: JMIR Mental Health (no longer under consideration since Oct 14, 2025)

Date Submitted: Oct 11, 2025
Open Peer Review Period: Oct 14, 2025 - Oct 14, 2025
(closed for review but you can still tweet)

NOTE: This is an unreviewed Preprint

Warning: This is a unreviewed preprint (What is a preprint?). Readers are warned that the document has not been peer-reviewed by expert/patient reviewers or an academic editor, may contain misleading claims, and is likely to undergo changes before final publication, if accepted, or may have been rejected/withdrawn (a note "no longer under consideration" will appear above).

Peer review me: Readers with interest and expertise are encouraged to sign up as peer-reviewer, if the paper is within an open peer-review period (in this case, a "Peer Review Me" button to sign up as reviewer is displayed above). All preprints currently open for review are listed here. Outside of the formal open peer-review period we encourage you to tweet about the preprint.

Citation: Please cite this preprint only for review purposes or for grant applications and CVs (if you are the author).

Final version: If our system detects a final peer-reviewed "version of record" (VoR) published in any journal, a link to that VoR will appear below. Readers are then encourage to cite the VoR instead of this preprint.

Settings: If you are the author, you can login and change the preprint display settings, but the preprint URL/DOI is supposed to be stable and citable, so it should not be removed once posted.

Submit: To post your own preprint, simply submit to any JMIR journal, and choose the appropriate settings to expose your submitted version as preprint.

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.

Development of an AI-Integrated Online Counseling and Self-Improvement Platform for Mental Health Support

  • Thenuka Wijewardena

ABSTRACT

Background:

Mental health issues such as stress, anxiety, and depression are increasingly prevalent worldwide. However, access to professional counseling remains limited, especially in low-resource countries like Sri Lanka. Existing digital mental health tools often rely on internet connectivity and high-end hardware, creating accessibility barriers.

Objective:

This study aims to design and evaluate an AI-based counseling chatbot that operates offline using a lightweight TF-IDF model, providing accessible, stigma-free mental health support.

Methods:

A dataset of 1,872 mental health-related user expressions was collected from counseling transcripts, affective lexicons, and peer support forums. Text preprocessing included tokenization, stopword removal, and lemmatization. The TF-IDF model was implemented to classify user intents and generate context-appropriate responses from a curated response bank based on cognitive behavioral therapy principles. The model’s performance was evaluated using accuracy, relevance rating, and user feedback.

Results:

The chatbot achieved 91.2% accuracy in intent classification, with an average response time of 0.19 seconds and a memory footprint of only 2MB. User evaluation with 10 participants indicated a mean response relevance score of 4.3/5, and 80% reported reduced anxiety after chatbot interaction.

Conclusions:

The proposed TF-IDF-based chatbot demonstrates that lightweight AI systems can provide effective and empathetic mental health support in low-resource environments. Future work includes expanding to multilingual support and integrating with hybrid human-AI counseling frameworks.


 Citation

Please cite as:

Wijewardena T

Development of an AI-Integrated Online Counseling and Self-Improvement Platform for Mental Health Support

JMIR Preprints. 11/10/2025:85681

DOI: 10.2196/preprints.85681

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

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.