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

Towards Compliant Data Management Systems for Healthcare ML

Goutham Ramakrishnan, Aditya Nori, Hannah Murfet, Pashmina CameronarXiv 2020

Abstract

The increasing popularity of machine learning approaches and the rising awareness of data protection and data privacy presents an opportunity to build truly secure and trustworthy healthcare systems. Regulations such as GDPR and HIPAA present broad guidelines and frameworks, but the implementation can present technical challenges. Compliant data management systems require enforcement of a number of technical and administrative safeguards. While policies can be set for both safeguards there is limited availability to understand compliance in real time. Increasingly, machine learning practitioners are becoming aware of the importance of keeping track of sensitive data. With sensitivity over personally identifiable, health or commercially sensitive information there would be value in understanding assessment of the flow of data in a more dynamic fashion. We review how data flows within machine learning projects in healthcare from source to storage to use in training algorithms and beyond. Based on this, we design engineering specifications and solutions for versioning of data. Our objective is to design tools to detect and track sensitive data across machines and users across the life cycle of a project, prioritizing efficiency, consistency and ease of use. We build a prototype of the solution that demonstrates the difficulties in this domain. Together, these represent first efforts towards building a compliant data management system for healthcare machine learning projects.

Introduction

The deployment of machine learning (ML) in healthcare is currently hindered by a significant bottleneck: regulatory compliance. While robust tools exist for versioning code, tracking the movement and transformation of sensitive patient data across complex ML pipelines remains a manual and error-prone process. This paper, a collaboration between the University of Wisconsin-Madison and Microsoft Research Cambridge, addresses this "compliance gap" by proposing a prototype system designed to automate data discovery and version tracking.

The Complexity of Healthcare ML Workflows

In a typical healthcare ML project, data is dynamic. It is cleaned, transformed, and moved between local machines and servers before being used to train models. Regulations like GDPR and HIPAA require organizations to know exactly where this data resides, who has access to it, and when it should be deleted.

Figure 1: Data flow across the lifecycle of a healthcare machine learning project, from pre-processing to deployment.

As illustrated in Figure 1, the data lifecycle involves multiple stages:

  1. Pre-processing: Raw data directories and images are transformed into CSVs and plots through various scripts.
  2. Training: These processed datasets are used to generate models, Tensorboard summaries, and performance metrics.
  3. Deployment: Models are tested and visualized, creating further derivatives like MP4 animations and additional plots.

Standard version control tools (e.g., Git-LFS, DVC) are often inadequate for this environment because they focus on reproducibility rather than compliance. Furthermore, they often require data to be uploaded to central servers, which may violate strict healthcare data-sharing agreements.

CompliCheck: A Storage-Free Metadata Tracking System

The authors developed CompliCheck, a Python-based utility that focuses on three pillars to ensure auditability without compromising privacy:

  • Data Discovery: Instead of relying on easily changed file extensions, the system uses "custom file discoverers" to inspect file signatures (magic bytes). This allows it to identify formats like DICOM and NIFTII even if they are renamed or buried inside compressed archives.
  • Storage-Free Versioning: Unlike Git, which stores file copies, CompliCheck tracks metadata. It identifies files using a combination of their filepath and a SHA-256 hash. If a file is moved or its contents change, the system flags it as a new instance or version, respectively.
  • Independent Tracking: For complex formats like DICOM, the system can track changes to pixel data and patient metadata independently, providing more granular auditing capabilities.

Implementation and Key Insights

The tool runs locally on researcher machines via automated tasks, pushing metadata to an Azure SQL database. This state is then visualized through a PowerBI dashboard, allowing Data Protection Officers (DPOs) to filter by machine, user, or file format to see an audit trail of "Latest," "Old," and "Deleted" file versions.

A critical feature is the concept of "Staleness." If a machine fails to report its data state within an expected window, the entry is marked as stale, alerting the DPO that they no longer have a reliable view of that node's data. This "compliance-by-design" approach ensures that the data stays where it is authorized to be, while only its "fingerprint" moves to the tracking system.

Limitations and Future Work

While the prototype successfully demonstrates automated tracking, it has limitations. Because it is "storage-free," it cannot restore old versions of files. It also relies on researchers specifying "root folders" to scan, meaning data saved in untracked directories remains invisible. Future work will focus on scanning inside generic files for PII and integrating formal verification to automatically determine if scripts produce "safe" (non-sensitive) outputs.

Summary updated

BibTeX
@misc{ramakrishnan2020towards,
  author = {Goutham Ramakrishnan and Aditya Nori and Hannah Murfet and Pashmina Cameron},
  title = {{Towards Compliant Data Management Systems for Healthcare ML}},
  year = {2020},
  eprint = {2011.07555},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.07555},
}
Figure