H33 Proof Lab · Hospital Privacy

A hospital can use AI without ever sending the patient's image outside the hospital

The hospital encrypts information derived from the X-ray before anything leaves its trust boundary. An external AI evaluates only encrypted data — it never receives the patient's image or the decryption key. Only the hospital can decrypt the result. Every step is independently verifiable.
Before
A hospital wants to use an external AI service.
Policy: patient imaging data cannot leave the hospital.
The AI cannot be used.
With homomorphic encryption
Same hospital. Same policy. Same AI.
Patient imaging data never leaves the trust boundary.
The hospital can now safely use the external AI.
The hospital can now use AI it could not use before.
The imaging data never leaves its trust boundary · the evaluator never receives the decryption key · the classifier still produces a result.
No policy changed. No exception was granted. The technology changed.
Balanced accuracy — ⚠ Not for clinical use Research classifier PneumoniaMNIST
● Captured execution·Recorded runtime —·replay accelerated

Hospital

inside the hospital boundary
chest X-ray
This demonstration uses a de-identified 28×28 research image (PneumoniaMNIST). By design, in a real deployment the patient's full-resolution image and identifying information (name, MRN, date of birth, etc.) would also remain inside the hospital trust boundary — only encrypted values leave.
🔒 Derive encrypted features · encrypt
✓ Patient image remains inside the hospital trust boundary. Only encrypted values cross.
Trust boundary
encrypted inputs

Untrusted evaluator

cloud · ciphertext only
Receives
✓ Encrypted values
Never receives
✕ Patient image
✕ Patient identity (name, MRN, DOB, …)
✕ Decryption key
✓ Computes anywaywithout ever decrypting
Encrypted feature evaluation
Σ Combine on ciphertext
Encrypted class decision
Trust boundary
encrypted result

Hospital

inside the hospital boundary
🔓 Decrypt the result
Classifier output
Watch an external AI produce a result without ever receiving the patient's image or the decryption key.
Encrypting
Evaluating on ciphertext
17 bootstraps0 / 17
Decrypting
Encrypted computation
0 / 17
Programmable bootstraps — executed entirely over ciphertext

Machine learning

Classifierfrozen, quantized
DatasetPneumoniaMNIST
Test set— images
Balanced accuracy
Scoperesearch · non-clinical

Homomorphic computation

Inferenceover ciphertext
Programmable bootstraps17 / image
Evaluator keynone
ParametersH33-TFHE-256
Match

Verify this replay yourself

Artifact hash
Event chain
17 / 17 bootstraps
Frozen model hash
Oracle equivalence
Receipt

The 17 programmable bootstraps recorded in order for the selected case — 16 learned regional-intensity thresholds, then the class decision. Each does required model work; none is ceremonial.

#RoleRegion / τRecorded msOutput commitment

Verify it yourself, engine-independent:
rad-verify evidence/rad_image_canonical.json --anchor 197f6b23e16c8532c6abc838facd5ea789be0c76b2920334039bfa8b3d368d61

Scope of this demonstration

What this demonstration proves. A real, trained classifier runs entirely over encrypted, hospital-derived inputs; the external evaluator never receives the image, the patient's identity, or the decryption key; the hospital alone decrypts the result; and the full run is independently verifiable from a signed artifact.

What is specific to this example. The model here is intentionally small — a quantized classifier over 16 image-derived features, trained on the public, de-identified PneumoniaMNIST set (balanced accuracy 77.95%). It performs classification (normal vs pneumonia-associated pattern) — not lesion detection, localization, or segmentation. Its small size is a deliberate fit to the exact-precision budget of the programmable bootstrap used here.

What adapting to another model would involve. Larger or deeper models can run under encryption, but they cost more programmable bootstraps and compute and must be expressed in an FHE-compatible (e.g. quantized) form; richer inputs and architectures increase runtime. The privacy architecture is unchanged — encrypt inside the hospital, compute on ciphertext, decrypt only inside the hospital, verify independently. Whether a specific model fits is an engineering assessment against accuracy and latency targets; it does not change the privacy guarantee.

Research demonstration, not a clinical device.

Encrypted AI Analysis — chest X-ray · normal vs pneumonia. Learned regional-intensity threshold features over encrypted, hospital-preprocessed pixel-derived inputs. NOT lesion detection, localization, segmentation, or CNN pathology discovery. Research demonstration, not for clinical use. Dataset: PneumoniaMNIST (MedMNIST v2, CC BY 4.0). · Author: Eric Beans, CEO, H33.ai, Inc.