English

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

Computer Vision and Pattern Recognition 2024-11-12 v1

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.

Keywords

Cite

@article{arxiv.2411.06297,
  title  = {Adaptive Aspect Ratios with Patch-Mixup-ViT-based Vehicle ReID},
  author = {Mei Qiu and Lauren Ann Christopher and Stanley Chien and Lingxi Li},
  journal= {arXiv preprint arXiv:2411.06297},
  year   = {2024}
}
R2 v1 2026-06-28T19:54:29.645Z