Manuscript Offprint

arXiv:2609.09025

Task-driven Processing with Coarse-to-Fine Glimpse-based Active Perception

Oleh Kolner, Thomas Ortner, Stanisław Woźniak, Angeliki Pantazi

Oleh Kolner¹,², Thomas Ortner¹, Stanisław Woźniak¹, and Angeliki Pantazi¹

¹ IBM Research, Zurich, Switzerland

² Graz University of Technology, Graz, Austria

olk@zurich.ibm.com

Abstract. State-of-the-art vision models process images in their entirety, lacking the ability to selectively zoom in on relevant regions. This limitation is particularly acute in scenarios where processing must be conditioned on a specific task – such as instance detection, which requires localizing a specific object in a high-resolution, cluttered scene. In such settings, critical details are easily lost as images are often resized to match the model dimensions and computational constraints. We introduce Coarse-to-Fine Glimpse-based Active Perception (CF-GAP), a task-driven front-end that enhances high-resolution processing of existing instance detectors. CF-GAP selectively directs a sequence of limited-view glimpses across the scene, utilizing task information to iteratively refine focus on the most relevant regions. These localized regions are then processed at high resolution by a downstream instance detector. By avoiding full-image processing and eliminating irrelevant confounding information, CF-GAP improves Average Precision (AP) by up to 20% across various state-of-the-art instance detectors on the HR-InsDet and Robotools benchmarks, while further enabling lightweight detectors to outperform their larger counterparts.

Keywords: Active perception · Bio-inspired vision · Instance detection

1 Introduction

State-of-the-art vision models process entire images uniformly, lacking the ability to selectively zoom into task-relevant regions for detailed analysis. Moreover, they require images to be resized to the fixed input dimensions used during pre-training, often obscuring small but important regions. These limitations hinder performance on high-resolution images where task-relevant content is small or cluttered [37, 43, 50]. A further shortcoming is that task-specific information (e.g., a textual prompt or a specific object to be localized) is typically incorporated only after a costly feature extraction stage. However, early integration of such information could significantly reduce the image area requiring intensive computation and mitigate the influence of irrelevant or distracting features.

Human vision, by contrast, is inherently task-driven: we actively seek visual information based on what we aim to accomplish, rather than passively

O. Kolner et al.

Figure

Fig. 1: Coarse-to-Fine Glimpse-based Active Perception (CF-GAP) iteratively directs a series of glimpses across a high-resolution scene, using task-driven search maps to progressively narrow focus onto the likely search target. The resulting regions of interest are passed at high resolution to the downstream architecture for the final detection.

processing every detail [11,45]. For example, in an office environment shown in Fig. 1, one often needs to find a specific box or tool – not just any object from those categories. This targeted search corresponds to instance detection, where the goal is to localize a specific object instance given a few visual examples, as opposed to classical object detection, which seeks to identify all objects in a scene. As opposed to typical vision models, humans actively leverage instance-specific features as task cues for efficient visual search [41]. A further hallmark of human vision is the foveal structure of the eye, which provides non-uniform resolution – highest at the center and decreasing toward the periphery – balancing detailed information with a broad field of view [10,36]. Humans exploit this balance through eye movements (saccades) that follow a coarse-to-fine strategy: macrosaccades, guided by low-resolution cues, direct gaze to promising areas, which are then analyzed in detail through microsaccades [28,34,46].

Inspired by saccadic processing, the recently proposed Glimpse-based Active Perception (GAP) model [20] fixates on salient – not necessarily task-relevant – image regions to solve synthetic visual reasoning tasks, demonstrating strong out-of-distribution generalization and, thus, the effectiveness of processing only selected image parts. Building on this, we propose Coarse-to-Fine GAP (CF-GAP), which replaces uniform image processing by selectively directing a sequence of limited-view glimpses (Fig. 1). This sequence is generated through a nested process of coarse and fine glimpsing, guided by a task-specific object to be localized, referred to as a search target. Coarse glimpsing relies on correlations between the search target's features and the downscaled scene to identify an initial coarse glimpse location. There, a fovea-inspired log-polar sensor extracts a limited-view glimpse from the full-resolution scene, magnifying the visual details around the glimpse location while preserving peripheral information at diminishing resolution. Operating on this focused view, fine glimpsing directs the log-polar sensor in a closed loop to iteratively refine the initial location toward a likely search target. The resulting fine glimpse locations define a localized region of interest (RoI) that is passed to a downstream architecture at high-resolution to determine whether the search target is present at those locations.

Our work focuses on the instance detection problem, where visual processing must be conditioned on a specific search target. We design CF-GAP as a frontend module that integrates seamlessly with existing instance detectors as downstream architectures, providing them with targeted, high-resolution input. We combine CF-GAP with several state-of-the-art detectors and evaluate on HR-InsDet [37] and Robotools [21] as two challenging benchmarks. We observe significant performance improvement across all models. Notably, integrating CF-GAP with small models optimized for edge devices allowed them to match, and in some difficult cases, even surpass the performance of their larger versions.

To summarize, our contributions are the following:

  1. We introduce a bio-inspired, coarse-to-fine processing scheme to selectively explore high-resolution scenes, replacing exhaustive full-scene processing.

  2. We design our model as a front-end module that can be seamlessly integrated with any existing instance detector, enhancing it with targeted, high-resolution input.

  3. We show that our approach significantly boosts the performance of state-of-the-art instance detectors, particularly in cluttered and complex scenes.

References (51)