Uncertainty-Aware Deep Learning for Genomics Applications: Insights from an Empirical Study

arXiv:2608.11054 · cs.LG · Submitted 2026-08-11 · Read on arXiv

Sepideh Saran, Mahsa Ghanbari, Uwe Ohler

Max Delbrück Center for Molecular Medicine · Technical University of Berlin · Humboldt University of Berlin

cs.LG

Submitted: 2026-08-11

Updated: 2026-08-12

Comments: 21 main pages, 42 total pages, 12 main figures, 13 supplementary figures

Code: https://github.com/kundajelab/simdna

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 95/100

The gist: This paper presents an empirical analysis of uncertainty quantification (UQ) in deep learning models, focusing on genomics applications.

Terminology

Summary

This paper presents an empirical analysis of uncertainty quantification (UQ) in deep learning models, focusing on genomics applications. The study compares three UQ methods—Deep Ensembles (ENS), Bayesian Neural Networks (BNN), and Monte Carlo-dropout (MC-dropout)—across two genomic modalities: sequence-to-activity models (protein binding prediction from DNA/RNA sequence) and single-cell expression analysis (cell type prediction). The authors systematically evaluate these methods under controlled dataset conditions, including class imbalance, label noise, missing motifs, multi-label classification, and out-of-distribution data.

The paper introduces a framework for evaluating UQ methods without relying on ground truth labels. It uses three complementary perspectives: (1) agreement between methods via Kendall's tau rank correlation and overlap of top-100 most uncertain samples, (2) sensitivity to sources of uncertainty via Kolmogorov–Smirnov (KS) tests on uncertainty score distributions, and (3) practical utility via filtering predictions by uncertainty scores.

Key findings include:

  • All methods achieve comparable predictive performance when trained to convergence, but BNNs require substantially longer training and are sensitive to hyperparameters, sometimes failing to converge in multi-label settings.

  • BNN and ENS show higher agreement with each other than either does with MCD. MC-dropout's uncertainty score is identically zero for a substantial fraction of test samples (2% to 68% depending on setting), providing no ranking for those samples.

  • BNN is the only method that consistently reflects class imbalance in the useful direction: it becomes more uncertain for classes that lose training data, with a Spearman correlation of −0.80 between change in class size and uncertainty shift in the single-cell task. ENS becomes more confident on imbalanced data, and MCD is erratic.

  • For out-of-distribution detection (testing human-trained models on coronavirus genomes), BNN flags 36% of viral windows as unusually uncertain (above a 95th-percentile human threshold), versus 27% for ENS and only 7% for MCD.

  • For label noise (swapping labels between two TF classes), BNN shows the clearest directed increase in uncertainty for the mislabeled classes (median log2(SD) rises by 6.8 units for affected classes vs. 2.7 for unaffected), while MCD is essentially undirected.

  • Uncertainty scores can be used to filter predictions: on a 27-class RBP binding task, filtering predictions with uncertainty below 0.1 retains 65% of predictions and raises average precision in 20 of 27 classes, with mean AP rising from 0.20 to 0.22. The median uncertainty also tracks training-set class size (Spearman ρ = −0.59, p = 0.001).

The paper concludes that BNN, if converged, better reflects sources of uncertainty commonly encountered in biological applications, particularly class imbalance and out-of-distribution data, despite computational disadvantages. The authors provide practical guidelines for choosing UQ methods based on dataset characteristics and note limitations: the study covers only two modalities, classification tasks, and neural network-based models, and does not differentiate between epistemic and aleatoric uncertainty.

Improvements for AI systems

