SpanFormer: Multi-Level Adaptive Sparsity for Object Detection in High-Resolution Wide Shots
Xiang Li, Chen Zhang, Wenxi Li, Yuetong Wang, Chenyang Lyu, Haozhe Lin, Fan Zhang, guiguang ding, Yuchen Guo
NeurIPS page · OpenReview · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Multi-Channel Vision Transformers · Type: new method · Keywords: object detection, gigapixel images, sparse vision transformer, adaptive sparsity, prototype routing, dynamic top-k
Areas: Model Architectures & Sequence Modeling › Vision and Generative Architectures › Efficient Vision Transformers; Computer Vision & 3D › Visual Multimodal Perception › Efficient Visual Processing
Summary
SpanFormer introduces multi-level adaptive sparsity to improve object detection in gigapixel wide-shot images by broadening computational span through prototype routing, dynamic top-k, and cluster memory attention.
Explained to a 5-year-old
In very big pictures, there are many empty spaces and only a few things to find. The system learns to tell which parts might have things by using special markers. It also decides how many parts to look at based on how many things are around. It then groups nearby parts together so it can see bigger objects. This helps find things more accurately without using too much computer power.
Explained to a 5-year-old, longer
When you look at a huge picture, like a satellite view of a whole city, there are lots of empty areas such as fields, water, or empty streets. Sometimes there are only a few buildings or cars hidden among all that emptiness. The system learns to spot where things might be by using special markers that act like tiny helpers. It also figures out how many parts of the picture to examine, looking more closely when there are many objects and skipping when there are almost none. After picking the important parts, it groups nearby pieces together so it can see larger objects that stretch across many pixels. This grouping helps the system understand objects that are bigger than a single small window. By sharing the same learning rules across all parts, the system avoids extra work and saves computer power. All these steps work together to make the detection more accurate while using less energy. The result is a smarter way to find things in massive images without slowing down the computer. It lets users get useful information from huge pictures quickly and easily.
For a technical reader
The paper presents a sparse vision transformer that dynamically selects windows for detection in gigapixel images. It uses learnable prototypes instead of hand-crafted variance scores, adjusts the number of windows per image based on scene density, and clusters selected windows to share memory across them. These changes broaden the receptive field and improve detection accuracy while cutting computational cost. The method is evaluated on the PANDA gigapixel benchmark, where it raises AP50 by 2.3 points and reduces FLOPs by over 75% compared to the baseline SparseFormer.
Problem
Detecting objects in high-resolution wide-shot images is challenging due to extreme foreground sparsity, highly variable object density, and large object clusters that exceed the receptive field of standard sparse vision transformers.
Method
The approach replaces variance-based window scoring with learnable foreground/background prototypes regularized by a balance constraint, predicts a per-image keep ratio to adapt compute to scene density, and clusters selected windows to augment attention with cross-window memory, all while sharing projection parameters to avoid extra cost.
Results
The approach achieves an AP50 of 80.3% on the PANDA benchmark, improving over the SparseFormer baseline by 2.3 percentage points while reducing backbone FLOPs by over 75%.
Contributions
It introduces prototype routing for better foreground/background discrimination, a dynamic keep ratio for elastic compute, and cluster memory attention to extend receptive fields, all without additional projection cost.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction