Abstract
We propose a new approach to train a variational information bottleneck (VIB) that improves its robustness to adversarial perturbations. Unlike the traditional methods where the hard labels are usually used for the classification task, we refine the categorical class information in the training phase with soft labels which are obtained from a pre-trained reference neural network and can reflect the likelihood of the original class labels. We also relax the Gaussian posterior assumption in the VIB implementation by using the mutual information neural estimation. Extensive experiments have been performed with the MNIST and CIFAR-10 datasets, and the results show that our proposed approach significantly outperforms the benchmarked models.
Introduction
Deep Neural Networks (DNNs) are notoriously fragile; small, intentional perturbations to an input (adversarial attacks) can cause them to fail spectacularly. The Information Bottleneck (IB) theory suggests a solution: a model should only keep the parts of the input $X$ that are absolutely necessary to predict the label $Y$, discarding "nuisance" information that might contain adversarial noise.
While the Variational Information Bottleneck (VIB) implements this using variational inference, it has two major weaknesses:
- The Gaussian Trap: Most VIB models assume the latent representation follows a simple Gaussian distribution. Real-world data manifolds are rarely that simple.
- Hard Label Limitations: Training with one-hot "hard" labels discards the rich, continuous relationship between classes, making the model's output manifold jagged and easier to disrupt.
Methods
The authors propose a three-stage training method called PROP (or REF-VIB) to harden the bottleneck:
- Soft Labels via Reference Network: Instead of training against hard categorical labels, they first pre-train a "Reference Network" ($f_R$) on clean data. They use the numerical outputs of its last hidden layer as "soft labels." This transforms the classification task into a regression-like problem, forcing the VIB model to map perturbed inputs onto a smooth, pre-learned manifold.
- Mutual Information Neural Estimation (MINE): To move beyond the restrictive Gaussian assumption, the authors use MINE. This involves a discriminator network ($f_D$) that learns to distinguish between joint samples (input and its encoding) and marginal samples (shuffled inputs and encodings). This allows the model to estimate and minimize mutual information $I(Z;X)$ for much more complex, non-Gaussian posterior distributions.
- Adversarial Training with Reference: The final loss function ($\mathcal{L}_{PROP}$) combines the MINE bottleneck term with a Mean Squared Error (MSE) loss between the VIB model's output and the reference network's soft labels. This is done using both clean and adversarial examples (generated via FGSM or PGD).
Key Results
The proposed VIB-M (REF+PGD) model demonstrated dramatic improvements in robustness across standard computer vision benchmarks like MNIST and CIFAR-10.
- MNIST vs. PGD Attack: As shown in the figure above, at a perturbation level of $\epsilon = 0.3$, a standard VIB model's accuracy drops to 0%. In contrast, the proposed REF-VIB model maintains a staggering 93.64% accuracy.
- CIFAR-10 vs. PGD Attack: At $\epsilon = 0.06$, the baseline VGG16 model drops to 8.92% accuracy. The REF-VIB model holds at 59.87%, significantly outperforming standard adversarial training and knowledge distillation methods.
- Efficiency: The authors found that using FGSM (a fast, single-step attack) during training with their soft-label method yielded results comparable to the much slower, iterative PGD training, offering a path to faster robust training.
Conclusion
By treating a pre-trained reference network as a guide and relaxing the Gaussian assumption via MINE, the REF-VIB model learns latent representations that better fit the true structure of the data. This makes the bottleneck more efficient at filtering noise and prevents the "label leaking" common in single-step attacks. While the method introduces some computational overhead and dependency on the reference network, the gains in adversarial robustness are substantial.
Summary updated