Attacks against Ranking Algorithms with Text Embeddings: A Case Study on Recruitment Algorithms

Anahita Samadi, Debapriya Banerjee, Shirin Nilizadeh


Abstract
Recently, some studies have shown that text classification tasks are vulnerable to poisoning and evasion attacks. However, little work has investigated attacks against decision-making algorithms that use text embeddings, and their output is a ranking. In this paper, we focus on ranking algorithms for the recruitment process that employ text embeddings for ranking applicants’ resumes when compared to a job description. We demonstrate both white-box and black-box attacks that identify text items that, based on their location in embedding space, have a significant contribution in increasing the similarity score between a resume and a job description. The adversary then uses these text items to improve the ranking of their resume among others. We tested recruitment algorithms that use the similarity scores obtained from Universal Sentence Encoder (USE) and Term Frequency–Inverse Document Frequency (TF-IDF) vectors. Our results show that in both adversarial settings, on average the attacker is successful. We also found that attacks against TF-IDF are more successful compared to USE.
Anthology ID:
2021.blackboxnlp-1.36
Volume:
Proceedings of the Fourth BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP
Month:
November
Year:
2021
Address:
Punta Cana, Dominican Republic
Editors:
Jasmijn Bastings, Yonatan Belinkov, Emmanuel Dupoux, Mario Giulianelli, Dieuwke Hupkes, Yuval Pinter, Hassan Sajjad
Venue:
BlackboxNLP
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
457–467
Language:
URL:
https://aclanthology.org/2021.blackboxnlp-1.36
DOI:
10.18653/v1/2021.blackboxnlp-1.36
Bibkey:
Cite (ACL):
Anahita Samadi, Debapriya Banerjee, and Shirin Nilizadeh. 2021. Attacks against Ranking Algorithms with Text Embeddings: A Case Study on Recruitment Algorithms. In Proceedings of the Fourth BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP, pages 457–467, Punta Cana, Dominican Republic. Association for Computational Linguistics.
Cite (Informal):
Attacks against Ranking Algorithms with Text Embeddings: A Case Study on Recruitment Algorithms (Samadi et al., BlackboxNLP 2021)
Copy Citation:
PDF:
https://aclanthology.org/2021.blackboxnlp-1.36.pdf