Proposed few-shot optimization technique, HED-LM, enhances example selection for sensor-based classification tasks using Large Language Models (LLMs).
HED-LM combines Euclidean distance-based filtering with contextual relevance scoring by LLMs for selecting examples effectively.
Study applied HED-LM to fatigue detection using accelerometer data with high variability, achieving a mean macro F1-score of 69.13%.
Results showed HED-LM outperformed random selection and distance-only filtering, indicating its potential for improving performance in sensor-based learning tasks and broader applications in healthcare and safety scenarios.