Skip to main content
QUICK REVIEW

[论文解读] Attacks against Ranking Algorithms with Text Embeddings: a Case Study on Recruitment Algorithms

Anahita Samadi, Debapriya Banerjee|arXiv (Cornell University)|Aug 11, 2021
Adversarial Robustness in Machine LearningComputer Science参考文献 32被引用 2
一句话总结

本文提出针对使用文本嵌入(USE 和 TF-IDF)将简历与职位描述匹配的招聘排名算法的白盒和黑盒对抗攻击。通过在嵌入空间中识别高影响力关键词,攻击者显著提升了简历排名——在黑盒设置下,经过关键词注入后,接受率最高可达 100%。

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 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 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 is more successful compared to USE.

研究动机与目标

  • 研究使用文本嵌入进行简历与职位描述匹配的排名算法所面临的对抗性攻击。
  • 识别能最大程度提高简历与职位描述之间相似度得分的影响力关键词。
  • 开发一种无需事先了解嵌入模型的多标签神经网络黑盒攻击方法。
  • 评估不同嵌入技术(尤其是 TF-IDF 和通用句子编码器 USE)下的攻击成功率。

提出的方法

  • 提出一种白盒攻击方法,通过分析嵌入空间提取对余弦相似度得分具有高影响力的关键词。
  • 使用基于梯度的优化方法,识别在 USE 和 TF-IDF 向量空间中能最大程度提升简历与职位描述之间相似度的文本项。
  • 在黑盒设置中使用多标签神经网络,预测影响力关键词,且无需访问内部嵌入模型。
  • 在独热编码简历向量和每份简历前 50 个关键词的真实标签上训练神经网络,采用 70% 训练集和 30% 测试集的划分。
  • 通过将修改后的简历提交至招聘查询接口并测量排名和接受率的变化来验证攻击成功率。
  • 以余弦相似度作为核心度量,计算简历与职位描述之间的匹配得分。

实验结果

研究问题

  • RQ1攻击者如何在嵌入空间中识别最具影响力的关键词,以提升简历排名?
  • RQ2在使用 USE 和 TF-IDF 嵌入的情况下,白盒攻击在操纵相似度得分方面有多成功?
  • RQ3在不了解底层嵌入模型的情况下,黑盒攻击能否有效识别高影响力关键词?
  • RQ4基于 TF-IDF 和 USE 的排名系统中,攻击性能有何差异?
  • RQ5此类攻击在模拟招聘流程中的真实世界影响如何,特别是在简历接受率方面?

主要发现

  • 在白盒设置下,通过嵌入空间分析识别出的高影响力关键词进行战略性插入,攻击成功提高了简历与职位描述之间的相似度得分。
  • 使用多标签神经网络的黑盒攻击在关键词注入后,接受率从基线的 20% 提升至 100%。
  • 基于 TF-IDF 的攻击比基于 USE 的攻击更有效,其在提升简历排名方面的成功率更高。
  • 在复杂设置下,超过 200 份简历在关键词插入后排名提升了 400 个以上名次,显示出大规模影响。
  • 在简单黑盒设置中,神经网络模型在验证集上的最大 F1 得分为 0.82,在复杂设置中为 0.75,表明其具有出色的预测性能。
  • 本研究证实,即使无法访问模型内部参数,使用文本嵌入的排名算法也容易受到对抗性操纵的影响。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。