LBA require a large amount of labeled training data for both the target class and the non-target classes
Comments
Still require downstream knowledge.
Hidden Trigger Backdoor Attacks (AAAI 2020)
- Due to the lack of interpretability of deep learning models, one cannot directly read/analyze neurons to understand their functionality, thus concluding the error-inducing neuron
- Even with the error-inducing neurons located, fixing them in a logical way is still difficult, since all the neurons have been trained based on a large amount of data samples. Fine-tuning them with new data samples may cause overfitting or catastrophic forgetting problems, which downgrade the accuracy of the model.
Method
- Locating error-inducing neurons
- Generating the image pair.
- Identifying the EI features.
- Valuating neurons.
- Progressive neuron ablation
- Error Fixing
- Neuron-flip.
- Neuron-fine-tuning.
- Inherent Discontinuity in NLP Applications.
- language domain is not continuous and language models are not differentiable.
- Infeasibility in Optimization Results.
- generated embedding triggers are infeasible in the language domain
- optimization can be performed at the token level
- Inverting Triggers with Unknown Length is Difficult.
- inverting a large trigger produces numerous false positives.
- there is not an easy way to have a differentiable reduction on trigger size.
- Generative Model Is Incapable of Generating Complex Triggers.
- require knowing the distribution of triggers beforehand and effectively learning such distribution; difficult to generate a complex trigger
Method
- Given a transformer model
$M$ , it first transforms the model to an equivalent but differentiable form$M’$ , which features a word-level encoding scheme instead of the original token-level encoding. - The encoding makes it amenable to word-level trigger inversion.
- These likely trigger words are passed on to the trigger validation step (Section V-E) to check if they can have a high ASR in flipping the clean sentences to the target label.
- (only invert some words in the trigger) check if the model is particularly discriminative for the inverted words.
Challenges
- TeD deliberately injects one or more defensive trapdoors into a DNN model to protect one or more categories through back- door attack techniques.
- One attack to evade TeD is a white-box attack on TeD by assuming that adversaries know the trapdoor signatures used in detection
- The other is a grey-box attack by assuming that adversaries know some characteristics of the trapdoored defense, such as the number of trapdoors and the layer to detect.
They can evade TeD’s baseline detection but their success rates are significantly reduced when TeD reinforces its detection with randomly sampled neurons and multiple trapdoors
Method
Feature-Indistinguishable Attack (FIA)
- Optimization
- Drive adversarial examples into target category.
- An adversarial example has a feature vector along a direction similar to that of the target representation.
- Basic Scheme
- Choose the expectation of feature representations of benign examples in 𝐶𝑡 as the target representation.
- Remove outliers with DBSCAN before calculating the expectation
- Adaptive Iteration
Comments
- Impossible in black-box
Challenges
Black-box targeted adversarial attack using transfer attack
Method
Activation Attack (AA)
- The intuition comes from the observation that intermediate features of well trained models are transferable
- By perturbing the source image, the algorithm drives the layer L activations of a white- box model on the source image, towards the layer L activations of that model for a target image.
AA crafts adversarial examples by minimizing the Euclidean distance to a target example at some latent layer in the feature space. The target example is the one with the largest Euclidean distance to the feature vector of the source example of the current adversarial example among a small set of benign examples randomly sampled from the target category.
Method
Feature Distribution Attack (FDA)
- For each layer in
$\mathcal{L}$ , we train a small, binary, one-versus-all classifier$g$ for each of the classes in$\mathcal{C}$ , representing the probability that the input feature map is from a specific class$c$ . - maximizing the target category probability at a latent layer.
- (optional) minimizing the source category probability or maximizing the distance of the perturbed features from the original features at the same layer.
Hybrid Batch Attacks: Finding Black-box Adversarial Examples with Limited Queries (USENIX Security 2020)
Challenges
- Transfer attacks suffer from transfer loss as local adversarial examples may not successfully transfer to the target model.
- Optimization attacks require many queries, but do not suffer from transfer loss
Method
- The white-box attack uses the local models to find a candidate adversarial example. (Local adversarial examples are better starting points for optimization attacks than original seeds.)
- The black-box attack returns a successful adversarial example.
- Black-box attack produces input-label pairs during the search process which can be used to tune the local models.
Comment
The proposed attack is very easy. The importance is how they write the story.
Challenges
- “gradient obfuscation” defenses have been proven vulnerable to blackbox attacks as well as approximation techniques like BPDA.
- Other defenses increase model robustness to adversarial examples or use secondary DNNs to detect adversarial examples.
- Finally, other defenses identify adversarial examples at inference time.
All of these fail or are significantly weakened against stronger adversarial attacks or high confidence adversarial examples
Method
- Defending a Single Label
- Embedding Trapdoors.
- Training the Trapdoored Model. (records the “trapdoor signature”)
- Detecting Adversarial Attacks. (cosine similarity of neuron activation vector)
- Defending Multiple Labels Single label trapdoor defense can be extended to multiple or all labels in the model.
Comments
Similar to Neural Cleanse
PatchGuard: A Provably Robust Defense against Adversarial Patches via Small Receptive Fields and Masking
Challenges
- Previous empirical defenses are heuristic approaches and lack robustness against a strong adaptive attacker
- Existing certifiably robust defenses performance is still limited in terms of provable robustness and standard classification accuracy (i.e., clean accuracy), leaving defenses against adversarial patches an unsolved/open problem.
Method
- The use of Convolutional Neural Networks (CNNs) with small receptive fields to impose a bound on the number of features that can be corrupted due to an adversarial patch.
- Robust masking aims to detect and mask these abnormal features
Comments
Challenges
- There is only one prior work discussing defenses for YOLOv2;
- The only defense is restricted to the setting of a non-adaptive adversarial patch at the image corner and does not have any security guarantee.
Method
- Base Detector is a conventional detector that typically predicts precise bounding boxes on clean images.
- Objectness Predictor aims to robustly predict an objectness map.
- Objectness Explainer uses the predicted bounding boxes to explain/match the predicted objectness and determines the final output.
Comments
differ from PatchGuard where PatchGuard return a prediction logits.
Challenges
- The dependence on specific model architectures;
- Abstention from predictions.
Method Double masking -Adaptive mask set generation
- First-round masking: detecting a prediction disagreement.
- Second-round masking: settling the prediction disagreement
- Finally, all disagreers do not return, return the one-mask majority.
Comments
- Limited scenario and still exist possible adaptive attack;
- high computational cost where 6*6 mask require at least 72 for two-mask setting.
Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing
Method
Create TOC: ./gh-md-toc README.md












