Source-linked AI summary

Composite Correlation Quantization for Efficient Multimodal Retrieval

Mingsheng Long, Yue Cao, Jianmin Wang, Philip S. Yu

arXiv:1504.04818v2cs.IR

TL;DR

Multimodal retrieval needs to find semantically related items across modalities, while existing hashing pipelines can lose information by separately embedding and thresholding. CCQ jointly learns modality-consistent mappings and composite quantizers; the paper reports stronger effectiveness and efficiency than state-of-the-art hashing methods for unimodal and cross-modal search. Its reported scope includes partially paired data and linear scaling, though semi-paired training slightly reduces image-to-text performance in one setting.

  • Problem

    Existing multimodal hashing typically learns a continuous shared space and then thresholds it into binary codes, a separation that may lose information and yield unbalanced codes.

    Source: §1 · p. 1
  • Method

    CCQ jointly learns correlation-maximal mappings and composite quantizers to encode modality-consistent latent features as compact binary codes while preserving intra-modal similarity and inter-modal correlation.

    Source: §1 · p. 1, §3.2.1 · p. 3
  • Results

    CCQ reports superior effectiveness and efficiency over state-of-the-art hashing methods for both unimodal and cross-modal retrieval.

    Source: §1 · p. 2
  • Takeaways & Limitations

    CCQ produces compact, balanced codes for efficient multimodal search and is reported to handle partially paired data with linear scaling in sample size.

    Source: §1 · p. 2

    Semi-paired training slightly deteriorates image-to-text search performance when paired examples are much fewer than unpaired examples.

    Source: §5.5 · p. 9

Abstract

from arXiv · show

Efficient similarity retrieval from large-scale multimodal database is pervasive in modern search engines and social networks. To support queries across content modalities, the system should enable cross-modal correlation and computation-efficient indexing. While hashing methods have shown great potential in achieving this goal, current attempts generally fail to learn isomorphic hash codes in a seamless scheme, that is, they embed multiple modalities in a continuous isomorphic space and separately threshold embeddings into binary codes, which incurs substantial loss of retrieval accuracy. In this paper, we approach seamless multimodal hashing by proposing a novel Composite Correlation Quantization (CCQ) model. Specifically, CCQ jointly finds correlation-maximal mappings that transform different modalities into isomorphic latent space, and learns composite quantizers that convert the isomorphic latent features into compact binary codes. An optimization framework is devised to preserve both intra-modal similarity and inter-modal correlation through minimizing both reconstruction and quantization errors, which can be trained from both paired and partially paired data in linear time. A comprehensive set of experiments clearly show the superior effectiveness and efficiency of CCQ against the state of the art hashing methods for both unimodal and cross-modal retrieval.

1. INTRODUCTION

Multimodal search must bridge semantic relationships across image and text data while supporting efficient retrieval. CCQ jointly learns modality-consistent mappings and composite quantization to produce compact codes, with reported gains across unimodal and cross-modal search.

1. INTRODUCTION

  • Multimodal search aims to retrieve semantically relevant results across modalities, such as images and tags for an image query.Large data volume and semantic gaps make effective, efficient retrieval challenging.Source: §1 · p. 1
  • Existing multimodal hashing separates continuous cross-modal embedding from sign-threshold binarization, which may lose information and produce unbalanced codes.The optimization can neglect quantization error, leaving continuous embeddings and binary codes suboptimal for retrieval.Source: §1 · p. 1
  • CCQ jointly learns correlation-maximal mappings and composite quantizers, preserving intra-modal similarity and inter-modal correlation while minimizing reconstruction and quantization errors.It decomposes each datum into a mapping, a similarity-preserving codebook, and a compact binary code.Source: §1 · pp. 1–2
  • CCQ is presented as a seamless framework that jointly maps paired or unpaired images and texts into an isomorphic space and learns hash codes through composite quantization.Its codebook and binary codes are learned by minimizing quantization error rather than by separately thresholding continuous representations.Source: §1 · p. 1, Figure 1 · p. 2
  • Across unimodal and cross-modal search, CCQ reports superior effectiveness and efficiency against state-of-the-art hashing methods.The introduction also reports linear scaling with sample size and support for partially paired data.Source: §1 · p. 2

2. RELATED WORK

Prior multimodal hashing methods include supervised and unsupervised approaches, but many separate correlation learning from binary coding. CCQ addresses that quantization gap with modality-consistent latent representations and balanced binary codes.

