[Paper Review] Annotation Order Matters: Recurrent Image Annotator for Arbitrary Length Image Tagging
This paper proposes a Recurrent Image Annotator (RIA) that frames image tagging as a sequence generation problem using RNNs, enabling arbitrary-length tag prediction based on image content. The key contribution is demonstrating that tag sequence order during training critically impacts performance, with rare-first ordering yielding the best results across datasets.
Automatic image annotation has been an important research topic in facilitating large scale image management and retrieval. Existing methods focus on learning image-tag correlation or correlation between tags to improve annotation accuracy. However, most of these methods evaluate their performance using top-k retrieval performance, where k is fixed. Although such setting gives convenience for comparing different methods, it is not the natural way that humans annotate images. The number of annotated tags should depend on image contents. Inspired by the recent progress in machine translation and image captioning, we propose a novel Recurrent Image Annotator (RIA) model that forms image annotation task as a sequence generation problem so that RIA can natively predict the proper length of tags according to image contents. We evaluate the proposed model on various image annotation datasets. In addition to comparing our model with existing methods using the conventional top-k evaluation measures, we also provide our model as a high quality baseline for the arbitrary length image tagging task. Moreover, the results of our experiments show that the order of tags in training phase has a great impact on the final annotation performance.
Motivation & Objective
- To address the limitation of fixed-length top-k evaluation in image annotation, which does not reflect real-world human tagging behavior.
- To propose a novel sequence generation approach for image tagging that naturally predicts variable-length tag sequences based on image content.
- To investigate the impact of tag sequence order during training on the performance of sequence-based image annotation models.
- To establish a high-quality baseline for the emerging task of arbitrary-length image tagging.
Proposed method
- Formulates image annotation as a sequence generation problem using a Recurrent Neural Network (RNN) conditioned on CNN-embedded image features.
- Uses a pre-trained CNN (GoogLeNet) to extract image-level features (fc7 layer) as input to the RNN.
- Employs an RNN decoder to generate tags one-by-one, leveraging autoregressive prediction with hidden state context.
- Explores multiple tag ordering strategies—dictionary, random, frequent-first, rare-first—for training to assess their impact on model generalization.
- Applies dropout (0.5) in tag classification layers and uses cross-entropy loss for end-to-end training.
- Evaluates performance using standard metrics (precision, recall, F1) and introduces a novel N+ score to assess per-class performance.
Experimental results
Research questions
- RQ1How does the choice of tag sequence order during training affect the performance of a sequence-based image annotation model?
- RQ2Can a recurrent model effectively generate variable-length tag sequences that reflect the semantic richness of different images?
- RQ3Does the proposed RIA model achieve competitive performance compared to state-of-the-art methods in both top-5 and arbitrary-length annotation settings?
- RQ4Is there a specific tag ordering strategy that consistently improves model generalization and per-class performance?
Key findings
- The rare-first tag ordering strategy outperforms all other orderings across all evaluation metrics (precision, recall, F1) on the IAPR TC12 and ESP Game datasets.
- Models trained with rare-first order converge faster and achieve significantly higher per-class recall, especially for rare tags.
- The frequent-first ordering performs poorly, particularly in terms of recall and F1, due to over-prioritizing easy-to-predict frequent tags and harming rare tag prediction.
- The RIA model achieves comparable top-5 performance to state-of-the-art methods using only deep features, without expensive metric learning or hand-crafted features.
- The model runs in 5 ms per image on a GPU, demonstrating high inference efficiency compared to KNN-based baselines.
- The study confirms that tag sequence order is a critical hyperparameter in sequence-based image annotation, with significant impact on model performance.
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.