NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Shared Predictive Cross-Modal Deep Quantization

Erkun Yang, Cheng Deng, Chao Li, Wei Liu, Jie Li, Dacheng Tao

TL;DR

SPDQ is a deep learning framework that improves cross-modal retrieval (like finding text descriptions for an image) by decomposing data into shared and private subspaces. By combining deep feature learning with "label-aligned" quantization, it achieves significantly higher search accuracy than traditional hashing methods.

What Problem Does This Paper Address?

In the era of big data, we often need to search across different types of media—for example, using an image to find a relevant news article (image-to-text) or using a query string to find a video. This is cross-modal similarity search.

The core challenge is the "heterogeneity gap": an image's pixel values and a text's word frequencies live in entirely different mathematical spaces. To compare them, researchers usually map both into a common "subspace." While hashing (turning data into 0s and 1s) is a popular way to make this search fast, it often loses too much information. Quantization is a more precise alternative, but applying it effectively within deep neural networks for cross-modal tasks is difficult because standard models often fail to separate the information that is shared between modalities from the information that is unique to just one.

Methods

The authors propose Shared Predictive Deep Quantization (SPDQ), which uses a multi-branch deep network architecture:

  1. Subspace Decomposition: Instead of forcing all features into one bucket, the model learns a shared subspace (containing features common to both images and text) and two private subspaces (capturing modality-specific details, like texture in images or syntax in text).
  2. Distribution Alignment (MK-MMD): To ensure the shared subspace is truly "shared," the authors use Multiple Kernel Maximum Mean Discrepancy (MK-MMD). This mathematical tool forces the statistical distributions of image and text features to look similar in the shared space while keeping them distinct in the private spaces.
  3. Label Alignment: To make the search more accurate, the model uses semantic labels (categories) to "align" the features. It ensures that data points from the same category are mapped close together in the shared space, regardless of whether they started as an image or text.
  4. End-to-End Quantization: The system doesn't just extract features; it learns the optimal "codebooks" (dictionaries of representative patterns) simultaneously. It uses Additive Quantization, representing a data point as a sum of several codewords, which provides much higher resolution than simple binary hashing.

Datasets

The model was evaluated on two gold-standard benchmarks for cross-modal retrieval:

  • FLICKR25K: 25,000 images and associated tags from Flickr, annotated with 24 unique labels.
  • NUS-WIDE: A large-scale dataset containing nearly 270,000 images with tags. The authors used a popular subset of ~186,000 image-text pairs across the 10 most frequent categories.

Key Insights and Ideas

  • The "Shared vs. Private" Intuition: Not every bit of information in an image is relevant to its text description. By explicitly modeling "private" features, the network can "filter out" modality-specific noise, leaving a cleaner, more predictive "shared" signal for the retrieval task.
  • Quantization > Hashing: The paper reinforces that quantization is a superior "compression" technique for similarity search. Because quantization approximates the original feature vectors more accurately than binary bits, it suffers from much lower "quantization error."
  • Joint Optimization: By training the feature extractor (the CNN/MLP) and the quantizer (the codebooks) at the same time, the features learned are specifically "shaped" to be easy to quantize without losing semantic meaning.

Key Results

SPDQ consistently outperformed state-of-the-art methods (like DCMH and CDQ) across various "bit lengths" (16, 32, 64, and 128 bits):

  • Accuracy Boost: On the FLICKR25K dataset (Image-to-Text), SPDQ achieved a Mean Average Precision (MAP) of 0.9443 at 16 bits, compared to 0.9047 for the previous best deep quantization method (CDQ) and 0.7576 for deep hashing (DCMH).
  • Efficiency: Despite using more complex quantization instead of simple hashing, the search speed remains high enough for large-scale applications thanks to the use of lookup tables for distance calculations.
  • Robustness: The performance remains stable even as the number of bits increases, suggesting the model is effectively capturing the underlying semantic structure of the data.

Limitations and Future Work

  • Optimization Complexity: The process of updating the binary indicator matrices (the "B-step" in their optimization) is NP-hard. While the authors use an iterative algorithm (ICM) to solve it, this could become a bottleneck as the dictionary size or dataset grows significantly.
  • Supervised Dependency: The current model relies heavily on semantic labels. Future work could explore unsupervised or semi-supervised versions of SPDQ for cases where labeled data is scarce.
  • Modality Expansion: The paper focuses on Image-Text pairs; extending this to video, audio, or 3D data would be a natural next step.

Summary updated

BibTeX
@article{yang2018shared,
  author = {Erkun Yang and Cheng Deng and Chao Li and Wei Liu and Jie Li and Dacheng Tao},
  title = {{Shared Predictive Cross-Modal Deep Quantization}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2018},
  doi = {10.1109/tnnls.2018.2793863},
}
Figure