mlsanityData to 14 Oct 2026

FCert: Certifiably Robust Few-Shot Classification in the Era of Foundation Models

arXiv 2404.08631 ↗First posted 12 Apr 2024cs.CRcited by 3

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Few-shot classification with foundation models (e.g., CLIP, DINOv2, PaLM-2) enables users to build an accurate classifier with a few labeled training samples (called support samples) for a classification task. However, an attacker could perform data poisoning attacks by manipulating some support samples such that the classifier makes the attacker-desired, arbitrary prediction for a testing input. Empirical defenses cannot provide formal robustness guarantees, leading to a cat-and-mouse game between the attacker and defender. Existing certified defenses are designed for traditional supervised learning, resulting in sub-optimal performance when extended to few-shot classification. In our work, we propose FCert, the first certified defense against data poisoning attacks to few-shot classification. We show our FCert provably predicts the same label for a testing input under arbitrary data poisoning attacks when the total number of poisoned support samples is bounded. We perform extensive experiments on benchmark few-shot classification datasets with foundation models released by OpenAI, Meta, and Google in both vision and text domains. Our experimental results show our FCert: 1) maintains classification accuracy without attacks, 2) outperforms existing state-of-the-art certified defenses for data poisoning attacks, and 3) is efficient and general.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 65 of its 93 references that are in the map. First posted on arXiv 12 Apr 2024.

Builds on

65 of 93 references.

Closest ancestors · 11

Same direction, newest first

  1. 2023TextGuard: Provable Defense against Backdoor Attacks on Text Classification19 Nov
  2. 2023Run-Off Election: Improved Provable Defense against Data Poisoning Attacks5 Feb
  3. 2022CorruptEncoder: Data Poisoning based Backdoor Attacks to Contrastive Learning15 Nov
  4. 2022Not All Poisons are Created Equal: Robust Training against Data Poisoning18 Oct
  5. 2022Friendly Noise against Adversarial Noise: A Powerful Defense against Data Poisoning Attacks14 Aug
  6. 2022BagFlip: A Certified Defense against Data Poisoning26 May
  7. 2022PoisonedEncoder: Poisoning the Unlabeled Pre-training Data in Contrastive Learning13 May
  8. 2022Indiscriminate Poisoning Attacks on Unsupervised Contrastive Learning22 Feb
  9. 2022Improved Certified Defenses against Data Poisoning with (Deterministic) Finite Aggregation5 Feb
  10. 2021Poison Forensics: Traceback of Data Poisoning Attacks in Neural Networks13 Oct
  11. 2021De-Pois: An Attack-Agnostic Defense against Data Poisoning Attacks8 May

Other references · 54

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  5. 2013Intriguing properties of neural networkscited by 5,155
  6. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  7. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  8. 2016Understanding intermediate layers using linear classifier probescited by 1,353
  9. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
  10. 2023PaLM 2 Technical Reportcited by 1,162
  11. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
  12. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
38 more
  1. 2018Byzantine-Robust Distributed Learning: Towards Optimal Statistical Ratescited by 711
  2. 2019A Closer Look at Few-shot Classificationcited by 684
  3. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 580
  4. 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 519
  5. 2018Spectral Signatures in Backdoor Attackscited by 484
  6. 2018Certified Robustness to Adversarial Examples with Differential Privacycited by 468
  7. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
  8. 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 456
  9. 2018Meta-learning with differentiable closed-form solverscited by 397
  10. 2019Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examplescited by 315
  11. 2017Certified Defenses for Data Poisoning Attackscited by 303
  12. 2023Poisoning Web-Scale Training Datasets is Practicalcited by 290
  13. 2017Towards Poisoning of Deep Learning Algorithms with Back-gradient Optimizationcited by 197
  14. 2018SentiNet: Detecting Localized Universal Attacks Against Deep Learning Systemscited by 152
  15. 2021Poisoning and Backdooring Contrastive Learningcited by 151
  16. 2018Stronger Data Poisoning Attacks Break Data Sanitization Defensescited by 135
  17. 2020Backdoor Attacks to Graph Neural Networkscited by 128
  18. 2022Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a Differencecited by 126
  19. 2020RAB: Provable Robustness Against Backdoor Attackscited by 118
  20. 2020Deep Partition Aggregation: Provable Defense against General Poisoning Attackscited by 115
  21. 2020Certified Robustness to Label-Flipping Attacks via Randomized Smoothingcited by 108
  22. 2020SoK: Certified Robustness for Deep Neural Networkscited by 105
  23. 2020Intrinsic Certified Robustness of Bagging against Data Poisoning Attackscited by 94
  24. 2019TapNet: Neural Network Augmented with Task-Adaptive Projection for Few-Shot Learningcited by 91
  25. 2021Backdoor Pre-trained Models Can Transfer to Allcited by 86
  26. 2019Defending Neural Backdoors via Generative Distribution Modelingcited by 84
  27. 2019Data Poisoning against Differentially-Private Learners: Attacks and Defensescited by 78
  28. 2020On Certifying Robustness against Backdoor Attacks via Randomized Smoothingcited by 77
  29. 2020DeepSweep: An Evaluation Framework for Mitigating DNN Backdoor Attacks using Data Augmentationcited by 77
  30. 2019Bypassing Backdoor Detection Algorithms in Deep Learningcited by 74
  31. 2018Incremental Few-Shot Learning with Attention Attractor Networkscited by 66
  32. 2021Provably Secure Federated Learning against Malicious Clientscited by 63
  33. 2020Certified Robustness of Nearest Neighbors against Data Poisoning and Backdoor Attackscited by 60
  34. 2022FLCert: Provably Secure Federated Learning against Poisoning Attackscited by 30
  35. 2023Does Few-shot Learning Suffer from Backdoor Attacks?cited by 20
  36. 2022Few-shot learning for medical text: A systematic reviewcited by 13
  37. 2020Yet Meta Learning Can Adapt Fast, It Can Also Break Easilycited by 10
  38. 2023PORE: Provably Robust Recommender Systems against Data Poisoning Attackscited by 10

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Pick your Poison: Undetectability versus Robustness in Data Poisoning Attacks
  2. 2023Defending Pre-trained Language Models as Few-shot Learners against Backdoor Attacks
  3. 2025Prototype-Guided Robust Learning against Backdoor Attacks
  4. 2023Mole Recruitment: Poisoning of Image Classifiers via Selective Batch Sampling
  5. 2024Certified Robustness to Data Poisoning in Gradient-Based Training
  6. 2025Enabling Validation for Robust Few-Shot Recognition
  7. 2022Few-shot Backdoor Attacks via Neural Tangent Kernels
  8. 2022WeDef: Weakly Supervised Backdoor Defense for Text Classification