Lune

DAC2022Top-tier venue

PIM-DH: ReRAM-based processing-in-memory architecture for deep hashing acceleration

Fangxin Liu, Wenbo Zhao, Yongbiao Chen, Zongwu Wang, Zhezhi He, Rui Yang, Qidong Tang, Tao Yang, Cheng Zhuo, Li Jiang

Abstract

Deep hashing has gained growing momentum in large-scale image retrieval. However, deep hashing is computation-and memoryintensive, which demands hardware acceleration. The unique process of hash sequence computation in deep hashing is non-trivial to accelerate due to the lack of an efficient compute primitive for Hamming distance calculation and ranking.

This paper proposes the first PIM-based scheme for deep hashing accelerator, namely PIM-DH. PIM-DH is supported by an algorithm and architecture co-design. The proposed algorithm seeks to compress the hash sequence to increase the retrieval efficiency by exploiting the hash code sparsity without accuracy loss. Further, we design a lightweight circuit to assist CAM to optimize hash computation efficiency. This design leads to an elegant extension of current PIM-based architectures for adapting to various hashing algorithms and arbitrary size of hash sequence induced by pruning. Compared to the state-of-the-art software framework running on Intel Xeon CPU and NVIDIA RTX2080 GPU, PIM-DH achieves an average 4.75E+03 speedup with 4.64E+05 energy reduction over CPU, 2.30E+02 speedup with 3.38E+04 energy reduction over GPU. Compared with PIM architecture CASCADE, PIM-DH can improve computing efficiency by 17.49× and energy efficiency by 41.38×.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ReCG: ReRAM-Accelerated Sparse Conjugate Gradient cites GaaS-X: Graph Analytics Accelerator Supporting Sparse Data Representation using Crossbar Architectures
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. ReCG: ReRAM-Accelerated Sparse Conjugate GradientMingjia Fan, Xiaoming Chen, Dechuang Yang, Zhou Jin et al.DAC 2024 · 5 citations

Builds on2

  1. GaaS-X: Graph Analytics Accelerator Supporting Sparse Data Representation using Crossbar ArchitecturesNagadastagiri Challapalle, Sahithi Rampalli, Linghao Song, Nandhini Chandramoorthy et al.ISCA 2020 · 67 citations
  2. Central Similarity Quantization for Efficient Image and Video RetrievalLi Yuan, Tao Wang, Xiaopeng Zhang, Francis E. H. Tay et al.CVPR 2020

Related papers

  1. Accelerate Learning of Deep Hashing With Gradient AttentionLong-Kai Huang, Jianda Chen, Sinno Jialin PanICCV 2019 · 22 citations
  2. Asymmetric Deep Hashing for Efficient Hash Code CompressionShu Zhao, Dayan Wu, Wanqian Zhang, Yu Zhou et al.ACM MM 2020 · 18 citations
  3. Binary Neural Network Hashing for Image RetrievalWanqian Zhang, Dayan Wu, Yu Zhou, Bo Li et al.SIGIR 2021 · 19 citations
  4. Webly Supervised Image Hashing with Lightweight Semantic Transfer NetworkHui Cui, Lei Zhu, Jingjing Li, Zheng Zhang et al.ACM MM 2022 · 8 citations
  5. Two-pronged Strategy: Lightweight Augmented Graph Network Hashing for Scalable Image RetrievalHui Cui, Lei Zhu, Jingjing Li, Zhiyong Cheng et al.ACM MM 2021 · 16 citations
Dusk over the sea between two cliffs drawn in fine vertical lines