Nested Hash Layer: A Plug-and-play Module for Multiple-length Hash Code Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: He, Liyang, Zhang, Yuren, Li, Rui, Huang, Zhenya, Wu, Runze, Chen, Enhong
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909627822637056
author He, Liyang
Zhang, Yuren
Li, Rui
Huang, Zhenya
Wu, Runze
Chen, Enhong
author_facet He, Liyang
Zhang, Yuren
Li, Rui
Huang, Zhenya
Wu, Runze
Chen, Enhong
contents Deep supervised hashing is essential for efficient storage and search in large-scale image retrieval. Traditional deep supervised hashing models generate single-length hash codes, but this creates a trade-off between efficiency and effectiveness for different code lengths. To find the optimal length for a task, multiple models must be trained, increasing time and computation. Furthermore, relationships between hash codes of different lengths are often ignored. To address these issues, we propose the Nested Hash Layer (NHL), a plug-and-play module for deep supervised hashing models. NHL generates hash codes of multiple lengths simultaneously in a nested structure. To resolve optimization conflicts from multiple learning objectives, we introduce a dominance-aware dynamic weighting strategy to adjust gradients. Additionally, we propose a long-short cascade self-distillation method, where long hash codes guide the learning of shorter ones, improving overall code quality. Experiments indicate that the NHL achieves an overall training speed improvement of approximately 5 to 8 times across various deep supervised hashing models and enhances the average performance of these models by about 3.4%.
format Preprint
id arxiv_https___arxiv_org_abs_2412_08922
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Nested Hash Layer: A Plug-and-play Module for Multiple-length Hash Code Learning
He, Liyang
Zhang, Yuren
Li, Rui
Huang, Zhenya
Wu, Runze
Chen, Enhong
Computer Vision and Pattern Recognition
Information Retrieval
Deep supervised hashing is essential for efficient storage and search in large-scale image retrieval. Traditional deep supervised hashing models generate single-length hash codes, but this creates a trade-off between efficiency and effectiveness for different code lengths. To find the optimal length for a task, multiple models must be trained, increasing time and computation. Furthermore, relationships between hash codes of different lengths are often ignored. To address these issues, we propose the Nested Hash Layer (NHL), a plug-and-play module for deep supervised hashing models. NHL generates hash codes of multiple lengths simultaneously in a nested structure. To resolve optimization conflicts from multiple learning objectives, we introduce a dominance-aware dynamic weighting strategy to adjust gradients. Additionally, we propose a long-short cascade self-distillation method, where long hash codes guide the learning of shorter ones, improving overall code quality. Experiments indicate that the NHL achieves an overall training speed improvement of approximately 5 to 8 times across various deep supervised hashing models and enhances the average performance of these models by about 3.4%.
title Nested Hash Layer: A Plug-and-play Module for Multiple-length Hash Code Learning
topic Computer Vision and Pattern Recognition
Information Retrieval
url https://arxiv.org/abs/2412.08922