iMediFood-Shield: Secure Edge AI for Food and Medication Interaction Screening
Year: 2026
Type: article
Abstract: Food–medication interactions can occur when medicines are taken with foods, drinks, herbs, or supplements that influence drug absorption, exposure, or activity. Screening these combinations is challenging because the available evidence is imbalanced, prescription text may be recognized incorrectly, unsupported inputs may produce unreliable predictions, and altered software artifacts may change the recommendation presented to the user. iMediFood-Shield addresses these concerns through an evidence-first edge-AI framework that combines structured diet–drug interaction evidence, prescription-assisted medication confirmation, coverage-aware rejection, calibrated five-class prediction, false-safe-aware confidence gating, and software-based tamper-evident verification. The DDID preparation process began with 23,950 evidence records and produced 16,644 canonical medication–food/herb pairs, including 16,165 single-effect model-eligible pairs and 479 multi-effect conflict pairs. A leakage-free 70%–15%–15% split was applied after canonicalization, and the deployed lookup was restricted to training-supported and conflict records. On the operational locked-test AI branch of 2259 supported unseen pairs, the final calibrated LinearSVC with the validation-selected MedSafe-GATE threshold of 0.65 achieved 91.72% accuracy, 80.57% balanced accuracy, and a macro F1-score of 0.8359. The gate reduced calibrated false-safe predictions from 55 to 28, corresponding to a 49.09% reduction and a final false-safe rate of 1.35% among interaction-bearing AI-branch pairs. RxOCR-Guard achieved 94.67% candidate recall and 100.00% candidate precision on a controlled synthetic prescription benchmark, while mandatory user confirmation was retained because top-1 candidate accuracy was 51.33%. The unchanged baseline and all ten adverse software-bundle conditions produced the expected verification outcomes for artifact-modification, missing-file, key-mismatch, manifest-alteration, and rollback cases. Raspberry Pi deployment reproduced all 2259 reference predictions without mismatch, completed covered AI inference in 1.737 ms on average, and verified the protected software bundle in 80.249 ms on average. These results show that iMediFood-Shield can combine evidence-grounded screening, conservative AI decision control, prescription confirmation, and software-integrity verification within a resource-constrained edge research prototype.
Source: Electronics
Language: English
Subfield: Health Informatics
Field: Medicine
Domain: Health Sciences
Open Access status: gold
Estimated APC paid: $2,896
OpenAlex ID: W7204115928
