Few-Shot Optimization for Sensor Data Using Large Language Models: A Case Study on Fatigue Detection
Elsen Ronando, Sozo Inoue

TL;DR
This paper introduces HED-LM, a hybrid example selection method using Euclidean distance and large language models to enhance few-shot sensor data classification, demonstrated on fatigue detection with improved accuracy.
Contribution
The paper presents a novel hybrid selection pipeline combining numerical similarity and contextual relevance for few-shot learning in sensor data classification.
Findings
HED-LM outperforms random and distance-only selection methods.
Achieves a mean macro F1-score of 69.13%, a significant improvement.
Demonstrates effectiveness in fatigue detection with complex sensor data.
Abstract
In this paper, we propose a novel few-shot optimization with HED-LM (Hybrid Euclidean Distance with Large Language Models) to improve example selection for sensor-based classification tasks. While few-shot prompting enables efficient inference with limited labeled data, its performance largely depends on the quality of selected examples. HED-LM addresses this challenge through a hybrid selection pipeline that filters candidate examples based on Euclidean distance and re-ranks them using contextual relevance scored by large language models (LLMs). To validate its effectiveness, we apply HED-LM to a fatigue detection task using accelerometer data characterized by overlapping patterns and high inter-subject variability. Unlike simpler tasks such as activity recognition, fatigue detection demands more nuanced example selection due to subtle differences in physiological signals. Our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
