跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:2611.39341 (cs)
[提交于 2026年11月29日]

标题:Cryptanalytic Extraction on a Single Full Transformer Block with Arbitrary Precision

作者:Jiaqi Zheng, Zirui Chen, Xiaoyang Dong
查看论文《Cryptanalytic Extraction on a Single Full Transformer Block with Arbitrary Precision》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Cryptanalytic model extraction aims to recover the hidden parameters of a neural network solely from black-box input--output queries. While recent attacks on Transformers recover isolated multi-head Attention layers, isolated bias-free GLU feed-forward networks (FFNs), or simplified blocks without normalization and skip connections, modern Transformer blocks couple dual pre-RMSNorm layers, residual connections, multi-head softmax Attention, and biased ReLU or SwiGLU FFNs. Under this coupling, every query passes through both normalizations and both sublayers simultaneously, preventing prior component-level reductions from applying directly, while existing rational pole-finding methods become unstable under low-precision arithmetic. In this paper, we present the first end-to-end cryptanalytic extraction attack on a complete single dual pre-RMSNorm residual Transformer block, handling both biased ReLU and bias-free SwiGLU FFNs through a single precision-agnostic pipeline. Our attack decouples the block in four stages: it first recovers the aggregate Attention value map from complete-block responses, next extracts the coupled FFN through a singleton forward bridge, then synthesizes Attention outputs via paired opposite-input inversion to recover all effective Attention heads without pole-finding, and finally refines the full block jointly on the low-rank head manifold. We evaluate the attack end to end across native FP64, FP32, FP16, and BF16 implementations on blocks scaling up to token dimension $d=256$, $H=8$ heads, and FFN width $m=1024$ (over one million parameters). At this scale, extraction requires only $0.26-0.47$ queries per parameter and achieves block relative $L_2$ errors at each format's hardware rounding floor, at most $2.20 \times 10^{-15}$ in FP64, $5.49 \times 10^{-7}$ in FP32, $1.07\times 10^{-3}$ in FP16, and $8.16 \times 10^{-3}$ in BF16.
主题: 密码学与安全 (cs.CR)
引用方式: arXiv:2611.39341 [cs.CR]
  (或者 arXiv:2611.39341v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.39341

提交历史

来自:Zirui Chen
[v1] 2026年11月29日 星期日 05:01:43 UTC (61 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-12
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站