Introduction
In the machine learning lifecycle, preprocessing—handling missing values, normalizing scales, and balancing classes—is often the "silent partner" of model performance. While researchers might claim their model was trained using rigorous data cleaning protocols, there is currently no easy way for an external auditor or user to verify these claims, especially when the training data is sensitive (e.g., medical records or financial history).
Traditional performance metrics like accuracy are often insufficient for verification; a model trained on unscaled data might still achieve high accuracy on a specific test set but fail or exhibit bias in production. Sharing the raw data for auditing is a non-starter due to privacy regulations. This paper tackles the "verification gap": how do we prove a model was built correctly without leaking the private data it was built on?
Proposed Framework
The authors introduce a novel framework that allows third-party verifiers to confirm if a machine learning model was trained using the correct preprocessing steps without seeing the raw training data. The framework involves two main actors: the Researcher (who trains the model) and the Verifier (who audits it).
The process follows four key stages:
- Privacy-Preserving Data Sharing: The Researcher applies Local Differential Privacy (LDP) to their original dataset ($D$), adding Laplacian noise to create a "noisy" version ($D_\epsilon$) that is safe to share with the Verifier.
- Explanation Signatures: Instead of looking at raw weights, the framework uses tools like LIME and SHAP to generate explanations for model predictions. These tools highlight which features the model prioritizes, creating a "signature" of the model's logic.
- Verification Simulation: The Verifier takes the noisy dataset ($D_\epsilon$) and trains two types of local models: a "Proper" model ($M_\epsilon$) using the correct preprocessing steps, and several "Improper" models ($M'_\epsilon$) where specific steps (like outlier removal or scaling) are intentionally skipped.
- Classification: The Verifier compares the Researcher’s model explanations ($O_R$) against their own simulations ($O_\epsilon, O'_\epsilon$). They use two approaches: an ML-based classifier ($V_{ML}$) and a threshold-based classifier ($V_T$) using cosine distance.
Experimental Evaluation
The framework was evaluated on three real-world datasets representing sensitive domains: the CDC Diabetes Health Indicators (253,680 instances), the Adult Dataset (48,842 instances), and a Student Record Dataset (4,424 instances).
Key Results
- High Binary Accuracy: In determining if any error occurred (Proper vs. Improper), the ML-based verifier achieved over 80% accuracy across most datasets as the privacy budget ($\epsilon$) increased.
- ML vs. Threshold: The ML-based classifier consistently outperformed the threshold-based method, suggesting that the relationship between preprocessing and model logic is complex and non-linear.
- Privacy Trade-off: Membership inference attack analysis showed that at low $\epsilon$ values (high noise), the risk of identifying individuals was minimal (20-30%), while still allowing for reasonable verification accuracy.
Discussion and Insights
The core finding is that preprocessing errors leave a distinct mark on a model’s decision-making logic—an "explanation fingerprint." For example, failing to scale numerical data causes the model to over-rely on features with large magnitudes, a shift detectable by LIME and SHAP even when accuracy remains stable.
The authors confirmed the "Closeness Hypothesis": a model trained on a noisy (LDP) but properly preprocessed dataset is "closer" in its explanation logic to the original model than a model trained with the wrong preprocessing steps. However, detectability varies; skipping resampling for class imbalance is easy to catch, while skipping duplicate removal is much harder as it affects fewer data points.
Limitations and Future Work
Current limitations include the sensitivity of metrics; simple distance measures like Euclidean distance did not correlate well with performance. Future work should develop metrics reflecting structural and semantic changes. Additionally, the framework currently assumes static pipelines, whereas real-world pipelines are often adaptive. Future research could also explore "adaptive" LDP that adjusts noise levels based on feature sensitivity.
Summary updated