Predicting in-class engagement from biosignals via fine-tuned small language models

Monitoring student engagement in the classroom is essential for understanding learning behaviors and supporting effective instruction. In this study, we propose a method for predicting in-class engagement from biosignals using a fine-tuned small language model (SLM). Specifically, physiological sensor time-series data collected from wearable devices are transformed into textual prompts and used to fine-tune the SLM for classification. Unlike conventional machine learning and deep learning models that directly process numerical features, our approach utilizes prompt-based representations of temporal features (per-minute medians over a 10-minute window) and statistical summaries (mean, standard deviation, maximum, and minimum). Through experiments on real-world classroom data, we find that fine-tuned SLMs achieve performance comparable to traditional machine learning and BERT-based approaches. Among the evaluated models, the fine-tuned Phi-3.5 model with temporal features shows the strongest overall performance. While differences across models are relatively small in terms of overall accuracy, variations are observed in class-wise behavior, particularly across engagement-related classes. To obtain insights into model predictions, we trained a proxy model and applied SHAP analysis, suggesting that physiological features such as acceleration, heart rate, and skin temperature are associated with engagement-related predictions. These results suggest that prompt-based SLMs have potential as a framework for combining predictive modeling and interpretability in educational data analysis.

Authors

Institutions

Publication Details

Journal
Journal of Ambient Intelligence and Humanized Computing
Published
2026-12-01
DOI
https://doi.org/10.1007/s12652-026-05142-y
Primary Topic
Online Learning and Analytics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Predicting in-class engagement from biosignals via fine-tuned small language models

Yusuke Fukazawa, Rika Tanaka
Journal of Ambient Intelligence and Humanized Computing
Online Learning and Analytics
article

Predicting in-class engagement from biosignals via fine-tuned small language models

Yusuke Fukazawa, Rika Tanaka
article en

Abstract

Monitoring student engagement in the classroom is essential for understanding learning behaviors and supporting effective instruction. In this study, we propose a method for predicting in-class engagement from biosignals using a fine-tuned small language model (SLM). Specifically, physiological sensor time-series data collected from wearable devices are transformed into textual prompts and used to fine-tune the SLM for classification. Unlike conventional machine learning and deep learning models that directly process numerical features, our approach utilizes prompt-based representations of temporal features (per-minute medians over a 10-minute window) and statistical summaries (mean, standard deviation, maximum, and minimum). Through experiments on real-world classroom data, we find that fine-tuned SLMs achieve performance comparable to traditional machine learning and BERT-based approaches. Among the evaluated models, the fine-tuned Phi-3.5 model with temporal features shows the strongest overall performance. While differences across models are relatively small in terms of overall accuracy, variations are observed in class-wise behavior, particularly across engagement-related classes. To obtain insights into model predictions, we trained a proxy model and applied SHAP analysis, suggesting that physiological features such as acceleration, heart rate, and skin temperature are associated with engagement-related predictions. These results suggest that prompt-based SLMs have potential as a framework for combining predictive modeling and interpretability in educational data analysis.

Journal of Ambient Intelligence and Humanized Computing
Sophia University (JP)
Online Learning and Analytics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon