mlsanityData to 14 Oct 2026

ArmFormer: Lightweight Transformer Architecture for Real-Time Multi-Class Weapon Segmentation and Classification

arXiv 2510.16854 ↗First posted 19 Oct 2025cs.CV cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

The escalating threat of weapon-related violence necessitates automated detection systems capable of pixel-level precision for accurate threat assessment in real-time security applications. Traditional weapon detection approaches rely on object detection frameworks that provide only coarse bounding box localizations, lacking the fine-grained segmentation required for comprehensive threat analysis. Furthermore, existing semantic segmentation models either sacrifice accuracy for computational efficiency or require excessive computational resources incompatible with edge deployment scenarios. This paper presents ArmFormer, a lightweight transformer-based semantic segmentation framework that strategically integrates Convolutional Block Attention Module (CBAM) with MixVisionTransformer architecture to achieve superior accuracy while maintaining computational efficiency suitable for resource-constrained edge devices. Our approach combines CBAM-enhanced encoder backbone with attention-integrated hamburger decoder to enable multi-class weapon segmentation across five categories: handgun, rifle, knife, revolver, and human. Comprehensive experiments demonstrate that ArmFormer achieves state-of-the-art performance with 80.64% mIoU and 89.13% mFscore while maintaining real-time inference at 82.26 FPS. With only 4.886G FLOPs and 3.66M parameters, ArmFormer outperforms heavyweight models requiring up to 48x more computation, establishing it as the optimal solution for deployment on portable security cameras, surveillance drones, and embedded AI accelerators in distributed security infrastructure.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 32 of its 64 references that are in the map. First posted on arXiv 19 Oct 2025.

Builds on

32 of 64 references.

References · 32

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  5. 2020End-to-End Object Detection with Transformerscited by 7,414
  6. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,859
  7. 2017Squeeze-and-Excitation Networkscited by 4,789
  8. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  9. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
  10. 2024SAM 2: Segment Anything in Images and Videoscited by 2,863
  11. 2018YOLOv3: An Incremental Improvementcited by 2,659
  12. 2016Pyramid Scene Parsing Networkcited by 2,479
20 more
  1. 2018CBAM: Convolutional Block Attention Modulecited by 2,477
  2. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  3. 2020YOLOv4: Optimal Speed and Accuracy of Object Detectioncited by 1,630
  4. 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,339
  5. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
  6. 2020A Survey on Visual Transformercited by 654
  7. 2019Selective Kernel Networkscited by 403
  8. 2017Residual Attention Network for Image Classificationcited by 386
  9. 2018Context Encoding for Semantic Segmentationcited by 290
  10. 2017ICNet for Real-Time Semantic Segmentation on High-Resolution Imagescited by 261
  11. 2021Attention Mechanisms in Computer Vision: A Surveycited by 232
  12. 2023Cross-Entropy Loss Functions: Theoretical Analysis and Applicationscited by 210
  13. 2016Resnet in Resnet: Generalizing Residual Architecturescited by 110
  14. 2018CGNet: A Light-weight Context Guided Network for Semantic Segmentationcited by 94
  15. 2015Places205-VGGNet Models for Scene Recognitioncited by 13
  16. 2021Dynamically pruning segformer for efficient semantic segmentationcited by 13
  17. 2024Feed-Forward Neural Networks as a Mixed-Integer Programcited by 4
  18. 2024Real-Time Weapon Detection Using YOLOv8 for Enhanced Safetycited by 3
  19. 2020Firearm Detection and Segmentation Using an Ensemble of Semantic Neural Networkscited by 1
  20. 2024Real Time Deep Learning Weapon Detection Techniques for Mitigating Lone Wolf Attackscited by 1

Built on by

Not cited yet.