2. RELATED WORK

  • Hashing-based multimodal search supports approximate similarity search over multimedia databases with speedup and acceptable accuracy.The paper points to for a comprehensive survey.Source: §2 · p. 2
  • Supervised methods CMSSH, SCM, QCH, and SePH require labeled cross-modal pairs, which can restrict deployment when labels are unavailable.Unsupervised CVH, IMH, MSAE, and CorrAE apply when paired data are available.Source: §2 · p. 2
  • Among unsupervised methods, IMH has O(N^2) similarity-matrix construction and eigendecomposition costs, while CVH does not jointly maximize cross-modal correlation and preserve intra-modal similarity.MSAE and CorrAE use spectral hashing or sign thresholding to obtain binary codes, bringing uncontrollable quantization errors.Source: §2 · p. 2
  • Existing methods use a two-step pipeline: first embed multimodal data in a common continuous latent space, then threshold embeddings into binary Hamming-space codes; this may cause substantial information loss and unbalanced encoding schemes.Source: §2 · p. 2
  • CCQ addresses the separated pipeline by learning a modality-consistent latent space and balanced binary codes within a principled framework.The cited comparison notes that IMVH uses a graph-cut quantizer but incurs large quantization error and unbalanced codes.Source: §2 · p. 2

3. COMPOSITE CORRELATION QUANTIZATION

CCQ jointly learns modality-consistent mappings and composite quantizers, preserving within-modality similarity and cross-modal correlation while supporting partially paired data. Its binary codes enable approximate nearest-neighbor search across modalities.

3.1 Problem Statements

  • CCQ maps inputs from different modalities into a common latent space and jointly learns composite quantizers that produce compact binary codes, including when only some data are paired.The formulation supports any number of modalities and converts retrieval into approximate nearest-neighbor search after mappings and quantizers are learned.Source: §3.1 · p. 2

3.2 Composite Correlation Quantization

  • Each input is represented by a correlation-maximal mapping, a similarity-preserving codebook, and a compact binary code.These factors jointly approximate inputs in the latent space.Source: §3.2 · pp. 2–3

3.2.1 Intra-Modality Similarity Quantization

  • Composite quantization selects one codeword from each of M codebooks, directly constraining binary assignments to reduce quantization error and yield balanced codes.The paper contrasts multiple codebooks with a single codebook, which it describes as lossy, and with sign-thresholded codes.Source: §3.2.1 · p. 3

3.2.2 Inter-Modality Correlation Maximization

  • For semantically relevant cross-modal pairs, CCQ shares codebooks and requires identical binary codes rather than merely minimizing distance between codes.This constraint applies to paired data; the sharing strategy does not apply to points with only one modality.Source: §3.2.2 · p. 3

3.2.3 Joint Optimization Framework

  • The joint objective maximizes cross-modal correlation while minimizing reconstruction and quantization errors, using paired data for correlation and unpaired data for intra-modal quantization.The framework uses modality weights and maps each modality into a D-dimensional modality-consistent latent space.Source: §3.2.3 · pp. 3–4

3.3 Approximate Nearest Neighbor Search

  • CCQ uses Asymmetric Quantizer Distance (AQD) to compare a transformed query with database points encoded by composite codewords.Query-specific inner products can be stored in an M × K lookup table; the stated implementation adds one norm byte per database point, which the authors leave to future work to eliminate.Source: §3.3 · p. 4

4. ALGORITHM AND ANALYSIS

CCQ is optimized by alternating updates to mappings, codebooks, and binary codes, with mini-batch implementation for large datasets. The analysis relates AQD approximation error to learning loss and describes linear scaling with sample size.

4.1 Learning Algorithm

  • CCQ alternates updates to mappings, codebooks, and binary codes, optimizing one variable at a time while holding the others fixed.The procedure is summarized in Algorithm 1.Source: §4.1 · p. 4, §4.1.2 · p. 4

4.1.1 Update Rv

  • Each mapping update is an Orthogonal Procrustes problem solved exactly by singular value decomposition, with Rv = UVT.The SVD is applied to Xv[Cδ(Bv)]T.Source: §4.1.1 · p. 4

4.1.2 Update

  • The codebook update is an unconstrained quadratic problem with an analytic solution; online L-BFGS can speed computation.The algorithm lists quadratic optimization for this update.Source: §4.1.2 · p. 4

4.1.3 Update Bv

  • Binary-code optimization is generally NP-hard; ICM updates indicators by checking codewords, while a greedy alternative uses codebook hierarchy to encode residuals.The ICM procedure is guaranteed to converge and may stop at a maximum iteration limit.Source: §4.1.3 · p. 4

4.2 Large-Scale Implementation

  • Mini-batch updates keep memory usage constant as training-set size grows by loading only a fraction of points at a time.The mapping and codebook updates can be expressed as point-wise summations for mini-batch computation.Source: §4.2 · p. 4

4.3 Computational Complexity

  • The authors analyze each iteration’s cost and state that CCQ scales linearly with sample size; binary-code update cost depends on the number of iterations Ti.They report Ti = 3 for ICM or Ti = 1 for the greedy algorithm as satisfactory choices, and suggest online L-BFGS for longer codes.Source: §4.3 · pp. 4–5

