Litcius/Paper detail

Domain Knowledge Alleviates Adversarial Attacks in Multi-Label Classifiers

Stefano Melacci, Gabriele Ciravegna, Angelo Sotgiu, Ambra Demontis, Battista Biggio, Marco Gori, Fabio Roli

2021IEEE Transactions on Pattern Analysis and Machine Intelligence17 citationsDOIOpen Access PDF

Abstract

Adversarial attacks on machine learning-based classifiers, along with defense mechanisms, have been widely studied in the context of single-label classification problems. In this paper, we shift the attention to multi-label classification, where the availability of domain knowledge on the relationships among the considered classes may offer a natural way to spot incoherent predictions, i.e., predictions associated to adversarial examples lying outside of the training data distribution. We explore this intuition in a framework in which first-order logic knowledge is converted into constraints and injected into a semi-supervised learning problem. Within this setting, the constrained classifier learns to fulfill the domain knowledge over the marginal distribution, and can naturally reject samples with incoherent predictions. Even though our method does not exploit any knowledge of attacks during training, our experimental analysis surprisingly unveils that domain-knowledge constraints can help detect adversarial examples effectively, especially if such constraints are not known to the attacker. We show how to implement an adaptive attack exploiting knowledge of the constraints and, in a specifically-designed setting, we provide experimental comparisons with popular state-of-the-art attacks. We believe that our approach may provide a significant step towards designing more robust multi-label classifiers.

Topics & Concepts

Adversarial systemExploitComputer scienceArtificial intelligenceClassifier (UML)Domain knowledgeMachine learningIntuitionLyingDomain (mathematical analysis)Boosting (machine learning)Training setContext (archaeology)Adversarial machine learningRobustness (evolution)Knowledge-based systemsLeverage (statistics)Domain adaptationNatural languageSupervised learningDeep learningKnowledge engineeringOne shotContext modelAdversarial Robustness in Machine LearningExplainable Artificial Intelligence (XAI)Hate Speech and Cyberbullying Detection
Domain Knowledge Alleviates Adversarial Attacks in Multi-Label Classifiers | Litcius