Optimizing mental health text classification using genetic algorithms and meta-learning

Alok Kumar Jena, Kakita Murali Gopal, Abinash Tripathy

Abstract


Mental health issues are a growing global concern, with increasing challenges in accurately identifying and categorizing mental health-related content from user-generated text. This paper presents a novel approach for mental health text classification by integrating bidirectional encoder representations from transformers (BERT) with few-shot learning and genetic algorithm (GA) optimization. Given the limited availability of labeled mental health data, few-shot learning enables the model to generalize effectively using minimal examples, improving adaptability to underrepresented categories. This study overcomes the class imbalance problem through the class-balanced loss function, which allows for equal learning across all categories of classes, i.e. Anxiety, Depression, SuicideWatch, Lonely, and MentalHealth. Additionally, GA is used to fine-tune hyperparameters such as learning rates, layer selection, and batch size to enhance classification performance. GA allows for the selection of optimal configurations over this search space and ensures improvements in model Accuracy (A). This combined use of GA with BERT provides good generalization abilities in low-data scenarios with high classification Accuracy. Their results are promising, as they highlight the use of transformer-based architectures as a means of augmented monitoring of mental health, which, in conjunction with meta-learning and optimization techniques. This model captures both local and global dependencies effectively. These results suggest that the integration of transformer-based architectures with meta-learning produces robust mental health monitoring systems.

Keywords


BERT; Feature extraction; Genetic algorithm optimization; Mental health classification; Sentiment analysis; Text classification

Full Text:

PDF


DOI: http://doi.org/10.11591/ijeecs.v44.i2.pp450-468

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Indonesian Journal of Electrical Engineering and Computer Science (IJEECS)
p-ISSN: 2502-4752, e-ISSN: 2502-4760
This journal is published by the Institute of Advanced Engineering and Science (IAES).

shopify stats IJEECS visitor statistics