Shopformer: Transformer-Based Framework for Detecting Shoplifting via Human Pose

Abstract

Shoplifting remains a costly issue for the retail sector, but traditional surveillance systems, which are mostly based on human monitoring, are still largely ineffective, with only about 2% of shoplifters being arrested. Existing AI-based approaches rely on pixel-level video analysis which raises privacy concerns, is sensitive to environmental variations, and demands significant computational resources. To address these limitations, we introduce Shopformer, a novel transformer-based model that detects shoplifting by analyzing pose sequences rather than raw video. We propose a custom tokenization strategy that converts pose sequences into compact embeddings for efficient transformer processing. To the best of our knowledge, this is the first pose-sequence-based transformer model for shoplifting detection. Evaluated on real-world pose data, our method outperforms state-of-the-art anomaly detection models, offering a privacy-preserving, and scalable solution for real-time retail surveillance. The code base for this work is available at https://github.com/TeCSAR-UNCC/Shopformer.

Cite

Text

Rashvand et al. "Shopformer: Transformer-Based Framework for Detecting Shoplifting via Human Pose." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2025.

Markdown

[Rashvand et al. "Shopformer: Transformer-Based Framework for Detecting Shoplifting via Human Pose." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2025.](https://mlanthology.org/cvprw/2025/rashvand2025cvprw-shopformer/)

BibTeX

@inproceedings{rashvand2025cvprw-shopformer,
  title     = {{Shopformer: Transformer-Based Framework for Detecting Shoplifting via Human Pose}},
  author    = {Rashvand, Narges and Noghre, Ghazal Alinezhad and Pazho, Armin Danesh and Ardabili, Babak Rahimi and Tabkhi, Hamed},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops},
  year      = {2025},
  pages     = {5752-5761},
  url       = {https://mlanthology.org/cvprw/2025/rashvand2025cvprw-shopformer/}
}