English

P$^2$HCT: Plug-and-Play Hierarchical C2F Transformer for Multi-Scale Feature Fusion

Computer Vision and Pattern Recognition 2026-03-31 v3

Abstract

Feature fusion plays a pivotal role in achieving high performance in vision models, yet existing attention-based fusion techniques often suffer from substantial computational overhead and implementation complexity, particularly in resource-constrained settings. To address these limitations, we introduce the Plug-and-Play Hierarchical C2F Transformer (P2^2HCT), a lightweight module that combines coarse-to-fine token selection with shared attention parameters to preserve spatial details while reducing inference cost. P2^2HCT is trainable using coarse attention alone and can be seamlessly activated at inference to enhance accuracy without retraining. Integrated into real-time detectors such as YOLOv11-N/S/M, P2^2HCT achieves mAP gains of 0.9\%, 0.5\%, and 0.4\% on MS COCO with minimal latency increase. Similarly, embedding P2^2HCT into ResNet-18/50/101 backbones improves ImageNet top-1 accuracy by 6.5\%, 1.7\%, and 1.0\%, respectively. These results underscore P2^2HCT's effectiveness as a hardware-friendly and general-purpose enhancement for both detection and classification tasks.

Keywords

Cite

@article{arxiv.2505.12772,
  title  = {P$^2$HCT: Plug-and-Play Hierarchical C2F Transformer for Multi-Scale Feature Fusion},
  author = {Junyi Hu and Tian Bai and Fengyi Wu and Zhenming Peng and Yi Zhang},
  journal= {arXiv preprint arXiv:2505.12772},
  year   = {2026}
}

Comments

12 pages, 6 figures, ICME2026