cd /news/artificial-intelligence/cryptanalytic-extraction-of-multilay… · home › topics › artificial-intelligence › article
[ARTICLE · art-178027] src=eprint.iacr.org ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Cryptanalytic Extraction of Multilayer Transformers

Researchers have published the first cryptanalytic extraction method for bias-free multilayer Transformers with random weights, pre-RMSNorm, causal multi-head softmax attention with known rotary positional embeddings, and SwiGLU feed-forward blocks, recovering an equivalent network from exact response coefficients when continuous post-embedding inputs can be freely chosen and final residual states observed at high precision. The method's central idea, layer decoupling, scales the input so all components contribute to a sum evaluated on a common normalized input, while the next-order response retains the component interactions needed for reconstruction. Query and arithmetic budgets are polynomial in model dimensions and coefficient-estimation counts, and experiments numerically recovered the full projection weights of small synthetic Transformers with up to six layers.

key takeaway

Layer decoupling recovers full projection weights of synthetic Transformers up to six layers by scaling inputs to expose a leading residual response, with query and arithmetic budgets polynomial in model dimensions.

by read1 min views1 publishedNov 27, 2026

We consider parameter recovery when continuous inputs after embedding lookup can be freely chosen and the final residual states can be observed at high precision. We give a recovery algorithm for bias-free multilayer Transformers with random weights, pre-RMSNorm, causal multi-head softmax attention with known rotary positional embeddings, and SwiGLU feed-forward blocks. To the best of our knowledge, this is the first cryptanalytic extraction method for this class of multilayer Transformers. Our central idea is layer decoupling: scaling the input exposes a leading residual response in which all components contribute to a sum evaluated on a common normalized input. The next-order response retains component interactions needed to reconstruct an equivalent network. Under the stated dimension and reconstruction conditions, our procedure recovers an equivalent network from exact response coefficients. Query and arithmetic budgets are polynomial in the model dimensions and coefficient-estimation counts. Experiments numerically recover the full projection weights of small synthetic Transformers with up to six layers.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @transformers 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/cryptanalytic-extrac…] indexed:0 read:1min 2026-11-27 · —