Deep Evidential Hashing for Trustworthy Cross-Modal Retrieval

Yuan Li, Liangli Zhen, Yuan Sun, Dezhong Peng, Xi Peng, Peng HuAAAI 2025

Introduction

Cross-modal retrieval is a cornerstone of modern information systems, enabling users to search across different data types, such as finding images using text queries. Cross-modal hashing has emerged as the standard approach for large-scale applications due to its ability to map high-dimensional data into compact, efficient binary codes. However, existing hashing methods are primarily deterministic; they return results based on Hamming distance without any measure of certainty. This lack of "trustworthiness" leads to overconfidence in incorrect matches, which is problematic in high-stakes domains like medical imaging or legal forensics.

The DECH Framework

To address these limitations, the authors introduce Deep Evidential Cross-modal Hashing (DECH). This framework leverages evidential deep learning to model hash codes as binomial opinions, allowing the system to quantify the reliability of every retrieval result.

Overview of the DECH framework architecture, highlighting the Evidence Acquisition Module and Differentiable Hashing components.

The DECH architecture is built upon three primary innovations:

  1. Evidence Acquisition Module: Moving beyond standard classifiers, this module gathers "positive evidence" from Hamming similarity and "negative evidence" from a dedicated subnetwork. These are mapped to the parameters ((\alpha, \beta)) of a Beta distribution, forming a "binomial opinion" on the validity of a match.
  2. Reliability Estimation ((r_{cmh})): The model explicitly calculates dissonance—conflict between positive and negative evidence. By adjusting the binomial opinion for this conflict, DECH produces a "Retrieval Reliability" score.
  3. Differentiable Hashing (DH): To mitigate the "quantization gap" between continuous training values and discrete binary codes, DECH employs a plug-and-play module using a Straight-Through Estimator (STE) for discrete optimization.

Key Insights: Similarity vs. Reliability

A fundamental insight of this research is that Similarity ≠ Reliability. In traditional hashing, a low Hamming distance is assumed to indicate a strong match. However, deep networks can be overconfident. DECH provides a secondary reliability metric that can identify when a high-similarity match is actually untrustworthy.

Comparison between similarity scores (green boxes) and reliability levels (orange boxes). Note how similar similarity scores can have vastly different reliability levels.

By utilizing the Beta distribution, DECH distinguishes between belief (match), disbelief (mismatch), and uncertainty/dissonance ("I don't know"). Experimental results show that filtering retrieval results based on a reliability threshold (e.g., (r \ge 0.5)) dramatically improves precision, confirming that the model effectively recognizes its own potential failures.

Experimental Evaluation

DECH was rigorously tested against 12 state-of-the-art (SOTA) methods—including JDSH, DJSRH, and DHAPH—across four benchmark datasets: MIRFLICKR25K, IAPR TC-12, NUS-WIDE, and MS-COCO.

  • State-of-the-Art Performance: DECH consistently outperformed all baselines in Mean Average Precision (mAP) across all datasets and bit lengths (16 to 128 bits).
  • Quantitative Gains: On the MS-COCO dataset (Image → Text, 128 bits), DECH achieved an mAP of 0.736, significantly higher than the top baseline, DHAPH (0.688).
  • Reliability Filtering: When the reliability threshold was applied ((DECH_{r=0.5})), the mAP on MS-COCO rose to 0.845, demonstrating the power of the reliability metric in pruning incorrect, overconfident matches.

Conclusion

Deep Evidential Hashing represents a significant step toward making cross-modal retrieval systems more transparent and reliable. While the model introduces some complexity in hyperparameter tuning and computational overhead, its ability to quantify uncertainty provides a critical layer of safety for real-world applications. Future work may explore extending this evidential framework to cross-modal clustering and out-of-distribution detection.

Summary updated

BibTeX
@inproceedings{li2025deep,
  author = {Yuan Li and Liangli Zhen and Yuan Sun and Dezhong Peng and Xi Peng and Peng Hu},
  title = {{Deep Evidential Hashing for Trustworthy Cross-Modal Retrieval}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i17.34043},
}
Figure