4.4 Approximation Error Analysis

  • The AQD approximation error is bounded by CCQ learning loss, and the authors state CCQ is more accurate than sign-thresholding methods.They also describe each mapping as jointly optimizing canonical correlation analysis and principal component analysis, which can be more effective than most CCA-based methods.Source: §4.4 · p. 5

5. EXPERIMENTS

The evaluation compares CCQ with state-of-the-art methods on three public multimodal datasets. The section describes the datasets and their image-text representations and splits.

5. EXPERIMENTS

  • The evaluation examines effectiveness and efficiency, including search precision, recall, and time, on three public multimodal datasets.The datasets are NUS-WIDE, Wiki, and Flickr1M.Source: §5 · p. 5, §5.1 · p. 5

5.1 Datasets

  • NUS-WIDE is pruned to 195,834 image-text pairs from its 269,648 images, retaining items from the 21 most frequent concepts.The dataset has 81 annotated concepts; 2,000 pairs form the query set, with the remaining pairs used as the database, and 10,000 database pairs used for training.Source: §5.1 · p. 5
  • Wiki contains 2,866 image-text pairs labeled with one of 10 article-category concepts, with 693 query pairs and 2,173 database pairs.The full database is used to train hash coding.Source: §5.1 · p. 5
  • Flickr1M contains one million images with tags, of which 25,000 are labeled with 38 concepts; its query and database use the labeled pairs.The query set contains 1,000 pairs and the database contains 24,000; the 975,000 unlabeled pairs train the scalability test.Source: §5.1 · p. 5

5.2 Comparison Methods

The comparison includes unsupervised and supervised hashing baselines, while the evaluation protocol spans six retrieval schemes and reports retrieval quality and efficiency. CCQ uses fixed parameter settings, with comparison methods tuned by cross-validation.

5.2 Comparison Methods

  • CVH/IMH extend spectral hashing, CorrAE learns correspondence features with autoencoders and sign thresholding, and CMSSH/SCM/QCH use supervised metric learning.The comparison also includes deep hashing through CorrAE.Source: §5.2 · p. 5

5.3 Evaluation Protocols

  • The six schemes cover image/text queries retrieving images, texts, or image-text pairs; relevance requires sharing at least one concept with the query.The first four schemes are intra-modal or cross-modal retrieval, while the last two retrieve multimodal pairs.Source: §5.3 · p. 6
  • Effectiveness is measured with MAP@R = 50, precision-recall curves, and precision@top-R curves, alongside query-processing and model-training time and memory costs.The protocol defines a relevant result as one sharing at least one concept with the query.Source: §5.3 · p. 6
  • CCQ fixes λ = 5 throughout the comparison rather than selecting it by cross-validation, while comparison methods receive cross-validated parameters.The authors cite the unsupervised setting as a reason to avoid relying on cross-validation for CCQ.Source: §5.3 · p. 6
  • Each experiment averages ten runs; CMSSH and IMH use 10,000 Flickr1M image-text pairs when full-dataset training is too costly.The remaining comparison methods are evaluated with cross-validated parameters.Source: §5.3 · p. 6

5.4 Experimental Results

Across three datasets, CCQ outperforms unsupervised hashing baselines and compares favorably with supervised methods. The results also highlight its balanced-code behavior, its near-lossless binarization on Wiki, and performance in the large-scale Flickr1M setting.

5.4 Experimental Results

  • Across NUS-WIDE, Wiki, and Flickr1M, CCQ beats unsupervised methods, generally outperforms supervised methods on NUS-WIDE, matches SCM/QCH on Wiki, and significantly outperforms comparisons on Flickr1M.Table 2 reports MAP comparisons across six retrieval tasks and three datasets.Source: §5.4.1 · p. 6, Table 2 · p. 7, §5.4.2 · p. 7

5.4.1 Results on NUS-WIDE

  • On NUS-WIDE, CCQ improves with longer codes because composite quantization learns balanced binary codes, unlike orthogonal methods whose longer codes need not improve cross-modal performance.Orthogonal methods can produce unbalanced codes in which the first eigenvector-derived bits dominate.Source: §5.4.1 · pp. 6–7
  • On NUS-WIDE, image-to-text retrieval generally exceeds image-to-image retrieval, which the authors attribute to richer text semantics transferring knowledge to image queries.Source: §5.4.1 · p. 7

5.4.2 Results on Wiki

  • On Wiki, CCQ beats unsupervised methods and matches SCM/QCH; low-resolution, diverse images hinder semantic correlation, while the 2,173-item database makes precision@top-R curves drop.CCQ is among the top-performing methods across recall levels and top-R ranks.Source: §5.4.2 · p. 7, Figure 3 · p. 8
  • On Wiki, binarization causes substantial MAP loss for IMH and CorrAE, while CCQ is almost lossless by jointly minimizing correlation and quantization errors.Source: §5.4.2 · pp. 7–8

