Compressing medical intelligence

Large diagnostic models, distilled for the edge.

Distill compresses state-of-the-art medical imaging models through knowledge distillation and quantization, until they run offline, in seconds, on hardware a clinic already owns.

Footprint
< 4 GB RAM
Network
None required
Inference
On-device
teacher → student
01The gap

AI can already read an X-ray, a blood smear, a retina. Most of it never leaves the data center.

Frontier diagnostic models are built for GPUs and fast networks. The clinics that need them most run on budget phones, shared laptops and intermittent connections. The bottleneck is no longer accuracy. It is footprint.

19+GB

of memory to run a state-of-the-art medical imaging model

4GB

of memory on a typical budget smartphone

1 in 4

people worldwide are still offline

2.2 billion people, 96% of them in low- and middle-income countries, from rural India to sub-Saharan Africa.

02Method

Compress the model, not the standard of care.

We start from large, validated open models and produce compact students that keep what matters for a single diagnostic task, then measure exactly what was lost.

TEACHER · FULL PRECISION · GPUsoft targetsSTUDENT · LOW-BITON-DEVICE
  1. 01

    Distill

    A compact student network learns from a large, validated teacher, matching its full predictive distribution rather than hard labels, and inherits its diagnostic behavior at a fraction of the parameters.

    • teacher → student
    • soft targets
    • task-specific
  2. 02

    Quantize

    Weights and activations are reduced to low-bit integer formats, then pruned and fused for mobile CPUs and NPUs, so memory and latency shrink together.

    • int8 / int4
    • pruning
    • operator fusion
  3. 03

    Deploy

    Each model ships as a self-contained package that runs entirely on the device, in the browser through WebAssembly or natively on Android, with no connection needed after download.

    • on-device
    • offline
    • seconds per image
03Pilot · Preeclampsia

Reading preeclampsia in the retina.

Preeclampsia is a leading cause of maternal death in low- and middle-income countries, where hypertension screening, urine tests and specialist follow-up are hard to reach. Our first deployment target is an offline triage tool that needs only a phone, a low-cost lens adapter and a single encounter.

3–8%

of women who give birth worldwide develop preeclampsia

WHO, 2025

~42,000

maternal deaths a year from hypertensive disorders of pregnancy

WHO, 2025

16%

of all maternal deaths globally, concentrated where screening and follow-up are hardest to reach

WHO, 2025

Why the retina

Preeclampsia comes with systemic vascular change, and the retinal microvessels are among the few vessels you can see directly.1 The retina records cumulative vascular injury that a single blood-pressure reading misses, which matters most where readings are infrequent and follow-up is unreliable.

Why it needs a smaller model

Smartphone fundus capture has already been validated at scale in low-resource settings.2 The open question is the model. Phone images are noisier than clinic-camera images: glare, vignetting, defocus, partial fields. We train and evaluate compact students on exactly that kind of input, so they hold up on a budget phone with no connection.

GLAREOPTIC DISCVIGNETTING
Smartphone capture, illustrated
3D-PRINTED CLAMP20 D CONDENSING LENSAERIAL IMAGERETINASLIDING ARMANDROID PHONE≈ 50 mm
Capture rig: a 3D-printed adapter, adapted from the open-source oDocs Fundus design, holds a 20 D condensing lens in front of an Android phone camera.
  1. 01

    Capture

    A community health worker images the retina with a standard Android phone and a 3D-printed adapter holding a 20 D condensing lens.

  2. 02

    Screen

    A distilled vision model, trained for noisy smartphone fundus images rather than clinic-grade cameras, runs entirely on the phone.

  3. 03

    Triage

    The worker gets a refer-or-routine signal at the first encounter, with no connectivity, lab work or specialist equipment.

Pre-specified triage targets
Sensitivity
≥ 90%
Specificity
≥ 70%
Inference
< 2 s
Device
~$150 Android

Where we started

Before the retina, we built the distillation pipeline end to end on two simpler modalities, from teacher to on-device student.

Chest radiograph

Pneumothorax and thoracic findings

Teacher
CheXzero · CLIP ViT-B/32 · ~150M params
Student
MobileNetV3-Small · ~1.5M params · 6 MB
Training
Cached teacher logits + labels, mixup
Runtime
ONNX, in the browser
Peripheral blood smear

Blood cell morphology

Task
8-class cell-type classification
Data
BloodMNIST
Runtime
WebAssembly, CPU only
Latency
Milliseconds per image
Next in the library

Tuberculosis / Malaria / Diabetic retinopathy / Neonatal jaundice / Cervical cancer / Skin lesions / Chronic kidney disease

  1. Bhargava M, Ikram MK, Wong TY. How does hypertension affect your eyes? J Hum Hypertens. 2012;26:71–83.
  2. Bastawrous A, et al. Clinical validation of a smartphone-based adapter for optic disc imaging in Kenya. JAMA Ophthalmol. 2016.
  3. World Health Organization. Pre-eclampsia fact sheet. December 2025.
  4. International Telecommunication Union. Facts and Figures 2025.
04Mission

Frontier diagnostics for every clinic, on the hardware it already has.

  1. 01

    Offline by default

    Inference happens on the device. No connectivity required, and no patient image ever has to leave the clinic.

  2. 02

    Commodity hardware

    We target the phones and laptops clinics already have, not the hardware we wish they had.

  3. 03

    Measured, not marketed

    Every student is benchmarked against its teacher on public data. We report the accuracy gap and on-device latency next to the score.

  4. 04

    Built in the open

    Methods, benchmarks and tooling are developed openly, so they can be checked, reproduced and extended by others.

  5. 05

    Clinician-first

    Designed around existing clinical workflows, for people with no machine-learning background, so the tool fits into care rather than getting in its way.