arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.00166cs.CV
收藏

EEG Emotion Copilot:面向情感EEG解释与辅助病历生成的轻量级LLM优化

EEG Emotion Copilot: Optimizing Lightweight LLMs for Emotional EEG Interpretation with Assisted Medical Record Generation

Laboratory of Digital Image and Intelligent Computation, Shanghai Maritime University, Shanghai 201306, China(数字图像与智能计算实验室,上海 Maritime 大学);Department of Neurology, Affiliated Lianyungang Hospital of Xuzhou Medical University, Lianyungang 222002, China(神经内科,徐州医学院附属连云港医院);Department of Chinese and Bilingual Studies, The Hong Kong Polytechnic University, Hong Kong, SAR, China(中文学与双语研究部,香港理工大学)

Hongyu Chen, Weiming Zeng, Chengcheng Chen, Luhui Cai, Fei Wang, Yuhu Shi, Lei Wang, Wei Zhang, Yueyang Li, Hongjie Yan, Wai Ting Siok, Nizhuan Wang

AI总结:

本文提出EEG Emotion Copilot系统,通过优化0.5B参数的轻量级LLM,实现从EEG信号直接识别情感并生成辅助电子病历,在准确率和实时性上优于1.5B至7B的大模型。

摘要:

在情感计算(AC)和脑机接口(BMI)领域,通过分析生理和行为信号来识别个体情感状态已成为关键的研究前沿。尽管基于深度学习的方法在EEG情感识别,特别是特征提取和模式识别方面取得了显著进展,但在实现端到端情感计算方面仍存在重大挑战,包括实时处理、个体适应和无缝用户交互。本文提出了EEG Emotion Copilot系统,该系统在本地环境中优化了一个具有0.5B参数的轻量级大型语言模型(LLM),它首先直接从EEG信号中识别情感状态,随后生成个性化的诊断和治疗建议,最后支持辅助电子病历的自动化生成。具体而言,我们展示了旨在提升实时性能和计算效率的关键技术,包括新型提示数据结构、模型剪枝与微调训练以及部署策略。大量实验表明,与具有相似规模参数或1.5B、1.8B、3B和7B等大规模参数的模型相比,我们优化的基于轻量级LLM的copilot实现了更直观的参与者交互界面,并在情感识别和辅助电子病历生成方面具有更高的准确率。总之,通过这些努力,所提出的copilot有望推动AC在医疗领域的应用,为心理健康监测提供创新解决方案。代码将发布于https://github.com/NZWANG/EEG_Emotion_Copilot。

英文摘要:

In the fields of affective computing (AC) and brain-machine interface (BMI), the analysis of physiological and behavioral signals to discern individual emotional states has emerged as a critical research frontier. While deep learning-based approaches have made notable strides in EEG emotion recognition, particularly in feature extraction and pattern recognition, significant challenges persist in achieving end-to-end emotion computation, including real-time processing, individual adaptation, and seamless user interaction. This paper presents the EEG Emotion Copilot, a system optimizing a lightweight large language model (LLM) with 0.5B parameters operating in a local setting, which first recognizes emotional states directly from EEG signals, subsequently generates personalized diagnostic and treatment suggestions, and finally supports the automation of assisted electronic medical records. Specifically, we demonstrate the critical techniques in the novel data structure of prompt, model pruning and fine-tuning training, and deployment strategies aiming at improving real-time performance and computational efficiency. Extensive experiments show that our optimized lightweight LLM-based copilot achieves an enhanced intuitive interface for participant interaction, superior accuracy of emotion recognition and assisted electronic medical records generation, in comparison to such models with similar scale parameters or large-scale parameters such as 1.5B, 1.8B, 3B and 7B. In summary, through these efforts, the proposed copilot is expected to advance the application of AC in the medical domain, offering innovative solution to mental health monitoring. The codes will be released at https://github.com/NZWANG/EEG_Emotion_Copilot.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