End-to-End Hard-Label Cryptanalytic Model Extraction Using Efficient Sign Recovery
Researchers show end-to-end hard-label extraction of small ReLU MLPs, exceeding 98% label agreement on MNIST.
The paper presents a sign-recovery algorithm for hard-label cryptanalytic extraction of ReLU multilayer perceptrons that needs no dedicated sign-recovery queries. It improves on the costly sign-recovery step in the Eurocrypt 2025 attack by Carlini et al. Combined with the other extraction steps, it recovers models trained on MNIST and Fashion-MNIST with width 16 and 4 or 6 hidden layers, reaching over 98% label agreement.
- New sign recovery needs no dedicated queries and beats prior accuracy.
- All hard-label extraction steps now run in a black-box setting.
- Tested on MNIST and Fashion-MNIST ReLU MLPs, width 16, 4 or 6 layers.
- Extracted models agree with victim labels more than 98 percent of the time.
Full article220 words · extracted from arxiv.org · click to collapse
The importance of deep neural networks (DNNs) is widely recognized, and the parameters obtained through training are regarded as valuable assets. Recently, attacks that extract these parameters using only oracle queries to a DNN have been actively studied at IACR conferences. The hard-label setting is the most challenging setting for model extraction, where an adversary can observe only the final output label, such as "dog" or "cat." At Eurocrypt 2025, Carlini et al. proposed polynomial-time hard-label extraction of ReLU-based MLPs. However, one step of this attack process, i.e., sign recovery, requires a large number of queries and substantial computation. Implementing this step in a black-box setting remains difficult. Consequently, a fully black-box end-to-end demonstration on trained deep ReLU MLPs has remained a challenge. In this paper, we propose a new sign-recovery algorithm based on a completely different principle from the existing method. Our method requires no dedicated queries for sign recovery. In our experiments, it achieves higher sign-recovery accuracy than the existing method. Consequently, it enables efficient sign recovery even for trained models. With our sign-recovery algorithm, all steps of hard-label model extraction can be implemented in a black-box setting. By combining these implementations, we demonstrate end-to-end model extraction from models trained on MNIST and Fashion-MNIST, with width 16 and 4 or 6 hidden layers, achieving over 98% label agreement.
Text extracted automatically; images, tables and formatting may be missing. Original: https://arxiv.org/abs/2609.21941