bioRxiv · 10.1101/2025.10.18.683227
The Naïve Bayes Classifier as an Out-of-Distribution Detector of Novel Taxa
Abstract
Detecting sequences from novel taxa remains a key challenge in metagenomic classification, as reference databases rarely capture the full extent of microbial diversity. We investigate the Naive Bayes Classifier++ (NBC++) as an out-of-distribution (OOD) detector by analyzing its log-likelihood scores across simulated and real metagenomic datasets. By partitioning reference databases and introducing taxonomic novelty, we derive thresholds that distinguish known from unknown reads at multiple taxonomic levels. These thresholds remain consistent across database sizes, indicating that once a lineage is represented, novelty detection performance stabilizes. Applied to a human gut metagenome, the thresholds reflect differences in database density and classification confidence. This work characterizes how NBC++ responds to novelty and illustrates its use in evaluating unclassified metagenomic reads.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Ramjattun, K., Rosen, G.. 2025-10-18. The Naïve Bayes Classifier as an Out-of-Distribution Detector of Novel Taxa. https://doi.org/10.1101/2025.10.18.683227
Cite the original work for its findings. Save a collection to share your selection of sources.