New Attack Recovers Transformer FFN Parameters from Black-Box Access.
Key takeaways
- Smooth Transformer FFNs are vulnerable to curvature cryptanalysis.
- Hidden structural parameters can be extracted from black-box models.
- The attack exploits second-order leakage from input Hessians.
- High-fidelity functional substitutes can be created from recovered parameters.
Who benefits
Summary
This research demonstrates a novel "curvature cryptanalysis" attack that can extract hidden structural parameters of smooth two-layer feed-forward networks (FFNs) within Transformers, even with only black-box, chosen-input raw-output access. The attack exploits second-order leakage from input Hessians, achieving high-fidelity recovery with minimal queries and enabling functional replacement.
Why it matters
For organizations deploying Transformer-based AI models, this research highlights a critical security vulnerability. It demonstrates that even with black-box access, internal model parameters can be extracted, posing risks to intellectual property, model integrity, and potentially enabling adversarial attacks or model theft.
How to implement this in your domain
- 1Assess the security posture of deployed Transformer models, especially those with smooth FFNs.
- 2Investigate methods to obfuscate or add noise to raw model outputs to mitigate curvature cryptanalysis.
- 3Consider the implications of model extraction attacks on intellectual property and competitive advantage.
- 4Develop strategies for continuous monitoring and defense against advanced model extraction techniques.
Original post by Munawar Hasan, Apostol Vassilev
"arXiv:2608.28843v1 Announce Type: new Abstract: We show that smooth two-layer feed-forward networks (FFNs) expose an additional structural model extraction channel under a chosen-input raw-output oracle at the FFN branch; consider transformer FFN branches with GELU or SiLU activa…"
View on XOriginally posted by Munawar Hasan, Apostol Vassilev on X · view source
Want to go deeper?
Turn these trends into skills with Learnijoy's hands-on AI & tech courses.
Explore coursesMore in AI Research
PAC-LLM Forecasts Chaotic Time Series with LLMs
PAC-LLM is a phase-space-aware adaptive fusion framework that leverages Large Language Models (LLMs) to forecast long-term chaotic time series, even with limited short-term observations. It integrates learned phase-space features and textual information to enhance LLM forecasting capacity.
Event-Triggered Control for Networked Systems with Delays
This paper proposes an efficient control framework with an asynchronous event-triggered mechanism for networked systems, accounting for computational delays in online learning. It guarantees control performance while optimizing communication and computation resources.
HoopMind: AI System for Real-Time Basketball Strategy
HoopMind is a real-time neural game-tree system that fuses public basketball data to model half-court possessions as sequential games, providing opponent-aware possession planning. It offers a scouting planner and playable simulator for strategic analysis.