NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Disease vs Participant Signatures: a permutation test approach to detect identity confounding in machine learning diagnostic applications

Elias Chaibub Neto, Abhishek Pratap, Thanneer M. Perumal, Meghasyam Tummalacherla, Brian M. Bot, Andrew D. Trister, Stephen Friend, Lara M. Mangravite, Larsson OmbergarXiv 2017 · DOI

Abstract

In diagnostic machine learning applications, using a "record-wise" data split—where measurements from the same subject are randomly assigned to both training and test sets—can lead to a massive underestimation of prediction error. This phenomenon, known as "subject identity confounding," occurs when a classifier learns to identify individual participants rather than recognizing disease-specific features. While subject-wise splitting is recommended to mitigate this, some argue it may lead to model under-fitting. This paper introduces a permutation test framework to detect identity confounding and evaluate splitting strategies under general statistical dependencies, illustrated through synthetic data and a Parkinson’s disease study.

The Splitting Dilemma

When analyzing dense longitudinal data, such as voice recordings or sensor readings from mobile health apps, researchers must decide how to partition data for validation.

  1. Record-wise split: Individual records are randomly assigned to training or testing sets. This often results in high accuracy scores that fail to generalize to new patients because the model has essentially memorized the "digital fingerprints" of the training subjects.
Record-wise data split, where individual measurements from the same subject can appear in both training and test sets.
  1. Subject-wise split: All records from a specific individual are assigned exclusively to either the training or the testing set. This approach is more rigorous but can be perceived as overly pessimistic if the number of subjects is small.
Subject-wise data split, where all records for a given subject are assigned exclusively to either the training or test set.

Detecting Identity Confounding

To move beyond simple error rate comparisons, the authors propose two primary permutation tests to decouple disease recognition from subject identification:

  • Disease Recognition Test (Algorithm 1): Disease labels are shuffled in a subject-wise fashion. This destroys the link between features and disease while preserving the link to individual identity. If a model still performs better than random on a record-wise split, identity confounding is present.
  • Identity Confounding Test (Algorithm 2): Feature data is shuffled record-wise to break the connection to subject identities. By comparing performance against these null distributions, researchers can statistically quantify the strength of the confounding.

Additionally, the authors provide an analytical "pseudo p-value" for the Area Under the Curve (AUC) metric, offering a computationally efficient shortcut for estimating confounding without exhaustive simulations.

Case Study: The mPower Dataset

The study validated these methods using data from the mPower Parkinson’s disease study, specifically looking at voice and tapping tasks:

  • Voice Data: A record-wise split yielded a deceptive AUC of 0.95. However, the permutation tests revealed a disease recognition p-value of 0.58, indicating the model was merely identifying participants' voices rather than detecting Parkinson's.
  • Tapping Data: In contrast, the tapping task showed a genuine disease signal. Even with a subject-wise split, the model achieved a statistically significant p-value (0.014), proving it had learned generalizable features of the disease.

Key Insights and Conclusion

Identity confounding is a pervasive risk in mobile health data. It arises whenever subjects have distinct average feature values—like vocal pitch or gait speed—that a model can use as a proxy for identity. The paper demonstrates that increasing the number of participants is far more effective for building generalizable models than collecting more data from the same individuals. While subject-wise splitting may lead to under-fitting in small cohorts, it remains the only reliable way to ensure that a diagnostic model is learning the disease rather than the patient.

Summary updated

BibTeX
@misc{neto2017learning,
  author = {Elias Chaibub Neto and Abhishek Pratap and Thanneer M. Perumal and Meghasyam Tummalacherla and Brian M. Bot and Andrew D. Trister and Stephen Friend and Lara M. Mangravite and Larsson Omberg},
  title = {{Learning Disease vs Participant Signatures: a permutation test approach to detect identity confounding in machine learning diagnostic applications}},
  year = {2017},
  eprint = {1712.03120},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.03120},
}
Figure