iMediFood-Shield: Secure Edge AI for Food and Medication Interaction Screening

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.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-08-24
DOI
https://doi.org/10.3390/electronics15173799
Primary Topic
Pharmacogenetics and Drug Metabolism
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

iMediFood-Shield: Secure Edge AI for Food and Medication Interaction Screening

Elias Kougianos, Saraju P. Mohanty, Laavanya Rachakonda, Indira Devi Siripurapu et al.
Electronics
Pharmacogenetics and Drug Metabolism
article

iMediFood-Shield: Secure Edge AI for Food and Medication Interaction Screening

Elias Kougianos, Saraju P. Mohanty, Laavanya Rachakonda, Indira Devi Siripurapu, Sai Sri Harsha Chakravarthula
article en

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.

ElectronicsVol. 15(17)
University of North Texas (US), University of North Carolina Wilmington (US)
Zero hunger
Openalex Percentile: Top 8%
Pharmacogenetics and Drug Metabolism
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.