arXiv (Cornell University)
An Empirical Framework for Evaluating Semantic Preservation Using Hugging Face
December 2025 • Jia, Nan, Raja, Anita, Khatchadourian, Raffi
As machine learning (ML) becomes an integral part of high-autonomy systems, it is critical to ensure the trustworthiness of learning-enabled software systems (LESS). Yet, the nondeterministic and run-time-defined semantics of ML complicate traditional software refactoring. We define semantic preservation in LESS as the property that optimizations of intelligent components do not alter the system's overall functional behavior. This paper introduces an empirical framework to evaluate semantic preservation in LESS by…