Manuscript Offprint

arXiv:2610.30947

RetiJev: Fast and Source-Grounded Ophthalmic Decision Models

Bo Liu, Lianyu Wang, Meng Wang, Ching-Yu Cheng, Huazhu Fu

Abstract

Ophthalmic clinical decision support requires fast, accurate, and privacy-preserving inference, yet autoregressive large language models (LLMs) incur substantial latency and computational overhead for decisions among predefined actions. We therefore investigate a decision-oriented alternative to generative reasoning. Specifically, we first introduce RetiJev-Data, a source-grounded ophthalmology corpus comprising 78,158 clinical-decision and diagnosis questions derived from articles in PubMed Central and a MeSH vocabulary covering 531 eye diseases, and 50,074 guideline-grading questions spanning 11 grading systems, along with a 24,662-question evaluation benchmark. Based on this, we develop RetiJev, a family of 0.8B–9B decision models that directly score candidate answers without autoregressive decoding. Across all model sizes, RetiJev outperforms both a 27B LLM and the commercial Jev 1.13 decision model on guideline grading by 10.4–23.0 points. RetiJev-9B further achieves the highest accuracy on clinical decisions, improving over both baselines by 5.4–6.5 points while matching them on diagnosis. It answers a case in 158 ms on one GPU, 3.5×3.5\times faster than LLM generation and 470×470\times faster than reasoning. Models are released at https://github.com/Awenbocc/RetiJev.

Figure

Figure 1. Inference latency and peak GPU memory for ophthalmic case-level decision making. Latency is measured as the median per-case inference time on a single NVIDIA H200 GPU with batch size 1 (averaging 2.65 questions per case). All three RetiJev variants achieve 0.13–0.16 s latency with 3.3–31.5 GB of peak GPU memory, while RetiJev-0.8B also supports CPU-only inference on eight cores. The 27B LLM requires approximately 51 GB of GPU memory and exceeds one minute per case with reasoning enabled.

1. Introduction

Timely clinical decision-making is critical in ophthalmic care. A patient with sudden painless vision loss, a red and painful eye after cataract surgery, or a child with a new squint needs, within minutes, answers to a handful of concrete questions: how urgently must this be seen, which investigation comes next, is the planned treatment safe for this patient, and who should manage it? In ophthalmology many of these calls are made by non-specialists (emergency physicians, primary-care doctors, optometrists), because eye complaints are frequent, with roughly two million eye-related emergency visits a year in the United States (Channa et al., 2016), while ophthalmologists are scarce in much of the world (Resnikoff et al., 2020; Burton et al., 2021). Several eye emergencies are time-critical, such as central retinal artery occlusion, whose treatment window is measured in hours (Mac Grory et al., 2021). Decision support helps only if it keeps pace with the encounter. The first of the “ten commandments” of clinical decision support is “speed is everything” (Bates et al., 2003).

Large language models (LLMs) have demonstrated substantial medical and ophthalmic knowledge (Singhal et al., 2023; Nori et al., 2023; Antaki et al., 2023; Thirunavukarasu et al., 2024), yet their generative paradigm is not well suited to

∗^{*}Equal contribution 1^{1}Centre for Innovation and Precision Eye Health, Yong Loo Lin School of Medicine, National University of Singapore, Singapore 119228, Singapore. 2^{2}Department of Ophthalmology, Yong Loo Lin School of Medicine, National University of Singapore, Singapore 119228, Singapore. 3^{3}Singapore Eye Research Institute, Singapore National Eye Centre, Singapore 169856, Singapore. 4^{4}Ophthalmology & Visual Sciences Academic Clinical Program (EYE ACP), Duke-NUS Medical School, Singapore 169856, Singapore. 5^{5}Institute of Advanced Intelligence and Computing, Agency for Science, Technology and Research (A*STAR), Singapore 138632, Singapore. 6^{6}University of Washington, Seattle, WA, USA. Correspondence to: Meng Wang wang.m@nus.edu.sg, Ching-Yu Cheng chingyu.cheng@nus.edu.sg, Huazhu Fu hzfu@ieee.org.

Preprint. October 23, 2026.

the practical demands of point-of-care decision support. Autoregressive decoding introduces latency, particularly when reasoning or answering multiple questions about the same patient (Wei et al., 2022; DeepSeek-AI, 2025). LLMs also require substantial computational resources, while cloud-based inference raises patient privacy and data governance concerns (Marks & Haupt, 2023; Rocher et al., 2019). Moreover, free-form generation is poorly aligned with clinical decisions involving predefined actions, and guideline adherence remains inconsistent (Hager et al., 2024).

These limitations motivate a different formulation of point-of-care decision support. Many clinical decisions, including urgency assessment, investigation selection, management planning, and guideline grading, involve choosing among predefined options rather than generating free-form responses. Such tasks can instead be addressed by directly scoring candidate answers. Decision models of the Jev family (Palmer, 2026; Ma, 2026; TypeSafe, 2026) follow this paradigm, producing candidate probabilities without autoregressive decoding. However, the general-purpose Jev 1.13 is available only through a hosted API, while the open-source MedJev 1^{1} focuses on clinical variable extraction rather than decision-making. Extending this paradigm to ophthalmology requires domain-specific supervision. Existing ophthalmic resources primarily emphasize medical knowledge assessment or image interpretation, offering limited source-grounded supervision for clinical decisions over standardized answer options.

To address this gap, we first introduce RetiJev-Data, a source-grounded ophthalmology corpus comprising two complementary resources. The clinical-decision resource contains 78,158 questions derived from articles of PubMed Central (PMC) and a MeSH vocabulary of 531 eye diseases, with labels tied to explicit source evidence. The guideline-grading resource contains 50,074 questions across 11 published grading systems, with labels derived from clinical criteria and notes independently verified for fidelity to underlying findings. Together, these resources support the systematic evaluation of clinical action selection, guideline application, and disease recognition. The test split forms RetiJev-Bench, comprising 24,662 questions for standardized evaluation. Dataset statistics and task examples are provided in Sections 3 and K.

Building on this corpus, we develop RetiJev, a family of 0.8B–9B decision models that directly score candidate answers without autoregressive decoding. We evaluate RetiJev against a 27B LLM and the commercial Jev 1.13. Across all model sizes, RetiJev outperforms both baselines on guideline grading by 10.4–23.0 percentage points. RetiJev-9B achieves the highest clinical-decision accuracy while matching the baselines on diagnosis. As shown in Figure 1, it answers a case in 158 ms on a single GPU, compared with 546 ms for direct generation and 74.5 s for reasoning-based generation by the 27B LLM. With 34× fewer parameters, RetiJev-0.8B outperforms both baselines on seen-decisions and achieves comparable accuracy on unseen-decisions. It requires 3.3 GB of GPU memory and runs on eight CPU cores, supporting local deployment without transmitting patient data to external services. These results highlight the potential of compact decision models for accurate, efficient, and privacy-preserving ophthalmic decision support.

In summary, our contributions are threefold:

• We construct RetiJev-Data, a dataset for point-of-care ophthalmic decisions that covers tasks across 12 ophthalmic categories and 11 guideline-grading systems.

• We propose RetiJev, a family of Jev-style decision models from 0.8B to 9B parameters that directly score candidate answers without autoregressive decoding.

• Extensive experiments show that RetiJev outperforms a 27B LLM and Jev 1.13 on guideline grading at all sizes and on clinical decisions at 2B and 9B. It achieves 133–158 ms inference per case on one GPU, with the 0.8B model also supporting CPU-only deployment.

