rad-decider-fast

rad-decider-fast (0.38B)

A small, fast model for the short decisions of a teleradiology service, from the order to the client's reply. It answers a typed question about a case in one forward pass with a calibrated probability for every option, and writes no text.

You give it the case as text fields (order, DICOM header fields, history, report sections, client message) and a question: yes/no, choose one, or an ordered scale. It returns a probability for each option and can only answer with an option you allowed. The model is UltraBERT-380M, fully fine-tuned with an option-marker head.

RESEARCH USE ONLY · NOT FOR CLINICAL USE. Not a medical device; not validated on patient care.

The problem

Radiology loses time on decisions that are simple to state and easy to miss at volume: Does the exam fit the clinical question? Right side, right contrast? Is the history enough to read? Does the report describe the side that was ordered? Does it describe contrast that was not given? Did a critical result get called? Who should recheck a rejected report? Missed, each one costs more than it would have to fix: a rescan, a call-back, a reassignment, an addendum, a repeat scan. rad-decider turns each of these into a typed question with a calibrated probability, so a workflow can flag before sign-off and sort the worklist on arrival instead of correcting afterwards.

Workflow stages, compared with Clef-flash

rad-decider-fast vs Clef-flash by workflow stage

Category What it decides What it prevents rad-decider-fast Clef-flash 9B
Ordering, protocol & pre-scan safety Whether the requested exam, modality, protocol and contrast fit the clinical question, plus the pre-scan safety checks (renal function, pregnancy, contrast allergy, MRI implant). Wrong exam, modality, contrast or side; duplicate scans; contrast in at-risk kidneys; unscreened pregnancy; allergic reactions; unsafe MRI. 0.946 0.957
Intake, triage & assignment Body region, contrast actually used, laterality conflict and reading urgency on arrival; whether the clinical history is complete; subspecialty, complexity, reader credentialing, SLA class and second-read need. Mis-routed studies, a wrong-side study, critical cases queued, holds and re-reads, the wrong reader, missed turnaround targets, missed double reads. 0.908 0.553
Report integrity, consistency & comparison Contrast, side, impression support and follow-up while the report is dictated; whole-payload internal consistency; whether the report matches the examination ordered; and whether the prior and comparison statement are correct. Wrong-side or wrong-contrast reports, unsupported impressions, contradictory reports, a report of another examination, comparing with the wrong prior. 0.864 0.821
Report error review & support Whether a candidate report differs from a reference and what kind of error (omission, severity, location, comparison, uncertainty); sentence-level errors; whether the report supports a claim (incl. negation and hedging); and whether structure and completeness are satisfied. Changed, dropped or hallucinated findings; mis-coded reviews; unsupported claims; incomplete or broken reports. 1.000 0.867
Clinical communication, follow-up & summaries Whether a critical/actionable finding is present, its urgency and whether the call is documented; incidental findings and follow-up recommendations; and whether the patient-facing summary is faithful and well-toned. A critical result never called or treated as routine; a missed incidental finding; a lost follow-up; an alarming or misleading summary. 0.944 0.883
Post-sign-off review, delivery & alerts Which reports to peer-review and how significant the discrepancy is; why a client rejected a report and who should recheck it; addendum type and clinician notification; and whether an AI/QC alert is valid. Missed risky reports; rejections bouncing between teams; wrong or unnecessary amendments; alert fatigue. (peer-review discrepancy label is simulated) 0.931 0.973
Beyond radiology (non-radiology exemplars) Critical lab values, medication-order checks and referral routing — the same one-model design applied outside radiology. A critical value not triaged; an unsafe order proceeding; a referral sent to the wrong clinic. 0.863 0.768
All categories 0.903 0.827

How to use

pip install -r requirements.txt     # torch>=2.4, transformers>=5.16, safetensors, numpy, huggingface_hub
hf auth login                       # private repository: a token with read access
from inference import RadDeciderFast

rd = RadDeciderFast(repo_id="Rology/rad-decider-fast")   # or RadDeciderFast() inside a local copy of this folder

# 1) Yes/No (noul) - laterality check
state = {
    "exam": "XR knee left",
    "ordered_side": "left",
    "dicom_laterality": "L",
    "findings": "Mild osteoarthritis of the left knee. The right knee is normal.",
    "impression": "Degenerative change of the left knee."
}
q_noul = {
    "type": "noul",
    "instructions": "Does the report describe a side that conflicts with the ordered side or the DICOM laterality? "
                    "A normal comparison of the other side is not a conflict."
}
res = rd.ask(state, q_noul)
print(res)   # {'type': 'noul', 'answer': ..., 'probabilities': {'yes': ..., 'no': ...}, 'p_yes': ..., 'calibrated': False, ...}

