Binary Representation via Jointly Personalized Sparse Hashing

Xiaoqin Wang, Chen Chen, Rushi Lan, Licheng Liu, Zhenbing Liu, Huiyu Zhou, Xiaonan Luo · DOI · OpenReview

TL;DR

This paper introduces Jointly Personalized Sparse Hashing (JPSH), an unsupervised hashing method that simultaneously preserves both semantic and pairwise similarities in data. By learning personalized hash functions for different data clusters and integrating them with traditional manifold-based hashing, JPSH achieves more discriminative binary representations for efficient similarity search.

What Problem Does This Paper Address?

High-dimensional data, like images, requires efficient storage and retrieval. Hashing methods convert this data into compact binary codes, reducing storage and speeding up similarity searches. However, existing unsupervised hashing methods often struggle with real-world data where visually similar items might have different semantic meanings (e.g., a cat and a dog that look alike). Many methods focus on preserving only the "pairwise" similarity (how similar two data points are to each other) using manifold-based approaches, but they fail to capture the underlying "semantic" similarity (what the data actually represents). This limitation leads to less accurate retrieval when semantic distinctions are crucial.

Methods

The core innovation is the Jointly Personalized Sparse Hashing (JPSH) framework. It combines two key components:

  • Personalized Sparse Hashing (PSH): This novel module addresses the semantic gap. It first uses K-means to create "pseudo-labels" for clustering data. Then, for each cluster, it learns a personalized subspace and a corresponding weight matrix. This allows instances within the same cluster to be mapped to the same Hamming space, preserving their semantic identity. Sparse constraints are applied to select important features within these personalized subspaces, preventing overfitting and improving discriminative power. The method also incorporates a "network lasso" penalty to allow personalized weights to borrow strength from neighboring clusters, improving generalization.
  • Manifold-Based Hashing (JSH): The paper integrates the proposed PSH with a standard manifold-based hashing method called Jointly Sparse Hashing (JSH). JSH is known for preserving pairwise similarities and reducing computational complexity by using anchor points.

These two components are seamlessly integrated into a single objective function. An alternating optimization algorithm is used to iteratively update the parameters (personalized weights, pairwise weights, rotation matrices, and binary codes) until convergence.

Datasets

The proposed JPSH method was evaluated on four widely-used benchmark image datasets:

  • MNIST: A dataset of handwritten digits.
  • CIFAR-10: A dataset of small images across 10 classes.
  • NUS-WIDE: A large-scale real-world dataset with images and 81 ground truth concepts.
  • FLICKR25K: A real-world dataset of images from 24 categories.

The paper does not introduce new benchmarks but uses standard feature extraction methods (like GIST or PCA) for these datasets.

Key Insights and Ideas

  • Semantic vs. Pairwise Similarity: The paper highlights the critical distinction between semantic and pairwise similarity and argues that effective hashing requires preserving both.
  • Personalized Subspaces: The idea of learning different hash functions (or subspaces) for different clusters of data is key to capturing semantic variations.
  • Pseudo-Labels for Unsupervised Learning: Using K-means to generate pseudo-labels for clustering is a practical approach to introduce semantic guidance in an unsupervised setting.
  • Sparsity for Feature Selection: Applying sparsity constraints to personalized weight matrices helps identify and utilize the most discriminative features, improving interpretability and efficiency.
  • Seamless Integration: Combining PSH and JSH into a single optimization framework avoids suboptimal solutions that might arise from multi-stage approaches.

Key Results

  • Superior Performance: JPSH consistently outperforms several state-of-the-art unsupervised hashing algorithms (including JSH, PCA-ITQ, RSSH, etc.) across all four benchmark datasets in terms of mean Average Precision (mAP) and Precision@100 (Pre@100).
  • Significant Improvements: For example, on the MNIST dataset, JPSH achieved improvements of 23.76% in mAP and 8.63% in Pre@100 compared to the second-best method, JSH.
  • Robustness: The method demonstrates effectiveness across different hash code lengths and shows robustness to parameter variations.
  • Efficiency: While not the absolute fastest, JPSH is shown to be computationally efficient, requiring less time than some multi-stage methods like RSSH.
  • Interpretability: The sparsity analysis (Figure 7) shows that JPSH can identify and ignore irrelevant features, contributing to model interpretability.

Limitations and Future Work

  • Pseudo-Label Dependency: The performance of PSH relies on the quality of pseudo-labels generated by K-means. While the paper shows K-means is effective, it's acknowledged that imperfect clustering could impact semantic preservation.
  • Parameter Sensitivity: While generally robust, the paper discusses the sensitivity of JPSH to its balance parameters ($\lambda_1, \lambda_2, \lambda_3$) and the number of anchor points ($m$) and neighbors ($k$). The authors empirically set these parameters for optimal performance.
  • Future Work: The paper implicitly suggests that further exploration into more sophisticated clustering or pseudo-labeling techniques could enhance semantic preservation. Additionally, investigating more advanced sparse regularization techniques might yield further improvements.

Summary updated

BibTeX
@article{wang2022binary,
  author = {Xiaoqin Wang and Chen Chen and Rushi Lan and Licheng Liu and Zhenbing Liu and Huiyu Zhou and Xiaonan Luo},
  title = {{Binary Representation via Jointly Personalized Sparse Hashing}},
  journal = {ACM Trans. Multim. Comput. Commun. Appl.},
  year = {2022},
  doi = {10.1145/3558769},
}
Figure