Generalized Image Retrieval with Off-The-Shelf Quantizer
摘要
Off-the-shelf visual representations have been widely applied in various tasks. However, as image retrieval involves a compact representation, the above practice does not obtain convincing performance, especially in realistic scenarios of novel domains and categories. In this paper, we make the first attempt to address it by organizing a generalized image retrieval task and proposing an off-the-shelf quantizer. Challenges of realizing them include two perspectives: visual inconsistency across domains and hidden semantics of unknown categories, which corrupt compact features. To tackle the former issue, we propose a cross-aligned contrastive learning objective for model training. It simultaneously reduces quantization error and domain gap, encouraging the model to generate domain-invariant quantization codes. To tackle the latter one, we design a