Abstract
ZzzGPT is a two-stage framework designed to bridge the gap between raw wearable data and actionable sleep insights. By integrating Large Language Models (LLMs) for synthetic data augmentation and providing an interactive chatbot interface, the system addresses the common issue of data imbalance in sleep studies and enhances user engagement through personalized, explainable feedback. Experimental results demonstrate that this hybrid approach significantly outperforms traditional machine learning models in predicting sleep efficiency.
Introduction
We are currently in the golden age of "quantified self" technology. Wearable devices like Fitbits and Apple Watches provide a wealth of longitudinal data on heart rate, physical activity, and sleep stages. However, a significant gap remains between data collection and actionable insight. Many users receive a sleep score without understanding the underlying factors or how to improve it, often leading to "device abandonment."
Technically, sleep datasets are often highly imbalanced. Most participants in health studies exhibit relatively healthy sleep patterns (70-90% efficiency), leaving machine learning (ML) models with insufficient examples of poor sleep to learn from. Furthermore, user queries on social platforms like Reddit are often abstract, making it difficult for automated systems to provide specific, helpful advice.
Methodology: The ZzzGPT Framework
The researchers proposed a two-stage framework to transform raw sensing data into personalized sleep interventions.
Stage One: Predictive Modeling and Data Augmentation
Sleep quality was framed as a regression task to predict a score from 0 to 100. To address the lack of "poor sleep" data points, the authors employed LLM-based data augmentation. By using GPT to analyze three weeks of a participant's real-world data, the system extrapolated synthetic data points for lower-efficiency scenarios. This balanced the training set, allowing models like CatBoost, Random Forest, and XGBoost to better recognize the precursors to a bad night's rest.
Stage Two: Interactive User Interface
Moving beyond static dashboards, ZzzGPT features a GPT-powered chatbot. This interface explains model predictions and provides personalized recommendations based on lifestyle factors such as screen usage and physical activity. A key feature is the interactive simulation graph, which allows users to manipulate lifestyle variables to see real-time impacts on their predicted sleep scores, providing a form of intuitive explainability.
Datasets and Features
The study utilized the GLOBEM dataset, a multi-year longitudinal collection of Fitbit data from hundreds of participants. This was supplemented by synthetic data generated via the OpenAI API to augment underrepresented sleep categories. To ensure the feedback was actionable, the authors focused on controllable features such as screen time, step counts, and phone usage frequency.
Experimental Results
The inclusion of LLM-generated training data (referred to as Top-k (20) + G) led to superior performance across all evaluated metrics.
As shown in the performance analysis, the proposed CatBoost model augmented with synthetic data achieved an $R^2$ of 0.248. This significantly outperformed previous models from literature, such as those by Xu et al. and Farhan et al., which struggled with limited data diversity. The framework consistently demonstrated lower Root Mean Square Error (RMSE) and Mean Absolute Error (MAE), proving that the hybrid ML + LLM approach provides more precise personalized health tracking.
Discussion and Future Work
ZzzGPT demonstrates the potential of LLMs to act as "data balancers" for health-related regression tasks. By allowing users to interact with "what-if" scenarios, the system moves away from "black box" AI toward a more transparent and helpful health companion.
However, limitations remain. The GLOBEM data represents a pre-pandemic snapshot, and sleep patterns may have since evolved. Additionally, real-world integration requires addressing LLM reliability and privacy concerns. Future work will focus on moving from research prototypes to live applications that sync in real-time with wearable APIs to provide just-in-time sleep interventions.
Summary updated