Abstract
Many applications utilize sensors in mobile devices and machine learning to provide novel services. However, various factors such as different users, devices, and environments impact the performance of such applications, thus making the domain shift (i.e., distributional shift between the training domain and the target domain) a critical issue in mobile sensing. Despite attempts in domain adaptation to solve this challenging problem, their performance is unreliable due to the complex interplay among diverse factors. In principle, the performance uncertainty can be identified and redeemed by performance validation with ground-truth labels. However, it is infeasible for every user to collect high-quality, sufficient labeled data. To address the issue, we present DAPPER (Domain AdaPtation Performance EstimatoR) that estimates the adaptation performance in a target domain with only unlabeled target data. Our key idea is to approximate the model performance based on the mutual information between the model inputs and corresponding outputs. Our evaluation with four real-world sensing datasets compared against six baselines shows that on average, DAPPER outperforms the state-of-the-art baseline by 39.8% in estimation accuracy. Moreover, our on-device experiment shows that DAPPER achieves up to 396X less computation overhead compared with the baselines.
Introduction
Mobile sensing applications—such as activity trackers, stress monitors, and speech recognizers—frequently suffer from domain shift. A model trained on a general population often fails when deployed to a specific new user due to differences in physical gait, device hardware, or environmental factors. While Domain Adaptation (DA) techniques exist to personalize models, they often operate as "black boxes." Without ground-truth labels from the end-user, it is nearly impossible to know if the adaptation actually improved the model or caused performance degradation.
Methodology
The core of DAPPER is the insight that Mutual Information (MI)—a measure of shared information between model inputs and predictions—correlates strongly with model accuracy. DAPPER decomposes MI into two key components:
- Global Diversity: How well the model covers different classes across the dataset.
- Individual Uncertainty: The model's confidence in each specific prediction.
Instead of using raw MI, which can be noisy, DAPPER utilizes a lightweight LSTM-based neural network. This estimator captures the trajectory of these features across training epochs to predict accuracy changes. To enable label-free operation for the end-user, the estimator is pre-trained by the developer using simulated domain shifts on existing source data.
Evaluation and Key Results
DAPPER was evaluated across four diverse datasets: HHAR (IMU data), WESAD (physiological data), ICHAR, and ICSR.
Superior Accuracy and Efficiency
DAPPER outperformed the state-of-the-art baseline (EnsRM) by an average of 39.8% in estimation similarity. On-device experiments using Pixel and Nexus phones demonstrated that DAPPER is exceptionally lightweight, requiring up to 396× less computation overhead than training-based baselines. The estimator model itself is only 1.9 MB, making it ideal for real-time monitoring.
Robustness to Data Distribution
A significant challenge in mobile sensing is data imbalance; for instance, a user might only perform one type of activity during a validation window. DAPPER proved resilient in these scenarios, showing less accuracy degradation than "oracle" methods that rely on target labels when data is highly skewed.
Conclusion
DAPPER provides a practical, "plug-and-play" framework for validating personalized models without requiring user effort for labeling. By leveraging the temporal dynamics of mutual information, it offers a high-accuracy, low-overhead solution for maintaining model reliability in heterogeneous mobile sensing environments. Future work will focus on extending this framework to continuous data streams and long-term domain drift.
Summary updated