Skip to main content
QUICK REVIEW

[Paper Review] Can Domain Knowledge Alleviate Adversarial Attacks in Multi-Label Classifiers?

Stefano Melacci, Gabriele Ciravegna|arXiv (Cornell University)|Oct 19, 2020
Adversarial Robustness in Machine LearningComputer Science47 references9 citations
TL;DR

This paper proposes a semi-supervised multi-label classification framework that injects first-order logic knowledge as constraints to improve robustness against adversarial attacks. By enforcing domain knowledge on the marginal distribution, the model detects and rejects incoherent predictions—often indicative of adversarial examples—demonstrating strong defense capabilities even without prior attack knowledge.

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. While we also show that an adaptive attack exploiting knowledge of the constraints may still deceive our classifier, it remains an open issue to understand how hard for an attacker would be to infer such constraints in practical cases. For this reason, we believe that our approach may provide a significant step towards designing robust multi-label classifiers.

Motivation & Objective

  • To investigate whether domain knowledge can enhance robustness in multi-label classifiers against adversarial attacks.
  • To address the challenge of detecting adversarial examples in multi-label settings where predictions may be incoherent due to distributional shifts.
  • To develop a semi-supervised learning framework that incorporates first-order logic constraints to enforce consistency with known domain relationships.
  • To evaluate whether such constraints can naturally reject adversarial inputs without explicit adversarial training.
  • To assess the resilience of the method against adaptive attacks that may exploit knowledge of the constraints.

Proposed method

  • First-order logic rules expressing domain knowledge about class relationships are converted into differentiable constraints for model training.
  • A semi-supervised learning framework is employed, where the classifier is optimized to satisfy these constraints over the marginal distribution of labels.
  • The model learns to reject predictions that violate the logical constraints, which often correspond to adversarial inputs lying outside the training data distribution.
  • The method does not require adversarial examples during training, relying instead on the inherent incoherence of adversarial predictions under domain constraints.
  • Constraints are applied during both training and inference to ensure consistency with known domain relationships.
  • The framework is evaluated under both non-adaptive and adaptive attack scenarios to test robustness.

Experimental results

Research questions

  • RQ1Can domain knowledge constraints in a semi-supervised learning framework effectively detect adversarial examples in multi-label classification?
  • RQ2How effective is the method in detecting adversarial examples when the attacker is unaware of the constraints?
  • RQ3To what extent can an adaptive attacker circumvent the defense by learning the constraints?
  • RQ4Does the integration of logical constraints improve robustness without requiring adversarial data during training?
  • RQ5How does the model’s performance degrade under adaptive attacks that target the constraint structure?

Key findings

  • The proposed method effectively detects adversarial examples in multi-label classification by identifying incoherent predictions that violate domain knowledge constraints.
  • Even without prior exposure to adversarial examples during training, the model achieves strong defense performance, particularly when constraints are unknown to the attacker.
  • An adaptive attacker who is aware of the constraints can still craft successful attacks, indicating that constraint knowledge is a vulnerability.
  • The method remains robust in practical scenarios where attackers are unlikely to infer the full set of constraints.
  • The integration of logical constraints into semi-supervised learning provides a natural mechanism for rejecting out-of-distribution adversarial predictions.
  • The results suggest that domain knowledge can serve as a promising, lightweight defense mechanism in multi-label settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.