arXiv Open Access 2024

Can't Hide Behind the API: Stealing Black-Box Commercial Embedding Models

Manveer Singh Tamber Jasper Xian Jimmy Lin
Lihat Sumber

Abstrak

Embedding models that generate dense vector representations of text are widely used and hold significant commercial value. Companies such as OpenAI and Cohere offer proprietary embedding models via paid APIs, but despite being "hidden" behind APIs, these models are not protected from theft. We present, to our knowledge, the first effort to "steal" these models for retrieval by training thief models on text-embedding pairs obtained from the APIs. Our experiments demonstrate that it is possible to replicate the retrieval effectiveness of commercial embedding models with a cost of under $300. Notably, our methods allow for distilling from multiple teachers into a single robust student model, and for distilling into presumably smaller models with fewer dimension vectors, yet competitive retrieval effectiveness. Our findings raise important considerations for deploying commercial embedding models and suggest measures to mitigate the risk of model theft.

Topik & Kata Kunci

Penulis (3)

M

Manveer Singh Tamber

J

Jasper Xian

J

Jimmy Lin

Format Sitasi

Tamber, M.S., Xian, J., Lin, J. (2024). Can't Hide Behind the API: Stealing Black-Box Commercial Embedding Models. https://arxiv.org/abs/2406.09355

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2024
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