Abstract
Active Visual Exploration (AVE) is the process by which an agent sequentially selects informative glimpses to build a comprehensive understanding of its environment. Traditional AVE methods often rely on complex dual-network architectures, utilizing a task-specific model alongside a separate reinforcement learning-based policy network for glimpse selection. This paper introduces Attention-Map Entropy (AME), a streamlined approach that leverages the internal uncertainty of a transformer-based Masked Autoencoder (MAE). By calculating the Shannon entropy of decoder attention maps, AME identifies regions of high uncertainty to guide the selection of subsequent glimpses. This method eliminates the need for auxiliary policy networks or specialized loss functions. Experimental results on MS COCO, ADE20K, and SUN360 benchmarks demonstrate that AME achieves state-of-the-art performance in image reconstruction, classification, and semantic segmentation.
Introduction
In computer vision, the assumption of high-resolution, omnidirectional data is often at odds with the constraints of real-world applications. Robots, drones, and other embodied AI agents typically operate with limited fields of view and finite processing power. To navigate and interpret their surroundings effectively, these agents must perform active visual exploration—deciding where to look next to maximize information gain.
Historically, this has been treated as a decision-making problem requiring a separate "policy" network. These dual-approach models are notoriously difficult to train, often requiring Reinforcement Learning (RL) and auxiliary loss functions that can lead to instability and high memory consumption. AME addresses these challenges by deriving exploration guidance directly from the transformer's own attention mechanism, creating a task-driven selection process that is both efficient and effective.
The AME Framework
Core Architecture
AME is built upon the Masked Autoencoder (MAE) architecture. The exploration process follows a sequential loop:
- Glimpse Acquisition: The agent begins with an initial set of image patches (glimpses).
- Encoding and Decoding: These patches are processed by a transformer encoder and subsequently a decoder to predict the missing (masked) portions of the image.
- Entropy Calculation: The model analyzes the Shannon entropy of the decoder’s attention maps. High entropy in a specific masked patch indicates that the model is uncertain about the content of that region based on the current available data.
- Selection: The patch with the highest entropy is selected as the next glimpse, and the cycle repeats.
Task-Driven Uncertainty
Unlike methods that use a generic curiosity signal, AME’s uncertainty is inherently task-driven. Because the transformer is trained to minimize the loss of the final task (e.g., reconstruction), the attention maps naturally evolve to prioritize features most critical for that task. This eliminates the need for an auxiliary "sampling loss," allowing the model to focus entirely on the target objective during training.
Experimental Evaluation
Datasets and Setup
The researchers evaluated AME across three diverse benchmarks:
- MS COCO: Used for evaluating reconstruction capabilities in common object contexts.
- ADE20K: Used for semantic segmentation, testing the model's ability to identify complex scene structures.
- SUN360: Panoramic images used for both reconstruction and multi-class classification.
To simulate realistic embodied AI constraints, the model was also tested using a "retina-like" glimpse regime, which features a high-resolution foveal center and a blurred periphery.
Key Results
AME consistently outperformed existing state-of-the-art (SOTA) models, such as AttSeg and SimGlim, across all evaluated tasks:
- Reconstruction: On the SUN360 dataset, AME achieved a Root Mean Squared Error (RMSE) of 23.6, a significant improvement over the previous SOTA of 33.8.
- Classification: AME reached 75.7% accuracy on SUN360, substantially higher than the 52.6% achieved by prior convolutional-based active vision methods.
- Segmentation: On ADE20K, AME demonstrated superior Pixel Accuracy and Intersection over Union (IoU), proving highly effective at identifying structures even with a limited number of glimpses (covering less than 20% of the image).
Discussion and Insights
The Role of Decoder Depth
A critical finding of the study is that the depth of the decoder layer used for entropy calculation matters. Entropy sourced from later layers of the decoder provides the most effective guidance. While early layers tend to focus on low-level visual features, deeper layers capture semantic confusion, which is more indicative of truly informative regions.
Biological Mimicry and Efficiency
The success of AME with retina-like sensors suggests a strong potential for biological mimicry in robotics. Furthermore, by removing the secondary policy network, AME simplifies the training pipeline and ensures that 100% of gradient updates are dedicated to the target task, leading to more stable and higher-performing models.
Conclusion and Future Work
Attention-Map Entropy represents a significant shift in active visual exploration by demonstrating that a transformer’s internal state is sufficient for intelligent glimpse selection. While the method is highly effective, it currently requires a full forward pass to determine each subsequent glimpse, which may present a computational bottleneck in real-time robotics. Future research will focus on optimizing these passes and extending the AME logic to dynamic video environments where temporal consistency and motion must be integrated into the exploration strategy.
Summary updated