English

Seal Your Backdoor with Variational Defense

Machine Learning 2025-08-27 v3 Cryptography and Security

Abstract

We propose VIBE, a model-agnostic framework that trains classifiers resilient to backdoor attacks. The key concept behind our approach is to treat malicious inputs and corrupted labels from the training dataset as observed random variables, while the actual clean labels are latent. VIBE then recovers the corresponding latent clean label posterior through variational inference. The resulting training procedure follows the expectation-maximization (EM) algorithm. The E-step infers the clean pseudolabels by solving an entropy-regularized optimal transport problem, while the M-step updates the classifier parameters via gradient descent. Being modular, VIBE can seamlessly integrate with recent advancements in self-supervised representation learning, which enhance its ability to resist backdoor attacks. We experimentally validate the method effectiveness against contemporary backdoor attacks on standard datasets, a large-scale setup with 1kk classes, and a dataset poisoned with multiple attacks. VIBE consistently outperforms previous defenses across all tested scenarios.

Keywords

Cite

@article{arxiv.2503.08829,
  title  = {Seal Your Backdoor with Variational Defense},
  author = {Ivan Sabolić and Matej Grcić and Siniša Šegvić},
  journal= {arXiv preprint arXiv:2503.08829},
  year   = {2025}
}

Comments

Accepted to ICCV 2025

R2 v1 2026-06-28T22:16:42.375Z