Skip to content
Preprint

Cryptanalytic Extraction of Neural Networks Without Known Architecture Assumption

Sep 2026 · 1 citation · 24 references
Computer Science

Abstract

Cryptanalytic model extraction aims to reconstruct a functionally equivalent model through black-box interactions with the victim model. Under the fundamental assumption that the network architecture is completely known, existing attacks achieve the goal by recovering the model parameters. In this paper, we explore whether this assumption can be removed practically. Focusing on ReLU fully connected networks, which are widely studied in this field, we propose a guess-and-determine framework that jointly recovers the network architecture (including network depth and hidden-layer dimensions) and the model parameters. This framework is based on a simple yet effective high-level idea: after designing a parameter recovery attack under the known-architecture assumption, we can analyze the architecture-sensitive traces observed during parameter recovery to recover the network architecture. We identify two such traces in differential extraction attacks: (i) a \emph{zero suffix} in the merged weight vectors produced by signature recovery, whose length reveals the hidden layer dimension; and (ii) an \emph{equality pattern} in the preimage-based sign recovery, which occurs only under the true hidden layer dimension. These two signals give rise to two routes for network architecture recovery. For the second-to-last layer, we further propose two methods, one for identifying it, and one for recovering its dimension. Practical end-to-end attacks are implemented on a wide range of ReLU neural networks, including both expansive and non-expansive networks. To the best of our knowledge, this is the first time the feasibility of achieving functionally equivalent extraction on deep neural networks, after removing the known-architecture assumption, has been demonstrated in practice.

View source

Similar papers

#machine learning Preprint Sep 2026

End-to-End Hard-Label Cryptanalytic Model Extraction Using Efficient Sign Recovery

This paper proposes a new sign-recovery algorithm that achieves higher sign-recovery accuracy than the existing method, and enables efficient sign recovery even for trained models, and demonstrates end-to-end model extraction from models trained on MNIST and Fashion-MNIST.

Akira Ito, Takayuki Miura, Yosuke Todo · 0 citations
Open access Sep 2026

Cryptanalysis in Transfer learning using Advanced Optimal Approach Based on Deep Neural Network

Cryptanalysis is essential for evaluating the robustness of modern encryption algorithms such as the Advanced Encryption Standard (AES) against various attacks. However, traditional cryptanalysis methods are often time-consuming, require deep domain expertise, and struggle to scale effectively when analysing high-dimen...

M. Sharmila.F · 0 citations
Preprint Sep 2026

Extracting CNNs in the Unknown-Architecture and Feedback-Agnostic Setting

This paper studies the cryptanalytic extraction of convolutional neural networks (CNNs). Existing cryptanalytic extraction attacks on CNNs assume that the network architecture is known, and try to recover model parameters.In this paper, we prove for the first time that the architecture assumption can be removed for CNN...

Jia-Shuo Liu, Rui-Jie Ma, Man-Man Li et al. · 0 citations
#artificial intelligence Preprint Aug 2026

Curvature Cryptanalysis of Smooth Transformer Feed-Forward Networks

This work formalizes resulting Hessian collection as a partially symmetric decomposition to establish conditions for local identifiability and stability to exploit vector-output stencil reuse to reduce the structural query cost by a factor of 16.

Munawar Hasan, Apostol Vassilev · 0 citations
Open access Sep 2026

TAME: A Deep Learning-based Blind Side-Channel Analysis Framework

Side-Channel Analysis (SCA) methods critically depend on access to known plaintext/ciphertext, an assumption violated in many practical scenarios such as OCB encryption mode and the EMV payment protocol. Blind SCA addresses this challenge by operating without plaintext/ciphertext, relying instead on a three-phase pipel...

Jin-Tong Yu, Yuxuan Wang, Pei Cao et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.