Abstract
Unsupervised cross-modal hashing aims to map high-dimensional data from different modalities into a common Hamming space without relying on semantic labels. Traditional methods often struggle with the "inaccurate similarity problem," where raw feature distances fail to capture deep semantic relationships. This paper introduces the Deep Graph-neighbor Coherence Preserving Network (DGCPN), which leverages "neighbor coherence"—the probability of sharing common neighbors in a data graph—to infer latent semantic links. By balancing graph-neighbor coherence, coexistent similarity, and cross-modality consistency, DGCPN achieves state-of-the-art performance on standard benchmarks.
Introduction
Cross-modal retrieval, such as finding relevant text for a given image, is essential for managing large-scale multimedia databases. Hashing techniques facilitate this by generating compact binary codes for fast searching. However, in unsupervised settings, the lack of labels makes it difficult to align disparate modalities. If the visual features of a "rose" do not mathematically align with the linguistic features of "wedding," traditional feature-matching systems fail. DGCPN addresses this by looking beyond direct feature similarity to the broader context of data relationships.
Methodology: Deep Graph-neighbor Coherence
The core innovation of DGCPN is the Graph-neighbor Coherence (GC) metric. Instead of comparing two items directly, the system constructs a graph where every data point is a node. Similarity is calculated based on the likelihood that two nodes share common neighbors.
As illustrated above, even if "rose" and "wedding" have distinct feature representations, they may both be highly similar to a third item, such as "bride." This shared connection allows the network to infer a semantic link that raw features might miss.
Optimization and Loss Functions
DGCPN utilizes a multi-faceted loss function to ensure robust learning:
- Graph-neighbor Coherence Loss: Preserves the "friend of a friend" relationships.
- Coexistent Similarity Loss: Ensures that an image and its corresponding caption remain close in the embedding space.
- Modality Consistency Loss: Maintains consistent relationship structures within and across image and text domains.
To bridge the gap between continuous neural network outputs and discrete binary hash codes, the authors employ a Half-Real and Half-Binary optimization strategy. This minimizes quantization errors by training the network to compare real-valued outputs directly against binary codes, effectively bridging the gap between the two spaces.
Experimental Results
The researchers evaluated DGCPN on three benchmark datasets: Wikipedia, MIRFlickr-25K, and NUS-WIDE.
- MIRFlickr-25K: DGCPN improved the Mean Average Precision (MAP) for image-to-text retrieval from 0.722 to 0.751 using 64-bit codes.
- NUS-WIDE: The model demonstrated improvements of up to 3.8% over previous state-of-the-art unsupervised methods like DSAH and JDSH.
- Ablation Studies: Removing the neighbor coherence component or the specific optimization strategy resulted in significant performance drops, confirming the necessity of each innovation.
Conclusion and Future Work
DGCPN demonstrates that neighbor coherence is a more reliable proxy for semantic similarity than raw feature distance in unsupervised cross-modal hashing. While the current implementation relies on static graphs constructed from initial features, future research could explore dynamic graph updates to further refine representations as the network learns. Additionally, addressing the computational overhead of initial $k$-nearest neighbor graph construction remains a priority for scaling to massive datasets.
Reference: Yu, J., Zhou, H., Zhan, Y., & Tao, D. (2021). Deep Graph-neighbor Coherence Preserving Network for Unsupervised Cross-modal Hashing. Proceedings of the AAAI Conference on Artificial Intelligence (AAAI-21).
Summary updated