Leveraging Language Models for Emotion and Behavior Analysis in Education
Kaito Tanaka, Benjamin Tan, Brian Wong
TL;DR
The paper tackles privacy and scalability challenges in educational emotion and behavior analysis by proposing a text-based approach that leverages large language models (LLMs) and prompt engineering. It introduces a multi-round prompt design to extract emotion, engagement, and behavioral indicators from student text, and validates the method on four LLMs (Qwen, ChatGPT, Claude2, GPT-4) against baselines and chain-of-thought prompting. Results show significant improvements in accuracy and contextual understanding, demonstrating robustness across diverse educational contexts. The work suggests a practical, non-intrusive analytics pathway for educators to personalize learning experiences using textual interactions.
Abstract
The analysis of students' emotions and behaviors is crucial for enhancing learning outcomes and personalizing educational experiences. Traditional methods often rely on intrusive visual and physiological data collection, posing privacy concerns and scalability issues. This paper proposes a novel method leveraging large language models (LLMs) and prompt engineering to analyze textual data from students. Our approach utilizes tailored prompts to guide LLMs in detecting emotional and engagement states, providing a non-intrusive and scalable solution. We conducted experiments using Qwen, ChatGPT, Claude2, and GPT-4, comparing our method against baseline models and chain-of-thought (CoT) prompting. Results demonstrate that our method significantly outperforms the baselines in both accuracy and contextual understanding. This study highlights the potential of LLMs combined with prompt engineering to offer practical and effective tools for educational emotion and behavior analysis.
