Paper 2026/241

Algebraic Attack on Convolutional Neural Networks with Max Pooling

Zirui Chen, Tsinghua University
Shi Tang, Shandong University
Zhengchao Gao, Shandong University
Yongjia Su, Shandong University
Lingyue Qin, Tsinghua University
Xiaoyang Dong, Tsinghua University
Abstract

Recovering the weights and biases of deep neural networks (DNNs) via black-box input-output queries --- known as parameter extraction attacks --- has been extensively studied for ReLU-based fully connected neural networks (FCNNs), but remains unexplored for convolutional neural networks (CNNs) with the max pooling function, a core architecture for computer vision and multimedia processing. The key challenge lies in the CNN’s max pooling layer, which introduces an additional non-linearity and hides ReLU critical points, rendering existing FCNN extraction methods inapplicable. To address this gap, we propose the first cryptanalytic extraction attack tailored for CNNs with the max pooling function. First, we establish an algebraic representation of CNNs, formally proving that CNNs are piecewise linear functions --- enabling the extension of linearity-based extraction principles. We then identify two novel types of critical points in CNNs: (1) ReLU-Pooling Critical Points (RPCPs), where a ReLU neuron is at its zero-input critical point and its output is selected by max pooling; and (2) Pooling Switching Points (PSPs), where two neurons within a local receptive field yield identical maximum outputs, triggering a switch in the pooling selection. Leveraging these critical points, we design complementary extraction techniques: a pattern matching method for RPCPs to recover partial signatures and signs (exploiting the property that unselected pooling neurons have negative outputs), and an internal differential extraction attack for PSPs --- inspired by cryptographic internal differential analysis --- to recover high-accuracy signatures. Given that PSPs are far more abundant than RPCPs and yield a highly efficient extraction method (verified by experiments), and that RPCPs are indispensable for bias recovery, we integrate both methods: the PSP method enables efficient signature extraction, while a single RPCP recovers the sign and bias. We evaluate our attack on multiple CNN architectures, including modern adaptations of LeNet-5, trained on random data, MNIST, and CIFAR-10. Experimental results demonstrate that our approach achieves high extraction accuracy with polynomial query complexity and runtime, even for deep CNN layers. This work fills a research gap in CNN security.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
A major revision of an IACR publication in CRYPTO 2026
Keywords
Convolutional Neural NetworksModel Extraction
Contact author(s)
chenzr25 @ mails tsinghua edu cn
shi tang @ mail sdu edu cn
chao_qwq @ mail sdu edu cn
yongjia su @ mail sdu edu cn
qinly @ tsinghua edu cn
xiaoyangdong @ tsinghua edu cn
History
2026-06-02: last of 2 revisions
2026-02-13: received
See all versions
Short URL
https://ia.cr/2026/241
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/241,
      author = {Zirui Chen and Shi Tang and Zhengchao Gao and Yongjia Su and Lingyue Qin and Xiaoyang Dong},
      title = {Algebraic Attack on Convolutional Neural Networks with Max Pooling},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/241},
      year = {2026},
      url = {https://eprint.iacr.org/2026/241}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.