Documented Exercise · OBS.EX0103
Stealing Embedding Projection Layers from Black-Box Production LLMs
Carlini et al. (ICML 2024) executed the first black-box parameter-recovery attack against commercial production LLMs, recovering exact hidden dimensions and full embedding projection matrices (up to linear symmetries) via standard API logit queries. For under $20 USD in API calls, the team extracted complete projection layers for OpenAI Ada (hidden dimension 1024) and Babbage (2048) and recovered GPT-3.5-Turbo’s hidden dimension while estimating full projection recovery under $2,000. Responsible disclosure prompted providers to alter logit-bias and probability-reporting behaviors before publication. Exposing uncompressed logprobs or logit-bias controls leaks proprietary architectural weights at negligible attacker cost.
Exercise dossier metadata
- Case ID
OBS.EX0103- Classification
- Exercise
- Date
- Evaluation scope
- OpenAI Ada, Babbage, GPT-3.5-Turbo & Google PaLM-2 · Logit-Bias Weight Recovery
- Reference URI
https://arxiv.org/abs/2403.06634
Mapped AI security techniques
- Discover AI Model Ontology AML.T0013
- AI Model Inference API Access AML.T0040
- External Harms: AI Intellectual Property Theft AML.T0048.004
- Recover AI Model Internals AML.T0144
Mapped defensive controls
- Predictive AI Output Obfuscation AML.M0002
- Limit AI Service Query Volume and Rate AML.M0004
- Control Access to AI Models and Data in Production AML.M0019
Source citation records
- Stealing Part of a Production Language Model · arXiv (author preprint; peer-review status not inferred) ·