Distribution-Consistency-Guided Multi-modal Hashing

Jin-Yu Liu, Xian-Ling Mao, Tian-Yi Che, Rong-Cheng Tu

Abstract

Supervised multi-modal hashing typically assumes training labels are perfect, but real-world data is often riddled with incorrect annotations. This paper introduces DCGMH, a framework that identifies and corrects these noisy labels by exploiting a "distribution consistency" pattern. The core observation is that even a partially trained model produces hash codes whose similarity to category centers reveals the true underlying category, regardless of a faulty label. By filtering clean data from noisy data and reconstructing labels, DCGMH maintains high retrieval accuracy even under extreme noise conditions.

Introduction

Multi-modal hashing maps different data types, such as images and text, into a unified Hamming space of binary codes to enable lightning-fast cross-modal retrieval. While supervised methods generally perform best, they are highly sensitive to label noise. In practice, manual labeling is prone to error (e.g., an image of a "tiger" mistakenly labeled as a "cat"). Existing supervised models often overfit to these errors, leading to indistinguishable hash codes where different categories blend together. DCGMH is the first framework to specifically tackle noisy labels within the multi-modal retrieval landscape.

Methodology

The Distribution-Consistency-Guided Multi-modal Hashing (DCGMH) framework follows a multi-stage pipeline designed to salvage information from imperfectly labeled data.

1. The Discovery of Distribution Consistency

Through statistical analysis using BoxPlots, the authors observed that even after a short "warm-up" training period, a model's generated hash codes naturally gravitate toward their true category centers. If a label says "cat" but the hash code is highly similar to the "tiger" center, a "distribution inconsistency" is detected.

Similarity score distributions for Out-Category and In-Category samples across different label types.

2. Label Filtering and Reconstruction

The model calculates a consistency level ($t_i$) for every instance. If the provided label matches the high-similarity category centers, it is moved to a Clean Set. Mismatched instances are moved to a Noisy Set.

For samples in the Noisy Set, the model attempts Label Reconstruction:

  • Correction: For high-confidence noisy samples, the model uses the Clean Set as a "knowledge base" to infer and assign a new, correct label.
  • Unsupervised Learning: If the model is unsure, it discards the label and treats the instance as unlabeled data, using contrastive learning to ensure that image and text representations of the same object remain aligned.

3. Optimization

The model is trained using a composite loss function that integrates pointwise learning for clean labels, pairwise learning for corrected labels, and unsupervised learning for the remaining data.

Experimental Results

DCGMH was evaluated on three major benchmarks—MIR Flickr, NUS-WIDE, and MS COCO—with manually injected noise ratios ranging from 10% to 90%.

Superior Accuracy and Robustness

DCGMH significantly outperformed ten state-of-the-art baselines. At a 40% noise ratio, DCGMH improved Mean Average Precision (MAP) by an average of 4.9% on MIR Flickr, 6.7% on NUS-WIDE, and 9.3% on MS COCO compared to noise-unaware models. Notably, even when 90% of the labels were incorrect, DCGMH maintained stable retrieval performance while other models' accuracy plummeted.

MAP performance vs. Noisy Label Ratio on the MS COCO dataset, comparing DCGMH against various baselines.

Key Insights

  • Early Learning Phenomenon: Deep networks tend to learn simple, clean patterns before memorizing noisy outliers. DCGMH exploits this "warm-up" phase to identify likely errors before overfitting occurs.
  • Data Salvaging: Unlike methods that simply discard bad data, DCGMH is more efficient because it attempts to correct labels or use the data for unsupervised feature extraction.

Conclusion and Future Work

DCGMH represents a major step forward in robust multi-modal retrieval. While highly effective, future research could address the method's sensitivity to the initial warm-up period and the computational overhead of searching the "knowledge base" during label reconstruction as datasets scale to billions of samples. Additionally, refining how category centers interact in complex, overlapping multi-label spaces remains an open challenge.

Summary updated

BibTeX
@inproceedings{liu2025distribution,
  author = {Jin-Yu Liu and Xian-Ling Mao and Tian-Yi Che and Rong-Cheng Tu},
  title = {{Distribution-Consistency-Guided Multi-modal Hashing}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i11.33326},
}
Figure