Research map / Adversarial robustness and security / Black-box and transfer attacks
Can't Hide Behind the API: Stealing Black-Box Commercial Embedding Models
Manveer Singh Tamber, Jasper Xian, Jimmy Lin
University of Waterloo
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
7improved
2no clear effect
2hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| increase training data from 100k to 8.7M text-embedding pairs (ablation) | BERT base thief (Cohere) · TREC-DL average | nDCG@10: 67.5 -> 69.8 (400k) -> 71.4 (8.7M) | Improved |
| increase training data from 100k to 8.7M text-embedding pairs (ablation) | BERT base thief (OpenAI) · TREC-DL average | nDCG@10: 59.4 -> 64.9 (400k) -> 68.6 (8.7M) | Improved |
| use BERT large instead of BERT base for the thief | thief model (Cohere) · BEIR average (Q only) | nDCG@10: 51.5 -> 51.9 | Improved |
| distill from Cohere instead of OpenAI | BERT base thief · TREC-DL (100k samples) | nDCG@10: 59.4 (OpenAI) vs 67.5 (Cohere) | Improved |
| encode only queries or only passages with the thief instead of both | BERT base thief (OpenAI) · BEIR average | nDCG@10: 43.5 -> 47.4 (P only) | Improved |
| replace cosine distance loss with contrastive loss (tau=0.05) (ablation) | BERT base thief (Cohere, 100k) · DL19/DL20/BEIR subset average | nDCG@10: 52.1 -> 47.1 | Hurt |
| replace cosine distance loss with contrastive loss (tau=0.01) (ablation) | BERT base thief (Cohere, 100k) · DL19/DL20/BEIR subset average | nDCG@10: 52.1 -> 21.2 | Hurt |
| use 768-dim bottleneck embedding instead of final-layer embedding (ablation) | BERT base thief (Cohere) · DL19/DL20/BEIR subset average | nDCG@10: 55.4 -> 55.3 | No clear effect |
| use 768-dim bottleneck embedding instead of final-layer embedding (ablation) | BERT base thief (OpenAI) · DL19/DL20/BEIR subset average | nDCG@10: 53.3 -> 53.8 | No clear effect |
| distill from concatenated Cohere+OpenAI embeddings instead of one teacher | BERT large thief · DL19/DL20/BEIR subset average | nDCG@10: 56.7 (Cohere), 55.0 (OpenAI) -> 57.7 | Improved |
| train on 8.7M samples | BERT base thief (Cohere) · TREC-DL average | nDCG@10: 71.1 (API) vs 71.4 (thief) | Improved |
Open problems in data-free substitute training
Can black-box and substitute-based attacks work with few queries, against defended targets, and beyond image classification?
- Tests cover few victim models, datasets and one modality at a time. · 9 papers state it
- The attack needs many queries, slow inference or paid closed APIs. · 7 papers state it
- Attacks are shown to weaken under defenses, or defenses are left untested. · 5 papers state it
Closest papers by meaning
- Adapting General-Purpose Embedding Models to Private Datasets Using Keyword-based Retrieval (ACL 2025 · similarity 0.89)
- On the Theoretical Limitations of Embedding-Based Retrieval (ICLR 2026 · similarity 0.87)
- Repurposing Language Models into Embedding Models: Finding the Compute-Optimal Recipe (NeurIPS 2024 · similarity 0.86)
- NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Models (ICLR 2025 · similarity 0.86)
- NUDGE: Lightweight Non-Parametric Fine-Tuning of Embeddings for Retrieval (ICLR 2025 · similarity 0.85)
- Harnessing the Universal Geometry of Embeddings (NeurIPS 2025 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.