Seeing Like Radiologists: Context- and Gaze-Guided Vision-Language Pretraining for Chest X-rays
Organizations: Xidian University, Xi’an, China · Wuhan University, Wuhan, China
Abstract
Despite recent advances in medical vision-language pretraining, existing models still struggle to capture the diagnostic workflow: radiographs are typically treated as context-agnostic images, while radiologists' gaze -- a crucial cue for visual reasoning -- remains largely underexplored by existing methods. These limitations hinder the modeling of disease-specific patterns and weaken cross-modal alignment. To bridge this gap, we introduce CoGaze, a Context- and Gaze-guided vision-language pretraining framework for chest X-rays. We first propose a context-infused vision encoder that models how radiologists integrate clinical context -- including patient history, symptoms, and diagnostic intent -- to guide diagnostic reasoning. We then present a multi-level supervision paradigm that (1) enforces intra- and inter-modal semantic alignment through hybrid-positive contrastive learning, (2) injects diagnostic priors via disease-aware cross-modal representation learning, and (3) leverages radiologists' gaze as probabilistic priors to guide attention toward diagnostically salient regions. Extensive experiments demonstrate that CoGaze consistently outperforms state-of-the-art methods across diverse tasks, achieving up to +2.0% CheXbertF1 and +1.2% BLEU2 for free-text and structured report generation, +23.2% AUROC for zero-shot classification, and +12.2% Precision@1 for image-text retrieval. Code is available at https://github.com/mk-runner/CoGaze.
Figures & tables
| Method | Venue | NLG Metrics | CE Metrics | |||||||
| BLEU1 | BLEU2 | BLEU3 | BLEU4 | METEOR | R-L | P | R | 14 Mi-F1 | ||
| KiUT ( Huang et al., 2023 ) | CVPR’23 | 0.393 | 0.243 | 0.159 | 0.113 | 0.160 | 0.285 | 0.371 | 0.318 | 0.321 |
| METransformer ( Wang et al., 2023a ) | CVPR’23 | 0.386 | 0.250 | 0.169 | 0.124 | 0.152 | 0.291 | 0.364 | 0.309 | 0.311 |
| MAN ( Shen et al., 2024 ) | AAAI’24 | 0.396 | 0.244 | 0.162 | 0.115 | 0.151 | 0.274 | 0.411 | 0.398 | 0.389 |
| R2GenGPT ( Wang et al., 2023b ) | Meta-Radio’23 | 0.411 | 0.267 | 0.186 | 0.134 | 0.160 | 0.297 | 0.392 | 0.387 | 0.389 |
| Med-LLM ( Liu et al., 2024c ) | MM’24 | - | - | - | 0.128 | 0.161 | 0.289 | 0.412 | 0.373 | 0.395 |
| Model | Base Metrics | F1-SRR ( Delbrouck et al., 2025 ) | ||||
| BLEU | R-L | RG | P | R | F1 | |
| CheXagent ( Chen et al., 2024 ) | 1.80 | 19.65 | 15.41 | 77.12 | 82.56 | 77.90 |
| RaDialog ( Pellegrini et al., 2025 ) | 1.28 | 17.53 | 13.82 | 69.48 | 70.12 | 69.76 |
| CoGaze ♠ | 2.80 | 20.23 | 14.23 | 75.82 | 85.61 | 78.32 |
| CoGaze ♡ | 3.00 | 21.64 | 15.53 | 74.83 | 85.56 | 78.07 |
| Model | NIH (AUROC ) | SIIM (F1 ) | RSNA (F1 ) | ||||||
| 1% | 10% | 100% | 1% | 10% | 100% | 1% | 10% | 100% | |
| MedCLIP-ViT ( Wang et al., 2022b ) | 76.1 0.3 | 81.4 0.25 | 84.5 0.17 | 68.6 0.8 | 71.5 1.1 | 75.7 0.2 | 63.5 0.5 | 65.3 1.0 | 66.2 0.8 |
| MedKLIP ( Wu et al., 2023 ) | 75.2 0.1 | 80.3 0.08 | 83.9 0.08 | 61.4 0.3 | 64.4 2.1 | 72.7 1.4 | 60.4 0.6 | 61.9 1.4 | 66.0 0.6 |
| M-FLAG ( Liu et al., 2023 ) | 66.5 0.5 | 78.4 0.55 | 84.0 0.04 | 47.1 0.3 | 61.8 1.5 | 72.1 1.6 | 56.0 0.9 | 60.3 1.4 | 64.4 0.3 |
| MGCA-ViT ( Wang et al., 2022a ) | 78.2 0.1 | 82.4 0.03 | 84.4 0.05 | 66.3 0.3 | 68.6 0.9 | 73.3 0.8 | 61.0 1.3 | 64.3 0.4 | 66.9 1.4 |
| MRM ( Zhou et al., 2023 ) | 80.1 0.1 | 83.5 0.10 | 85.3 0.05 | 65.0 0.5 | 69.3 1.0 | 75.6 0.7 | 62.6 1.1 | 66.6 0.3 | 66.5 0.2 |
| Method | RSNA | Shenzhen | ||
| F1 | AUROC | F1 | AUROC | |
| MedCLIP-ViT ( Wang et al., 2022b ) | 34.9 | 50.3 | 50.7 | 51.1 |
| MedKLIP ( Wu et al., 2023 ) | 23.2 | 72.1 | 51.5 | 48.3 |
| M-FLAG ( Liu et al., 2023 ) | 77.4 | 59.1 | 49.3 | 27.6 |
| MGCA-R50 ( Wang et al., 2022a ) | 27.5 | 52.3 | 50.7 | 49.1 |
| MGCA-ViT ( Wang et al., 2022a ) | 22.8 | 51.6 | 51.5 | 48.3 |
| Method | RSNA (Dice ) | TBX11K (Dice ) |
| MedCLIP-R50 ( Wang et al., 2022b ) | 75.45 0.11 | 85.52 0.17 |
| MedCLIP-ViT ( Wang et al., 2022b ) | 73.29 1.41 | 85.62 0.07 |
| MedKLIP ( Wu et al., 2023 ) | 74.68 0.42 | 87.06 0.31 |
| M-FLAG ( Liu et al., 2023 ) | 67.86 0.63 | 79.12 0.16 |
| MGCA-R50 ( Wang et al., 2022a ) | 75.04 0.59 | 87.05 0.19 |
| MGCA-ViT ( Wang et al., 2022a ) | 75.48 0.28 | 86.89 0.39 |
| Model | BLEU2 | BS | 14 Mi-F1 | 14 Ma-F1 | 5 Mi-F1 | 5 Ma-F1 |
| Effect of context-infused vision encoder | ||||||
| w/o CC | 0.210 | 0.535 | 0.499 | 0.358 | 0.540 | 0.467 |
| Effect of multi-level supervision paradigm | ||||||
| 0.280 | 0.589 | 0.507 | 0.369 | 0.553 | 0.477 | |
| + | 0.286 | 0.595 | 0.522 | 0.380 | 0.568 | 0.496 |
| Effect of varying eye gaze ratio | ||||||
| Model | ZSC | Retrieval | Report Generation | ||||
| F1 | P@1 | P@5 | P@10 | BLEU2 | 14 Mi-F1 | 14 Ma-F1 | |
| MSE | 69.8 | 72.8 | 60.1 | 56.0 | 0.289 | 0.513 | 0.375 |
| IoU | 59.2 | 59.4 | 52.7 | 49.6 | 0.287 | 0.503 | 0.368 |
| JSD | 77.0 | 75.5 | 61.6 | 57.2 | 0.290 | 0.525 | 0.388 |
| Model | CLS (AUROC ) | SEG (Dice ) | Retrieval | Report Generation | |||||||
| SIIM | RSNA | Shenzhen | NIH | RSNA | TBX11K | P@1 | P@5 | P@10 | BLEU2 | F1 | |
| CoGaze w/ single-positive | 97.9 | 85.4 | 99.1 | 85.4 | 77.8 | 96.3 | 73.9 | 60.9 | 55.9 | 0.287 | 0.512 |
| CoGaze w/ gaze mask (EGMA ( Ma et al., 2024 ) ) | 97.6 | 89.6 | 99.4 | 85.1 | 78.3 | 96.3 | 70.5 | 58.1 | 54.3 | 0.285 | 0.509 |
| CoGaze (Ours) | 98.5 | 90.1 | 99.6 | 85.9 | 80.7 | 96.7 | 75.5 | 61.6 | 57.2 | 0.290 | 0.525 |
| Split | #Image | #Report | Context | Gaze |
| Train | 240,422 | 150,957 | 234,568 (97.57%) | 1,711 (0.71%) |
| Val | 2,117 | 1,182 | 2,063 (97.45%) | 10 (0.47%) |
| Dataset | Task | Train | Val | Test | Split |
| MIMIC-CXR ( Johnson et al., 2019 ) | Free-text Report Generation | 240,197 | 2,113 | 3,852 | official split |
| SRRG-Findings ( Delbrouck et al., 2025 ) | Structured Report Generation | 181,874 | 976 | 1,459 | official split |
| NIH ( Wang et al., 2017 ) | 14-class Classification | 78,468 | 11,219 | 22,433 | BenchX ( Zhou et al., 2024 ) |
| SIIM ( Zawacki et al., 2019 ) | Binary Classification | 9,303 | 1,372 | 1,372 | BenchX ( Zhou et al., 2024 ) |
| Shenzhen ( Jaeger et al., 2013 ) | Binary Classification | 463 | 65 | 134 | CheXWorld ( Yue et al., 2025 ) |
| RSNA ( Shih et al., 2019 ) | Binary Classification & Segmentation | 18,678 | 4,003 | 4,003 | BenchX ( Zhou et al., 2024 ) |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Task | Batch Size | LR | Patience | Epochs |
| RSNA | SEG | 16 | 1e-4 | 5 | 100 |
| TBX11K | SEG | 16 | 5e-5 | 10 | 100 |
| NIH | CLS | 16 | 1e-5 | 5 | 20 |
| SIIM | CLS | 32 | 5e-6 | 2 | 50 |
| RSNA | CLS | 16 | 1e-4 | 5 | 20 |
| Shenzhen | CLS | 16 | 1e-5 | 5 | 50 |
| Model | #Param | View Position | Gaze | ROUGE-L |
| CXR-VLM-EyeGaze | 7B | PA | ✓ | 0.298 |
| CoGaze | 321M | PA/AP/Lateral | ✗ | 0.326 |
| Model | CLS (AUROC ) | SEG (Dice ) | ||
| SIIM | Shenzhen | RSNA | TBX11K | |
| PriorRG ( Liu et al., 2026 ) | 96.3 1.6 | 98.40 0.24 | 78.55 0.29 | 96.07 0.07 |
| CoGaze | 97.4 0.1 | 99.47 0.09 | 80.22 0.41 | 96.56 0.11 |