Metraipolis › archive › dc_c1f2dce329e9
Modelstamp: Pre-Deserialization Verification of Machine-Learning Artifacts and Runtime Environment State — arXiv:2609.01781
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.01781
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T04:41:11.783Z
- SHA-256 of the archived text
eae6db102f607ec297b67b88af3c499c6e6f29c69410d7c934e17b9ebf2d2623- Stable URL of this page
https://metraipolis.com/documento/dc_c1f2dce329e9
How to cite
Modelstamp: Pre-Deserialization Verification of Machine-Learning Artifacts and Runtime Environment State — arXiv:2609.01781 — arXiv (en), https://arxiv.org/abs/2609.01781 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c1f2dce329e9 (Metraipolis archive dc_c1f2dce329e9, sha256 eae6db102f607ec297b67b88af3c499c6e6f29c69410d7c934e17b9ebf2d2623)
BibTeX
@misc{dcc1f2dce329e9,
title = {Modelstamp: Pre-Deserialization Verification of Machine-Learning Artifacts and Runtime Environment State — arXiv:2609.01781},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.01781},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c1f2dce329e9; sha256 eae6db102f607ec297b67b88af3c499c6e6f29c69410d7c934e17b9ebf2d2623},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.01781. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Persisted machine-learning models can remain byte-identical while the software environments in which they are loaded evolve, creating a verification problem that artifact integrity checks alone cannot expose. This paper presents Modelstamp, a lightweight Python persistence library for verifying artifact integrity and represented runtime-environment state before deserialization. At persistence time, Modelstamp associates a serialized artifact with a sidecar JSON manifest containing a SHA-256 digest, runtime metadata, and installed versions from a bounded tracked-package set; a separately recorded model-relevant subset determines which package versions participate in drift comparison. Optional HMAC authentication supports workflows in which the producer and verifier share a secret key. At verification time, the artifact and represented current environment are checked against this recorded evidence before the model is deserialized. Modelstamp is evaluated using 14 controlled environment-drift scenarios, eight controlled trust-boundary scenarios, and an artifact-size scaling benchmark from 10 MiB to 1 GiB. The controlled drift experiments behaved as specified across relevant dependency changes, unchanged environments, and unrelated environmental changes, including broader noise controls. The trust-boundary experiments similarly confirmed both intended detections and expected limitations, including shared-key forgery and replay. Median verification time increased from 0.032 s at 10 MiB to 3.334 s at 1 GiB, with measured throughput of approximately 307-312 MiB/s in the benchmark environment. These results characterize Modelstamp as a complementary pre-deserialization reference-state verification control rather than as a replacement for dependency-management systems, malicious-model detection, safe deserialization, or public publisher authentication. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-03 in cs.CR). Categorie arXiv: Software Engineering (cs.SE) ; Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2609.01781 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T04:09:09.369Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-03?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).