Proceedings

Contrastive Transformer Masked Image Hashing for Degraded Image Retrieval

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 1218-1226.

https://doi.org/10.24963/ijcai.2024/135

Abstract

Hashing utilizes hash code as a compact image representation, offering excellent performance in large-scale image retrieval due to its computational and storage advantages. However, the prevalence of degraded images on social media platforms, resulting from imperfections in the image capture process, poses new challenges for conventional image retrieval methods. To address this issue, we propose Contrastive Transformer Masked Image Hashing (CTMIH), a novel deep unsupervised hashing method specifically designed for degraded image retrieval, which is challenging yet relatively less studied. CTMIH addresses the problem by training on transformed and masked images, aiming to learn transform-invariant hash code in an unsupervised manner to mitigate performance degradation caused by image deterioration. CTMIH utilizes Vision Transformer (ViT) architecture applied to image patches to capture distant semantic relevance. CTMIH introduces cross-view debiased contrastive loss to align hash tokens from augmented views of the same image and presents semantic mask reconstruction loss at the patch level to recover masked patch tokens. Extensive empirical studies conducted on three benchmark datasets demonstrate the superiority of the proposed CTMIH over the state-of-the-art in both degraded and normal image retrieval.

  1. [Cao et al., 2017] Zhangjie Cao, Mingsheng Long, Jianmin Wang, and Philip S Yu. Hashnet: Deep learning to hash by continuation. In Proceedings of IEEE International Con- ference on Computer Vision, pages 5608-5617, 2017.
  2. [Chen et al., 2020] Ting Chen, Simon Kornblith, Moham- mad Norouzi, and Geoffrey E. Hinton. A simple frame- work for contrastive learning of visual representations. In Proceedings of International Conference on Machine Learning, volume 119, pages 1597-1607, 2020.
  3. [Chua et al., 2009] Tat-Seng Chua, Jinhui Tang, Richang Hong, Haojie Li, Zhiping Luo, and Yantao Zheng. Nus- wide: a real-world web image database from national uni- versity of singapore. In Proceedings of ACM Interna- tional Conference on Image and Video Retrieval, pages 1-9, 2009.
  4. [Dai et al., 2017] Bo Dai, Ruiqi Guo, Sanjiv Kumar, Niao He, and Le Song. Stochastic generative hashing. In Pro- ceedings of International Conference on Machine Learn- ing, pages 913-922, 2017.
  5. [Dosovitskiy et al., 2021] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Min- derer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Trans- formers for image recognition at scale. In Proceedings of International Conference on Learning Representations, 2021.
  6. [Fan et al., 2020] Lixin Fan, Kam Woh Ng, Ce Ju, Tianyu Zhang, and Chee Seng Chan. Deep polarized network for supervised learning of accurate binary hashing codes. In Proceedings of International Joint Conference on Artifi- cial Intelligence, pages 825-831, 2020. IJCAI
  7. [Gong et al., 2012] Yunchao Gong, Svetlana Lazebnik, Al- bert Gordo, and Florent Perronnin. Iterative quantization: A procrustean approach to learning binary codes for large- scale image retrieval. IEEE Transactions on Pattern Anal- ysis and Machine Intelligence, 35(12):2916-2929, 2012.
  8. [Goodfellow et al., 2014] Ian J. Goodfellow, Jean Pouget- Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron C. Courville, and Yoshua Bengio. Generative adversarial networks. Communications of the ACM, 63:139 -144, 2014.
  9. [He et al., 2020] Kaiming He, Haoqi Fan, Yuxin Wu, Sain- ing Xie, and Ross B. Girshick. Momentum contrast for unsupervised visual representation learning. In Proceed- ings of IEEE Conference on Computer Vision and Pattern Recognition, pages 9726-9735, 2020.
  10. [Kingma and Welling, 2013] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. In Proceedings of International Conference on Learning Representations, 2013.
  11. [Krizhevsky et al., 2012] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In Proceedings of Ad- vances in Neural Information Processing Systems, pages 1106-1114, 2012.
  12. [LeCun et al., 2015] Yann LeCun, Yoshua Bengio, and Ge- offrey Hinton. Deep learning. Nature, 521(7553):436- 444, 2015.
  13. [Li and van Gemert, 2021] Yunqiang Li and Jan van Gemert. Deep unsupervised image hashing by maximizing bit en- tropy. In Proceedings of AAAI Conference on Artificial Intelligence, pages 2002-2010, 2021.
  14. [Li et al., 2017] Qi Li, Zhenan Sun, Ran He, and Tieniu Tan. Deep supervised discrete hashing. In Proceedings of Ad- vances in Neural Information Processing Systems, pages 2482-2491, 2017.
  15. [Li et al., 2019] Dangwei Li, Zhang Zhang, Xiaotang Chen, and Kaiqi Huang. A richly annotated pedestrian dataset for person retrieval in real surveillance scenarios. IEEE Trans- actions on Image Processing, 28(4):1575-1590, 2019.
  16. [Lin et al., 2014] Tsung-Yi Lin, Michael Maire, Serge Be- longie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Com- mon objects in context. In Proceedings of European Con- ference on Computer Vision, pages 740-755, 2014.
  17. [Liu et al., 2019] Haomiao Liu, Ruiping Wang, Shiguang Shan, and Xilin Chen. Deep supervised hashing for fast image retrieval. Proceedings of IEEE Conference on Com- puter Vision and Pattern Recognition, 127(9):1217-1234, 2019.
  18. [Luo et al., 2021] Xiao Luo, Daqing Wu, Zeyu Ma, Chong Chen, Minghua Deng, Jinwen Ma, Zhongming Jin, Jian- qiang Huang, and Xian-Sheng Hua. Cimon: Towards high-quality hash codes. In Proceedings of International Joint Conference on Artificial Intelligence, pages 902- 908, 2021. IJCAI
  19. [Luo et al., 2023] Xiao Luo, Haixin Wang, Daqing Wu, Chong Chen, Minghua Deng, Jianqiang Huang, and Xian-Sheng Hua. A survey on deep hashing methods. ACM Transactions on Knowledge Discovery from Data, 17(1):15:1-15:50, 2023.
  20. [Ma et al., 2022] Zeyu Ma, Xiao Luo, Yingjie Chen, Mix- iao Hou, Jinxing Li, Minghua Deng, and Guangming Lu. Improved deep unsupervised hashing with fine-grained se- mantic similarity mining for multi-label image retrieval. In Proceedings of International Joint Conference on Arti- ficial Intelligence, pages 1254-1260, 2022. IJCAI
  21. [Ng et al., 2023] Kam Woh Ng, Xiatian Zhu, Jiun Tian Hoe, Chee Seng Chan, Tianyu Zhang, Yi-Zhe Song, Tao Xi- ang, Universiti Malaya CISiP, and GACRD Center. Un- supervised hashing with similarity distribution calibration. 2023.
  22. [Park et al., 2023] Dongwon Park, Byung Hyun Lee, and Se Young Chun. All-in-one image restoration for unknown degradations using adaptive discriminative filters for spe- cific degradations. In Proceedings of IEEE Conference on Computer Vision and Pattern Recognition, pages 5815- 5824, 2023.
  23. [Qiu et al., 2021] Zexuan Qiu, Qinliang Su, Zijing Ou, Jianxing Yu, and Changyou Chen. Unsupervised hashing with contrastive information bottleneck. In Proceedings of International Joint Conference on Artificial Intelligence, pages 959-965, 2021. IJCAI
  24. [Russakovsky et al., 2014] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander Berg, and Li Fei-Fei. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115, 09 2014.
  25. [Shen et al., 2015] Fumin Shen, Chunhua Shen, Wei Liu, and Heng Tao Shen. Supervised discrete hashing. In Pro- ceedings of IEEE Conference on Computer Vision and Pat- tern Recognition, pages 37-45, 2015.
  26. [Shen et al., 2020] Yuming Shen, Jie Qin, Jiaxin Chen, Mengyang Yu, Li Liu, Fan Zhu, Fumin Shen, and Ling Shao. Auto-encoding twin-bottleneck hashing. In Pro- ceedings of IEEE Conference on Computer Vision and Pat- tern Recognition, pages 2818-2827, 2020.
  27. [Su et al., 2018] Shupeng Su, Chao Zhang, Kai Han, and Yonghong Tian. Greedy hash: Towards fast optimization for accurate hash coding in cnn. Proceedings of Advances in Neural Information Processing Systems, 31, 2018.
  28. [van der Maaten and Hinton, 2008] Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. The Journal of Machine Learning Research, 9(86):2579-2605, 2008.
  29. [Wang et al., 2017] Jingdong Wang, Ting Zhang, Nicu Sebe, Heng Tao Shen, et al. A survey on learning to hash. IEEE Transactions on Pattern Analysis and Machine In- telligence, 40(4):769-790, 2017.
  30. [Wang et al., 2020] Yang Wang, Yang Cao, Zheng-Jun Zha, Jing Zhang, and Zhiwei Xiong. Deep degradation prior for low-quality image classification. In Proceedings of IEEE Conference on Computer Vision and Pattern Recognition, pages 11049-11058, 2020.
  31. [Wang et al., 2022] Jinpeng Wang, Ziyun Zeng, Bin Chen, Tao Dai, and Shu-Tao Xia. Contrastive quantization with code memory for unsupervised image retrieval. In Pro- ceedings of AAAI Conference on Artificial Intelligence, pages 2468-2476, 2022.
  32. [Weiss et al., 2008] Yair Weiss, Antonio Torralba, and Rob Fergus. Spectral hashing. Proceedings of Advances in Neural Information Processing Systems, 21, 2008.
  33. [Yang et al., 2018] Erkun Yang, Cheng Deng, Tongliang Liu, Wei Liu, and Dacheng Tao. Semantic structure-based unsupervised deep hashing. In Proceedings of Interna- tional Joint Conference on Artificial Intelligence, pages 1064-1070, 2018. IJCAI
  34. [Yang et al., 2022] Zhou Yang, Weisheng Dong, Xin Li, Jin- jian Wu, Leida Li, and Guangming Shi. Self-feature dis- tillation with uncertainty modeling for degraded image recognition. In Proceedings of European Conference on Computer Vision, pages 552-569, 2022.
  35. [Yu et al., 2022] Jiaguo Yu, Huming Qiu, Dubing Chen, and Haofeng Zhang. Weighted contrative hashing. In Proceed- ings of the Asian Conference on Computer Vision, pages 3861-3876, 2022.
  36. [Yu et al., 2023] Jiaguo Yu, Yuming Shen, and Haofeng Zhang. Hashing one with all. In Proceedings of ACM In- ternational Conference on Multimedia, pages 6420-6431, 2023.
  37. [Zhang et al., 2017] Haofeng Zhang, Li Liu, Yang Long, and Ling Shao. Unsupervised deep hashing with pseudo labels for scalable image retrieval. IEEE Transactions on Image Processing, 27(4):1626-1638, 2017.
  38. [Zhou et al., 2021] Jinghao Zhou, Chen Wei, Huiyu Wang, Wei Shen, Cihang Xie, Alan Yuille, and Tao Kong. ibot: Image bert pre-training with online tokenizer. Proceedings of International Conference on Learning Representations, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards