AIResearch AIResearch
Back to articles
AI

AI Models Can Now Better Predict Rare Cases

AI now predicts rare cases with 64% more accuracy - fixing critical blind spots in healthcare and high-stakes decision making

AI Research
November 14, 2025
2 min read
AI Models Can Now Better Predict Rare Cases

Machine learning models are increasingly used in high-stakes areas like healthcare, where accurate predictions can influence critical decisions. However, these models often fail in sparse data regions, potentially leading to biased outcomes for underrepresented groups. A new study introduces a method to enhance model reliability by ensuring predictions align with true class frequencies locally, addressing a key weakness in current AI systems.

The researchers developed a concept called multiclass local calibration, which requires that a model's predicted probabilities match the empirical class frequencies in neighborhoods of similar inputs. This approach strengthens traditional calibration notions that only consider global averages, making models more trustworthy for rare or sparse instances. For example, in cancer diagnosis, accurately estimating probabilities for transitional cell states—not just the most common classes—can reveal hidden patterns in tumor progression.

To achieve this, the team proposed LoCal Nets (LCNs), a neural network architecture that learns reduced feature representations and output logits simultaneously. Unlike post-hoc methods that rescale existing outputs, LCNs reshape the model's internal geometry using the Jensen-Shannon distance to enforce alignment between predictions and local class frequencies. This process, illustrated in Figure 1 of the paper, results in denser, better-separated clusters in the feature space, improving calibration without sacrificing efficiency during inference.

Empirical evaluations on datasets like CIFAR-10, CIFAR-100, and TissueMNIST show that LCNs significantly outperform existing techniques in local calibration metrics. For instance, on CIFAR-10 with a ResNet-50 backbone, LCNs reduced the maximum local calibration error by approximately 64% and the local calibration error by 36%, as shown in Figure 1b. The method also maintained competitive performance in global metrics and even enhanced predictive accuracy, with gains of up to 2.7% on TissueMNIST, indicating broader benefits beyond calibration.

This advancement matters because it directly addresses fairness and reliability in AI applications. In healthcare, finance, or autonomous systems, models that perform well on average but fail in edge cases can lead to unjust outcomes. By improving local calibration, the method helps prevent biases against rare instances, ensuring more equitable and dependable AI decisions in real-world scenarios.

Limitations include the need for careful hyperparameter tuning, such as the kernel bandwidth, which balances bias and variance in local estimates. Small values may yield unreliable results due to data sparsity, while large values dilute locality. Future work could explore adaptive kernels or extensions to other model types to further enhance scalability and performance in diverse settings.

About the Author

Guilherme A.

Guilherme A.

Former dentist (MD) from Brazil, 41 years old, husband, and AI enthusiast. In 2020, he transitioned from a decade-long career in dentistry to pursue his passion for technology, entrepreneurship, and helping others grow.

Connect on LinkedIn