This paper introduces Coarse-to-Fine Glimpse-based Active Perception (CF-GAP), a bio-inspired front-end for vision models that mimics the human "saccadic" eye movement. Instead of processing a high-resolution image in its entirety, CF-GAP iteratively directs a sequence of "glimpses" to zoom in on task-relevant regions, significantly boosting the performance of standard instance detectors in cluttered, high-resolution scenes.
TL;DR
CF-GAP is a task-driven front-end that uses a coarse-to-fine glimpsing strategy to localize specific objects in high-resolution images. By focusing computation only on relevant regions, it improves detection accuracy by up to 20% and enables lightweight models to outperform much larger counterparts.
What Problem Does This Paper Address?
Modern computer vision models typically process images uniformly. However, high-resolution images (e.g., 6K or 8K) often contain small, critical details that are lost when the image is resized to fit a model's fixed input dimensions (like 1024x1024). Furthermore, standard detectors are "passive"—they attempt to identify every object in a scene, which is computationally wasteful and prone to errors in cluttered environments when the goal is to find one specific item.
The authors argue that vision should be active and task-driven. Just as a human looking for their keys doesn't process every pixel of a room with equal detail, vision models should be able to "glimpse" promising areas and zoom in for a closer look.
Methods
CF-GAP acts as a plug-and-play front-end for existing detectors (like SAM or GroundingDINO). It operates in a two-stage, nested process:
- Coarse Glimpsing: The model processes a downscaled version of the entire scene. Using a lightweight encoder (MobileNet-V3), it generates a "search map" by correlating the scene with examples of the target object. This identifies rough candidate locations.
- Fine Glimpsing: For each candidate location, the model uses a log-polar sensor. This sensor mimics the human fovea: it captures high-resolution detail at the center (the fixation point) and progressively lower resolution toward the periphery.
- Perceiver-based Architecture: Because log-polar images have non-uniform resolution, standard CNNs struggle. The authors use a Perceiver-based architecture (cross-attention and self-attention) to iteratively refine the glimpse location toward the target.
- Downstream Processing: Once a precise Region of Interest (RoI) is identified, it is passed at high resolution to a "downstream" detector (e.g., NIDS-Net or MobileSAM) for final verification.
Datasets
The authors evaluated CF-GAP on two challenging benchmarks:
- HR-InsDet: A high-resolution dataset containing 160 indoor scenes (up to 6Kx8K resolution) and 100 object instances. It includes subsets categorized by object size and level of clutter/occlusion.
- Robotools: A benchmark with 20 object instances and over 1,500 test images, used to evaluate how well the model generalizes to novel objects not seen during training.
Key Insights and Ideas
- "Looking" vs. "Seeing": The paper proposes a functional dichotomy. CF-GAP is responsible for "looking" (finding task-relevant regions), while the downstream detector is responsible for "seeing" (analyzing those regions in detail).
- Log-polar Advantage: Unlike standard rectangular crops, log-polar glimpses are robust to size. Because they always include the periphery (albeit at low res), the model is less likely to "lose" an object if the initial coarse guess was slightly off.
- Efficiency through Focus: By providing targeted RoIs, CF-GAP allows lightweight, edge-optimized models (like MobileSAM) to achieve results comparable to or better than heavy foundation models processing the full scene.
- Attention is All You Need for Foveation: The use of Perceiver-like attention mechanisms is critical for processing the non-uniform resolution of log-polar glimpses, outperforming specialized CNNs like Deformable Convolutions.
Key Results
- Accuracy Boost: CF-GAP improved Average Precision (AP) by up to 20% on the "hard" (highly cluttered) subset of HR-InsDet when paired with the MobileSAM baseline.
- Lightweight Superiority: A lightweight detector (OTS-FMMobileSAM) paired with CF-GAP outperformed the much larger standard SAM baseline on difficult subsets.
- Efficiency: Compared to "naive patching" (splitting a high-res image into a grid of 165 overlapping patches), CF-GAP achieved higher accuracy while processing 5x fewer regions.
- Generalization: The model showed strong zero-shot generalization on the Robotools dataset, proving that the glimpsing strategy isn't just memorizing specific objects but learning a general search behavior.
Limitations and Future Work
- Texture-Based Guidance: Currently, the search maps rely primarily on texture and local features. The authors note that human vision also uses high-level semantics (e.g., "keys are usually on tables, not the ceiling"), which CF-GAP does not yet exploit.
- Fixed RoI Size: The final crop passed to the detector is a fixed size. An adaptive mechanism that adjusts the crop based on the estimated object size could further improve efficiency.
- Computational Overhead: While it reduces the area processed at high resolution, running multiple glimpses incurs a linear cost. A "stop-early" mechanism that halts glimpsing once an object is confidently found would be a valuable future addition.
Summary updated