BiHashFormer: Hash-Driven Dual-Branch Transformer for Efficient Object Detection in HRW Shots
Jingchen Huang, Wenxi Li, Chenyang Lyu, Moran Liu, Haozhe Lin, Yuchen Guo
Abstract
Recent advances in gigapixel-level imaging have brought High-Resolution Wide shots to the forefront of research. However, these images present significant challenges: extreme sparsity of foreground, gigapixel-level resolutions and interleaving of foreground and background. This causes traditional detectors and attention mechanisms to be hindered by background, resulting in inefficiency and inaccuracy. To tackle this problem, we propose BiHashFormer, a dual sparsified branch transformer built on hashing. RoI Selector will predict the foreground proportion for top-k selecting target-containing windows. The compression branch processes windows selected and refines attention into HashAttention by discarding half of the key-value pairs, reducing cost and improving efficiency. The compensation branch uses HashMiner to perform low-cost hash searches in the remaining regions, recovering features of missed objects. Experiments confirm that the selection relationship in HashAttention is one-way and reveal the preference of different queries for keys. In experiments on the gigapixel benchmark PANDA, BiHashFormer reduces 37.5% backbone FLOPs while improving AP50 to 81.0%. Moreover, this parallel dual-branch structure allows the model to avoid inference delays caused by inter-branch dependencies, while achieving much greater stability than single-branch models, specially with low rates of RoI selection.
Create a lesson
Metadata
- Comments
- Accepted at NeurIPS 2026. 34 pages including supplementary material and the NeurIPS checklist. Code: https://github.com/Purecoo00/BiHashFormer
Related papers
ElasticFormer: Detecting Objects in HRW Shots via Elastic Computing Vision Transformer
Shared title terminologycs.CVWenxi Li, Jingchen Huang, Chenyang Lyu et al.
Adapt, Label, Distill: Foundation-Model Supervision for Efficient Object Detection
Shared title terminologycs.CVZhengye Yang, Anthony Wang, Yuyang Li et al.
TADP: Dual-Branch Temporally Adaptive Differential Privacy for Expression-Aware Video Anonymization
Shared title terminologycs.CVFeng Xu, Xun Li, Lars Petersson et al.
YOLOF-MLD: A Multi-Level Distillation Framework for Efficient Object Detection
Shared title terminologycs.CVXiaolong Wu, Liming Zheng, Zitong Liu et al.
Synthetic Augmentation for Data-Scarce Object Detection: Allocation, Dose, and Filtering Across Six Datasets
Shared title terminologycs.CVJoão Félix, Atabak Dehban, Rodrigo Ventura
Look Where Camouflage Breaks: Concealment-Guided Observation for Camouflaged Object Detection
Shared title terminologycs.CVDingming Zhang, Fengyang Xiao, Jingjia Feng et al.