Abstract
Linguistic expressions of emotions such as depression, anxiety, and trauma-related states are pervasive in clinical notes, counseling dialogues, and online mental health communities, and accurate recognition of these emotions is essential for clinical triage, risk assessment, and timely intervention. Although large language models (LLMs) have demonstrated strong generalization ability in emotion analysis tasks, their diagnostic reliability in high-stakes, context-intensive medical settings remains highly sensitive to prompt design. Moreover, existing methods face two key challenges: emotional comorbidity, in which multiple intertwined emotional states complicate prediction, and inefficient exploration of clinically relevant cues. To address these challenges, we propose APOLO (Automated Prompt Optimization for Linguistic Emotion Diagnosis), a framework that systematically explores a broader and finer-grained prompt space to improve diagnostic efficiency and robustness. APOLO formulates instruction refinement as a Partially Observable Markov Decision Process and adopts a multi-agent collaboration mechanism involving Planner, Teacher, Critic, Student, and Target roles. Within this closed-loop framework, the Planner defines an optimization trajectory, while the Teacher-Critic-Student agents iteratively refine prompts to enhance reasoning stability and effectiveness, and the Target agent determines whether to continue optimization based on performance evaluation. Experimental results show that APOLO consistently improves diagnostic accuracy and robustness across domain-specific and stratified benchmarks, demonstrating a scalable and generalizable paradigm for trustworthy LLM applications in mental healthcare.
Abstract (translated)
表达抑郁、焦虑和创伤相关状态的语言情感在临床记录、咨询对话以及在线心理健康社区中普遍存在。准确识别这些情绪对于临床分诊、风险评估及及时干预至关重要。尽管大型语言模型(LLMs)在情感分析任务中展示了强大的泛化能力,但在高压力、上下文密集的医疗环境中,它们的诊断可靠性仍高度依赖于提示设计。此外,现有方法面临两个关键挑战:情感共病问题,即多种交织的情感状态会复杂化预测;以及临床相关线索探索效率低下的问题。 为解决这些问题,我们提出了APOLO(Automated Prompt Optimization for Linguistic Emotion Diagnosis),这是一种框架,旨在系统地探索更广泛且精细化的提示空间以提升诊断效率和鲁棒性。APOLO将指令优化表述为部分可观察马尔科夫决策过程,并采用包括规划者、教师、批评家、学生和目标角色在内的多代理协作机制。 在该闭环框架中,规划者定义了优化路径;而教师-批评家-学生代理通过迭代地完善提示来提升推理稳定性和效果。同时,目标代理根据性能评估决定是否继续进行优化。实验结果显示,APOLO在特定领域及分层基准测试上持续提高诊断准确性和鲁棒性,展示了可信LLM在心理健康应用中的可扩展和通用范例。 总之,APOLO为改善情感相关语言表达的自动化识别提供了一种创新方法,并强调了大型语言模型在高风险医疗环境中可靠应用的重要性。
URL
https://arxiv.org/abs/2601.13481