Deep Active Learning with Noise Stability

Xingjian Li, Pengkun Yang, Yangcheng Gu, Xueying Zhan, Tianyang Wang, Min Xu, Chengzhong XuAAAI 2024

Introduction

Active Learning (AL) aims to maximize model performance by strategically selecting the most informative unlabeled data points for annotation. Traditional methods often rely on uncertainty estimation or diversity metrics. However, deep neural networks (DNNs) are frequently overconfident, and existing AL approaches—such as Bayesian methods, auxiliary models (VAEs/GANs), or gradient-based methods (e.g., BADGE)—often suffer from high computational overhead or limited applicability to complex tasks like semantic segmentation.

Researchers have introduced NoiseStability, a novel AL method that identifies informative samples by measuring the "wiggle" in a model's output when its weights are slightly perturbed. This approach provides a computationally efficient, general-purpose framework for estimating both uncertainty and diversity without requiring complex auxiliary architectures or expensive gradient calculations.

Methodology: The Noise Stability "Wiggle Test"

The core mechanism of NoiseStability involves observing how stable a model's internal representations are when subjected to parameter noise.

  1. Weight Perturbation: A small amount of Gaussian noise is added to the model's weights: $\theta' = \theta + \Delta\theta$.
  2. Feature Deviation ($\Delta z$): The algorithm measures the change in intermediate features or final outputs between the original and the perturbed model.
  3. Uncertainty and Diversity:
  4. Magnitude: A large change in output suggests the model has not yet "solidified" its understanding of that specific sample, serving as a proxy for uncertainty.
  5. Direction: The direction of the deviation indicates which patterns the model is sensitive to. By selecting samples with diverse deviation directions, the algorithm ensures the batch covers a wide range of data patterns.
  6. Selection Strategy: The algorithm samples $K$ noise directions, concatenates the deviations, and employs a greedy k-center algorithm to select a batch that is both highly sensitive and diverse.

Experimental Results

The authors evaluated NoiseStability across diverse benchmarks, including image classification (MNIST, CIFAR-10/100, SVHN, Caltech101), regression (Ames Housing), semantic segmentation (Cityscapes), and NLP (MRPC with BERT).

NoiseStability consistently outperforms standard baselines across multiple image classification benchmarks, including CIFAR-10, CIFAR-100, and SVHN.

Key Findings

  • State-of-the-Art Performance: NoiseStability consistently matched or exceeded the performance of top-tier baselines like BADGE, VAAL, and CoreSet across almost all tested domains.
  • Scalability for Complex Tasks: The method showed a "remarkable improvement" in semantic segmentation on the Cityscapes dataset. Unlike gradient-based methods that require computationally expensive pseudo-labels for every pixel, NoiseStability only requires a forward pass, making it highly scalable for high-dimensional outputs.
On the Cityscapes semantic segmentation task, NoiseStability demonstrates superior efficiency and accuracy compared to traditional AL methods.
  • Efficiency: Competitive performance was achieved with as few as $K=10$ noise samples, making the method suitable for real-world production pipelines.

Discussion and Insights

The mathematical foundation of NoiseStability reveals a deep connection to the Jacobian matrix. The authors proved that the expected magnitude of the noise-induced "wiggle" is equivalent to the Frobenius norm of the Jacobian. This allows NoiseStability to capture gradient-like information "for free," without actual backpropagation.

Furthermore, the method's robustness to data imbalance was evident in its performance on the SVHN dataset. Unlike auxiliary-model-based methods that can be biased by skewed data distributions, NoiseStability remains focused on the primary model's internal sensitivity.

Limitations and Future Work

The primary hyperparameter is the noise magnitude ($\zeta$). While a stable range ($10^{-4}$ to $10^{-2}$) was identified, tuning may be necessary for significantly different architectures. Future research may explore non-Gaussian noise distributions to better target specific model weaknesses.

Conclusion

NoiseStability offers a simple, efficient, and versatile solution for deep active learning. By leveraging weight perturbations to reveal model uncertainty and data diversity, it bypasses the complexities of auxiliary models and the computational costs of gradient-based selection, particularly in high-dimensional tasks.

Summary updated

BibTeX
@inproceedings{li2024deep,
  author = {Xingjian Li and Pengkun Yang and Yangcheng Gu and Xueying Zhan and Tianyang Wang and Min Xu and Chengzhong Xu},
  title = {{Deep Active Learning with Noise Stability}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i12.29270},
}
Figure