paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Practical and Efficient Model Extraction of Sentiment Analysis APIs

实用且高效的情感分析 API 模型抽取
ICSE 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)2023匹配度 1/10 · 论文研究情感分析 API 的黑盒模型抽取攻击,属于 ML 安全与隐私方向,与用户关注的 PL/AI 交叉(静态分析、Agentic 程序、浮点/贝叶斯程序分析及其与 LLM 结合)基本无关。虽然涉及工业 API 落地,但研究目标和方法均不在该研究画像核心范围内。引用 13 inbox
Weibin Wu, Jianping Zhang, Victor Junqiu Wei, Xixian Chen, Zibin Zheng, Irwin King, Michael R. Lyu
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 PEEP 框架,在仅黑盒查询条件下实用且高效地抽取情感分析 API 模型。

MLaaS 让用户通过 API 按查询付费使用已训练模型,但这类服务正面临模型抽取攻击的威胁。已有针对文本分析 API 的抽取研究往往假设攻击者掌握受害者模型的架构与参数等强知识,这在现实中很难成立;同时攻击者与受害者的训练数据分布可能差异很大,使高效抽取变得困难。本文提出 PEEP 框架,仅需查询访问即可抽取情感分析 API:它采用基于学习的方案,利用域外公开语料与一种新的查询策略构造代理训练数据,并引入贪心搜索算法为抽取模型选择合适的架构。作者在两个受害者模型、三个数据集和两个真实商用情感分析 API 上进行了大量实验,结果表明 PEEP 在效果与效率上均稳定优于当前最优基线。

问题
现有文本分析 API 的模型抽取研究常假设攻击者已知受害者模型的架构与参数等强知识,且未充分考虑攻击者与受害者训练数据分布的显著差异,难以在实际场景中高效实施。
方法
PEEP 仅依赖黑盒查询访问,利用域外公开语料和一种新的查询策略构造代理训练数据,并通过贪心搜索算法为抽取模型选择合适的架构。
评估
在两个受害者模型、三个数据集以及两个真实商用情感分析 API 上开展实验,并与当前最优基线比较抽取的效果与效率。
原文摘要(Abstract)

Despite their stunning performance, developing deep learning models from scratch is a formidable task. Therefore, it popularizes Machine-Learning-as-a-Service (MLaaS), where general users can access the trained models of MLaaS providers via Application Programming Interfaces (APIs) on a pay-per-query basis. Unfortunately, the success of MLaaS is under threat from model extraction attacks, where attackers intend to extract a local model of equivalent functionality to the target MLaaS model. However, existing studies on model extraction of text analytics APIs frequently assume adversaries have strong knowledge about the victim model, like its architecture and parameters, which hardly holds in practice. Besides, since the attacker's and the victim's training data can be considerably discrepant, it is non-trivial to perform efficient model extraction. In this paper, to advance the understanding of such attacks, we propose a framework, PEEP, for practical and efficient model extraction of sentiment analysis APIs with only query access. Specifically, PEEP features a learning-based scheme, which employs out-of-domain public corpora and a novel query strategy to construct proxy training data for model extraction. Besides, PEEP introduces a greedy search algorithm to settle an appropriate architecture for the extracted model. We conducted extensive experiments with two victim models across three datasets and two real-life commercial sentiment analysis APIs. Experimental results corroborate that PEEP can consistently outperform the state-of-the-art baselines in terms of effectiveness and efficiency.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{WuZWCZKL23,
  title = {Practical and Efficient Model Extraction of Sentiment Analysis APIs},
  author = {Weibin Wu and Jianping Zhang and Victor Junqiu Wei and Xixian Chen and Zibin Zheng and Irwin King and Michael R. Lyu},
  booktitle = {ICSE},
  year = {2023},
  doi = {10.1109/icse48619.2023.00054}
}