Introduction
Significant life events (LEs)—ranging from professional promotions to personal losses—are primary drivers of mental health and well-being. However, detecting these events in real-time is notoriously difficult due to their infrequent nature and the highly individualized ways they manifest in behavior. While mobile sensing (GPS, screen time, physical activity) provides a continuous window into daily life, identifying these "needle-in-a-haystack" occurrences presents three major hurdles: extreme class imbalance (events often comprise less than 2% of data), behavioral heterogeneity between individuals, and the behavioral similarity between distinct types of events.
In this paper, we present MTAD (Multi-Task Anomaly Detection), a framework that leverages multi-task learning to detect rare life events with significantly higher accuracy than traditional deep learning models.
Methodology: The MTAD Framework
The core innovation of MTAD is its dual-task architecture, which combines unsupervised behavioral tracking with supervised contextual anchors. Instead of a single-model approach, MTAD utilizes two distinct tasks that share a latent understanding of the user:
- Task A (Unsupervised Behavioral Reconstruction): An LSTM-based autoencoder learns to reconstruct "normal" behavioral sequences. When the model encounters a sequence it cannot reconstruct accurately, the resulting high reconstruction error flags a potential behavioral anomaly.
- Task B (Supervised Performance Prediction): A sequence predictor identifies transitions in workplace performance. The researchers hypothesized that major life events almost always impact professional routines, providing a necessary contextual filter.
The Integration Mechanism
MTAD does not treat these tasks in isolation. Instead, the output of Task B acts as a scaling factor for Task A. If the model detects a shift in workplace performance, it increases the sensitivity of the behavioral anomaly score. This helps distinguish a significant life event from a random, non-impactful deviation in routine. To further refine detection, the framework implements Personalized Thresholding (PT), calculating user-specific baselines rather than applying a universal threshold for what constitutes an "event."
Experimental Design
The study utilized the Tesserae Dataset, a high-fidelity longitudinal study of 126 information workers across the United States. The dataset spans one full year and includes over 10,000 days of data. The researchers extracted 29 mobile sensing features—such as walking duration, phone unlocks, and location visits—divided into four time-of-day epochs. Ground truth was established through 198 self-reported rare life events, labeled by valence (positive or negative) and perceived workplace impact.
Prior to model construction, a Granger-causality test confirmed that behavior preceding an event is statistically linked to behavior following it, validating that mobile sensing data contains a detectable signal for life events.
Key Results
The MTAD framework demonstrated a substantial performance leap over traditional and state-of-the-art baselines:
- Superior Accuracy: MTAD-PT achieved an F1-score of 0.34, a 2.6x improvement over standard LSTM autoencoders (0.11) and significantly higher than traditional methods like Isolation Forest (0.20).
- Balanced Detection: The model proved equally proficient at detecting both positive (40% recall) and negative (39% recall) events, suggesting that the behavioral disruptions caused by major life events are detectable regardless of their emotional valence.
- The Power of Personalization: Shifting from a general model to personalized thresholding increased the F1-score from 0.29 to 0.34, confirming that anomaly detection in human behavior must be tailored to the individual's unique baseline.
Discussion and Future Work
While MTAD represents a significant advancement in mobile sensing, several challenges remain. The model currently faces a "cold start" problem, requiring a period of baseline data before it can accurately detect anomalies for a new user. Additionally, the use of LSTMs limits interpretability; while the model is accurate, it cannot yet explain why a specific sequence was flagged as a life event.
Future research will focus on optimizing these models for on-device constraints to reduce computational costs for mobile hardware and investigating confounding factors, such as societal shifts that may mimic personal life events in behavioral data. By anchoring behavioral anomalies in the context of workplace performance, MTAD provides a robust path forward for real-time mental health monitoring and support.
Summary updated