StateScope: Verifying Training-Source Isolation in Mutable Machine Learning Models
A model updated on permitted data can still retain coefficients, cached features,or trees constructed from excluded rows. Pipeline provenance and input-overlapchecks leave unresolved whether native solvers consumed earlier state andwhether recorded evidence still applies to the current model. We presentStateScope, a runtime auditor for scikit-learn that connects reviewed native oper-ation contracts to versioned source evidence. It validates state for predictionor continued training and maintains conservative source bounds when evidenceis incomplete. Evaluation covered 196 independent native execution histories,yielding 2,092 derived audit queries. Under the stated trust assumptions, theFull-path rule made zero false determinate decisions. It resolved 97.7% of querieswithout injected faults or omissions. Six public workflows demonstrate supportedsingle-process verification and identify unresolved associations across workersand scripts. With default full discovery, a product-review classification workflowtook 4.59× native runtime, while a customer-churn workflow used 6.94× nativepeak working set. Registered-only discovery reduced cold audit-context entryfrom 8.423 to 0.098 seconds on an incremental-learning fixture. In the product-review workflow, it lowered the full-process runtime ratio from 3.00× to 1.17×.Decisions and supporting evidence matched full discovery on the tested paths.
Authors
- SIQI LI (ORCID: https://orcid.org/0009-0008-1806-3823)
Institutions
- Changchun University (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-24
- DOI
- https://doi.org/10.21203/rs.3.rs-11822983/v1
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- preprint