Hard-label model extraction achieves >98% label agreement using query-free sign recovery
The proposed sign-recovery algorithm enables end-to-end hard-label extraction with over 98% label agreement on MNIST-like models
AI/ML arXiv 18 Sep 2026 Method Prototype evidence
Published as “End-to-End Hard-Label Cryptanalytic Model Extraction Using Efficient Sign Recovery”
Why it matters
The techniques enable an adversary to extract proprietary ReLU models via only label outputs, threatening the confidentiality of AI services that expose hard-label APIs.
Summary
The paper introduces a cosine-based sign-recovery algorithm that needs no extra queries beyond the intersection spaces already collected for signature recovery, and uses a weighted variant to handle deeper layers. Using only 50 intersection spaces per neuron, it recovers 506 of 510 signs in a five-layer MNIST model and enables the first fully black-box hard-label extraction of trained ReLU MLPs, achieving over 98% label agreement on 100,000 Gaussian test inputs. The evidence comes from experiments on MNIST and Fashion-MNIST models of width 16 with four or six hidden layers, reporting up to 100% agreement, but the approach still requires a large query cost to gather intersection spaces.
What they found 2
- The cosine method recovers most neuron signs using only 50 intersection spaces per neuron.
“On an MNIST-trained model with five hidden layers of width 128, our method correctly recovers 506 of 510 signs in layers 2-5, excluding persistent and dead neurons, using 50 intersection spaces per neuron (Table 2).”
- End-to-end hard-label extraction recovers all non-dead neurons and attains over 98% output agreement.
“Our attack pipeline recovers all neurons except dead and almost-dead neurons and achieves over 98% output agreement with the victim model for every evaluated model on 100,000 inputs drawn from a standard Gaussian distribution.”
Caveats 2
- Although our methods limit the additional queries needed for signature and sign recovery, collecting the required intersection spaces still incurs a substantial query cost.
- Numerical errors and unrecovered almost-dead neurons are possible sources of the remaining disagreements.
What’s new here 4
- A cosine similarity based sign-recovery method that requires no additional queries.
- A weighted cosine extension that works for deeper layers without extra queries.
- First fully black-box end-to-end hard-label extraction on trained deep ReLU MLPs.
- Significantly reduced query overhead for sign recovery compared to the boundary-walking method.