DSCH-Loss: A Dynamic Semantic Channel Objective for Deep Semantic Hashing
Tobias J. Bauer, Christian Riess, Daniel Loebenberger, Christian Bergler
Abstract
Semantic hashing methods for generating short binary hash codes that allow efficient approximate nearest neighbor search in high-dimensional data spaces have gained extensive consideration in recent years. Deep learning-based methods offer better semantic capturing capabilities than traditional approaches relying on manual feature engineering. Moreover, they enable a data-driven approach to semantic hashing across diverse data modalities, yielding high-quality cross-modal hash codes within a shared Hamming space. Previous work investigated the properties of this Hamming space and introduced a loss function based on predefined so-called semantic channels with fixed width and Hamming distances derived from label similarities. However, this formulation also introduced discontinuities into the loss landscape, complicating optimization. Based on these observations, we propose a newly designed loss function, Dynamic Semantic Channel Hashing (DSCH), using dynamically sized and positioned semantic channels in order to avoid loss landscape discontinuities. Furthermore, we endorse the use of tie-aware Mean Average Precision (mAP) as evaluation metric as it addresses the ambiguity in sample retrieval ordering, which emerges from the discreteness of hash code distances. Finally, multiple experimental settings conducted on two popular datasets and incorporating two different model architectures provide strong evidence that training using the DSCH objective outperforms training using other state-of-the-art loss functions. In a total of 35 out of 40 cross-modal and intra-modal retrieval tasks, models trained with DSCH achieve significantly higher tie-aware mAP scores across all four tested hash code lengths, showing compelling results across model architecture and used dataset. The mAP score uplifts are consistent and amount up to 1.75 percentage points compared to the respective second best.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CV, cs.IR
- Comments
- 12 pages, 3 figures, 9 tables
Related papers
MeterRouter: Budget-Aware Dynamic Routing for Multi-Agent Systems
Shared title terminologycs.AIYue Xu, Leikun Yin, Ruiming Min et al.
Spectral Optimal Transport for Dynamics-Aware Sign Language Generation
Shared title terminologycs.AINabeela Khan, Bowen Wu, Runwu Shi et al.
Dynamic Reasoning in Next-Gen Detection and Response: An Empirical Study of LLM Triage, Reinforcement Tuning, and Adversarial Evasion
Shared title terminologycs.AIJeremy Canale
Collaborative Language Models for Semantic IoT Data Processing: Validation through Zero-Shot Human Activity Recognition
Shared title terminologycs.AIMohsen Shirali, Kean Ooi, Anna Knab et al.
Wavelet Phase Diffusion for Structurally and Semantically Consistent Sim-to-Real Translation
Shared title terminologycs.AIKaiwen Wang, Frank Bieder, Yinzhe Shen et al.
Bridging the Gap in Ophthalmic AI: MM-Retinal-Reason Dataset and OphthaReason Model toward Dynamic Multimodal Reasoning
Shared title terminologycs.AIRuiqi Wu, Yuang Yao, Na Su et al.