Mutual Linear Regression-based Discrete Hashing

Xingbo Liu, Xiushan Nie, Yilong YinarXiv 2019

Introduction

In the era of big data, efficient large-scale image retrieval is a critical challenge. Hashing has emerged as a powerful solution by compressing high-dimensional data into compact binary strings, enabling rapid similarity calculations via bit-wise operations. Supervised hashing methods leverage semantic labels to improve the discriminative power of these codes. However, many existing approaches suffer from instability due to asymmetric projection models and significant quantization errors from ignoring the discrete nature of binary codes.

This paper introduces Stable Supervised Discrete Hashing with Mutual Linear Regression (S2DHMLR), a novel framework designed to bridge the gap between binary hash codes and semantic labels through a stable, unified linear projection.

Methodology: S2DHMLR Framework

The core of S2DHMLR lies in its "mutual regression" approach. Unlike traditional methods that use separate matrices to map labels to codes and vice versa, S2DHMLR employs a single projection matrix $W$. This treats the relationship as a linear auto-encoder where $W$ maps labels to codes, and its transpose $W^T$ maps codes back to labels. This constraint significantly reduces the search space, leading to a more stable and unique optimization solution.

Figure 1: Overview of the S2DHMLR pipeline, illustrating the flow from training data to features, hash codes, and class labels, integrated with a boosting strategy.

To address the NP-hard discrete optimization problem, the authors utilize an iterative framework. The projection matrix is solved via a Sylvester equation, while binary codes are updated bit-by-bit using Discrete Cyclic Coordinate Descent (DCC).

Hash Boosting Strategy

To further enhance performance, the authors implement a boosting strategy. The algorithm is executed multiple times, and bits are selected based on their "bit balance"—the degree to which the number of +1s and -1s is equal. Bits with high balance are concatenated to form a final, superior projection, effectively discarding noisy or redundant dimensions.

Experimental Evaluation

The proposed method was evaluated on three benchmark datasets:

  • CIFAR-10: 60,000 images across 10 categories.
  • MS-COCO: A complex dataset for object detection and captioning.
  • NUS-WIDE: A large-scale web image dataset with multi-tag annotations.

Deep features extracted from a pre-trained CNN-F network were used as inputs for all hashing methods.

Key Results and Discussion

The performance was measured using mean Average Precision (mAP) and Precision @ 5000. S2DHMLR consistently outperformed traditional supervised discrete hashing methods like SDH and FSDH across various bit lengths.

Figure 5: Precision @ 5000 comparison across CIFAR-10, MS-COCO, and NUS-WIDE datasets for various hashing methods.

As shown in the results, the "S2D_boost" variant achieves state-of-the-art performance, often rivaling or exceeding dedicated deep hashing networks (e.g., DHN, DSH). For instance, on MS-COCO at 48 bits, the boosted version reached an mAP of 0.8475. The success of S2DHMLR demonstrates that a well-designed linear model on top of fixed deep features can be highly competitive while remaining computationally efficient.

Conclusion

S2DHMLR provides a stable and effective approach to supervised hashing by leveraging mutual linear regression and a bit-balancing boosting strategy. While the linear assumption may not capture all non-linear semantic complexities, its efficiency and performance make it a robust choice for large-scale retrieval. Future work may involve integrating this mutual regression concept directly into end-to-end deep learning architectures.

Summary updated

BibTeX
@misc{liu2019mutual,
  author = {Xingbo Liu and Xiushan Nie and Yilong Yin},
  title = {{Mutual Linear Regression-based Discrete Hashing}},
  year = {2019},
  eprint = {1904.00744},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.00744},
}
Figure