Abstract
Standard semantic segmentation models typically require full-resolution input images, which is often impractical for resource-constrained autonomous agents. We present "Attend and Segment," an active semantic segmentation framework that iteratively explores an environment using strategically chosen, retina-like glimpses. By leveraging a self-supervised attention mechanism and a dual-stream memory architecture, the agent can reconstruct a full-scene segmentation map while processing as little as 18% of the total image pixels. Our approach achieves competitive performance on standard benchmarks like CityScapes and CamVid, demonstrating the viability of partial observability in complex urban scenes.
Introduction
In the real world, autonomous systems such as drones and mobile robots frequently operate under significant hardware constraints, including limited field-of-view, battery life, and data bandwidth. Traditional "greedy" segmentation models like DeepLab or U-Net, which process every pixel of a high-resolution frame, are often inefficient for these applications.
This paper addresses the challenge of partial observability. Instead of processing a full 4K image, can an agent intelligently explore its surroundings to build a complete semantic map? The proposed "Attend and Segment" model treats segmentation as an iterative, active process, mimicking human foveal vision to "look before it leaps."
Methodology
The framework consists of four primary modules that work together to process glimpses and hallucinate unvisited regions:
- Extraction Module: A shallow encoder that processes "retina-like" glimpses—patches with high resolution at the center and lower resolution at the periphery.
- Memory Module: A spatial feature map that accumulates information from all visited glimpses.
- Local & Global Modules: A two-stream architecture where the Local Module handles fine details of the current glimpse, while the Global Module uses learned priors to "hallucinate" the layout of unvisited areas.
- Attention Mechanism: A self-supervised uncertainty map guides the agent. At each step, the model identifies regions with the highest predictive entropy (lowest confidence) to select the next glimpse location.
A key insight of this work is that "hallucination" is a functional feature. Early in the exploration, the model relies on dataset-wide priors (e.g., roads are usually at the bottom). As more glimpses are taken, these hallucinations are refined into accurate representations of the specific scene.
Experimental Results
The researchers evaluated the agent on three major autonomous driving benchmarks: CityScapes, CamVid, and Kitti.
Efficiency and Accuracy
The agent demonstrated remarkable efficiency, achieving 78.1% accuracy on CityScapes and 80.9% on CamVid using only 10 glimpses. This represents a processing budget of just 18% of the total image pixels.
Attention vs. Baselines
The uncertainty-guided attention mechanism significantly outperformed simpler exploration policies, such as random sampling or fixed "horizon" scanning. Furthermore, a "Hybrid Agent" configuration—which begins with a very low-resolution global preview before zooming in on uncertain areas—proved particularly effective, closely mimicking human visual search patterns.
Discussion and Future Work
While the model excels at capturing large-scale structures like roads and buildings, it faces challenges with small, distant objects. Traffic signs, poles, and pedestrians are frequently missed if they do not fall within a sampled glimpse, as hallucinating these fine-grained details from global priors is inherently difficult.
Future work will focus on extending this framework to video streams to leverage temporal consistency. Additionally, testing on more diverse and less structured environments will be crucial for assessing the robustness of the learned global priors. Finally, deploying these algorithms on specialized retina-like hardware sensors could unlock significant power and bandwidth savings for real-world robotics.
Summary updated