TL;DR
This paper investigates the vulnerability of "familiarity-based" open-set recognition (OSR) models to adversarial attacks. They demonstrate that while attacks can indeed fool these models, the effectiveness depends heavily on whether the attacker knows if an image is truly novel or a known category. They also propose a new scoring metric, the Adversarial Reaction Score (ARS), but find it doesn't outperform existing methods.
What Problem Does This Paper Address?
In real-world applications, machine learning models often encounter data that doesn't belong to any of the categories they were trained on. This is known as "open-set recognition" (OSR). A common approach to OSR is to measure how "familiar" an input is to the model's training data. Models that score inputs as highly familiar are considered to be recognizing a known category, while low scores indicate a novel, out-of-distribution category. However, these "familiarity-based" methods, like those using Maximum Softmax Probability (MSP) or Maximum Logit Score (MLS), are susceptible to adversarial attacks. These attacks subtly alter an input image to trick the model into misclassifying it. This paper aims to understand how different types of adversarial attacks (False Familiarity, which makes novel images look familiar, and False Novelty, which makes known images look novel) affect these OSR models, and whether the attacker's knowledge of the input's true category (informed vs. uninformed attacks) matters.
Methods
The authors explore gradient-based adversarial attacks, specifically the Fast Gradient Sign Method (FGSM) and an iterative attack method (using RPROP for adaptive step sizes). They investigate two main attack strategies:
- False Familiarity (FFam): Aims to increase the model's confidence that a novel image belongs to a known category.
- False Novelty (FNov): Aims to decrease the model's confidence that a known image belongs to a familiar category.
They also differentiate between:
- Uninformed Attacks: The attacker applies the same attack to all images, regardless of whether they are familiar or novel.
- Informed Attacks: The attacker knows the true category of the image and tailors the attack accordingly (e.g., FFam on novel images, FNov on familiar images).
Finally, they propose and evaluate an Adversarial Reaction Score (ARS), which measures the difference in a model's familiarity score before and after an adversarial perturbation.
Datasets
The experiments were conducted on the TinyImageNet dataset. This dataset is a subset of ImageNet, with 20 classes used for training (closed-set) and 180 classes for testing (open-set). The authors used a VGG322 CNN architecture, achieving a closed-set accuracy of 84.2%.
Key Insights and Ideas
- Informed attacks are significantly more potent: Knowing whether an image is novel or familiar allows attackers to much more effectively degrade the OSR model's performance.
- False Novelty attacks are key for uninformed settings: When the attacker doesn't know the image's true category, False Novelty attacks (making known images look novel) are more effective at destroying the model's ranking than False Familiarity attacks. This is because they tend to lower the scores of known categories more broadly.
- False Familiarity attacks are powerful in informed settings: When the attacker knows an image is novel, they can effectively make it appear familiar, significantly impacting OSR performance.
- Iterative attacks outperform FGSM: More sophisticated iterative attacks can achieve much lower OSR performance (AUROC) than single-step FGSM attacks, even with smaller perturbation magnitudes.
- ARS is correlated with MLS: The proposed Adversarial Reaction Score shows promise in distinguishing novel from familiar samples, but its effectiveness is highly correlated with the original Maximum Logit Score (MLS), suggesting it doesn't offer a fundamentally new way to discriminate.
Key Results
- Informed attacks, by strategically applying FFam to novel images and FNov to familiar images, can reverse the ranking of novel and familiar images almost perfectly, achieving AUROC values close to random chance (e.g., 0.007 for FGSM, 0.000 for iterative attacks).
- Uninformed False Novelty attacks can significantly decrease the AUROC, while False Familiarity attacks, though they might increase median logit scores, often preserve the ranking because they boost scores for both novel and familiar images.
- Iterative attacks reduced AUROC from 0.34 (FGSM) to 0.06 for FNov, and from 0.12 (FGSM) to 0.01 for FFam, demonstrating their superior effectiveness.
- The proposed ARS, when using FNov FGSM with the 2-norm loss, achieved an AUROC of 0.81, which is slightly lower than the baseline MLS score of 0.83.
Limitations and Future Work
- Dataset and Architecture Specificity: The study is limited to the TinyImageNet dataset and a VGG322 architecture. Generalizing these findings to other datasets and model architectures requires further research.
- MLS Focus: The paper primarily focuses on the Maximum Logit Score (MLS). Future work should investigate if these observations hold for other familiarity scores like MSP.
- Large Epsilon Values: For very large perturbation magnitudes (epsilon), adversarial attacks create visually noticeable noise, leading to random OSR scores and rendering the attacks less meaningful for subtle manipulation.
- ARS Performance: The proposed Adversarial Reaction Score (ARS) did not outperform the baseline MLS score. Further analysis is needed to understand the relationship between ARS and MLS and to potentially develop more effective ARS variants. The authors suggest that future work could focus on designing better scoring rules and making familiarity scores more robust to adversarial attacks.
Summary updated