Explicit risk control for automated linking of drug products to RxNorm: an open, preregistered benchmark

Objective: To evaluate whether linking drug product descriptions to RxNorm can be automated with a bounded error risk, including products whose concept is missing from the catalog. Materials and Methods: We built a public benchmark of 47,496 products from the FDA National Drug Code (NDC) Directory, each labeled with its RxNorm semantic clinical drug (SCD) concept, and removed 10% of the concepts from the catalog. Candidates were generated from the structure of RxNorm and scored with logistic regression or gradient boosting; RxNav (National Library of Medicine) and SapBERT served as reference tools. We compared four rules for setting the automatic-acceptance threshold at a 95% precision target, on a preregistered test set of 2,000 products and across 1,000 calibration resamples. Results: The rule based on observed precision fell below the target on two independent test sets (94.9% and 94.6%) and in half of the resamples; the Wilson lower bound failed in 1.5% of resamples, Learn then Test in 2.9–3.9%, and selection with guaranteed risk in less than 0.5%. With the Wilson rule, logistic regression accepted 64.6% of products at 96.2% precision; gradient boosting accepted 72.6% at 95.0% but accepted more products that were not in the catalog. The top candidate was correct for 84.1% of products with our generator, 71.0% with RxNav, and 87.9% with SapBERT; however, RxNav had no threshold under risk control, and SapBERT accepted only 40.5%. Discussion: A lower confidence bound was enough in practice; Learn then Test adds a formal guarantee at no cost in coverage. Better candidate ranking is not enough: automation also needs a score that separates correct answers from wrong ones. Conclusion: A threshold that accounts for its own uncertainty allows automation at an agreed risk. The benchmark, code, and preregistrations are public. This is a preprint and has not been peer reviewed. Files: the manuscript (20 pages, 3 figures) and the supplementary tables S1–S4. Code: github.com/JairoPozo/Drug-Matching-Benchmark (archived at doi:10.5281/zenodo.24565365). Cached candidates: doi:10.5281/zenodo.24568480.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24638490
Primary Topic
Biomedical Text Mining and Ontologies
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Explicit risk control for automated linking of drug products to RxNorm: an open, preregistered benchmark

Jairo Pozo
Zenodo (CERN European Organization for Nuclear Research)
Biomedical Text Mining and Ontologies
preprint

Explicit risk control for automated linking of drug products to RxNorm: an open, preregistered benchmark

Jairo Pozo
preprint en

Abstract

Objective: To evaluate whether linking drug product descriptions to RxNorm can be automated with a bounded error risk, including products whose concept is missing from the catalog. Materials and Methods: We built a public benchmark of 47,496 products from the FDA National Drug Code (NDC) Directory, each labeled with its RxNorm semantic clinical drug (SCD) concept, and removed 10% of the concepts from the catalog. Candidates were generated from the structure of RxNorm and scored with logistic regression or gradient boosting; RxNav (National Library of Medicine) and SapBERT served as reference tools. We compared four rules for setting the automatic-acceptance threshold at a 95% precision target, on a preregistered test set of 2,000 products and across 1,000 calibration resamples. Results: The rule based on observed precision fell below the target on two independent test sets (94.9% and 94.6%) and in half of the resamples; the Wilson lower bound failed in 1.5% of resamples, Learn then Test in 2.9–3.9%, and selection with guaranteed risk in less than 0.5%. With the Wilson rule, logistic regression accepted 64.6% of products at 96.2% precision; gradient boosting accepted 72.6% at 95.0% but accepted more products that were not in the catalog. The top candidate was correct for 84.1% of products with our generator, 71.0% with RxNav, and 87.9% with SapBERT; however, RxNav had no threshold under risk control, and SapBERT accepted only 40.5%. Discussion: A lower confidence bound was enough in practice; Learn then Test adds a formal guarantee at no cost in coverage. Better candidate ranking is not enough: automation also needs a score that separates correct answers from wrong ones. Conclusion: A threshold that accounts for its own uncertainty allows automation at an agreed risk. The benchmark, code, and preregistrations are public. This is a preprint and has not been peer reviewed. Files: the manuscript (20 pages, 3 figures) and the supplementary tables S1–S4. Code: github.com/JairoPozo/Drug-Matching-Benchmark (archived at doi:10.5281/zenodo.24565365). Cached candidates: doi:10.5281/zenodo.24568480.

Zenodo (CERN European Organization for Nuclear Research)
Biomedical Text Mining and Ontologies
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.

Laika access coming soon
Explicit risk control for automated linking of drug products to RxNorm: an open, preregistered benchmark — Jairo Pozo · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS