[Paper Review] Deep Reinforcement Learning for Image Hashing
This paper proposes Deep Reinforcement Learning for Image Hashing (DRLIH), a novel method that models image hashing as a sequential decision-making process using a recurrent neural network (RNN) as an agent to learn binary hash codes step-by-step, incorporating feedback from previous errors. The approach achieves state-of-the-art performance on three benchmark datasets, with average MAP improvements of 0.026–0.206 over prior methods by leveraging sequential learning and action grouping to enhance hash function correlation.
Deep hashing methods have received much attention recently, which achieve promising results by taking advantage of the strong representation power of deep networks. However, most existing deep hashing methods learn a whole set of hashing functions independently, while ignore the correlations between different hashing functions that can promote the retrieval accuracy greatly. Inspired by the sequential decision ability of deep reinforcement learning, we propose a new Deep Reinforcement Learning approach for Image Hashing (DRLIH). Our proposed DRLIH approach models the hashing learning problem as a sequential decision process, which learns each hashing function by correcting the errors imposed by previous ones and promotes retrieval accuracy. To the best of our knowledge, this is the first work to address hashing problem from deep reinforcement learning perspective. The main contributions of our proposed DRLIH approach can be summarized as follows: (1) We propose a deep reinforcement learning hashing network. In the proposed network, we utilize recurrent neural network (RNN) as agents to model the hashing functions, which take actions of projecting images into binary codes sequentially, so that the current hashing function learning can take previous hashing functions' error into account. (2) We propose a sequential learning strategy based on proposed DRLIH. We define the state as a tuple of internal features of RNN's hidden layers and image features, which can reflect history decisions made by the agents. We also propose an action group method to enhance the correlation of hash functions in the same group. Experiments on three widely-used datasets demonstrate the effectiveness of our proposed DRLIH approach.
Motivation & Objective
- To address the limitation of existing deep hashing methods that learn hash functions independently, ignoring inter-function correlations that could improve retrieval accuracy.
- To explore the application of deep reinforcement learning (DRL) to image hashing by modeling the sequential nature of hash code generation.
- To design a novel DRL-based framework that enables agents (RNNs) to make decisions based on historical actions and feedback, improving overall retrieval performance.
- To validate the effectiveness of sequential learning and action grouping strategies in enhancing hash code relevance and retrieval accuracy.
Proposed method
- The proposed DRLIH framework uses a policy network based on RNNs to act as agents that sequentially generate binary hash codes for images, one bit at a time.
- The state representation combines image features and internal RNN hidden states to encode history of previous decisions and errors.
- A hierarchical reward function is designed to guide training: one for immediate bit-level accuracy and another for overall ranking performance.
- An action group mechanism is introduced, where multiple bits are generated together to strengthen correlation among bits in the same group.
- The network is trained end-to-end using reinforcement learning with policy gradient methods to maximize cumulative rewards.
- The framework integrates a feature representation network and a policy network, with the policy network learning to map image features to binary codes through sequential decision-making.
Experimental results
Research questions
- RQ1Can deep reinforcement learning be effectively applied to image hashing by modeling the learning of hash functions as a sequential decision process?
- RQ2How does incorporating historical decisions and errors from previous hash functions improve retrieval accuracy compared to independent learning?
- RQ3What is the impact of action grouping on enhancing the correlation between hash functions and improving retrieval performance?
- RQ4How does the proposed sequential learning strategy compare to independent learning in terms of ranking accuracy and robustness across datasets?
Key findings
- On the CIFAR10 dataset, DRLIH achieved an average MAP of 0.842, outperforming the best baseline (Baseline_ng) by 0.023 and Baseline_noseq by 0.043.
- On the NUS-WIDE dataset, DRLIH achieved an average MAP of 0.842, showing an absolute improvement of 0.027 over the best baseline (Baseline_ng) and 0.027 over Baseline_noseq.
- On the MIRFlickr dataset, DRLIH achieved an average MAP of 0.808, which is 0.026 higher than HashNet* (0.782) and 0.206 higher than SDH using hand-crafted features (0.602).
- Precision within Hamming radius 2 was consistently highest for DRLIH across all three datasets, confirming superior retrieval quality.
- The precision at top-k results and precision-recall curves demonstrated that DRLIH outperformed all state-of-the-art methods at all recall levels.
- Ablation studies confirmed that both the action group mechanism and sequential learning strategy significantly improved performance, with DRLIH surpassing both baseline variants on all metrics.
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.