[Paper Review] Visual Transformer for Task-aware Active Learning
This paper proposes a novel task-aware joint learning framework that integrates Visual Transformers (VT) into active learning to model non-local dependencies between labelled and unlabelled examples. By jointly training a learner and a sampler using a labelled-vs-unlabelled discriminator and task-specific loss, the method achieves state-of-the-art performance across image classification and object detection benchmarks, outperforming prior methods by significant margins.
Pool-based sampling in active learning (AL) represents a key framework for an-notating informative data when dealing with deep learning models. In this paper, we present a novel pipeline for pool-based Active Learning. Unlike most previous works, our method exploits accessible unlabelled examples during training to estimate their co-relation with the labelled examples. Another contribution of this paper is to adapt Visual Transformer as a sampler in the AL pipeline. Visual Transformer models non-local visual concept dependency between labelled and unlabelled examples, which is crucial to identifying the influencing unlabelled examples. Also, compared to existing methods where the learner and the sampler are trained in a multi-stage manner, we propose to train them in a task-aware jointly manner which enables transforming the latent space into two separate tasks: one that classifies the labelled examples; the other that distinguishes the labelling direction. We evaluated our work on four different challenging benchmarks of classification and detection tasks viz. CIFAR10, CIFAR100,FashionMNIST, RaFD, and Pascal VOC 2007. Our extensive empirical and qualitative evaluations demonstrate the superiority of our method compared to the existing methods. Code available: https://github.com/razvancaramalau/Visual-Transformer-for-Task-aware-Active-Learning
Motivation & Objective
- To address the cold-start problem in active learning by leveraging unlabelled data during early training stages.
- To improve sample selection in pool-based active learning by modeling non-local visual dependencies between labelled and unlabelled examples.
- To develop a joint-learning framework that simultaneously optimizes for downstream task performance and informative sample selection.
- To adapt Visual Transformers to active learning for the first time, enabling long-range visual concept modeling beyond local features.
- To demonstrate generalization across diverse benchmarks, including real and synthetic data, for both classification and object detection tasks.
Proposed method
- Integrates a Visual Transformer (VT) module between convolutional feature extractors and the final classifier to model non-local interactions between labelled and unlabelled examples in a batch.
- Uses a joint-learning objective that minimizes both the downstream task loss (e.g., cross-entropy for classification, SSD loss for detection) and a labelled-vs-unlabelled discriminator loss.
- Treats each feature representation of both labelled and unlabelled examples as separate tokens in the VT input, enabling cross-example attention across the batch.
- Employs uncertainty estimation on the VT-processed feature space to guide selection of unlabelled examples that are visually distinct and informative.
- Adapts the architecture for object detection by placing the VT bottleneck on the SSD confidence head and using SSD loss as the task-specific objective.
- Extends the framework to synthetic data sub-sampling by training on augmented real (RaFD) and synthetic (StarGAN-generated) face expression data.
Experimental results
Research questions
- RQ1Can Visual Transformers effectively model non-local visual dependencies between labelled and unlabelled examples to improve active learning performance?
- RQ2Does joint training of the learner and sampler via a shared objective lead to better sample selection and model generalization compared to multi-stage training?
- RQ3How does the proposed method perform across diverse benchmarks, including image classification and object detection tasks?
- RQ4Can the method generalize to synthetic data sub-sampling, and does it outperform existing approaches in such settings?
- RQ5What is the impact of architectural choices, such as batch size and VT depth, on the scalability and performance of the framework?
Key findings
- The proposed method, TJLS (Task-aware Joint Learning with Visual Transformer), achieves state-of-the-art performance on CIFAR10, CIFAR100, FashionMNIST, RaFD, and Pascal VOC 2007.
- On Pascal VOC 2007 object detection, TJLS achieves over 76% mAP after 7 selection stages, outperforming previous SOTA methods like Learning Loss and CDAL.
- In sub-sampling synthetic face expression data from StarGAN, the method significantly outperforms existing baselines, demonstrating strong generalization to synthetic data augmentation.
- The joint-learning framework with VT-based sampling reduces performance saturation in early stages compared to baseline methods, especially when data is scarce.
- The method maintains robustness even with limited data, showing consistent gains across multiple benchmarks despite the cold-start problem.
- TJLS outperforms JLS (without VT) in all benchmarks, confirming the benefit of modeling non-local dependencies via Visual Transformers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.