Cryptanalytic Method Extracts GLU Feed-Forward Blocks from LLMs.

Chunhui Shi, Xinwen Fu· August 10, 2026 View original

Key takeaways

  • A new cryptanalytic method can extract isolated GLU feed-forward blocks from LLMs.
  • This technique uses finite-difference curvature and antipodal separation to recover block parameters.
  • It achieves high accuracy in recovering block weights, even in finite-precision settings.
  • The method highlights potential vulnerabilities in LLM intellectual property and security.

Who benefits

AI SecuritySoftware DevelopmentIntellectual PropertyCloud ComputingCybersecurity

Summary

Researchers developed a constructive, multi-stage cryptanalytic method to extract isolated bias-free Gated Linear Unit (GLU) feed-forward blocks from modern language models, a capability previously unachieved by existing extraction techniques for other network types.

Previous cryptanalytic extraction methods have successfully recovered components from ReLU networks, networks with componentwise activations like GELU or SiLU, and the final projection matrices of Transformers. However, these methods could not extract the bias-free Gated Linear Unit (GLU) feed-forward blocks commonly used in many modern language models. GLU blocks feature a unique two-branch structure, multiplying an activated linear projection by a second learned linear projection within each hidden unit, which posed a challenge for existing techniques. This research presents a novel, constructive, multi-stage forward-query recovery primitive specifically designed for isolated bias-free GLU blocks. The method uses finite-difference curvature to identify gate-direction candidates. Paired observations at `x` and `-x` then enable the separation of gate magnitude, orientation, and value-branch coupling. Experiments demonstrated high accuracy, with sub-percent median validation error across high-precision targets, Qwen layers, a Llama subproblem, and a full-dimensional Gemma block. While four finite-precision configurations remained below 5 percent median error, none perfectly reproduced every stored weight. It's important to note that these experiments focus on isolated blocks and do not represent an end-to-end model-API attack, as deriving the necessary internal block responses from final model outputs remains an unsolved problem.

Why it matters

This research advances our understanding of the extractability of core components within large language models, highlighting potential vulnerabilities in model intellectual property and security, which is crucial for model developers and deployers.

How to implement this in your domain

  1. 1Assess the security implications of this extraction method for proprietary GLU-based models.
  2. 2Develop robust intellectual property protection strategies for AI models, considering component-level extractability.
  3. 3Investigate methods to obfuscate or protect internal model representations against such cryptanalytic attacks.
  4. 4Stay informed on advancements in model extraction to anticipate and mitigate future security risks.

Original post by Chunhui Shi, Xinwen Fu

"arXiv:2608.06631v1 Announce Type: new Abstract: Cryptanalytic extraction has been demonstrated for ReLU networks, for networks using componentwise activations such as GELU or SiLU, and for a Transformer's final projection matrix. These methods do not recover the bias-free Gated L…"

View on X

Originally posted by Chunhui Shi, Xinwen Fu on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses