TL;DR
When searching through a cluttered environment, how do we decide what to look at and what to collect? This paper introduces Visual Forager (VF), a reinforcement learning-trained transformer model that mimics human eye movements and decision-making during complex, multi-target search tasks. Without using any human training data, VF successfully replicates human reward-seeking biases and saccadic eye movements, offering a powerful computational lens into cognitive decision-making.
What Problem Does This Paper Address?
Most traditional AI models for visual search operate under idealized conditions: they look for a single target, or they treat all targets as having equal value. Real life, however, is a game of hybrid visual foraging. Think of grocery shopping with a list, scanning traffic for lights and pedestrians simultaneously, or sorting through a pile of coins to find change.
In these scenarios, targets vary in both monetary/utility value and how frequently they appear (prevalence). Because our time and visual attention are limited, we must constantly prioritize. How do target values and prevalence influence our gaze and collection strategies? To answer this, the authors bridge the gap between human psychology and computer vision by investigating eye movements as a direct reflection of value-guided decision-making.
Methods
The authors developed Visual Forager (VF), a computational model designed to navigate hybrid visual foraging tasks. The architecture consists of three core modules:
- Target Feature Modulation: The model processes a search image using a VGG16 backbone modified with eccentricity-dependent pooling. This mimics human foveated vision, where visual resolution drops sharply away from the center of fixation. It computes similarity maps between the search scene and the target items.
- Target Value Modulation: Target values are embedded via a fully connected network and fused non-linearly with the visual similarity maps, creating value-modulated feature maps.
- Decision-Making Policy Network: A Vision Transformer (ViT) processes these feature maps. It uses an actor-critic framework trained via Proximal Policy Optimization (PPO) to simultaneously output the next fixation location (an attention map) and a binary decision on whether to "click" (collect) the item currently in view.
To train VF effectively, the authors implemented a two-stage curriculum learning strategy. In the first stage, the model learns only where to fixate using full-resolution images and an infinite inhibition-of-return (IOR) mechanism to prevent backtracking. In the second stage, foveated vision and a realistic, decaying finite memory (finite IOR) are introduced, and the model learns when to collect items.
Datasets
The authors evaluated their approach using both human psychophysics data and procedurally generated environments:
- Human Psychophysics Dataset: Data was collected from 15 human participants across 750 trials, capturing 50,514 eye fixations and 12,851 mouse clicks.
- Procedural Foraging Environments: For AI training and evaluation, the authors generated 16×16 object arrays containing a mix of targets and distractors drawn from a pool of 2,400 unique real-world object images (originally from Brady et al., 2008).
Testing included two in-domain conditions (where target values and prevalence varied within trained distributions) and five out-of-distribution (OOD) stress tests featuring completely unseen target objects, novel value combinations, varying total item counts, and different target set sizes.
Key Insights and Ideas
- Zero-Shot Human Alignment: Despite receiving zero training on human gaze data, VF naturally replicated human visual search characteristics simply by optimizing for reward maximization under human-like physical constraints.
- The Role of Foveation: Introducing eccentricity-dependent pooling naturally constrained the model's saccade (eye movement) sizes. When foveation was removed, the model's saccade sizes expanded unrealistically, proving that human-like eye movement metrics are heavily dictated by the biological limitations of our visual system.
- Sophisticated Value Integration: Simple baseline models that explicitly multiplied visual features by target values performed poorly. VF's success demonstrates that value and visual features must interact dynamically and non-linearly to guide optimal foraging behavior.
Key Results
- Reward Performance: Humans achieved normalized reward scores of 87.4%, 84.1%, and 93.1% across various testing conditions. VF consistently outperformed all algorithmic baselines (including standard DQN, IVSN, and GazeFormer), achieving comparable human-level scores of 72.6%, 67.1%, and 81.6%.
- Saccadic Consistency: VF achieved a mean saccade size of 4.06 degrees of visual angle, almost perfectly matching the human average of 4.05 degrees.
- Behavioral Biases: Both humans and VF exhibited identical clicking biases—over-picking high-value targets and under-picking low-value targets, even when low-value targets were far more common.
- OOD Generalization: VF proved highly robust in stress tests, comfortably outperforming baseline models when introduced to entirely novel objects and value structures.
Limitations and Future Work
While VF marks a significant step forward, the authors note several areas where human cognition still outpaces the model:
- Peripheral Clicking: Humans occasionally click on targets in their peripheral vision without directly fixating on them; VF currently assumes that collection decisions can only happen at the exact center of a fixation.
- Priming and Long-Term Memory: Humans display strong "priming effects" (a tendency to repeatedly collect the same target type). VF lacks a long-term working memory module to capture these sequential dependencies.
- Fixation Duration: The current model only predicts where to look, not how long to look. Human data shows longer fixation durations on higher-value targets, a dynamic feature VF cannot yet replicate.
Summary updated