Adversarial examples for extreme multilabel text classification

被引:0
作者
Mohammadreza Qaraei
Rohit Babbar
机构
[1] Aalto University,CS Department
来源
Machine Learning | 2022年 / 111卷
关键词
Extreme classification; Adversarial attacks; Multilabel problems; Text classification; Data imbalance;
D O I
暂无
中图分类号
学科分类号
摘要
Extreme Multilabel Text Classification (XMTC) is a text classification problem in which, (i) the output space is extremely large, (ii) each data point may have multiple positive labels, and (iii) the data follows a strongly imbalanced distribution. With applications in recommendation systems and automatic tagging of web-scale documents, the research on XMTC has been focused on improving prediction accuracy and dealing with imbalanced data. However, the robustness of deep learning based XMTC models against adversarial examples has been largely underexplored. In this paper, we investigate the behaviour of XMTC models under adversarial attacks. To this end, first, we define adversarial attacks in multilabel text classification problems. We categorize attacking multilabel text classifiers as (a) positive-to-negative, where the target positive label should fall out of top-k predicted labels, and (b) negative-to-positive, where the target negative label should be among the top-k predicted labels. Then, by experiments on APLC-XLNet and AttentionXML, we show that XMTC models are highly vulnerable to positive-to-negative attacks but more robust to negative-to-positive ones. Furthermore, our experiments show that the success rate of positive-to-negative adversarial attacks has an imbalanced distribution. More precisely, tail classes are highly vulnerable to adversarial attacks for which an attacker can generate adversarial samples with high similarity to the actual data-points. To overcome this problem, we explore the effect of rebalanced loss functions in XMTC where not only do they increase accuracy on tail classes, but they also improve the robustness of these classes against adversarial attacks. The code for our experiments is available at https://github.com/xmc-aalto/adv-xmtc.
引用
收藏
页码:4539 / 4563
页数:24
相关论文
共 23 条
[1]  
Babbar R(2014)On power law distributions in large-scale taxonomies ACM SIGKDD Explorations Newsletter 16 47-56
[2]  
Metzig C(2019)Data scarcity, robustness and extreme multi-label classification Machine Learning 108 1329-1351
[3]  
Partalas I(2020)Bonsai: diverse and shallow trees for extreme multi-label classification Machine Learning 87 1-21
[4]  
Gaussier E(2019)Extreme classification in log memory using count-min sketch: A case study of amazon search with 50m products Advances in Neural Information Processing Systems 32 13265-13275
[5]  
Amini MR(2021)Convex surrogates for unbiased loss functions in extreme classification with missing labels In Proceedings of the Web Conference 2021 3711-3720
[6]  
Babbar R(2020)Adversarial attacks on deep-learning models in natural language processing: A survey ACM Transactions on Intelligent Systems and Technology (TIST) 11 1-41
[7]  
Schölkopf B(undefined)undefined undefined undefined undefined-undefined
[8]  
Khandagale S(undefined)undefined undefined undefined undefined-undefined
[9]  
Xiao H(undefined)undefined undefined undefined undefined-undefined
[10]  
Babbar R(undefined)undefined undefined undefined undefined-undefined