GazeSearch scanpath models (Table 3)
Browse files- README.md +71 -0
- scanpath/scanpath_chex.pth +3 -0
- scanpath/scanpath_medclip.pth +3 -0
- scanpath/scanpath_res.pth +3 -0
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
tags:
|
| 5 |
+
- medical-imaging
|
| 6 |
+
- chest-x-ray
|
| 7 |
+
- eye-tracking
|
| 8 |
+
- scanpath-prediction
|
| 9 |
+
datasets:
|
| 10 |
+
- Levi980623/GazeWorld-data
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# GazeWorld — GazeSearch scanpath models
|
| 14 |
+
|
| 15 |
+
Scanpath-prediction weights from the scanpath-probing experiment (Table 3) of
|
| 16 |
+
**A World Model of Radiologist Reading for Medical Image Representation Learning**
|
| 17 |
+
([arXiv:2605.23992](https://arxiv.org/abs/2605.23992)).
|
| 18 |
+
Code: [github.com/levyisthebest/gaze-world-models](https://github.com/levyisthebest/gaze-world-models)
|
| 19 |
+
|
| 20 |
+
All three models were trained on GazeSearch (ChestSearch protocol, 3,870 training scanpaths).
|
| 21 |
+
Each one is a scanpath decoder on top of a different visual backbone.
|
| 22 |
+
|
| 23 |
+
## Files
|
| 24 |
+
|
| 25 |
+
| File | Backbone | Paper |
|
| 26 |
+
|---|---|---|
|
| 27 |
+
| `scanpath/scanpath_chex.pth` | torchxrayvision DenseNet121 (`densenet121-res224-nih`) | Table 3, "Ours (CheX)" |
|
| 28 |
+
| `scanpath/scanpath_res.pth` | torchvision Mask R-CNN ResNet50-FPN (COCO) | Table 3, "Ours (Res)" |
|
| 29 |
+
| `scanpath/scanpath_medclip.pth` | MedCLIP Swin-T initialised from the Fixation-AR-JEPA V3 checkpoint | Table 3, "Ours (MedCLIP)" |
|
| 30 |
+
|
| 31 |
+
Each file is a `torch.save` dict and holds both backbone and decoder; the weights are under the
|
| 32 |
+
`"model"` key. The decoder is a 6-layer causal Transformer (d=512, 8 heads) on a 14×14 patch grid
|
| 33 |
+
at 448² input, with spatial (196-way), duration and termination heads. It predicts 7 fixations per
|
| 34 |
+
search task (13 finding categories).
|
| 35 |
+
|
| 36 |
+
## Usage
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
git clone https://github.com/levyisthebest/gaze-world-models && cd gaze-world-models
|
| 40 |
+
pip install -r requirements.txt
|
| 41 |
+
huggingface-cli download Levi980623/GazeWorld --local-dir weights
|
| 42 |
+
cd scanpath
|
| 43 |
+
# point the checkpoint path in the matching eval script to weights/scanpath/*.pth, then:
|
| 44 |
+
python scripts/eval_scanpath_v5.py # CheX
|
| 45 |
+
python scripts/eval_scanpath_v5res.py # Res
|
| 46 |
+
python scripts/eval_scanpath_v5medclip.py # MedCLIP
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
The GazeSearch annotations are mirrored at
|
| 50 |
+
[Levi980623/GazeWorld-data](https://huggingface.co/datasets/Levi980623/GazeWorld-data);
|
| 51 |
+
the radiographs themselves come from MIMIC-CXR (PhysioNet credentialed access).
|
| 52 |
+
|
| 53 |
+
## Results (paper, Table 3, GazeSearch test set, 488 scanpaths)
|
| 54 |
+
|
| 55 |
+
| | SM ↑ | SED ↓ | STDE ↑ | Vec ↑ | Dir ↑ | Pos ↑ |
|
| 56 |
+
|---|---|---|---|---|---|---|
|
| 57 |
+
| Ours (MedCLIP) | 0.479 | 3.74 | 0.909 | 0.941 | 0.649 | 0.837 |
|
| 58 |
+
| Ours (Res) | 0.484 | 3.66 | 0.912 | 0.966 | 0.678 | 0.917 |
|
| 59 |
+
| Ours (CheX) | 0.489 | 3.63 | 0.911 | 0.966 | 0.686 | 0.915 |
|
| 60 |
+
|
| 61 |
+
## Citation
|
| 62 |
+
|
| 63 |
+
```bibtex
|
| 64 |
+
@article{li2026gazeworld,
|
| 65 |
+
title = {A World Model of Radiologist Reading for Medical Image Representation Learning},
|
| 66 |
+
author = {Li, Yiwei and Wu, Zihao and Zhao, Huaqin and Zhou, Yifan and Cao, Chao
|
| 67 |
+
and Zhu, Dajiang and Liu, Tianming and Zhao, Lin},
|
| 68 |
+
journal = {arXiv preprint arXiv:2605.23992},
|
| 69 |
+
year = {2026}
|
| 70 |
+
}
|
| 71 |
+
```
|
scanpath/scanpath_chex.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9762cac5f791e1558f7b64b3c5961ee4ed7687b2f31ad058cf8e8acc43bc59fd
|
| 3 |
+
size 118061946
|
scanpath/scanpath_medclip.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee96b5a9d706498d9f0971a3390ee0902169e336217ecc3f3c213b57b13cdc5d
|
| 3 |
+
size 199541498
|
scanpath/scanpath_res.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8992d62aab97c68599cc2463b9b93430c3cd4bdf70b134f9d27529416b17638b
|
| 3 |
+
size 186092794
|