Year: 2025
Type: dissertation
Abstract: In this thesis, we explored the effectiveness of different machine learning techniques in detecting potentially harmful conversation topics in a Finnish-language mental health chat service. In our scenario, a conversation topic was considered harmful if it contained suicidal notions. We compared traditional machine learning approaches (TF-IDF, Word2Vec, LSA, LDA with SVM, Random Forest, and Naive Bayes) against Large Language Models (LLMs) like GPT-4o and Llama 3.1 using zero-shot and few-shot learning. The study utilized chat data from Sekasin-chat, a Finnish mental health chat service. The Sekasin-chat crisis workers labeled this data. Results showed that LLMs outperformed traditional methods, particularly when Finnish text was first translated into English. The best performance was achieved by Llama 3.1 70B Instruct with zero-shot prompting, reaching 74 % accuracy and an F1 score of 0.38. The runner-up was GPT-4o with zero-shot prompting, reaching an accuracy of 76 % and an F1 Score of 0.32. F1-score is a standard measure that puts equal weight on precision and recall. However, confidence intervals had significant overlap, meaning that the apparent differences may not be significant. The findings suggest that combining machine translation with LLMs offers a promising approach for detecting harmful content in non-English mental health conversations, but requires specific conditions.
Source: Aaltodoc (Aalto University)
Author: Kirsilä, Miikka
Institution: Aalto University
Language: English
Topic: Mental Health via Writing
Subfield: Social Psychology
Field: Psychology
Domain: Social Sciences
Open Access status: green
OpenAlex ID: W7076977341
