D-E-A-D
Disease Early Alert Detection
The problem D-E-A-D solves
Disease outbreaks in rural and low-resource regions are often detected weeks too late because frontline clinics record patient symptoms as unstructured free-text notes that are never analyzed in real time. Most existing AI-powered surveillance systems require continuous internet connectivity and cloud infrastructure, making them unusable in remote areas where network outages are common.
As a result, health authorities receive outbreak information only after 14–28 days, allowing infectious diseases to spread before preventive action can be taken. The lack of early detection increases mortality, overwhelms healthcare systems, and delays the deployment of medicines, medical staff, and emergency resources.
Why existing solutions fall short
| Solution | How it works | Limitation |
|---|---|---|
| Quantized Gemma 2B (4-bit GGUF) | Runs a Small Language Model locally for clinical note understanding | Only performs NLP extraction; without outbreak analytics it cannot identify disease spikes or regional trends |
| Early Outbreak Disease Detection Systems | Detect outbreaks using centralized surveillance and historical reporting | Dependent on internet connectivity and delayed data aggregation, resulting in slow outbreak identification |
| Electronic Health Record (EHR) Analytics | Analyzes structured digital medical records | Rural clinics often lack standardized EHR systems, leaving unstructured clinical notes unused |
| **DEAD ** | Offline Edge AI + Local CUSUM Anomaly Detection + Privacy-Preserving Federated Sync | Works completely offline, detects outbreaks locally in real time, and securely synchronizes anonymized alerts when connectivity returns |
How PacketForge fixes this

Challenges we ran into
Building an offline AI-powered disease surveillance platform that works reliably in rural healthcare settings introduced several engineering challenges. The biggest challenge wasn't building the AI model itself—it was making the entire pipeline work without continuous internet connectivity, while remaining lightweight enough to run on ordinary clinic laptops.
Challenge 1 — Running an LLM Completely Offline on Low-End Hardware
Most modern medical NLP solutions rely on cloud-hosted Large Language Models that require GPUs and constant internet access. Rural health clinics often have only Intel i5 laptops with 8 GB RAM, making these approaches impractical.
Running the original Gemma model locally quickly exhausted memory and produced inference times that were too slow for real clinical workflows.
How we fixed it
We switched to a 4-bit quantized Gemma 2B (GGUF) model executed through llama.cpp, reducing memory consumption while maintaining useful medical reasoning.
Clinical Note
│
▼
Gemma 2B (4-bit GGUF)
│
▼
llama.cpp Runtime
│
▼
Structured Medical JSON
Model RAM Required Internet Clinic Ready
Full Gemma 16–24 GB Optional ❌ No
Cloud LLM APIs Cloud Required ❌ No
Gemma 2B (4-bit GGUF) ✅ ~4–5 GB None ✅ Yes
Challenge 2 — Extracting Reliable Information from Messy Clinical Notes
Doctors and health workers rarely follow a fixed format while writing notes. Symptoms may be abbreviated, written in multiple languages, or described differently by different clinicians.
Examples:
"High fever + vomiting"
"Fever since 3 days"
"Loose motion with dehydration"
"Vomiting, diarrhea, weak"
A rule-based parser missed many medically equivalent descriptions and generated inconsistent outputs.
How we fixed it
Instead of keyword matching, we used the offline Small Language Model to perform semantic understanding, extracting structured information including:
Syndrome
Symptoms
Severity
ICD-10 Code
Confidence Score
This made the system far more robust across varying writing styles and languages.
Challenge 3 — Secure Synchronization Without Exposing Patient Data
The central dashboard needs outbreak information, but transmitting raw clinical notes raises serious privacy concerns and increases bandwidth requirements.
Sending full patient records would also violate healthcare privacy principles.
How we fixed it
Instead of synchronizing medical records, DEAD only uploads anonymous outbreak signals whenever connectivity becomes available.
Before transmission we apply:
SHA-256 hashing for clinic identifiers
Laplace Differential Privacy
Payload compression (~800 bytes)
Clinical Notes
│
▼
AI Processing
│
▼
Anonymous Alert Signal
│
▼
Differential Privacy
│
▼
Central Dashboard
Data Type Uploaded
Patient Notes ❌ Never
Patient Identity ❌ Never
Alert Statistics ✅ Yes
Anonymous Metadata ✅ Yes
Challenge 4 — Supporting Clinics with Unreliable Internet
Many rural clinics experience intermittent connectivity, making cloud-first architectures unreliable.
If every clinical note required internet access, the system would simply stop working during outages.
How we fixed it
We designed the platform using an edge-first architecture.
AI inference runs entirely offline.
Alerts are generated locally.
Data is stored in SQLite until connectivity returns.
Secure synchronization happens automatically in the background.
SMS can be used as a fallback notification channel for prolonged outages.
This ensures that disease surveillance continues uninterrupted even when the clinic is completely offline.
