[Paper Review] Don't Just Blame Over-parametrization for Over-confidence: Theoretical Analysis of Calibration in Binary Classification
This paper challenges the common belief that over-confidence in machine learning models is solely due to over-parametrization. It theoretically proves that even well-specified, under-parametrized logistic regression is inherently over-confident in the realizable setting, with calibration error scaling as Θ(d/n), and identifies conditions under which under-confidence can also occur depending on the activation function.
Modern machine learning models with high accuracy are often miscalibrated -- the predicted top probability does not reflect the actual accuracy, and tends to be over-confident. It is commonly believed that such over-confidence is mainly due to over-parametrization, in particular when the model is large enough to memorize the training data and maximize the confidence. In this paper, we show theoretically that over-parametrization is not the only reason for over-confidence. We prove that logistic regression is inherently over-confident, in the realizable, under-parametrized setting where the data is generated from the logistic model, and the sample size is much larger than the number of parameters. Further, this over-confidence happens for general well-specified binary classification problems as long as the activation is symmetric and concave on the positive part. Perhaps surprisingly, we also show that over-confidence is not always the case -- there exists another activation function (and a suitable loss function) under which the learned classifier is under-confident at some probability values. Overall, our theory provides a precise characterization of calibration in realizable binary classification, which we verify on simulations and real data experiments.
Motivation & Objective
- To investigate whether over-confidence in binary classification models is exclusively due to over-parametrization.
- To analyze the calibration behavior of well-specified, under-parametrized logistic regression in the realizable setting.
- To identify general conditions under which over- or under-confidence arises in binary classification with proper model specification.
- To verify theoretical findings through simulations and real-world data experiments on CIFAR-10 and synthetic data.
Proposed method
- Theoretical analysis of the empirical risk minimizer (ERM) in high-dimensional, proportional limit (n,d→∞ with n/d large).
- Derivation of the first-order behavior of the solution to the nonlinear system characterizing the ERM in the limit.
- Use of a closed-form expression for the calibration curve based on the estimated weight vector and true parameter vector.
- Construction of a specific activation function that induces under-confidence under the same ERM framework.
- Simulation of logistic regression on synthetic data with n=2000, d=100 to validate theoretical predictions.
- Application of pseudo-labeling on CIFAR-10 (5- and 10-class subsets) to test calibration in real data under realizable assumptions.
Experimental results
Research questions
- RQ1Is over-confidence in logistic regression a consequence of over-parametrization or an inherent property of the model?
- RQ2What conditions on the activation function lead to over-confidence or under-confidence in well-specified binary classification?
- RQ3How does the calibration error scale with model dimension and sample size in the under-parametrized, realizable regime?
- RQ4Can under-confidence be induced by a suitable choice of activation and loss function in a well-specified setting?
- RQ5To what extent does the theoretical prediction of Θ(d/n) calibration error hold in real-world data and simulations?
Key findings
- Well-specified logistic regression is inherently over-confident even when the data is generated from the true model and n ≫ d, with over-confidence amounting to Θ(d/n) in the limit.
- The overall calibration error of logistic regression is Θ(d/n), confirming that over-confidence is systematic and not due to overfitting or memorization.
- Any symmetric, monotone activation function that is concave on z > 0 leads to over-confidence at all confidence levels in the well-specified setting.
- A counterexample activation function exists under which the learned classifier is under-confident for certain confidence levels, proving over-confidence is not universal.
- Simulations on synthetic data and real data (CIFAR-10 with pseudo-labels) confirm that over-confidence persists broadly across under-parametrized settings, even beyond strict theoretical assumptions.
- Theoretical analysis rigorously establishes the first-order behavior of the ERM solution in the high-dimensional proportional limit, providing a precise characterization of calibration.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.