Related Experiment Video
Updated: Sep 26, 2026

Design to Implementation Study for Development and Patient Validation of Paper-Based Toehold Switch Diagnostics
Published on: June 17, 2022
PathoSafe: Sub-1 KB Out-of-Distribution Rejection and Cluster-Aware Certification for Point-of-Care Pathogen
Gaoming He1, Mengdi Hou1, Jianbo Huang2
1Guangxi Key Laboratory of Machine Vision and Intelligent Control, Wuzhou University, Wuzhou 543000, China.
Abstract:
A point-of-care pathogen-microscopy readout must signal when a sample falls outside what its detector was trained on. PathoSafe is an 816-byte int8-projection low-rank Mahalanobis out-of-distribution (OOD) head reading a frozen detector's penultimate feature. It reaches a cross-site area under the receiver operating characteristic curve (AUROC) of 0.980 and multi-source AUROC of 0.964 (parasitic-egg-dominated), within 0.01 of a 16,896-byte full-precision dense baseline, and adds a measured 30.76 µs and 816 bytes of read-only memory (ROM) constants on an STM32H743 development board, so abstention adds only a small measured cost on-chip. The advantage is the trunk feature rather than the integer form. Certification is the harder problem and carries our central result: slide clustering silently breaks the standard independent-sample certificate, since distribution-free risk control assumes exchangeable samples that patch-clustered medical data do not supply. On a degraded-input risk certificate, the naive cell-level version holds on only 20% of leakage-free re-splits, whereas the correct slide-level one is valid at 0.266 with its width set by the slide count rather than by any bound we evaluate. The deployed threshold inherits this less severely. A Hoeffding-Bentkus budget gives an illustrative count of 38 independent slides under the stated assumptions (35 when five seeds are used), which is about 1.3× what this benchmark provides. We release that leakage-free slide-disjoint benchmark: an in-distribution malaria task with cross-site (BBBC041) and multi-source (SIPaKMeD, parasitic egg, white blood cells) regimes.
Related Concept Videos
Microbial Biosensors
Automated Microbial Diagnostics
Rapid Identification of Pathogens

