Skip to content
InfoResearchPreprintLLM-specific

Cryptanalytic Extraction on a Single Full Transformer Block with Arbitrary Precision

Published
Record updated
View JSON

Summary

Cryptanalytic model extraction recovers the hidden parameters of a neural network from black-box input-output queries. The authors present the first end-to-end extraction of a complete single dual pre-RMSNorm residual Transformer block, handling both biased ReLU and bias-free SwiGLU feed-forward networks in one pipeline. On blocks up to d=256, H=8 and m=1024 (over one million parameters), extraction uses 0.26-0.47 queries per parameter and reaches relative L2 errors at each format's rounding floor, from 2.20 x 10^-15 in FP64 to 8.16 x 10^-3 in BF16.