Adversarial attacks to api recommender systems: Time to wake up and smell the coffee?
2021 36th IEEE/ACM International Conference on Automated Software …, 2021•ieeexplore.ieee.org
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, eg …
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, eg …
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.
ieeexplore.ieee.org