Saved in:
Bibliographic Details
Main Authors: Pinzuti, Edoardo, Tüscher, Oliver, Castro, André Ferreira
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.04512
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915480111939584
author Pinzuti, Edoardo
Tüscher, Oliver
Castro, André Ferreira
author_facet Pinzuti, Edoardo
Tüscher, Oliver
Castro, André Ferreira
contents Understanding how large language models (LLMs) process emotionally sensitive content is critical for building safe and reliable systems, particularly in mental health contexts. We investigate the scaling behavior of LLMs on two key tasks: trinary classification of emotional safety (safe vs. unsafe vs. borderline) and multi-label classification using a six-category safety risk taxonomy. To support this, we construct a novel dataset by merging several human-authored mental health datasets (> 15K samples) and augmenting them with emotion re-interpretation prompts generated via ChatGPT. We evaluate four LLaMA models (1B, 3B, 8B, 70B) across zero-shot, few-shot, and fine-tuning settings. Our results show that larger LLMs achieve stronger average performance, particularly in nuanced multi-label classification and in zero-shot settings. However, lightweight fine-tuning allowed the 1B model to achieve performance comparable to larger models and BERT in several high-data categories, while requiring <2GB VRAM at inference. These findings suggest that smaller, on-device models can serve as viable, privacy-preserving alternatives for sensitive applications, offering the ability to interpret emotional context and maintain safe conversational boundaries. This work highlights key implications for therapeutic LLM applications and the scalable alignment of safety-critical systems.
format Preprint
id arxiv_https___arxiv_org_abs_2509_04512
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Scaling behavior of large language models in emotional safety classification across sizes and tasks
Pinzuti, Edoardo
Tüscher, Oliver
Castro, André Ferreira
Computation and Language
Machine Learning
Understanding how large language models (LLMs) process emotionally sensitive content is critical for building safe and reliable systems, particularly in mental health contexts. We investigate the scaling behavior of LLMs on two key tasks: trinary classification of emotional safety (safe vs. unsafe vs. borderline) and multi-label classification using a six-category safety risk taxonomy. To support this, we construct a novel dataset by merging several human-authored mental health datasets (> 15K samples) and augmenting them with emotion re-interpretation prompts generated via ChatGPT. We evaluate four LLaMA models (1B, 3B, 8B, 70B) across zero-shot, few-shot, and fine-tuning settings. Our results show that larger LLMs achieve stronger average performance, particularly in nuanced multi-label classification and in zero-shot settings. However, lightweight fine-tuning allowed the 1B model to achieve performance comparable to larger models and BERT in several high-data categories, while requiring <2GB VRAM at inference. These findings suggest that smaller, on-device models can serve as viable, privacy-preserving alternatives for sensitive applications, offering the ability to interpret emotional context and maintain safe conversational boundaries. This work highlights key implications for therapeutic LLM applications and the scalable alignment of safety-critical systems.
title Scaling behavior of large language models in emotional safety classification across sizes and tasks
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2509.04512