Image Classification with Deep Reinforcement Active Learning

Mingyuan Jiu, Xuguang Song, Hichem Sahbi, Shupan Li, Yan Chen, Wei Guo, Lihua Guo, Mingliang Xu · DOI

Abstract

Deep learning is currently reaching outstanding performances on different tasks, including image classification, especially when using large neural networks. The success of these models is tributary to the availability of large collections of labeled training data. In many real-world scenarios, labeled data are scarce, and their hand-labeling is time, effort and cost demanding. Active learning is an alternative paradigm that mitigates the effort in hand-labeling data, where only a small fraction is iteratively selected from a large pool of unlabeled data, and annotated by an expert (a.k.a oracle), and eventually used to update the learning models. However, existing active learning solutions are dependent on handcrafted strategies that may fail in highly variable learning environments (datasets, scenarios, etc). In this work, we devise an adaptive active learning method based on Markov Decision Process (MDP). Our framework leverages deep reinforcement learning and active learning together with a Deep Deterministic Policy Gradient (DDPG) in order to dynamically adapt sample selection strategies to the oracle's feedback and the learning environment. Extensive experiments conducted on three different image classification benchmarks show superior performances against several existing active learning strategies.

Introduction

The performance of deep neural networks is heavily dependent on the volume of labeled training data. However, manual annotation is a significant bottleneck in many domains. Active Learning (AL) addresses this by iteratively selecting the most informative samples from an unlabeled pool for human labeling. Traditional AL methods typically rely on fixed heuristics like "Least Confidence" or "Entropy," which may not generalize across different datasets or training stages. This paper introduces Deep Reinforcement Active Learning (DRAL), which replaces these static rules with a learned, adaptive strategy.

The DRAL Framework

The authors frame the active learning process as a Markov Decision Process (MDP), optimized using an Actor-Critic architecture. The core idea is to learn a policy that maximizes the improvement in classifier accuracy over time.

The DRAL architecture showing the Actor-Critic updating loop and the active learning cycle.

Methodology

  1. State Representation ($S$): To maintain computational efficiency, the system first ranks unlabeled samples using a basic uncertainty measure. The top n samples are processed through a CNN to extract feature vectors, forming the state.
  2. Actor-Critic Architecture: The Actor network determines the action ($a \in \{0, 1\}$)—whether to label a sample or not. The Critic network evaluates these actions by estimating the expected future reward (Q-value).
  3. Reward Mechanism: The reward is defined as the change in classification accuracy ($Acc_t - Acc_{t-1}$) after incorporating the newly labeled data. This ensures the RL agent learns to select samples that directly contribute to model performance.
  4. Optimization: The framework employs Deep Deterministic Policy Gradient (DDPG) and a replay buffer to stabilize the learning of the selection policy.

Experimental Results

DRAL was evaluated on three benchmark datasets: CIFAR-10, SVHN, and Fashion-MNIST. It was compared against standard baselines: Random selection, Entropy (EN), Least Confidence (LC), and Margin Sampling (MS).

Performance and Data Efficiency

Across all benchmarks, DRAL consistently achieved higher accuracy with fewer labeled samples. For instance, on CIFAR-10 with 2,000 samples, DRAL reached 59.01% accuracy, outperforming the best baseline (MS at 58.15%). On Fashion-MNIST, DRAL demonstrated significant "label frugality," achieving with 1,000 samples what other methods required nearly 2,000 samples to reach.

Feature Space Analysis

A qualitative analysis using t-SNE visualizations reveals that DRAL selects samples that are more representative of the overall data distribution.

t-SNE visualizations comparing sample selection strategies. DRAL (bottom row) shows better coverage and clearer class separation compared to baselines.

As shown in the visualizations, DRAL-selected samples lead to more distinct and well-separated clusters in the latent space. Unlike uncertainty-based methods that often cluster samples near decision boundaries, DRAL learns a strategy that balances uncertainty with representativeness, leading to a more robust classifier.

Conclusion

DRAL represents a shift from handcrafted active learning heuristics to an adaptive, data-driven approach. By leveraging reinforcement learning, the framework dynamically adjusts its selection strategy based on actual performance gains. While the computational cost of training the RL agent is higher than simple heuristics, the significant reduction in required human labeling effort makes it a compelling solution for large-scale deep learning tasks. Future work will focus on scaling the method to more complex, high-resolution datasets and exploring proxy rewards to further improve efficiency.

Summary updated

BibTeX
@misc{jiu2024image,
  author = {Mingyuan Jiu and Xuguang Song and Hichem Sahbi and Shupan Li and Yan Chen and Wei Guo and Lihua Guo and Mingliang Xu},
  title = {{Image Classification with Deep Reinforcement Active Learning}},
  year = {2024},
  eprint = {2412.19877},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.19877},
}
Figure