[Paper Review] Creating Something from Nothing: Unsupervised Knowledge Distillation for Cross-Modal Hashing
This paper proposes unsupervised knowledge distillation (UKD) for cross-modal hashing, where a supervised student model is guided by an unsupervised teacher model to improve retrieval performance without requiring instance-level labels. By leveraging the teacher's similarity matrix to generate pseudo-supervision, UKD achieves state-of-the-art performance on MIRFlickr and NUS-WIDE, outperforming existing unsupervised methods by a large margin.
In recent years, cross-modal hashing (CMH) has attracted increasing attentions, mainly because its potential ability of mapping contents from different modalities, especially in vision and language, into the same space, so that it becomes efficient in cross-modal data retrieval. There are two main frameworks for CMH, differing from each other in whether semantic supervision is required. Compared to the unsupervised methods, the supervised methods often enjoy more accurate results, but require much heavier labors in data annotation. In this paper, we propose a novel approach that enables guiding a supervised method using outputs produced by an unsupervised method. Specifically, we make use of teacher-student optimization for propagating knowledge. Experiments are performed on two popular CMH benchmarks, i.e., the MIRFlickr and NUS-WIDE datasets. Our approach outperforms all existing unsupervised methods by a large margin.
Motivation & Objective
- To address the high annotation cost of supervised cross-modal hashing (CMH) methods while maintaining high retrieval accuracy.
- To explore whether unsupervised models can guide supervised models in CMH through knowledge distillation.
- To develop a method that leverages extensive relevance information from unsupervised models to enhance supervised learning.
- To demonstrate that high-quality similarity matrices from unsupervised models can serve as effective pseudo-supervision for supervised training.
- To validate the generalization and robustness of the proposed approach across different backbone models and feature extractors.
Proposed method
- A two-stage framework is proposed: first, an unsupervised CMH model (teacher) is trained to produce high-quality feature representations and similarity matrices.
- The teacher's similarity matrix, derived from feature-level distances, is used as pseudo-supervision to guide a supervised student model.
- Knowledge distillation is applied by minimizing the KL divergence between the student's predicted similarity and the teacher's computed similarity matrix.
- The student model is trained using both the distillation loss and a standard contrastive loss to preserve semantic alignment.
- The method is modular and flexible, allowing interchangeable teacher and student models, including different bit-lengths and architectures.
- The approach is evaluated using mAP and top-K precision on MIRFlickr and NUS-WIDE, with ablation studies on selected relevant pairs and teacher strength.
Experimental results
Research questions
- RQ1Can an unsupervised CMH model effectively generate pseudo-supervision to improve a supervised CMH model?
- RQ2How does the quality of the teacher's similarity matrix affect the performance of the distillation process?
- RQ3Does knowledge distillation from an unsupervised teacher improve retrieval accuracy compared to purely unsupervised baselines?
- RQ4How sensitive is the performance to the number of relevant pairs selected during distillation?
- RQ5Can the proposed method generalize across different feature extractors and model architectures?
Key findings
- UKD significantly outperforms all existing unsupervised CMH methods on both MIRFlickr and NUS-WIDE benchmarks, achieving state-of-the-art mAP results.
- Using a 128-bit UGACH model as a teacher, UKD achieves a 16-bit mAP of 68.9% on MIRFlickr, surpassing the baseline UGACH by over 5 percentage points.
- Even with a weaker 16-bit teacher model, UKD still achieves consistent accuracy gains, though smaller than with a stronger teacher.
- Performance improves with more selected relevant pairs but saturates or slightly declines when too many low-quality pairs are included, indicating a trade-off between quantity and quality.
- UKD-SS (using a stronger student) outperforms UKD-US (using a weaker student), confirming that the method benefits from better student capacity.
- Qualitative analysis shows that UKD effectively retrieves relevant results even for complex queries, such as image-to-text retrieval with semantically rich content.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.