Seal Your Backdoor with Variational Defense

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Sabolić, Ivan, Grcić, Matej, Šegvić, Siniša
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911122302435328
author Sabolić, Ivan
Grcić, Matej
Šegvić, Siniša
author_facet Sabolić, Ivan
Grcić, Matej
Šegvić, Siniša
contents 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 1$k$ classes, and a dataset poisoned with multiple attacks. VIBE consistently outperforms previous defenses across all tested scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2503_08829
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Seal Your Backdoor with Variational Defense
Sabolić, Ivan
Grcić, Matej
Šegvić, Siniša
Machine Learning
Cryptography and Security
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 1$k$ classes, and a dataset poisoned with multiple attacks. VIBE consistently outperforms previous defenses across all tested scenarios.
title Seal Your Backdoor with Variational Defense
topic Machine Learning
Cryptography and Security
url https://arxiv.org/abs/2503.08829