From Packets to Patterns: Interpreting Encrypted Network Traffic as Longitudinal Behavioral Signals
cs.LG, cs.AI, cs.CY, cs.NI
Submitted: 2026-05-02
Updated: 2026-10-06
Comments: 38 pages, 8 figures. Accepted to Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies (IMWUT), Vol. 10, No. 4
DOI: 10.1145/3857944
License: http://creativecommons.org/licenses/by/4.0/
The gist: Human behavior is difficult to observe continuously at scale, yet it leaves measurable traces in everyday device use.
Terminology
Abstract
Human behavior is difficult to observe continuously at scale, yet it leaves measurable traces in everyday device use. We test whether encrypted smartphone network traffic---a ubiquitous, always-on, passive sensing modality---can passively capture behavioral patterns related to sleep, stress, and loneliness. We model shared behavioral structure using a transformer backbone with per-user adapters, allowing the model to represent both typical individual behavior and deviations from it. To make these representations interpretable, we apply a sparse autoencoder to extract behavioral features corresponding to distinct patterns of activity. We relate these features to sleep disturbance, stress, and loneliness using generalized estimating equations with Mundlak decomposition, separating between-person differences from within-person changes over time. We find that the three outcomes reflect distinct temporal structures: stress is primarily associated with stable between-person differences, loneliness with within-person variation, and sleep disturbance with a combination of both. Notably, these within-person dynamics are not captured by predefined network-traffic features, demonstrating the value of learned representations for longitudinal behavioral sensing. These results establish encrypted network traffic as a viable passive sensing modality, revealing interpretable behavioral dynamics---particularly deviations from an individual's baseline---that are not visible in raw traffic features.
Sources
- Keeping the Smart Home Private with Smart(er) IoT Traffic Shaping
- Sparse Autoencoders Find Highly Interpretable Features in Language Models
- Longer Records, Broader Invariance: The Hidden Scaling Problem in Longitudinal Contrastive Learning
- CareNet: Linking Home-router Network Traffic to DSM-5 Depressive Behavior Indicators
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks