Adaptive Aspect Ratios with Patch-Mixup-ViT-based Vehicle ReID

Mei Qiu, Lauren Ann Christopher, Stanley Chien, Lingxi Li
11/9/2024
cs.CV

No official code found. Best implementation: qiumei1101/Adaptive_AR_PM_TransReID (4 stars, last commit 2026-04-10).

Abstract

Vision Transformers (ViTs) have shown exceptional performance in vehicle re-identification (ReID) tasks. However, non-square aspect ratios of image or video inputs can negatively impact re-identification accuracy. To address this challenge, we propose a novel, human perception driven, and general ViT-based ReID framework that fuses models trained on various aspect ratios. Our key contributions are threefold: (i) We analyze the impact of aspect ratios on performance using the VeRi-776 and VehicleID datasets, providing guidance for input settings based on the distribution of original image aspect ratios. (ii) We introduce patch-wise mixup strategy during ViT patchification (guided by spatial attention scores) and implement uneven stride for better alignment with object aspect ratios. (iii) We propose a dynamic feature fusion ReID network to enhance model robustness. Our method outperforms state-of-the-art transformer-based approaches on both datasets, with only a minimal increase in inference time per image.

View on arXivView PDF

Code Implementations(1)

41PythonSep 2, 20246 months ago

Similar Papers

Cite this paper

@article{qiu2024adaptive,
  title  = {Adaptive Aspect Ratios with Patch-Mixup-ViT-based Vehicle ReID},
  author = {Mei Qiu and Lauren Ann Christopher and Stanley Chien and Lingxi Li},
  year   = {2024},
  eprint = {2411.06297},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.06297v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.06297.svg)](https://codeofpaper.com/paper/2411.06297)

Discussion