References (81)

  • npj Digital Medicine, 1:39, 2018
  • An analysis of its successes and shortcomings
  • Making the practice of evidence-based medicine a reality
  • JAMA Network Open, 6(8):e2330320, 2023
  • Vision beyond 2020
  • The Laryngoscope, 80(9):1414–1428, 1970
  • JAMA Ophthalmology, 134(3):312–319, 2016
  • Nature Medicine, 24:1342–1350, 2018
  • DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning
  • From Retrieval to Typed Decisions: Calibrated System One Models from Biomedical Sentence Encoders
  • Pre-training of deep bidirectional transformers for language understanding
  • Chapman & Hall, 1993
  • Ophthalmology, 120(4):844–851, 2013
  • Training an ophthalmology large language-and-vision assistant based on instructions and dialogue (opens arXiv in a new tab)
  • Ophthalmology, 128(1):P71–P150, 2021
  • JAMA, 316(22):2402–2410, 2016
  • Gunasekar, S., Zhang, Y., Aneja, J., et al. Textbooks are all you need. arXiv preprint arXiv:2306.11644, 2023. (opens arXiv in a new tab)
  • Nature Medicine, 30:2613–2622, 2024
  • Distilling the Knowledge in a Neural Network
  • Mosby, St. Louis, 1993
  • Low-rank adaptation of large language models
  • Standardization of uveitis nomenclature for reporting clinical data
  • Applied Sciences, 11(14):6421, 2021
  • A dataset for biomedical research question answering
  • Open large language models for ophthalmology with advanced reasoning and clinical validation (opens arXiv in a new tab)
  • Specialized Decision Models vs. General-Purpose LLMs: Benchmarking Jev Across Knowledge, Reasoning, and Multilingual Tasks
  • Accept when confident, escalate when unsure (opens arXiv in a new tab)
  • Bulletin of the Medical Library Association, 88(3):265–266, 2000
  • Ultra-fast clinical variables extraction from free-text notes
  • A scientific statement from the American Heart Association
  • A benchmark evaluation (opens arXiv in a new tab)
  • JAMA, 330(4): 309–310, 2023
  • JAMA Ophthalmology, 141(6): 589–597, 2023
  • Clinical Endocrinology, 47(1):9–14, 1997
  • Capabilities of GPT-4 on Medical Challenge Problems
  • A large-scale multi-subject multi-choice dataset for medical domain question answering
  • A large multimodal ophthalmology dataset and benchmark for large vision-language models
  • Estimating the success of re-identifications in incomplete datasets using generative models
  • Nature, 620:172–180, 2023
  • Nature Medicine, 31:943–950, 2025
  • A head-to-head cross-sectional study
  • Wang, X., Liu, B., Wang, M., Zhang, Z., Zhu, C., Fu, H., and Liu, J. Towards clinically interpretable ophthalmic vqa via spatially-grounded lesion evidence. arXiv preprint arXiv:2605.22414, 2026. (opens arXiv in a new tab)
  • Aligning language models with self-generated instructions
  • Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inference
  • Ophthalmology, 110(9):1677–1682, 2003
  • Improving Mamba2 with delta rule
  • Disaggregating prefill and decoding for goodput-optimized large language model serving
  • Nature, 622:156–163, 2023
  • Table 6 summarizes the clinical parameters, question types and test-question counts for each system
  • For each grading system, we sample 1,000 structured cases from predefined, clinically plausible ranges, emphasizing values near decision thresholds, such as 20 versus 21 haemorrhages per quadrant and drusen of 63 versus 64 $\mu$ m
  • We then applied keyword-based screening to identify articles containing evidence relevant to diagnosis, investigation, management, safety, referral, and urgency
  • Each rule is used to generate 2–3 cases when supported by the evidence
  • The Qwen3.8-27B teacher generates vignettes of 40–150 words and supplies probability distributions over the target disease and differential diagnoses drawn from MeSH siblings or three teacher-selected alternatives
  • Profiling RetiJev-0.8B on 200 development cases on the same H200 attributes 0.9 ms to input validation and tokenization, 29 ms to state encoding, 1.9 ms to cache replication, and 63 ms to question processing and the prediction head
  • Decision-Seen and Decision-Unseen evaluate the six clinical-decision tasks, including diagnosis-support ratings
  • Every RetiJev model achieves near-perfect accuracy on standard renderings (99.9%)
  • the next step is
  • ><tr><td rowspan=
  • Question identifiers never appear in the text
  • The Qwen3.5 backbones interleave three Gated DeltaNet layers with each gated full-attention layer
  • This update defines an exponential moving average over successive predictions
  • The first two tasks form the clinical-decision and diagnosis component; the third forms the guideline-grading component
  • Cherry red spot at the macula is a clinically significant fundoscopic finding that usually denotes an ocular emergency, especially in the patient who presents with sudden, painless unilateral vision loss and absence of other preceding clinical factors
  • Urgent orbital decompression is considered if there is no improvement of optic nerve function within 2 weeks following medical treatment
  • Surgical vitrectomy may be needed for nonclearing vitreous hemorrhage, macular hole, or retinal detachment, but procedures are complex in infant eyes and often require consultation with a pediatric retina trained surgeon
  • Computerized tomography is the imaging of choice for evaluating suspected orbital and orbitofacial fractures, intraorbital and intraocular foreign bodies and traumatic optic neuropathies
  • It is useful in detecting intraocular foreign bodies (IOFB) and outlining soft tissue abnormalities of the eye and orbit in presence of media opacity
  • The diagnosis of RPE tears is clinical, and can be assisted by different imaging modalities, with optical coherence tomography (OCT) imaging being one of the best ways to confirm an RPE tear
  • Indications for surgical intervention include persistent symptoms, significant keratopathy despite conservative management or inability to frequently apply lubricants especially in young children
  • featureless retina
  • Anti-VEGF therapy for DME is not a contraindication in the setting of DMI
  • Patients will need continual follow up and re-evaluation until dryness is improved, before LASIK can be performed
  • Given the current state, how well is the diagnosis X supported?
  • left eyelid redness and swelling
  • The presence of the following signs is suggestive of orbital involvement: proptosis, chemosis, pain with eye movements, ophthalmoplegia
  • yellow deposits located between Bruch’s membrane and the RPE
  • symptoms of central visual blurring prior to the age of 40 years old may be an indication of SMD
  • yellow, extracellular deposits between Bruch’s membrane and the RPE
  • Applying the Endophthalmitis Vitrectomy Study, what is the initial management of the right eye? → Outside the EVS population (not acute endophthalmitis within 6 weeks of cataract or secondary IOL surgery); the EVS rule does not directly apply
  • Classify the visual impairment by the WHO / ICD-11 categories, using presenting distance acuity in the better eye (and the central visual field)
  • Grade today's anterior chamber cells in the right eye on the SUN scale (cells counted in a 1 mm by 1 mm slit beam)