Imagine an endoscopist’s eyes dancing across a screen during a colonoscopy. They aren't just clicking buttons; they are performing a sophisticated visual search, lingering on suspicious textures and scanning past healthy tissue. This "gaze" is a goldmine of expert knowledge, but until now, AI has mostly treated it like a collection of random dots on a map.
This paper introduces GEG-SAM, a framework that stops looking at gaze as isolated points and starts treating it as a structured journey to help AI identify polyps more accurately.
TL;DR
Instead of treating a doctor's gaze as a set of static "pings," GEG-SAM models the entire visual search process—the timing, the sequence, and the spatial relationships—to guide the famous "Segment Anything Model" (SAM). By understanding how a doctor explores an image, the model achieves a massive 9.3% improvement in segmentation accuracy over previous state-of-the-art methods.
What Problem Does This Paper Address?
Medical image segmentation (identifying the exact boundaries of things like polyps) usually requires experts to painstakingly trace outlines by hand. It’s slow, expensive, and doesn't scale.
Eye-tracking offers a "free" alternative: we can record where a doctor looks during a routine exam. However, most existing "gaze-supervised" models make a critical mistake: they treat every eye fixation as an independent piece of evidence. They ignore the fact that a doctor’s gaze is a continuous, evolving process. A quick glance might be an incidental distraction, while a long, focused stare followed by a circular scan usually indicates a lesion.
The challenge is capturing this "structured exploration" and feeding it into a powerful vision model like SAM without breaking the model’s pre-trained "intelligence."
Methods
The authors propose the Gaze Exploration-Guided Segment Anything Model (GEG-SAM). It works by "modulating" a frozen SAM encoder with expert gaze features. Here’s the breakdown:
- Gaze Dynamics-Structure Encoder (GDSE): This module looks at the rhythm of the gaze. It uses a Gated Recurrent Unit (GRU) to track the temporal sequence (what did the doctor look at first, second, third?) and a K-Nearest Neighbor graph to understand the spatial "neighborhoods" of the fixations.
- Gaze-Guided Semantic Token Composer (GSTC): This part connects the gaze behavior to the actual image. It asks: "What does the image look like at this specific fixation point compared to its surroundings?" It creates "gaze tokens" that represent both the doctor's intent and the visual evidence.
- Gaze Feature Injection (GFI): These tokens are then "injected" into the layers of the SAM encoder. Instead of just giving SAM a point prompt, GEG-SAM essentially whispers clinical context into SAM’s ear as it processes the image.
Datasets
The model was put to the test on five public polyp segmentation datasets:
- Kvasir-SEG and CVC-ClinicDB (used for training and in-domain testing).
- CVC-ColonDB, CVC-300, and ETIS (used as "unseen" test sets to check for generalization).
The researchers collected fresh gaze data from experienced endoscopists using a 250 Hz eye tracker to ensure the "expert" signal was high-quality.
Key Insights and Ideas
- Gaze is a Story, Not a Map: The most important finding is that the order and duration of fixations matter. By modeling the gaze as a trajectory, the model can distinguish between a doctor briefly scanning a fold in the colon and a doctor carefully inspecting a polyp.
- The "Aha!" Moment in Scaling: As shown in Figure 5, the model learns to assign different "spatial scales" to gaze points. It automatically realizes that fixations on a polyp should have a wider influence on the segmentation than accidental fixations on the background.
- Foundation Models Need Guides: SAM is incredibly good at seeing "objects," but it doesn't know which objects are clinically relevant. GEG-SAM acts as the clinical guide, directing SAM’s massive representational power toward the right targets.
Key Results
GEG-SAM sets a new bar for weakly supervised medical segmentation:
- Accuracy: It achieved a mean Dice score of 86.43% across all datasets.
- The Leap: This is a 9.30 percentage point improvement over the previous best weakly supervised method (WeSAM).
- Generalization: Even on "unseen" datasets like ETIS, which are notoriously difficult, GEG-SAM remained robust, significantly outperforming other gaze-supervised models like GAM and GNAN.
Limitations and Future Work
While GEG-SAM is a leap forward for static images, the authors note that clinical practice is often dynamic. Their next goal is to extend this logic to endoscopic video. This would involve modeling how gaze exploration evolves not just across one image, but across a moving stream of frames, accounting for the camera's motion and the polyp's changing appearance.
In short, the "journey" of the doctor's eyes is just beginning to be fully mapped.
Summary updated