Improvements to AI Systems:

  1. Adaptive Uncertainty-Aware Training Scheduler: Implement a system that automatically detects when a Bayesian Neural Network (BNN) is failing to converge (as observed in multi-label settings) and dynamically switches to a Deep Ensemble or MC-dropout, while logging the failure mode for model selection. This prevents wasted compute and ensures robust deployment in multi-label genomics tasks.

  2. Class-Imbalance-Aware Confidence Calibration: Integrate a post-hoc correction layer that uses the Spearman correlation between training class size and uncertainty (ρ = −0.80 for BNN) to recalibrate confidence scores. For ENS and MCD, which show erratic or inverse behavior, the system can apply a monotonic transform to align uncertainty with class rarity, improving reliability in rare-cell-type or rare-motif predictions.

  3. Zero-Uncertainty Fallback Mechanism: For MC-dropout, which assigns identical zero uncertainty to 2–68% of test samples, the system will detect these dead zones and automatically route those samples to a secondary UQ method (e.g., BNN) or flag them as unrankable for downstream decision-making, preventing false confidence in high-stakes genomic screening.

  4. Directed Label-Noise Detection Module: Use BNN's directed uncertainty increase (median log2(SD) rise of 6.8 for mislabeled classes vs. 2.7 for unaffected) to build an automated data-cleaning pipeline. The system will flag training samples in classes with disproportionate uncertainty spikes, enabling semi-supervised relabeling or removal before model retraining.

  5. Uncertainty-Gated High-Recall Filtering: Deploy the uncertainty thresholding technique (e.g., retaining 65% of predictions with uncertainty < 0.1, raising mean AP from 0.20 to 0.22) as a configurable inference-time filter. The system will automatically tune the threshold per class using validation performance, maximizing precision while controlling recall loss—critical for protein-binding site discovery where false positives are costly.

  6. OOD-Specific Alarm System: For out-of-distribution detection (e.g., human-trained models on viral genomes), the system will use BNN's higher sensitivity (36% flagged vs. 7% for MCD) to trigger a domain shift alert. This enables early warning in real-time genomic surveillance, prompting model retraining or human review when the fraction of high-uncertainty samples exceeds a learned baseline.

  7. Method-Agreement Consensus Scoring: Leverage the high agreement between BNN and ENS (higher than either with MCD) to create a consensus uncertainty score. When BNN and ENS disagree on the top-100 most uncertain samples, the system will flag those as ambiguous and require additional validation, improving trust in uncertainty rankings for regulatory or clinical use.

  8. Hyperparameter Sensitivity Guard: Since BNNs are hyperparameter-sensitive and may fail to converge, the system will include a pre-training diagnostic that tests BNN convergence on a small validation subset. If convergence fails, it automatically recommends ENS as a drop-in replacement, ensuring the UQ pipeline remains operational without manual intervention.

What the Improved AI System Can Do:

  • Automatically select and switch between UQ methods based on dataset characteristics (imbalance, noise, multi-label) and convergence status, without human oversight.

  • Provide calibrated, class-aware uncertainty scores that correctly reflect training data scarcity, enabling reliable prioritization of rare genomic events.

  • Detect and mitigate label noise during training by identifying mislabeled classes via directed uncertainty shifts, improving data quality.

  • Operate in real-time on streaming genomic data, issuing OOD alerts and uncertainty-gated predictions that maximize precision while controlling recall.

  • Produce consensus uncertainty rankings that are robust to method-specific artifacts (e.g., MC-dropout zeros), suitable for high-stakes biological decision-making.

Abstract

Deep learning models have emerged as the standard computational tool for a wide range of applications in genomics. Yet, uncertainty quantification (UQ) -- and more specifically, the reliability of different uncertainty estimates in this domain -- has received little systematic attention. This work presents an empirical analysis of UQ in deep learning models, focusing on genomics applications. In a series of experiments, we contrast Deep Ensembles, Bayesian Neural Networks, and Monte Carlo-dropout methods. We assess their ability to quantify uncertainty in different scenarios, accounting for common dataset characteristics in two genomic application areas and modalities: sequence-to-activity models, and single-cell expression analysis. Our systematic comparison framework provides guidelines for the applicability and reliability of UQ methods in genomics, highlighting their strengths and limitations in different scenarios. We show that Bayesian Neural Networks are better at capturing uncertainty caused by strong class imbalance and out-of-distribution data in genomics, despite their computational disadvantages. Moreover, we show how uncertainty scores can be used to select high-quality predictions in protein-RNA interactions.

Sources

Related papers