# 2) Choose one (choice) - rejection reason
state = {
    "exam": "CT KUB non-contrast",
    "client_message": "Comparison study on your platform; not retrieved."
}
q_choice = {
    "type": "choice",
    "instructions": "Why did the client reject this report?",
    "options": [
        ("missing_comparison", "Prior/comparison study missing or not retrievable"),
        ("wrong_patient_or_exam", "Wrong patient or wrong examination"),
        ("quality_issue", "Technical/quality issue"),
        ("other", "Other")
    ]
}
res = rd.ask(state, q_choice)
print(res)   # {'type': 'choice', 'answer': ..., 'probabilities': {'missing_comparison': ..., ...}, 'confidence': ..., ...}

# 3) Ordered scale (score) - urgency triage
state = {
    "modality": "CT",
    "ordered_procedure": "CT head without contrast",
    "patient_class": "Emergency",
    "order_priority": "STAT",
    "reason_for_exam": "Sudden left-sided weakness and slurred speech, onset 40 minutes ago",
    "age_years": 72,
    "sex": "M"
}
q_score = {
    "type": "score",
    "instructions": "How urgently should this study be read, based on clinical history, patient class and priority?",
    "options": [
        ("routine", "Outpatient or follow-up, no acute concern"),
        ("urgent", "Acute symptoms, read within hours"),
        ("stat", "Emergency, read immediately"),
        ("critical_suspected", "History suggests a life-threatening finding")
    ]
}
res = rd.ask(state, q_score)
print(res)

# Several questions in one call (batched; much faster on a GPU)
results = rd.ask_many([{"state": state, "question": q_score},
                       {"state": state, "question": {"type": "noul", "instructions": "Is this an emergency department patient?"}}])
  • Question types. noul = yes/no (no options needed: they are always yes, no); choice = one of 2-26 named options; score = an ordered scale, options from lowest to highest. Give every option a short name and a one-line definition: the model reads both.
  • State. Any text fields with clear names (order, DICOM header fields, history, findings, impression, client message), or one string.
  • Calibrated probabilities. A question written with exactly the wording and options of a trained question (all 128 are listed with their wording in questions.json) uses its fitted temperature and returns calibrated: True. Any other question is answered at temperature 1 (calibrated: False): use those probabilities to rank cases, not as rates.
  • Inputs up to 1,024 tokens; a longer state is cut keeping its start and end (state_truncated: True). A GPU needs about 4 GB; a CPU runs at about 2 s per question. python examples/teleradiology_workflow.py runs one synthetic case through all stages (19 decisions).

How it works

  • Input: <|endoftext|> <|im_start|> instructions (<|mask|> name: definition)* <|sep|> state, with one mask token before each option.
  • Readout: a small head (1024→256→1) scores the hidden state at each option marker; a softmax over the question's options gives the answer. Nothing is generated.
  • Training: one epoch over 579,997 rows, full fine-tune, AdamW (lr 8e-6), options and fields shuffled. The checkpoint was chosen on real report wording with injected errors. Temperatures per question are fitted on a separate validation half.
  • Loading: inference.py imports UltraBERT's own modeling file from encoder/ after a sha256 check; no remote code is run.

Limitations

  • Synthetic evaluation. Workflow scores come from synthetic cases built by the training generators. On real reports the model is weaker; checks of impression against findings and of internal contradictions were at chance on a small internal set.
  • Not a medical device. Decision support for workflow and quality control; every flag needs a human decision. Medical rules in the questions (e.g. the follow-up policy) are encodings of published facts and assumed policies — verify them with your radiologists.
  • The numbers are synthetic. They are on held-out synthetic cases and are not real-world performance. Some real-data evidence exists for the after-report checks only (contrast mismatch AUROC 0.96, wrong side 0.98, on a small de-identified quality-control sheet of real reports). Nothing before the report (orders, DICOM headers) has been validated on real data yet.
  • English text only; no images.

Files

rad_decider_fast.safetensors (weights, 726 MB) · rad_decider_fast_config.json · encoder/ (UltraBERT code, config, tokenizer) · questions.json (138 questions) · calibration.json · inference.py · examples/ · assets/ · LICENSE · NOTICE.md

Citation

@misc{raddeciderfast2026,
  title  = {rad-decider-fast: a fast calibrated decision model for the teleradiology workflow},
  author = {Rology},
  year   = {2026},
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Rology/rad-decider-fast

Finetuned
(29)
this model