SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.06954 · ICCV · 2023

Global Features are All You Need for Image Retrieval and Reranking

Arjun Karpur, André Araujo, Kaifeng Chen, Bingyi Cao, Shihao Shao, Qinghua Cui

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 18 functions out of this paper's own repositories and ran 14 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
shihaoshao-gh/superglobal — 14 of 18
FunctionStatusWhere it lives
BasicTransform Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("5fbea145e2e1ef9a")
BottleneckTransform Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("bc2d89d946121f78")
GeneralizedMeanPooling Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("9119b8d4c98f5ced")
GeneralizedMeanPoolingP Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("ae68dadce75b3fe4")
GlobalHead Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("1a832022e62d5c07")
ResBlock Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("8aba530c55c5eb3a")
ResStage Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("c2d48a0c32a3d652")
ResStemIN Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("b7468ec69b24b267")
extract_feat_res_pycls Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("03fb3b12debca8c5")
gemp Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("af08767ec93f2b28")
get_trans_fun Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("00a9dda76ea3fd57")
relup Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("2031bc64eb8b91b6")
rgem Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("cd3b5d6af1e69d75")
sgem Ran shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("292667a5366078d8")
CVLearner Not yet run shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("8bd337cafee60b1d")
CVNet_Rerank Not yet run shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("920c4a63177050ae")
Correlation Not yet run shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("6348d625e9ec5a11")
ResNet Not yet run shihaoshao-gh/superglobal/model/CVNet_Rerank_model.py
code served (permissive licence) · get_code("8561c39b1b352e43")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Image retrieval systems conventionally use a two-stage paradigm, leveraging global features for initial retrieval and local features for reranking. However, the scalability of this method is often limited due to the significant storage and computation cost incurred by local feature matching in the reranking stage. In this paper, we present SuperGlobal, a novel approach that exclusively employs global features for both stages, improving efficiency without sacrificing accuracy. SuperGlobal introduces key enhancements to the retrieval system, specifically focusing on the global feature extraction and reranking processes. For extraction, we identify sub-optimal performance when the widely-used ArcFace loss and Generalized Mean (GeM) pooling methods are combined and propose several new modules to improve GeM pooling. In the reranking stage, we introduce a novel method to update the global features of the query and top-ranked images by only considering feature refinement with a small set of images, thus being very compute and memory efficient. Our experiments demonstrate substantial improvements compared to the state of the art in standard benchmarks. Notably, on the Revisited Oxford+1M Hard dataset, our single-stage results improve by 7.1%, while our two-stage gain reaches 3.7% with a strong 64, 865× speedup. Our two-stage system surpasses the current single-stage state-of-the-art by 16.3%, offering a scalable, accurate alternative for high-performing image retrieval systems with minimal time overhead.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2308.06954")
get_code_for_paper("2308.06954")
have("2308.06954")

Connect an agent — have() is free.