{"slug": "cryptanalytic-extraction-of-multilayer-transformers", "title": "Cryptanalytic Extraction of Multilayer Transformers", "summary": "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.", "body_md": "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.", "url": "https://wpnews.pro/news/cryptanalytic-extraction-of-multilayer-transformers", "canonical_source": "https://eprint.iacr.org/2026/3082", "published_at": "2026-11-27 16:35:27+00:00", "updated_at": "2026-11-29 07:11:37.742481+00:00", "lang": "en", "topics": ["artificial-intelligence", "machine-learning", "ai-research", "ai-safety", "large-language-models"], "entities": ["Transformers", "pre-RMSNorm", "SwiGLU", "rotary positional embeddings", "softmax attention"], "also_reported_by": [], "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.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/cryptanalytic-extraction-of-multilayer-transformers", "markdown": "https://wpnews.pro/news/cryptanalytic-extraction-of-multilayer-transformers.md", "text": "https://wpnews.pro/news/cryptanalytic-extraction-of-multilayer-transformers.txt", "jsonld": "https://wpnews.pro/news/cryptanalytic-extraction-of-multilayer-transformers.jsonld"}}