paper-with-me

홈 › Papers

Few-Shot Optimization for Sensor Data Using Large Language Models: A Case Study on Fatigue Detection

2025-05-24 · Elsen Ronando, Sozo Inoue

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 experiments show that HED-LM achieves a mean macro F1-score of 69.13$\pm$10.71%, outperforming both random selection (59.30$\pm$10.13%) and distance-only filtering (67.61$\pm$11.39%). These represent relative improvements of 16.6% and 2.3%, respectively. The results confirm that combining numerical similarity with contextual relevance improves the robustness of few-shot prompting. Overall, HED-LM offers a practical solution to improve performance in real-world sensor-based learning tasks and shows potential for broader applications in healthcare monitoring, human activity recognition, and industrial safety scenarios.

📄 PDF Abstract BibTeX arXiv:2505.18754

Code (0)

등록된 구현이 없습니다.

Tasks

Activity RecognitionHuman Activity Recognition

Similar Papers 제목 키워드 기반

LLM-based Multi-Agent Copilot for Quantum Sensor

2025-08-07 · Rong Sha, Binglin Wang, Jun Yang, Xiaoxiao Ma 외 arxiv

Large language models (LLM) exhibit broad utility but face limitations in quantum sensor development, stemming from interdisciplinary knowledge barriers and involving complex optimization processes. Here we present QCopi…

Prompt EngineeringActive Learning

LLM-Guided Exemplar Selection for Few-Shot Wearable-Sensor Human Activity Recognition

2025-12-26 · Elsen Ronando, Sozo Inoue arxiv

In this paper, we propose an LLM-Guided Exemplar Selection framework to address a key limitation in state-of-the-art Human Activity Recognition (HAR) methods: their reliance on large labeled datasets and purely geometric…

Human Activity RecognitionFeature Importance

A Soft Sensor Method with Uncertainty-Awareness and Self-Explanation Based on Large Language Models Enhanced by Domain Knowledge Retrieval

2025-01-06 · Shuo Tong, Han Liu, Runyuan Guo, Wenqing Wang 외

Data-driven soft sensors are crucial in predicting key performance indicators in industrial systems. However, current methods predominantly rely on the supervised learning paradigms of parameter updating, which inherentl…

In-Context LearningSensor ModelingUncertainty QuantificationVariable Selection

Large Language Models are Zero-Shot Recognizers for Activities of Daily Living

2024-07-01 · Gabriele Civitarese, Michele Fiori, Priyankar Choudhary, Claudio Bettini

The sensor-based recognition of Activities of Daily Living (ADLs) in smart home environments enables several applications in the areas of energy management, safety, well-being, and healthcare. ADLs recognition is typical…

Common Sense Reasoningenergy managementManagement

Thou Shalt Not Prompt: Zero-Shot Human Activity Recognition in Smart Homes via Language Modeling of Sensor Data & Activities

2025-07-29 · Sourish Gunesh Dhekane, Thomas Ploetz arxiv

Developing zero-shot human activity recognition (HAR) methods is a critical direction in smart home research -- considering its impact on making HAR systems work across smart homes having diverse sensing modalities, layo…

Human Activity Recognition