On Improving Deep Active Learning with Formal Verification

Jonathan Spiegelman, Guy Amir, Guy KatzarXiv 2025 · DOI

Abstract

Deep Active Learning (DAL) aims to minimize labeling costs by selecting the most informative data points for human annotation. This paper proposes a novel framework that leverages formal verification to augment these labeled samples with diverse adversarial examples. Unlike standard gradient-based augmentation, formal verification systematically explores the decision space to find "off-gradient" failure points. Experimental results on MNIST, FashionMNIST, and CIFAR-10 demonstrate that verification-based augmentation consistently improves model generalization and achieves higher Area Under the Budget Curve (AUBC) scores than traditional methods.

Introduction

Deep Learning models typically require vast amounts of labeled data, which is often expensive to acquire. Deep Active Learning (DAL) addresses this by intelligently selecting samples for labeling. To maximize the utility of each labeled point, researchers often use data augmentation, specifically adversarial training. However, common gradient-based attacks like the Fast Gradient Sign Method (FGSM) are often limited to a single direction, producing redundant synthetic samples. This research investigates whether formal verification can provide a more diverse and systematic set of failure points to enhance the training process.

Methodology

The proposed framework integrates formal verification into the active learning loop through two primary mechanisms:

  1. Verification-Based Augmentation (FV-Adv): When a new image is labeled, the system uses a formal verifier (such as the Marabou solver) to probe the local region for up to 10 distinct adversarial examples. To prevent redundancy, diversity constraints are added to the solver, "blocking" regions around previously discovered counterexamples.
  2. FVAAL (Formal Verification-Based Adversarial Active Learning): A new selection strategy is introduced that estimates the "margin" (distance to the nearest decision boundary) using a binary search over gradient-based perturbations. Samples with the smallest margins are prioritized for human labeling.

Experimental Setup

The approach was evaluated on three standard image classification benchmarks: MNIST, FashionMNIST, and CIFAR-10. These datasets provide a range of complexity to test the efficiency and robustness of the active learning algorithms across different model architectures.

Results and Discussion

The experimental results highlight the superiority of formal verification over gradient-based methods.

Test accuracy over iterations for MNIST, FashionMNIST, and CIFAR-10 datasets.

As shown in the learning curves above, methods augmented with formal verification (FV-Adv) generally achieve higher test accuracy faster than their FGSM-Adv counterparts. A key finding is the "Cloud Effect": by adding a diverse set of adversarial points, the model learns the precise boundaries of its current classification logic more effectively. The authors found that verification-generated samples are significantly more spread out in the feature space than those generated by FGSM, which likely drives the improved generalization.

AUBC scores for different active learning methods and augmentation strategies.

The quantitative results in the table confirm that BADGE+FV-Adv achieves the highest AUBC on MNIST and FashionMNIST. Notably, on the more complex CIFAR-10 dataset, even a Random selection strategy augmented with formal verification outperformed many sophisticated DAL algorithms, suggesting that high-quality augmentation can be as critical as the selection strategy itself.

Conclusion and Future Work

While formal verification offers significant gains in label efficiency and model accuracy, it comes with a higher computational cost compared to gradient-based methods. Future work will focus on scaling these techniques to larger architectures like ResNets and exploring more efficient verifiers to reduce the overhead of generating adversarial "clouds."

Summary updated

BibTeX
@misc{spiegelman2025improving,
  author = {Jonathan Spiegelman and Guy Amir and Guy Katz},
  title = {{On Improving Deep Active Learning with Formal Verification}},
  year = {2025},
  eprint = {2512.14170},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.14170},
}
Figure