AI can infer demographics, habits, and personality traits from users' public music playlists
MusicPIIrate can accurately infer a wide range of PII attributes from public playlists, outperforming baselines on most tasks
AI/ML arXiv 6 May 2026 Attack Prototype evidence
Published as “From Beats to Breaches:How Offensive AI Infers Sensitive User Information from Playlists”
Why it matters
Music streaming services can mitigate privacy leakage from public playlists by deploying lightweight dummy-playlist injection (JamShield) without altering user experience.
Summary
The paper shows that a graph neural network combined with DeepSets (GNN-DeepSet) can infer sensitive user attributes from public Spotify playlists with the highest accuracy among tested models, and that injecting a single dummy playlist per user (JamShield) reduces the attack's macro F1 by about 10% on average. Evidence comes from extensive experiments on 15 inference tasks using macro F1 under 5-fold cross-validation, with statistical tests confirming the superiority of GNN-DeepSet (p = 0.05). However, the study is limited to a single Spotify-derived dataset and some tasks (e.g., habits, personality traits) show modest or variable performance, so the results may not generalize to other services or all attribute types.
What they found 2
- GNN-DeepSet achieves the best overall performance and is statistically superior to all competing methods.
“GNN-DeepSet achieves the highest performance and its results are statistically superior to all competing methods”
- Injecting a single dummy playlist per user lowers the attack's macro F1 by an average of 10% across targets.
“Even adding a single playlist per user (K = 1) produces a noticeable reduction in performance, with an average drop of 10% across targets.”
Caveats 7
- No single model consistently dominates habits or personality traits, indicating that the attack is weaker on those tasks.
- For some demographic attributes (e.g., age) the baseline random classifier F1 is only 0.06, showing very low predictability.
- Feature-level defenses (noise, ablation) produce only minimal reductions in F1, demonstrating the attack's robustness.
- Our primary limitation lies in the scope of our data, as the MusicPIIrate framework was exclusively evaluated using a dataset derived from the Spotify platform.
- Despite the strong performance of GNN-DeepSet, no single model consistently dominates habits or personality traits.
- The playlist-level countermeasure. With a larger dataset, JamShield could have potentially selected a more diverse set of decoy playlists, possibly leading to a stronger degradation of the attacker’s performance.
- Another limitation of our framework is its assumption of a static dataset, in which user playlists are treated as temporally invariant.
What’s new here 3
- Applies set-based and graph-based deep learning (DeepSets + GNN) to playlist collections for PII inference, surpassing prior per-playlist baselines.
- Introduces JamShield, a data-level defense that injects real dummy playlists to degrade inference performance.
- Provides a reproducible benchmark and releases anonymized code for future offensive and defensive research on music streaming privacy.