Paper Reading AI Learner

Scaling behavior of large language models in emotional safety classification across sizes and tasks

2025-09-02 20:53:03
Edoardo Pinzuti, Oliver T\"uscher, Andr\'e Ferreira Castro

Abstract

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.

Abstract (translated)

理解大型语言模型(LLM)处理情感敏感内容的方式对于构建安全可靠的系统至关重要,尤其是在心理健康领域。我们研究了两种关键任务中LLM的扩展行为:情感安全性的三分类(安全 vs 不安全 vs 边缘化)和使用六类风险分类体系进行多标签分类。为了支持这项工作,我们通过合并几个由人类编写的心理健康数据集(> 15,000个样本)并利用ChatGPT生成情感重新解释提示来构建了一个新颖的数据集。我们在零样本、少量样本和微调设置下评估了四个LLaMA模型(1B、3B、8B、70B)。我们的结果显示,较大的LLM在复杂的多标签分类以及零样本场景中表现出更强的平均性能。然而,在轻量级微调的情况下,1B模型在多个高数据类别中的表现可以与较大模型和BERT相媲美,并且仅需不到2GB的VRAM进行推理。这些发现表明,较小、便携式的模型可以在敏感应用中作为可行的选择,能够解释情感背景并维持安全对话界限。这项工作强调了治疗性LLM应用程序以及关键安全性系统可扩展对齐的关键影响。

URL

https://arxiv.org/abs/2509.04512

PDF

https://arxiv.org/pdf/2509.04512.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot