De-confusing Hard Samples for Text Semantic Hashing

Text semantic hashing maps a text to a compact binary code, which is an important part of information retrieval and language processing. There are two main challenges for this task, one is to make the hash codes express the hierarchical category information for improving the retrieval accuracy, and the other is how to deal with the hard samples. In this paper, we adopt the Bernoulli VAE to encode the text semantics and design the parent and child level contrastive losses to learn the hierarchical information of the text. To find the hard samples, for each category, we introduce a latent sphere space to split the majority samples and hard samples, where the center and radius are dynamically calculated based on the semantic distance between samples. For the hard samples, we introduce the de-confusion loss to pull them close to the center. We conduct experiments on three datasets and the results show that the proposed model outperforms the SOTA baselines. The ablation experiments show that the category constraints and the de-confusion loss contribute to the model performance. The results of t-SNE also show that the hash codes learned by our model reflect high category differences.

Authors

Institutions

Publication Details

Published
2025-03-12
DOI
https://doi.org/10.1109/icassp49660.2025.10889846
Primary Topic
Advanced Image and Video Retrieval Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

De-confusing Hard Samples for Text Semantic Hashing

Jian Wang, Yuqing Sun, Tian Huang
Advanced Image and Video Retrieval Techniques
article

De-confusing Hard Samples for Text Semantic Hashing

Jian Wang, Yuqing Sun, Tian Huang
article en

Abstract

Text semantic hashing maps a text to a compact binary code, which is an important part of information retrieval and language processing. There are two main challenges for this task, one is to make the hash codes express the hierarchical category information for improving the retrieval accuracy, and the other is how to deal with the hard samples. In this paper, we adopt the Bernoulli VAE to encode the text semantics and design the parent and child level contrastive losses to learn the hierarchical information of the text. To find the hard samples, for each category, we introduce a latent sphere space to split the majority samples and hard samples, where the center and radius are dynamically calculated based on the semantic distance between samples. For the hard samples, we introduce the de-confusion loss to pull them close to the center. We conduct experiments on three datasets and the results show that the proposed model outperforms the SOTA baselines. The ablation experiments show that the category constraints and the de-confusion loss contribute to the model performance. The results of t-SNE also show that the hash codes learned by our model reflect high category differences.

Shandong University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 97%
Advanced Image and Video Retrieval Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.