This paper explores the vulnerability of Open-Set Recognition (OSR) systems to adversarial attacks. The authors demonstrate that while simple "familiarity-based" scoring rules are currently state-of-the-art for identifying novel objects, they are highly susceptible to gradient-based perturbations that can trick a model into misclassifying novel categories as known, or vice versa.
TL;DR
The researchers show that Open-Set Recognition (OSR) models relying on "familiarity scores" can be easily compromised by adversarial attacks, especially when the attacker knows which samples are novel. While it is easier to make a novel object look familiar than to hide familiar features, both types of attacks can effectively destroy a model's ability to distinguish between known and unknown classes.
What Problem Does This Paper Address?
Most machine learning classifiers operate under a "closed-set" assumption: they only expect to see classes they were trained on. In the real world, however, models frequently encounter "novel" categories. Open-Set Recognition (OSR) aims to identify these novel samples so the model can flag them rather than making a confident but wrong prediction.
Recent research has shown that simple baselines—specifically the Maximum Logit Score (MLS) and Maximum Softmax Probability (MSP)—are surprisingly effective at OSR. These methods rely on the "Familiarity Hypothesis," which suggests that novel samples naturally produce lower logit scores because they lack the features the model was trained to recognize. This paper investigates whether an adversary can exploit this by adding subtle perturbations to images to artificially manipulate these familiarity scores.
Methods
The authors evaluate two primary types of adversarial attacks, illustrated in the conceptual diagram below:
- False Familiarity (FFam): The attacker aims to increase the logit score of a novel sample to make it appear familiar (a "missed novelty").
- False Novelty (FNov): The attacker aims to decrease the logit scores of a known sample to make it appear novel (a "false alarm").
They test these attacks in two scenarios:
- Uninformed: The attacker applies the same attack to all images without knowing if they are novel or familiar.
- Informed: The attacker has access to the ground-truth labels (novel vs. familiar) and targets them specifically.
Technically, they utilize the Fast Gradient Sign Method (FGSM) and a more flexible iterative approach called RPROP to generate perturbations. They also propose a new metric, the Adversarial Reaction Score (ARS), which measures how much a sample's score changes after a small adversarial nudge, hypothesizing that novel and familiar samples might "react" differently.
Datasets
The study uses TinyImageNet, a standard benchmark for OSR.
- Training/Closed-set: 20 categories.
- Testing/Open-set: The remaining 180 categories are treated as novel.
- Architecture: A lightweight VGG32 model.
Key Insights and Ideas
- Asymmetry of Feature Manipulation: The authors confirm that it is much easier to amplify familiar features (raising logits) than to suppress them (lowering logits).
- Ranking vs. Absolute Scores: In the uninformed setting, FFam attacks are surprisingly ineffective at destroying the model's ranking performance (AUROC). This is because the attack raises the scores for both novel and familiar samples simultaneously, largely preserving the relative gap between them.
- The Danger of Informed Attacks: When an attacker knows which samples are novel, they can selectively boost only those scores. This "informed" setting can completely reverse the model's ranking, making novel samples appear more familiar than the actual known samples.
- ARS and Familiarity Correlation: The proposed Adversarial Reaction Score (ARS) turned out to be highly correlated with the original MLS. This suggests that a sample's "reaction" to an attack is mostly a reflection of its initial familiarity, rather than a distinct property that can be used to improve OSR performance.
Key Results
- Attack Potency: In the uninformed setting, False Novelty (FNov) attacks were more effective at reducing AUROC than False Familiarity (FFam) attacks for the same perturbation size ($\epsilon$).
- Iterative Superiority: Iterative attacks (RPROP) were significantly more powerful than single-step FGSM. For informed attacks, RPROP reduced the AUROC from a baseline of 0.835 to nearly 0.0 with very small perturbations.
- Visual Impact: As shown in the figure below, as the perturbation magnitude ($\epsilon$) increases, the images become noticeably noisier, but even small, subtle perturbations are enough to compromise the OSR system.
Limitations and Future Work
The authors acknowledge several limitations:
- Scope: The study is limited to one dataset (TinyImageNet) and one specific architecture (VGG32). Further testing is needed to see if these findings generalize to larger models (like Transformers) or different datasets.
- Metric Focus: While they focused on MLS, other familiarity scores like MSP should be evaluated for similar vulnerabilities.
- Defense: The paper focuses on the attack side. The next logical step is developing adversarial training techniques specifically designed to make OSR familiarity scores more robust.
Summary updated