Abstract
DailyLLM is a lightweight framework designed to bridge the semantic gap between raw sensor data and human-readable activity logs. By integrating multi-modal sensor data from smartphones and smartwatches with a fine-tuned 1.5B-parameter Large Language Model (LLM), DailyLLM generates context-aware summaries and health reminders. The system utilizes efficient feature extraction and LoRA-based fine-tuning to outperform 70B-parameter models in accuracy while achieving a 10x speedup. Evaluation on edge devices like the Raspberry Pi 5 demonstrates its feasibility for private, local deployment.
Introduction
Modern mobile devices are equipped with a suite of sensors, including GPS, accelerometers, and heart rate monitors. However, the data generated is typically "low-level" numerical streams. Traditional Human Activity Recognition (HAR) provides simple labels like "walking" or "sitting," which lack the situational context necessary for meaningful health monitoring or life logging. For instance, knowing a user is "sitting" is less informative than understanding they are "sitting in a dim library for three hours with a decreasing heart rate."
Existing solutions often require intrusive video monitoring, manual user input, or reliance on massive, privacy-compromising cloud LLMs. DailyLLM addresses these challenges by providing an efficient, private, and context-aware logging system that runs locally on edge hardware, bridging the divide between raw numerical signals and high-level human reasoning.
System Architecture and Methodology
DailyLLM employs a three-stage pipeline to transform raw signals into semantic narratives:
- Data Collection and Semantic Annotation: Sensor data is captured in 2-minute intervals. To facilitate LLM understanding, numerical data is translated into semantic categories. For example, light intensity is mapped to qualitative levels (e.g., "Level 2: Dim"), and audio levels are categorized into descriptive environments (e.g., "Normal Sound").
- Feature Extraction and Structured Prompting: Rather than feeding raw high-frequency data, the system extracts 26 motion features and 120-dimensional audio vectors. These are embedded into a structured prompt that defines a "signal analysis expert" persona for the LLM, minimizing hallucinations and ensuring consistent output formats. This approach leverages the insight that small models can outperform massive ones if input data is pre-processed into meaningful statistical signals.
- Efficient Local Fine-tuning: The framework utilizes a DeepSeek-R1-1.5B model fine-tuned via Low-Rank Adaptation (LoRA). This allows the model to specialize in sensor data interpretation without the computational overhead of larger models. For deployment on resource-constrained devices, 6-bit quantization is applied to further shrink the model's footprint.
Experimental Evaluation
The authors evaluated DailyLLM using seven widely adopted benchmarks covering location (StudentLife), motion (HHAR, Motion, Shoaib, UCI), and acoustic scenes (DCASE A & B). To address the lack of a single public dataset covering all modalities, a "Comprehensive Activity Dataset" was constructed by integrating existing ones and applying probabilistic rules to simulate realistic daily routines.
Key Results
- Accuracy: DailyLLM achieved a 17% improvement in log generation quality (measured by BERTScore) compared to the previous state-of-the-art, AutoLife.
- Efficiency: The system delivers a 10x speedup in inference. On a standard PC, it generates an activity log in just 2.22 seconds.
- Edge Performance: On a Raspberry Pi 5, the system can summarize two hours of activity data in approximately 4 minutes, proving that "digital memories" can be generated locally without cloud dependency.
- Location Intelligence: While general-purpose models like GPT-4o often struggle with raw coordinates, DailyLLM reached 92.46% accuracy in generating precise location descriptions.
Conclusion and Future Work
DailyLLM demonstrates that small, specialized LLMs can outperform massive general-purpose models in domain-specific tasks when coupled with intelligent feature engineering and semantic mapping. By bridging the semantic gap locally, it paves the way for private, context-aware digital memories. Future research will focus on optimizing battery consumption for continuous sensing and expanding the context window to support long-term (e.g., weekly) activity summarization.
Summary updated