Abstract
Domain Adaptive Retrieval (DAR) aims to bridge the gap between source and target domains in image retrieval tasks. Traditional methods often struggle with computational inefficiency and noisy pseudo-labels in the target domain. This paper introduces Prototype-Based Semantic Consistency Alignment (PSCA), a two-stage framework that utilizes class-level prototypes to align domains. By dynamically correcting noisy pseudo-labels through geometric proximity and reconstructing features before hashing, PSCA achieves significant improvements in retrieval accuracy and computational efficiency over existing state-of-the-art methods.
Introduction
In large-scale image retrieval, hashing is a critical technique that converts high-dimensional image features into compact binary codes, enabling rapid similarity searches via bitwise operations. However, the performance of hashing models often degrades when applied to a "target domain" that differs from the "source domain" used for training—a phenomenon known as Domain Shift. For instance, a model trained on high-quality product photos may fail when retrieving user-uploaded smartphone images.
Existing DAR methods face challenges such as the high computational cost of pair-wise sample alignment, the accumulation of errors from incorrect pseudo-labels, and the presence of domain-specific noise in raw features. PSCA addresses these issues by shifting the focus from individual samples to class-level prototypes.
Methodology
The PSCA framework operates in two distinct stages: prototype learning and domain-specific quantization.
Stage 1: Prototype Learning & Semantic Alignment
Instead of exhaustive pair-wise comparisons, PSCA learns a set of orthogonal prototypes that represent the "ideal" centers for each class in a shared subspace.
A key innovation is the Semantic Consistency Alignment (SCA). The model evaluates target domain samples by comparing their predicted semantic labels (from a classifier) with their geometric proximity to the learned prototypes. If the semantic prediction aligns with the geometric nearest prototype, the label is considered reliable. Conversely, if there is a conflict, the influence of that sample's pseudo-label is reduced during training. This mechanism prevents the model from being led astray by confident but wrong predictions.
Feature Reconstruction
To mitigate domain-specific noise (e.g., background variations), PSCA reconstructs features by blending reliable prototypes based on a learned membership matrix. This step ensures that the features used for hashing capture the essential semantic information of the class rather than domain-specific artifacts.
Stage 2: Domain-Specific Quantization
In the second stage, the reconstructed features are converted into binary hash codes using domain-specific quantization functions. These functions are constrained to approximate each other, ensuring that the resulting codes are compatible across domains while still capturing unique domain characteristics.
Key Results
The researchers evaluated PSCA on several benchmark datasets, including MNIST → USPS, COIL1 → COIL2, Office-31, and Office-Home.
PSCA consistently outperformed state-of-the-art (SOTA) baselines across all tested benchmarks:
- Accuracy Boost: On the MNIST → USPS task, PSCA achieved a 17.21% improvement in Mean Average Precision (MAP) over the next best method. On the complex Office-Home dataset, it showed an average improvement of 8.82% across multiple scenarios.
- Computational Efficiency: By avoiding pair-wise alignment, PSCA is significantly faster to train. In the P → R task, it was nearly 150x faster than traditional baselines like PWCF while delivering superior results.
Conclusion
PSCA provides a robust and efficient solution for Domain Adaptive Retrieval. By leveraging class-level prototypes and geometric "fact-checking" of semantic labels, it effectively handles domain shift and noisy data. While the model may exhibit slight over-smoothing in some single-domain scenarios due to its reliance on prototypes, its overall performance and speed make it a powerful tool for real-world cross-domain retrieval tasks.
Summary updated