Certified in Theory, Broken in Practice: Assumption Gaps in Cryptographic Model Certification

AI in healthcare
Published: arXiv: 2607.21839v1
Authors

Carter Luck Olive Franzese-McLaughlin Elisaweta Masserova Akira Takahashi Antigoni Polychroniadou Nicolas Papernot

Abstract

Privacy-preserving machine learning auditing protocols allow auditors to assess models for properties such as accuracy or fairness, without revealing their internals or training data. This makes them especially attractive for auditing models deployed in sensitive domains such as healthcare or finance. For these protocols to be meaningful in real-world audit settings, though, their guarantees must reflect how the model will behave once deployed, rather than merely certifying its behavior during an audit. Existing security definitions often miss this mark: most certify model behavior only on a fixed audit dataset, without ensuring that the same guarantees generalize to other datasets drawn from the same distribution. As we show, this gap allows a model provider to attack many cryptographic model certification (CMC) schemes built on secure zero knowledge proofs (ZKP) by carefully engineering training data, resulting in models that exhibit benign behavior during an audit, but pathological behavior in practice. For example, we empirically demonstrate that an attacker can certify that a model achieves over 99% accuracy on an audit dataset, but less than 30% accuracy on fresh samples from the same distribution. To address this gap, we formalize rigorous cryptographic security notions tailored to CMC frameworks, introduce a generic protocol template, and prove that it satisfies these requirements. Our results thus offer both cautionary evidence about existing approaches and constructive guidance for designing secure, privacy-preserving ML auditing protocols.

Paper Summary

Problem
The main problem addressed in this paper is the gap between the guarantees provided by cryptographic model certification (CMC) protocols and the actual behavior of machine learning models in practice. CMC protocols are designed to ensure that a model's properties, such as accuracy or fairness, are verified without revealing the model's internals or training data. However, the current security definitions often focus on a fixed audit dataset, without ensuring that the same guarantees generalize to other datasets drawn from the same distribution.
Key Innovation
The authors propose a new approach to cryptographic model certification that addresses the gap between the guarantees provided by CMC protocols and the actual behavior of machine learning models in practice. They introduce a formal foundation for CMC that provides rigorous guidance for secure auditing practice, and propose a generic template for achieving secure CMC. Their approach ensures that the audit is conducted on test data that is independent of both the model and its training data, and provides a certification predicate that outputs a binary value depending on whether the input satisfies certain properties.
Practical Impact
The practical impact of this research is significant, as it provides a more secure and trustworthy way to audit machine learning models. By ensuring that the guarantees provided by CMC protocols generalize to other datasets drawn from the same distribution, the authors' approach can help to prevent model providers from exploiting vulnerabilities in the auditing process. This can lead to more accurate and fair predictions, and can help to build trust in machine learning models deployed in sensitive domains such as healthcare or finance.
Analogy / Intuitive Explanation
Imagine you're at a restaurant, and you want to make sure that the food they serve is safe to eat. You can hire a third-party auditor to inspect the kitchen and verify that the food is prepared in a safe and sanitary manner. However, if the auditor only inspects the kitchen during a single visit, and the restaurant can control the ingredients and cooking methods used during that visit, the audit may not be meaningful. The restaurant may be able to pass the audit by manipulating the food and cooking methods, but may still serve unsafe food to customers. The authors' approach to CMC is like requiring the auditor to inspect the kitchen multiple times, with different ingredients and cooking methods, to ensure that the food is safe to eat every time.
Paper Information
Categories:
cs.CR cs.LG
Published Date:

arXiv ID:

2607.21839v1

Quick Actions