Supervised Short-Length Hashing

Xingbo Liu, Xiushan Nie, Quan Zhou, Xiaoming Xi, Lei Zhu, Yilong Yin

Abstract

Existing hashing methods often encounter significant performance degradation when constrained to extremely short binary codes, primarily due to substantial information loss and reduced discriminative power. This paper presents Supervised Short-Length Hashing (SSLH), a novel framework designed to maintain high retrieval precision even with minimal bit budgets. By integrating mutual reconstruction between features and hash codes with a robust label estimator, SSLH effectively preserves semantic information and enhances classification accuracy.

The Challenge of Short-Length Hashing

In large-scale image retrieval, hashing is essential for achieving high speed and storage efficiency. Converting high-dimensional image features into short binary strings enables rapid comparison via bitwise operations. However, standard hashing algorithms typically require 48 to 128 bits to perform reliably. When pushed into the "short-length" regime (e.g., 4-10 bits), these methods often fail due to:

  1. Severe Information Loss: Compressing complex features into a handful of bits discards critical nuances.
  2. Weak Discriminative Power: Short codes struggle to separate similar categories effectively.
  3. Optimization Difficulties: The discrete nature of hashing often leads to suboptimal solutions during training.

The SSLH Methodology

The proposed SSLH framework addresses these issues through a linear-model-based architecture built on three core pillars:

1. Robust Label Regression

To mitigate the impact of outliers and noise—which are amplified in short-length scenarios—SSLH employs correntropy as a robust estimator. Unlike standard least squares, correntropy focuses on the underlying distribution of the data, ensuring that label information is fully utilized to maximize the discriminative ability of the resulting hash bits.

2. Mutual Reconstruction

A key innovation of SSLH is the "mutual" mapping between features and hash codes. While traditional methods only project features to codes, SSLH learns to reconstruct the original features back from the hash codes. This bidirectional constraint acts as a powerful regularizer, forcing the hash codes to retain as much of the original semantic information as possible.

3. Discrete Optimization and Kernelization

To handle non-linear data structures, SSLH utilizes a Radial Basis Function (RBF) kernel. Furthermore, to avoid the errors introduced by continuous relaxation, the authors employ Discrete Cyclic Coordinate descent (DCC) to learn the binary codes directly, bit by bit.

Experimental Evaluation

The researchers evaluated SSLH against state-of-the-art methods on four major benchmarks: CIFAR-10, CALTECH-101, MS-COCO, and NUS-WIDE.

Precision comparison across different hash code lengths on the MS-COCO dataset. SSLH consistently outperforms other methods, especially at shorter lengths.

As shown in the MS-COCO results, SSLH maintains a significant lead in precision across all tested code lengths. The performance gap is particularly pronounced at the lower end of the spectrum, validating the effectiveness of the mutual reconstruction and robust regression components.

Parameter Sensitivity

The stability of SSLH was also tested across various hyperparameter settings. Specifically, the parameters $\alpha$ and $\beta$ (controlling the influence of the reconstruction and regression terms) were varied to observe their impact on precision.

Sensitivity analysis of hyperparameters $\alpha$ and $\beta$ on the CIFAR-10 dataset. The results demonstrate that SSLH is robust to parameter variations, maintaining high precision across a wide range of values.

Key Insights and Conclusion

The primary takeaway from this research is that "every bit counts" in short-length hashing. By treating reconstruction as a fundamental requirement rather than an afterthought, SSLH prevents the catastrophic information loss typical of other methods.

Key results include:

  • Significant Gains: On CIFAR-10, SSLH achieved an 80% improvement in Mean Average Precision (mAP) for 4-bit codes compared to previous benchmarks.
  • Consistency: The method is not only superior for short codes but also remains highly competitive for longer codes (up to 64 bits).
  • Efficiency: The algorithm converges rapidly, typically within 4-6 iterations, making it suitable for large-scale applications.

While currently based on a linear model with kernelization, the authors plan to extend the principles of mutual reconstruction and robust regression to deep-learning-based models in future work.

Summary updated

BibTeX
@inproceedings{liu2019supervised,
  author = {Xingbo Liu and Xiushan Nie and Quan Zhou and Xiaoming Xi and Lei Zhu and Yilong Yin},
  title = {{Supervised Short-Length Hashing}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/420},
}
Figure