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

Hongyu Chen,Weiming Zeng,Chengcheng Chen,Luhui Cai,Fei Wang,Lei Wang,Wei Zhang,Yueyang Li,Hongjie Yan,Wai Ting Siok,Nizhuan Wang
2024-10-01
Abstract: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 leveraging a lightweight large language model (LLM) operating in a local setting. The system is designed to first recognize emotional states directly from EEG signals, subsequently generate personalized diagnostic and treatment suggestions, and finally support the automation of electronic medical records. The proposed solution emphasizes both the accuracy of emotion recognition and an enhanced user experience, facilitated by an intuitive interface for participant interaction. We further discuss the construction of the data framework, model pruning, training, and deployment strategies aimed at improving real-time performance and computational efficiency. Privacy concerns are also addressed, with a focus on ethical data collection, processing, and the protection of users' personal information. Through these efforts, we aim to advance the application of AC in the medical domain, offering innovative approaches to mental health diagnostics and treatment.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
The paper aims to address the issue of emotion recognition in the fields of Affective Computing (AC) and Brain-Machine Interface (BMI), particularly in the context of using electroencephalogram (EEG) signals for emotion state recognition. Specifically, the paper proposes the EEG Emotion Copilot system, which is based on a lightweight large language model (LLM) that can run locally, directly recognize emotional states from EEG signals, and generate personalized diagnostic and treatment recommendations, ultimately supporting the automated generation of electronic medical records. The research focuses include: 1. **Data Framework Construction**: Integrating public knowledge bases and specialized emotion datasets to create a unified data structure to drive the development of the LLM. 2. **Data Compression and Processing**: Optimizing EEG data processing through efficient signal compression techniques to improve computational efficiency and achieve real-time emotion computing. 3. **Model Pruning Strategy**: Developing lightweight versions of the language model to enable deployment in resource-constrained environments while maintaining performance. 4. **Privacy Protection**: Ensuring the model can run locally to reduce external dependency on private data, enhancing the security of user data. Overall, this research aims to advance the application of affective computing in the medical field, providing innovative methods for mental health diagnosis and treatment.