A Quiet Failure in Calibrated Virtual Screening: Marginal Conformal Prediction Under-Covers the Minority Class, and a Class-Conditional Fix Recovers It

· Source: Machine Learning · Field: Science & Research — Life Sciences & Biology, Health & Medical Research, Artificial Intelligence & Machine Learning · Depth: Expert, quick

Summary

A recent analysis reveals a critical flaw in standard (marginal) conformal prediction when applied to imbalanced datasets in drug discovery. While achieving its global 90% coverage target, the method severely under-covers minority classes, with realized coverage dropping to 64.8% for blood-brain-barrier penetration and a mere 4.2% for clinical-trial toxicity. This failure is consistent across models like random forests, graph networks, and frozen chemical language models (p < 0.001), and is explained by a conservation identity linking minority shortfall to majority surplus and imbalance ratio. The issue is often missed due to high aggregate accuracy and overall coverage. Class-conditional (Mondrian) conformal prediction effectively resolves this, restoring minority coverage to target with only a modest increase in prediction-set size. The study also localizes failures to generic molecular scaffolds and proposes a diagnostic, demonstrating that abstaining on affected compounds can shift screening campaigns from net-negative to net-positive utility.

Key takeaway

For AI Scientists and Research Scientists developing predictive models for drug discovery with imbalanced datasets, you must move beyond standard marginal conformal prediction. Your models, even if globally accurate, are likely severely under-covering minority classes, risking critical failures in areas like toxicity screening. Implement class-conditional (Mondrian) conformal prediction to ensure reliable per-class coverage. Consider using the proposed one-number diagnostic to identify and mitigate these hidden risks, improving overall campaign utility.

Key insights

Marginal conformal prediction critically under-covers minority classes on imbalanced datasets, a flaw fixed by class-conditional methods.

Principles

Method

Class-conditional (Mondrian) conformal prediction restores per-class reliability by adjusting prediction sets based on class, closing coverage gaps on imbalanced datasets.

In practice

Topics

Best for: AI Scientist, Research Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning.