[Paper Review] Fast Supervised Discrete Hashing and its Analysis
This paper proposes Fast Supervised Discrete Hashing (FSDH), a simplified, mathematically exact alternative to Supervised Discrete Hashing (SDH) that eliminates the need for alternating optimization and initial value dependency. FSDH achieves superior precision, recall, and computation speed on large-scale datasets by solving the discrete hashing problem directly through a closed-form solution, outperforming SDH and other state-of-the-art methods across multiple benchmarks.
In this paper, we propose a learning-based supervised discrete hashing method. Binary hashing is widely used for large-scale image retrieval as well as video and document searches because the compact representation of binary code is essential for data storage and reasonable for query searches using bit-operations. The recently proposed Supervised Discrete Hashing (SDH) efficiently solves mixed-integer programming problems by alternating optimization and the Discrete Cyclic Coordinate descent (DCC) method. We show that the SDH model can be simplified without performance degradation based on some preliminary experiments; we call the approximate model for this the "Fast SDH" (FSDH) model. We analyze the FSDH model and provide a mathematically exact solution for it. In contrast to SDH, our model does not require an alternating optimization algorithm and does not depend on initial values. FSDH is also easier to implement than Iterative Quantization (ITQ). Experimental results involving a large-scale database showed that FSDH outperforms conventional SDH in terms of precision, recall, and computation time.
Motivation & Objective
- To address the computational inefficiency and initialization sensitivity of existing supervised discrete hashing methods like SDH.
- To simplify the SDH model without sacrificing performance, based on empirical observations from preliminary experiments.
- To derive a mathematically exact solution for the simplified model, enabling direct computation without iterative optimization.
- To improve scalability and efficiency in learning time and implementation complexity for large-scale binary hashing applications.
- To achieve state-of-the-art performance in precision, recall, and computation time on benchmark datasets.
Proposed method
- The FSDH model simplifies the SDH formulation by removing the alternating optimization loop and replacing it with a closed-form solution for the weight matrix W.
- The method directly solves the matrix factorization problem F = W^T B by deriving an exact analytical solution for W, avoiding iterative refinement.
- Binary codes B are updated using a thresholding rule based on the sign of W^T X, ensuring discrete outputs without relaxation or alternating steps.
- The approach is invariant to initial values and does not require hyperparameter tuning for convergence.
- The algorithm is implemented in just three lines of MATLAB code, significantly simplifying deployment compared to ITQ or SDH.
- The method maintains bit scalability, as learning time and performance are independent of code length L.
Experimental results
Research questions
- RQ1Can the SDH model be simplified without performance degradation, based on empirical evidence?
- RQ2Does the simplified FSDH model admit a mathematically exact solution, eliminating the need for iterative optimization?
- RQ3Can FSDH achieve better precision and recall than SDH and other state-of-the-art hashing methods on large-scale datasets?
- RQ4Is FSDH independent of initial values and free from hyperparameter tuning, as claimed?
- RQ5Does FSDH maintain or improve performance across varying code lengths L, demonstrating bit scalability?
Key findings
- FSDH achieves higher precision and recall than SDH on all evaluated datasets, including CIFAR-10, SUN-10, and MNIST, across all code lengths L=16 to 128.
- On the CIFAR-10 dataset with L=128, FSDH achieves a mean average precision (MAP) of 0.899, compared to SDH’s 0.866, demonstrating a significant performance gain.
- On the MNIST dataset with L=128, FSDH achieves a MAP of 0.969, outperforming SDH’s 0.948 and COSDISH’s 0.863.
- FSDH reduces the W-loss (reconstruction error) below that of SDH on all datasets, with a 30% reduction in W-loss on CIFAR-10 at L=128.
- FSDH reduces the P-loss (projection error) on SUN-10 and MNIST, achieving 428.98 vs. 448.12 for SDH at L=128, indicating better projection quality.
- FSDH is computationally faster than SDH, with learning time independent of code length, and can be implemented in just three lines of MATLAB code.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.