Introduction
Multi-label image annotation is a fundamental task in computer vision that involves assigning a set of relevant tags to an image. While Convolutional Neural Networks (CNNs) excel at feature extraction, capturing the semantic relationships between labels—such as the co-occurrence of "sky" and "clouds"—remains a challenge. Existing CNN-RNN frameworks often treat these labels as a sequence, imposing an arbitrary order (e.g., alphabetical or frequency-based) that does not reflect the unordered nature of image tags. This paper introduces the Multi-order RNN, a training paradigm designed to learn diverse inter-label dependencies without being constrained by a single fixed sequence.
The Multi-order RNN Framework
The proposed architecture utilizes a ResNet-101 backbone to extract image features, which are then processed by an LSTM for label prediction. Unlike traditional models that predict a single sequence, the Multi-order RNN is trained to explore multiple valid permutations of the label set.
The core of this approach lies in two mechanisms:
- Dynamic Masking: At each time-step $t$, the model attempts to predict all ground-truth labels.
- Confidence-based Feedback: The most confident prediction from the previous step is fed back into the RNN. To ensure the model learns new information, this "easy" label is masked out in the current step, forcing the network to identify remaining dependencies.
Inference and Label Aggregation
During inference, the model does not rely on an "End-of-Sequence" (<EOS>) token. Instead, it runs for a fixed number of time-steps $T$. The final confidence score for each label is determined by performing label-wise max-pooling across all time-steps. This allows the model to capture a label whenever it appears most prominently in the sequence, regardless of its position.
Experimental Results
The Multi-order RNN was evaluated on the MS-COCO and NUS-WIDE datasets, demonstrating significant improvements over state-of-the-art baselines:
- MS-COCO: The model achieved a Per-image F1 score of 80.11, a substantial increase from the ~68.0 achieved by fixed-order CNN-RNN models. Notably, the Top-1 accuracy reached 93.49%, indicating a superior ability to identify the most salient object first.
- NUS-WIDE: The framework reached a Per-image F1 of 74.74, outperforming previous order-free and partial-labeling approaches.
Conclusion
By explicitly modeling inter-label dependencies through dynamic masking and multi-order training, the Multi-order RNN effectively bridges the gap between sequence modeling and set prediction. While the current greedy masking strategy and fixed time-step hyperparameters offer room for optimization, the results confirm that allowing the model to explore various label permutations leads to more robust and accurate image annotation.
Summary updated