Prior Distribution and Model Confidence

Maksim Kazanskii, Artem Kasianov
9/5/2025
cs.LG

No confident code implementation found for this paper.

Abstract

This paper investigates the impact of training data distribution on the performance of image classification models. By analyzing the embeddings of the training set, we propose a framework to understand the confidence of model predictions on unseen data without the need for retraining. Our approach filters out low-confidence predictions based on their distance from the training distribution in the embedding space, significantly improving classification accuracy. We demonstrate this on the example of several classification models, showing consistent performance gains across architectures. Furthermore, we show that using multiple embedding models to represent the training data enables a more robust estimation of confidence, as different embeddings capture complementary aspects of the data. Combining these embeddings allows for better detection and exclusion of out-of-distribution samples, resulting in further accuracy improvements. The proposed method is model-agnostic and generalizable, with potential applications beyond computer vision, including domains such as Natural Language Processing where prediction reliability is critical.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kazanskii2025prior,
  title  = {Prior Distribution and Model Confidence},
  author = {Maksim Kazanskii and Artem Kasianov},
  year   = {2025},
  eprint = {2509.05485},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.05485v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.05485.svg)](https://codeofpaper.com/paper/2509.05485)

Discussion