End-to-End Hard-Label Cryptanalytic Model Extraction Using Efficient Sign Recovery
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.CR, cs.LG
Related papers
Normal Alignment: Improved Cryptanalytic Sign Recovery on Hard-Label Networks
Shared title terminologycs.CRShi Tang, Zirui Chen, Yongjia Su et al.
GuidedRay: Diversity-Guided Direction Discovery for Targeted Hard-Label Black-Box Attacks
Shared title terminologycs.CRFei Yuan, Yantian Shen, Qingyuan Yu et al.
Cryptanalytic Extraction on a Single Full Transformer Block with Arbitrary Precision
Shared title terminologycs.CRJiaqi Zheng, Zirui Chen, Xiaoyang Dong
Are DNSSEC Islands of Security a Practical Concern? Transport-Layer Fallbacks for Trust Recovery
Shared title terminologycs.CRAmogh R, Aditya Kulkarni, Tamal Das
COAST: Accurate and Efficient Homomorphic Softmax via Anchor Error Cancellation
Shared title terminologycs.CRRui Li, Wenyuan Wu, Weijie Miao
Entropy Bounded Secret Key Generation in a Live 5G NR Stack Guard-Band Extraction and an Emulated Channel Operating Envelope
Shared title terminologycs.CRSachinkumar B. Mallikarjun, Hans D. Schotten