Abstract
Large language models can generate responses that resemble emotional distress, and this raises concerns around model reliability and safety. We introduce a set of evaluations to investigate expressions of distress in LLMs, and find that these surface emotional instability in Gemma and Gemini models, but not in other families. We find evidence that this difference arises in post-training. Base models from different families (Gemma, Qwen and OLMo) show similar propensities for expressing distress. However, instruct-tuned Gemma expresses substantially more distress than its base model, whereas instruct-tuned Qwen and OLMo express less. We find a simple mitigation for this: direct preference optimisation on just 280 preference pairs reduces Gemma's high-frustration responses from 35% to 0.3% in our evaluations, generalising across question types, user tones, and conversation lengths, without affecting capabilities. These findings show that emotional instability is an issue in some LLMs. We present (1) evaluations to track this behaviour, and (2) a mitigation without downsides in Gemma, with the caveat that upstream training modifications to improve emotional robustness would be significantly better than this post-hoc fix.
Abstract (translated)
大型语言模型可以生成看似情感困扰的回应,这引发了对模型可靠性和安全性的担忧。我们引入了一套评估方法来研究LLM中表达困境的情况,并发现Gemma和Gemini模型表面表现出情绪不稳定,而其他家族的模型则没有这种情况。我们发现了这种差异产生于训练之后的原因:来自不同家族的基础模型(包括Gemma、Qwen 和 OLMo)在表达困扰方面显示出相似的倾向性。然而,经过指令微调后,Gemma 表现出了比其基础模型更多的困扰情绪,而 Qwen 和 OLMo 经过指令微调后的版本则表现了更少的困扰情绪。 我们发现了一种简单的缓解方法:通过对280对偏好进行直接优化,可以将Gemma的高度沮丧回应从35%降低到0.3%,这种优化在我们的评估中通用化到了不同问题类型、用户语气和对话长度上,并且不会影响模型的能力。这些发现表明,在某些LLM中存在情绪不稳定性的问题。 我们提出: 1)用于追踪此类行为的评估方法; 2)针对Gemma的一种无负面影响的缓解措施,需要注意的是,通过上游训练改进来增强情感稳健性的方法比这种事后修复要好得多。
URL
https://arxiv.org/abs/2603.10011