Skip to main content
QUICK REVIEW

[Paper Review] Deep Sketch Hashing: Fast Free-hand Sketch-Based Image Retrieval

Li Liu, Fumin Shen|arXiv (Cornell University)|Mar 16, 2017
Advanced Image and Video Retrieval TechniquesComputer Science55 references24 citations
TL;DR

This paper proposes Deep Sketch Hashing (DSH), a novel end-to-end deep hashing framework that accelerates free-hand sketch-based image retrieval (SBIR) by learning compact binary codes for sketches and natural images. By introducing a semi-heterogeneous CNN architecture with auxiliary sketch-tokens to reduce geometric distortion, DSH achieves state-of-the-art retrieval accuracy with significantly faster speed and lower memory usage on large-scale datasets like TU-Berlin Extension and Sketchy.

ABSTRACT

Free-hand sketch-based image retrieval (SBIR) is a specific cross-view retrieval task, in which queries are abstract and ambiguous sketches while the retrieval database is formed with natural images. Work in this area mainly focuses on extracting representative and shared features for sketches and natural images. However, these can neither cope well with the geometric distortion between sketches and images nor be feasible for large-scale SBIR due to the heavy continuous-valued distance computation. In this paper, we speed up SBIR by introducing a novel binary coding method, named extbf{Deep Sketch Hashing} (DSH), where a semi-heterogeneous deep architecture is proposed and incorporated into an end-to-end binary coding framework. Specifically, three convolutional neural networks are utilized to encode free-hand sketches, natural images and, especially, the auxiliary sketch-tokens which are adopted as bridges to mitigate the sketch-image geometric distortion. The learned DSH codes can effectively capture the cross-view similarities as well as the intrinsic semantic correlations between different categories. To the best of our knowledge, DSH is the first hashing work specifically designed for category-level SBIR with an end-to-end deep architecture. The proposed DSH is comprehensively evaluated on two large-scale datasets of TU-Berlin Extension and Sketchy, and the experiments consistently show DSH's superior SBIR accuracies over several state-of-the-art methods, while achieving significantly reduced retrieval time and memory footprint.

Motivation & Objective

  • To address the challenge of geometric distortion between free-hand sketches and natural images in category-level sketch-based image retrieval (SBIR).
  • To improve retrieval efficiency for large-scale SBIR by replacing continuous-valued distance computation with binary hashing.
  • To jointly optimize deep hash functions and binary codes in an end-to-end framework for better cross-view similarity learning.
  • To mitigate the domain gap between sketches and images using auxiliary sketch-tokens as intermediate representations.
  • To achieve high retrieval accuracy with low computational and memory overhead, suitable for mobile and wearable devices.

Proposed method

  • A semi-heterogeneous deep architecture with three separate CNNs: one for sketches, one for natural images, and a middle network for auxiliary sketch-tokens to bridge modality gaps.
  • The sketch-token network processes edge-like representations derived from sketches to model structural consistency and reduce geometric distortion.
  • Binary codes are learned via an alternating optimization process that jointly minimizes cross-view pairwise similarity loss and semantic factorization loss.
  • The framework integrates deep feature learning with binary coding in an end-to-end manner, enabling joint optimization of hash functions and codes.
  • The method uses a contrastive loss to preserve semantic similarity between sketch-image pairs and a factorization loss to capture intrinsic category correlations.
  • The architecture is trained end-to-end to produce compact 128-bit binary codes that preserve both inter-modality and intra-category relationships.

Experimental results

Research questions

  • RQ1Can a deep hashing framework effectively reduce geometric distortion between free-hand sketches and natural images in SBIR?
  • RQ2Does end-to-end learning of binary codes and deep hash functions improve retrieval accuracy compared to traditional continuous-feature methods?
  • RQ3Can auxiliary sketch-tokens significantly enhance cross-view feature alignment and semantic consistency in sketch-based retrieval?
  • RQ4How does DSH compare in accuracy, speed, and memory efficiency to state-of-the-art SBIR and cross-modality hashing methods?
  • RQ5To what extent do joint optimization of pairwise similarity and semantic factorization losses improve retrieval performance?

Key findings

  • DSH achieves a mean average precision (MAP) of 0.570 on the TU-Berlin Extension dataset and 0.783 on the Sketchy dataset using 128-bit codes, outperforming all compared state-of-the-art methods.
  • The inclusion of sketch-tokens reduces MAP degradation by 0.101 on Sketchy and 0.073 on TU-Berlin Extension when compared to models without them, proving their effectiveness in mitigating geometric distortion.
  • DSH achieves significantly faster retrieval speed and lower memory footprint than conventional SBIR methods based on continuous-valued features, making it suitable for mobile and embedded systems.
  • The ablation study confirms that both the cross-view pairwise loss and semantic factorization loss are essential, as removing either leads to a drop in MAP performance.
  • t-SNE visualization shows that DSH codes cluster sketches and images from the same category together, with semantically similar categories located closely in the embedding space.
  • Precision-recall curves and HD2 curves demonstrate that DSH consistently achieves higher Area Under the Curve (AUC) than competing methods across various code lengths.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.