Cross-modal hashing has emerged as a critical technique for bridging the "heterogeneous gap" between different data types, such as images and text. By mapping diverse data into a shared binary Hamming space, it enables efficient, low-storage retrieval across modalities. While supervised methods rely on labor-intensive labeling, unsupervised approaches offer greater flexibility. However, traditional unsupervised methods often overlook the underlying manifold structure of data, failing to capture meaningful nearest neighbors. Presented at AAAI 2018, UGACH (Unsupervised Generative Adversarial Cross-modal Hashing) addresses this by leveraging Generative Adversarial Networks (GANs) and correlation graphs to exploit geometric data structures without human labels.
The Manifold Challenge in Cross-Modal Retrieval
In cross-modal retrieval (e.g., using a text query to find a relevant image), the primary hurdle is that different modalities have distinct mathematical representations. Unsupervised hashing methods typically attempt to preserve global correlations but ignore the manifold structure—the local geometric relationships where similar items naturally cluster. Without capturing these local manifolds, models struggle to identify semantic neighbors across the heterogeneous gap. UGACH proposes that the geometric structure of unlabeled data can serve as a powerful proxy for semantic labels.
The UGACH Framework
The UGACH architecture consists of two primary components: a correlation graph to capture manifold structures and a GAN to learn robust hashing functions through adversarial competition.
1. Correlation Graphs and Manifold Pairs
To establish a ground truth in an unsupervised environment, UGACH constructs undirected graphs for each modality using $k$-nearest neighbors ($k$-NN). If two items are neighbors within their respective modality graphs, they are treated as a "manifold pair." This allows the model to learn from the inherent distribution of the data rather than external labels.
2. Adversarial Learning via Selection
Unlike standard GANs that synthesize new data, UGACH uses a "selection as generation" strategy:
- The Generator ($G$): $G$ learns to select the most "informative" or difficult samples from the dataset to challenge the discriminator. Because selecting a discrete data point is non-differentiable, the authors employ a reinforcement learning-based policy gradient to update the generator's parameters.
- The Discriminator ($D$): $D$ serves as the actual hashing model. It is trained to distinguish between "true" manifold pairs (derived from the correlation graph) and the "fake" (hard negative) pairs selected by $G$.
Through this minimax game, the generator becomes adept at finding confusing samples, forcing the discriminator to learn a more robust and discriminative Hamming space.
Experimental Results
The model was rigorously evaluated on two benchmark datasets: NUS-WIDE (270,000 image/tag pairs) and MIRFlickr (25,000 pairs). Images were represented using 4096-dimensional VGGNet features, while text used 1000-dimensional Bag-of-Words (BoW).
UGACH significantly outperformed six state-of-the-art unsupervised methods, including CVH, CMFH, and CCQ. On the NUS-WIDE dataset, UGACH achieved a Mean Average Precision (MAP) of approximately 0.624, a substantial improvement over the previous best unsupervised method, CCQ, which averaged around 0.505. Remarkably, UGACH even outperformed some supervised methods like SCM, demonstrating that manifold structures can be more reliable than sparse or noisy manual labels. These gains remained consistent across various hash code lengths (16, 32, 64, and 128 bits).
Conclusion and Future Directions
UGACH demonstrates that adversarial manifold learning is a potent tool for unsupervised cross-modal retrieval. By treating selection as a generative process and utilizing reinforcement learning, the framework successfully bridges the heterogeneous gap. While currently focused on image-text pairs, future work may extend this framework to more complex modalities like video and audio, and optimize the computational cost of building correlation graphs for million-scale datasets.
Summary updated