English

mhGPT: A Lightweight Generative Pre-Trained Transformer for Mental Health Text Analysis

Computation and Language 2024-08-16 v1

Abstract

This paper introduces mhGPT, a lightweight generative pre-trained transformer trained on mental health-related social media and PubMed articles. Fine-tuned for specific mental health tasks, mhGPT was evaluated under limited hardware constraints and compared with state-of-the-art models like MentaLLaMA and Gemma. Despite having only 1.98 billion parameters and using just 5% of the dataset, mhGPT outperformed larger models and matched the performance of models trained on significantly more data. The key contributions include integrating diverse mental health data, creating a custom tokenizer, and optimizing a smaller architecture for low-resource settings. This research could advance AI-driven mental health care, especially in areas with limited computing power.

Keywords

Cite

@article{arxiv.2408.08261,
  title  = {mhGPT: A Lightweight Generative Pre-Trained Transformer for Mental Health Text Analysis},
  author = {Dae-young Kim and Rebecca Hwa and Muhammad Mahbubur Rahman},
  journal= {arXiv preprint arXiv:2408.08261},
  year   = {2024}
}