Curvature Cryptanalysis of Smooth Transformer Feed-Forward Networks
Not on the map. Why?
Abstract (arXiv)
We show that smooth two-layer feed-forward networks (FFNs) expose an additional structural model extraction channel under a chosen-input raw-output oracle at the FFN branch; consider transformer FFN branches with GELU or SiLU activations under chosen-input raw-output access, without access to parameters, gradients, or internal activations; exploit a second-order leakage channel in which projected input Hessians form different mixtures of the same hidden symmetric rank-one factors induced by the FFN input weights. We formalize 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. On independently trained CIFAR-10 vision transformers, only 16 projected Hessians, corresponding to 8193 black-box queries, recover the hidden FFN directions with average absolute cosine alignment above 0.91, with 86.7.1 % of GELU and 91.1 % of SiLU directions exceeding 0.90 alignment. Recovery remains high across independently trained models, repeated extraction runs, and all transformer blocks. The recovered structure supports functional extraction too. Keeping the recovered directions fixed and fitting only the remaining FFN parameters yields high-fidelity substitutes with more than 92 % top-1 agreement, while test accuracy remains within 1.24% and 0.57% of the GELU and SiLU targets. Output rounding and Gaussian noise substantially reduce recovery under a fixed attack configuration, but adapting the finite-difference step restores average alignment to 0.9188 and 0.9081. This is an end-to-end path from black-box second-order observations to hidden FFN-structure recovery and functional replacement. Under the stated oracle model, smooth FFN curvature exposes internal parameter geometry that behavioral fidelity alone cannot reveal.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 25 references that are in the map. First posted on arXiv 28 Aug 2026.
Builds on
16 of 25 references.
References · 16
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
- 2016Stealing Machine Learning Models via Prediction APIscited by 619
- 2018Knockoff Nets: Stealing Functionality of Black-Box Modelscited by 292
- 2019High Accuracy and High Fidelity Extraction of Neural Networkscited by 214
- 2019Reverse-Engineering Deep ReLU Networkscited by 83
- 2020Cryptanalytic Extraction of Neural Network Modelscited by 68
- 2021Parameter identifiability of a deep feedforward ReLU neural networkcited by 24
- 2023Polynomial Time Cryptanalytic Extraction of Neural Network Modelscited by 17
- 2021Stable Recovery of Entangled Weights: Towards Robust Identification of Deep Neural Networks from Minimal Samplescited by 8
- 2025MISLEADER: Defending against Model Extraction with Ensembles of Distilled Modelscited by 8
4 more
- 2025Navigating the Deep: End-to-End Extraction on Deep Neural Networkscited by 3
- 2025Clone What You Can't Steal: Black-Box LLM Replication via Logit Leakage and Distillationcited by 3
- 2025"Energon": Unveiling Transformers from GPU Power and Thermal Side-Channelscited by 1
- 2026Bounded Behavioral Indistinguishability for Black-Box LLM Distillationcited by 1
Built on by
Not cited yet.