社團指南

模型提取和竊取攻擊

Model extraction uses query access to a deployed model to train a substitute that imitates some of its behavior.

聆聽此指南AI 語音敘述 · ~2 min

本頁閱讀時間約2分鐘
  1. 概述
  2. 深入探討
  3. 現實世界的實施
  4. 模型提取和竊取攻擊的未來
  5. 付諸實踐
  6. 不斷探索
  7. 常見問題

概述

Attacks and reported recovery are specific to the model interface, outputs, and experiment.

深入探討

A model-extraction attack treats a deployed model as an oracle: an attacker collects input-output pairs and trains a substitute. The 2016 prediction-API paper demonstrates extraction attacks for specific model classes and shows that omitting confidence values does not prevent every attack. A 2024 study, *Stealing Part of a Production Language Model*, recovers an embedding-projection layer up to symmetries: it reports exact projection-matrix extraction for Ada and Babbage for under $20 in queries and estimates under $2,000 for GPT-3.5 Turbo. These results concern that layer and those models, not full checkpoint extraction. DynaMarks is a separate proposal that dynamically changes API responses using secret parameters to watermark surrogate models in its evaluated vision-model settings.

現實世界的實施

Limit and monitor high-volume queries to a prediction API.

Compare label-only responses with probability-vector responses when reviewing information exposure.

Evaluate a proposed extraction defense on the model class and access pattern it targets.

Treat watermarking as a method-specific defense, not a universal guarantee of ownership.

模型提取和竊取攻擊的未來

Defenses may combine access controls, monitoring, response design, and model-specific watermarking research. Assess each mitigation against the attack setting and model class it was tested on; no single safeguard guarantees that a substitute cannot be trained or identified.

付諸實踐

為什麼這很重要

  • 風險與安全. 災難性和日常的人工智慧危害都取決於誰了解風險以及誰能夠採取行動。
  • 更明確的決策. 民眾和專業素養決定強而有力的安全政策在政治上是否可行。
  • 突破炒作. 清晰的解釋可以減少炒作、實驗室公關和模糊道德劇場的影響。

留意

  • 將存在風險視為科幻小說,同時能力複合。
  • 混淆了表面產品安全與高度自治下的對準。
  • 只給非英語和非專業觀眾留下低品質的資源。

後續步驟

  1. 單獨的產品危害、誤用和失控/失調風險。
  2. 詢問哪些證據會改變您對時間表和嚴重性的看法。
  3. 比起行銷主張,更喜歡主要來源和具體評估。
  4. 確定一條行動路徑:職業、政策、資金或技能——而不僅僅是意識。

不斷探索

免費電子報

獲取每日 AI 簡報

每個工作日上午提供三則經過驗證的 AI 新聞,以淺顯易懂的英文撰寫。永久免費,無廣告。

每個工作日一封電子郵件。一鍵取消訂閱。我們絕不出售或分享您的地址。

測試一下自己

Take the Model Extraction and Stealing Attacks quiz

每個答案皆有即時回饋,通過課程後可獲得具備可驗證 ID 的可分享證書。

開始測驗

支持免費的 AI 教育。AI Understanding 是一個 501(c)(3) 非營利組織——絕無廣告,絕無付費牆。 捐款

常見問題

What is Model Extraction and Stealing Attacks?

Model extraction uses query access to a deployed model to train a substitute that imitates some of its behavior. Attacks and reported recovery are specific to the model interface, outputs, and experiment.

模型提取攻擊背後的核心思想是什麼?

提取將部署的模型視為預言機:攻擊者收集輸入輸出對並訓練模仿模型來模仿行為,而無需存取原始權重。

為什麼回傳完整機率向量比只回傳 top-1 標籤更容易被提取?

每個完整的機率向量比單一標籤揭示更多有關模型內部決策表面的信息,讓攻擊者可以用更少的查詢重建邊界。

哪種防禦技術可以直接減少每次查詢外洩的資訊?

粗化輸出,例如僅返回頂部標籤或舍入機率,會減少每個回應向攻擊者提供的訊號,從而提高提取成本。

What did the 2024 production-language-model extraction paper report about GPT-3.5 Turbo?

The paper recovers the embedding-projection layer up to symmetries, exactly extracts the projection matrix for Ada and Babbage for under $20, and estimates under $2,000 in queries for GPT-3.5 Turbo.

為什麼被盜的替代模型除了收入損失之外還有其他危險?

一旦攻擊者擁有本地副本,他們就可以自由探測​​它以設計對抗性輸入或規避攻擊,從而欺騙原始部署的系統。