Skip to main content
QUICK REVIEW

[Paper Review] Learning Hash Functions Using Column Generation

Xi Li, Guosheng Lin|arXiv (Cornell University)|Mar 2, 2013
Algorithms and Data CompressionComputer Science24 references85 citations
TL;DR

This paper proposes CGHash, a novel column generation-based method for learning data-dependent hash functions using triplet-based proximity constraints within a large-margin convex optimization framework. By iteratively selecting optimal hash functions and ensuring global convergence, CGHash achieves state-of-the-art retrieval performance with compact binary codes across multiple benchmark datasets.

ABSTRACT

Fast nearest neighbor searching is becoming an increasingly important tool in solving many large-scale problems. Recently a number of approaches to learning data-dependent hash functions have been developed. In this work, we propose a column generation based method for learning data-dependent hash functions on the basis of proximity comparison information. Given a set of triplets that encode the pairwise proximity comparison information, our method learns hash functions that preserve the relative comparison relationships in the data as well as possible within the large-margin learning framework. The learning procedure is implemented using column generation and hence is named CGHash. At each iteration of the column generation procedure, the best hash function is selected. Unlike most other hashing methods, our method generalizes to new data points naturally; and has a training objective which is convex, thus ensuring that the global optimum can be identified. Experiments demonstrate that the proposed method learns compact binary codes and that its retrieval performance compares favorably with state-of-the-art methods when tested on a few benchmark datasets.

Motivation & Objective

  • Address the need for efficient, scalable similarity search in large-scale data applications such as multimedia retrieval and web search.
  • Overcome limitations of data-independent hashing (e.g., LSH) by learning data-dependent hash functions that preserve semantic proximity.
  • Formulate a convex optimization problem for hash function learning using triplet-based relative distance constraints (x is closer to x+ than to x−).
  • Enable global optimization of the learning objective despite an exponentially large number of candidate hash functions.
  • Develop a flexible framework that supports various types of hash functions (linear, decision stumps, RBF) and loss functions.

Proposed method

  • Formulate the hash learning problem as a large-margin optimization task using a convex surrogate loss function to handle triplet constraints.
  • Model the learning objective as a linear program with exponentially many variables (one per potential hash function), making direct solution infeasible.
  • Apply column generation to iteratively identify the most violated constraint (i.e., the most beneficial hash function) at each iteration.
  • At each iteration, solve a pricing subproblem to find the best new hash function that improves the current solution.
  • Update the weights of selected hash functions in the weighted Hamming distance computation using dual variables.
  • Ensure convergence to the global optimum due to the convexity of the overall optimization problem.

Experimental results

Research questions

  • RQ1Can a column generation-based approach effectively learn data-dependent hash functions that preserve relative proximity relationships in high-dimensional data?
  • RQ2Does the proposed method achieve better retrieval performance than state-of-the-art hashing techniques while maintaining compact binary codes?
  • RQ3How does the framework generalize to unseen data points compared to existing hashing methods?
  • RQ4To what extent does the method’s convex optimization formulation ensure global convergence and stability?
  • RQ5Can the framework be flexibly extended to support different types of hash functions and loss functions?

Key findings

  • CGHash achieves larger areas under the precision-recall curve than all competing methods across six benchmark datasets, indicating superior retrieval quality.
  • The method consistently retrieves a higher proportion of true nearest neighbors in top-50 retrieval results, with statistically significant improvements over methods like ITQ, SPH, and AGH.
  • In K-nearest-neighbor classification, CGHash achieves lower error rates than state-of-the-art baselines, especially at larger code lengths.
  • The performance of CGHash improves with increasing K in K-NN classification, demonstrating robustness and generalization capability.
  • Experiments on MNIST and LABELME datasets show visually accurate nearest-neighbor retrieval results, confirming the method’s effectiveness in real-world applications.
  • The trade-off parameter C has minimal impact on performance, indicating the method is stable and less sensitive to hyperparameter tuning.

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.