5.4.3 Results on Flickr1M

  • On Flickr1M, CCQ improves with longer codes; comparison methods are trained on 10,000 image-text pairs when full-dataset training is too costly.Source: §5.4.3 · p. 8

5.5 Semi-Paired Data Quantization

CCQ uses paired and unpaired data to improve search quality when paired examples are scarce, though semi-paired training slightly deteriorates I→T performance.

5.5 Semi-Paired Data Quantization

  • The evaluation uses 10,000 image-only and 10,000 text-only training examples alongside varying numbers of image-text pairs on NUS-WIDE and Flickr1M.Search performance is evaluated at MAP @ 32 bits.Source: §5.5 · pp. 8–9
  • With few paired data points, training on both paired and unpaired data significantly outperforms paired-only training on most multimodal search tasks; performance later saturates and the paradigms match.Figure 5(b)–(c) fixes unpaired data at 10,000 and distinguishes the training paradigms with solid and dashed lines.Source: Figure 5 · p. 9, §5.5 · p. 9
  • Semi-paired training slightly deteriorates I→T performance when paired examples are scarce relative to unpaired examples.The authors conjecture that this setting may weaken image-text correlation learning needed to bridge low-level image features and text-associated semantics.Source: §5.5 · p. 9

5.6 Search Efficiency

CCQ and the compared methods have comparable average query search times, with the lookup-table setup contributing little cost on Flickr1M.

5.6 Search Efficiency

  • All four methods perform the same number of table lookups during linear scan, while their query-table construction costs differ slightly.The query-codebook distance table for CCQ takes less than 1% of linear-scan cost on Flickr1M.Source: §5.6 · p. 9
  • CVH, IMH, CorrAE, and CCQ have comparable average query search times on Wiki, NUS-WIDE, Flickr25K, and Flickr1M.Figure 5(d) reports average search time per query via lookup tables.Source: §5.6 · p. 9
  • A Multi-Index approach is noted as a possible way to achieve sub-linear search complexity on binary codes.Source: §5.6 · p. 9

5.7 Training Complexity

CCQ training time scales linearly with sample size; its mini-batch implementation keeps memory use constant as the dataset grows.

5.7 Training Complexity

  • CCQ training time increases linearly with sample size on the complete Flickr1M dataset.CCQ is slower than CVH because it iterates among three variable sets, but faster than CorrAE's time-demanding non-convex optimization.Source: §5.7 · p. 9
  • Mini-batch CCQ keeps memory cost constant as training sample size increases by loading one mini-batch at a time.Batch training loads all training data into memory; mini-batch size can trade memory allocation against disk-reading costs.Source: §5.7 · pp. 9–10
  • CCQ's model-parameter memory is independent of training dataset size, while the batch implementation also loads all training data into memory.CMSSH and IMH were not compared on Flickr1M because their O(N^2) complexity exhausted time or memory.Source: §5.7 · p. 9

5.8 Parameter Sensitivity

CCQ is reported to be robust to λ selection across a broad tested range for unsupervised cross-modal retrieval.

5.8 Parameter Sensitivity

  • The inspected parameter is the modality trade-off weight λ; the other parameter, subspace dimension D, is fixed to min({P_v}^V_{v=1}, H).Source: §5.8 · p. 10
  • CCQ consistently outperforms all unsupervised baselines by a large margin for λ values from 1 to 200.The evaluation varies λ from 0.1 to 200 and measures MAP @ 32 bits on I→T and T→I tasks.Source: §5.8 · p. 10
  • The authors conclude that CCQ is robust to parameter selection and applicable to unsupervised multimodal retrieval with easily configured parameters.Source: §5.8 · p. 10

6. CONCLUSION AND FUTURE WORK

CCQ combines multimodal correlation and composite quantization in a seamless LSA framework to produce compact binary codes encoding intra-modal similarity and inter-modal correlation. Future work will add deep learning to learn abstract nonlinear representations.

  • CCQ integrates multimodal correlation and composite quantization into a seamless latent semantic analysis framework.Source: §6 · p. 10
  • Its compact binary codes encode both intra-modal similarity and inter-modal correlation.Source: §6 · p. 10
  • Sharing codebooks and binary codes across modalities enables joint learning of latent semantics that are maximally correlated in the isomorphic feature space.Source: §6 · p. 10
  • Future work will equip CCQ with deep learning to learn highly abstract nonlinear representations for distilling cross-modal correlation structures.Source: §6 · p. 10
Loading 1504.04818v2…