SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2106.03720 · NeurIPS · 2021

Person Re-Identification with a Locally Aware Transformer

Charu Sharma, Siddhant Kapil, David Chapman

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 2 functions out of this paper's own repositories and ran 2 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
SiddhantKapil/LA-Transformer canonical 2 of 2
FunctionStatusWhere it lives
ClassBlock Ran SiddhantKapil/LA-Transformer/LATransformer/model.py
code served (permissive licence) · get_code("26aa2e207d7d5c88")
LATransformer Ran SiddhantKapil/LA-Transformer/LATransformer/model.py
code served (permissive licence) · get_code("9f014d80ea055868")

Repositories linked to this paper

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

Abstract

Person Re-Identification is an important problem in computer vision-based surveillance applications, in which the same person is attempted to be identified from surveillance photographs in a variety of nearby zones. At present, the majority of Person re-ID techniques are based on Convolutional Neural Networks (CNNs), but Vision Transformers are beginning to displace pure CNNs for a variety of object recognition tasks. The primary output of a vision transformer is a global classification token, but vision transformers also yield local tokens which contain additional information about local regions of the image. Techniques to make use of these local tokens to improve classification accuracy are an active area of research. We propose a novel Locally Aware Transformer (LA-Transformer) that employs a Parts-based Convolution Baseline (PCB)-inspired strategy for aggregating globally enhanced local classification tokens into an ensemble of N classifiers, where N is the number of patches. An additional novelty is that we incorporate blockwise fine-tuning which further improves re-ID accuracy. LA-Transformer with blockwise fine-tuning achieves rank-1 accuracy of 98.27% with standard deviation of 0.13 on the Market-1501 and 98.7% with standard deviation of 0.2 on the CUHK03 dataset respectively, outperforming all other state-of-the-art published methods at the time of writing. Recently, Vision Transformer (ViT) as introduced by Dosovitskiy et al. [2020] is gaining substantial traction for image recognition problems. While some methods for image classification [Dosovitskiy et al., 2020, Touvron et al., 2020], and for image retrieval [El-Nouby et al., 2021] are focused only on the classification token, some approaches utilize the fact that local tokens, which are also outputs of the transformer encoder, can be used to improve performance of many computer vision applications including image segmentation [

For agents

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

get_harvested_code_for_paper("2106.03720")
get_code_for_paper("2106.03720")
have("2106.03720")

Connect an agent — have() is free.