paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Adversarial Attacks to API Recommender Systems: Time to Wake Up and Smell the Coffee?

对 API 推荐系统的对抗性攻击:是时候醒醒、闻闻咖啡味了?
ASE 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)2021匹配度 3/10 · 论文研究 API 推荐系统的训练数据投毒攻击,属于机器学习与软件工程/开发者工具交叉,但与用户核心方向(静态分析、Agentic/LLM 程序分析、浮点或贝叶斯程序分析)关联较弱。它不涉及静态分析、形式化验证或 LLM/Agent 改进程序分析。引用 16 inbox
Phuong T. Nguyen, Claudio Di Sipio, Juri Di Rocco, Massimiliano Di Penta, Davide Di Ruscio
crossref: 2026-09-12

AI 速览

一句话:实证表明三种先进 API 推荐系统均无法抵御训练数据投毒,亟需有效防御手段。

软件工程领域的推荐系统为开发者提供了大量有价值的条目,其中 API 推荐系统近年来在建议 API 调用或代码片段方面表现日益突出。尽管这些系统在预测准确率上已被证明有效,但其面对对抗性攻击的鲁棒性却少有研究。事实上,攻击者可以通过精心构造推荐系统的学习材料(例如来自大型开源软件仓库的数据)注入恶意数据,从而危及采用 API 推荐系统的软件客户端。本文对对抗性机器学习技术及其对推荐系统的潜在影响开展了实证研究。作者在三个当前最先进的 API 推荐系统上进行评估,得到了令人担忧的结果:它们无一能免疫恶意数据。这一结论呼唤有效的对策,以保护推荐系统免受隐藏在训练数据中的恶意攻击。

问题
API 推荐系统虽在准确率上表现良好,但其抵御对抗性攻击的鲁棒性研究不足;攻击者可能通过污染开源仓库中的训练数据注入恶意信息,威胁下游软件客户端。
方法
开展对抗性机器学习技术的实证研究,构造针对推荐系统学习材料的攻击(如数据投毒),并在三个最先进的 API 推荐系统上评估其受影响程度。
评估
在三种 SOTA API 推荐系统上进行实验评估,结果显示所有系统都对恶意训练数据缺乏免疫力,暴露出严重的安全隐患。
原文摘要(Abstract)

Recommender systems in software engineering provide developers with a wide range of valuable items to help them complete their tasks. Among others, API recommender systems have gained momentum in recent years as they became more successful at suggesting API calls or code snippets. While these systems have proven to be effective in terms of prediction accuracy, there has been less attention for what concerns such recommenders’ resilience against adversarial attempts. In fact, by crafting the recommenders’ learning material, e.g., data from large open-source software (OSS) repositories, hostile users may succeed in injecting malicious data, putting at risk the software clients adopting API recommender systems. In this paper, we present an empirical investigation of adversarial machine learning techniques and their possible influence on recommender systems. The evaluation performed on three state-of-the-art API recommender systems reveals a worrying outcome: all of them are not immune to malicious data. The obtained result triggers the need for effective countermeasures to protect recommender systems against hostile attacks disguised in training data.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6490,
  title = {Adversarial Attacks to API Recommender Systems: Time to Wake Up and Smell the Coffee?},
  author = {Phuong T. Nguyen and Claudio Di Sipio and Juri Di Rocco and Massimiliano Di Penta and Davide Di Ruscio},
  booktitle = {ASE},
  year = {2021},
  doi = {10.1109/ase51524.2021.9678946}
}