Manuscript Offprint
arXiv:2610.09984Extreme Binary Classification: Extreme Value Theory for Extreme Constraint on False Negative
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
While binary classification is one of the most extensively studied problems in machine learning, the regime in which the goal is to learn a classifier with an almost zero false negative rate remains largely unexplored. In this paper, we introduce the Extreme Binary Classification problem, where the objective is to learn a classifier whose false negative rate is constrained by , with denoting the number of positive examples in the training set. To address this problem, we propose a threshold adaptation method theoretically grounded in guarantees derived from Extreme Value Theory, together with a feature selection procedure based on a permutation test applied to sample maxima. Experimental results on four real-world datasets of varying sizes demonstrate that our approach compares favorably with state-of-the-art methods. In addition, we illustrate its interpretability through an application to a cancer screening dataset.
1 INTRODUCTION
Binary classification is one of the most fundamental and widely studied problems in machine learning [13]. Its applications range from process automation and decision support to the analysis of the conditional distribution of a binary target variable given feature vectors . Before deploying a classifier in medical or industrial settings, it is crucial to assess and control the risks associated with misclassification [23, 20, 2, 3].
In many real-world applications, binary classification is imbalanced in two distinct ways [26]. First, one class Y = 1 may be severely underrepresented in the available data. Second, the cost of misclassifying this class can be substantially higher than that of misclassifying the majority class. Such situations arise because the positive events of interest are often already rare due to existing preventive or monitoring procedures. Examples include equipment failures in industrial systems, cancer diagnoses in healthcare, or, in the most critical scenarios, patient mortality. In these applications, the false negative rate must be minimized despite having only a limited number of observations from the positive class Y = 1.
Several approaches have been proposed to address this challenge, including data augmentation techniques [27], which oversample the minority class; cost-sensitive learning methods [4], which reweight the training objective to emphasize costly errors; and threshold adaptation methods [2, 22], which estimate a decision threshold to control the false negative rate through a classifier of the form . These methods are effective when the target false negative rate satisfies , corresponding to a setting in which at least one false negative can be tolerated within the positive training samples. However, when the desired constraint becomes more stringent, namely , existing approaches appear insufficient. Indeed, achieving such a level of reliability requires extending the decision boundary beyond the empirical support of the observed positive examples as depicted in Figure 1. The regime is particularly relevant in safety-critical applications, where even a single false negative may have severe consequences [5]. More broadly, it characterizes situations in which a positive prediction can be issued under extremely high confidence, which is also of independent interest in exploratory data analysis. In this work, we refer to this setting as Extreme Binary Classification.
Contributions In this paper, we address this gap by leveraging Extreme Value Theory (EVT) [11] to satisfy the extreme false negative constraint :
• We introduce Extreme Binary Classification and explain why EVT provides a natural framework for this problem (Section 2). Under mild assump-



Figure 1: Illustration of the progression from a standard classifier (left) to a cost-sensitive classifier (middle) and finally to our extreme classifier (right). As the cost of false negatives increases, the decision threshold is shifted to favor sensitivity. Our extreme classifier further adjusts the threshold to provide strong control over false negatives while mitigating overfitting.
tions on the tail behavior of the score , we show that the false negative rate can be controlled at the level with high probability using a tractable threshold estimator (Theorem 4) provided that an exponential concentration inequality for the empirical mean excess applies (Proposition 6).
-
We develop a practical method inspired by Theorem 4 that can be applied either to a given score function f or directly to the feature space X in a decision-tree fashion, thereby improving interpretability. In particular, we introduce a feature selection mechanism based on a statistical permutation test having a closed form (Lemma 2) comparing the extrema of the empirical distributions of the positive and negative classes.
-
We demonstrate the effectiveness of the proposed method on four real-world datasets, benchmarking it against state-of-the-art approaches [2, 22, 4, 27, 16]. We further illustrate its interpretability on a clinical cancer-screening dataset (Section 3), where false negatives may result in missed diagnoses with potentially severe consequences.
All proofs are postponed to appendix (Section E). For any , we let , and denote by the indicator function.
2.1 Extreme Binary Classification
Consider a binary classification dataset , where the observations are generated as i.i.d. samples from the random variables . Let and denote the numbers of samples satisfying and , respectively. Our goal is to learn a classifier , with an almost zero false negative rate, ideally corresponding to at most one false negative in the worst of worst-case scenario. Formally, we seek to enforce the constraint . Under this regime, if the classifier is applied to new positive samples, the probability of observing at least one false negative is approximately . The trivial classifier is not of interest, as our objective is also to minimize the number of false positives. Such stringent control of the false negative rate is highly desirable when the classifier is embedded within a decision-making system, where false negatives may lead to severe consequences. For example, in a clinical setting, a false negative prediction may prevent a patient from receiving appropriate treatment. Beyond safety-critical applications, this property is also valuable from an exploratory perspective. A classifier with an almost zero false negative rate identifies regions of the feature space that can be distinguished from the positive class with extremely high confidence, thereby revealing which characteristics reliably separate the distributions of and .
One dimensional case As a first step, consider the one-dimensional setting and the classifier , where are two thresholds to be estimated. Although this family of decision functions is highly restrictive, it is also highly interpretable and can easily be integrated into human decision-making processes, such as clini-cal workflows. Moreover, when greater flexibility is required, the feature values can be defined as , where denotes the score produced by a pre-trained classifier. A natural approach consists of solving the following empirical risk minimization problem:
Lemma 1. is a solution of (1).
While straightforward, the estimator defined in (1) may be overly optimistic when the training set is small, as it ignores the finite-sample uncertainty associated with the empirical extrema. Consequently, the resulting classifier may underestimate the true false negative rate on unseen data. To account for this finite-sample effect, confidence margins should be introduced to ensure control of the false negative rate on the test set. Specifically, we consider the adjusted thresholds , . To avoid the trivial solution , we ask , as a feasibility condition. In our suggested method, we will apply a permutation test on the extrema of the distributions to ensure that a solution exists. Since the estimation of is equivalent to that of after applying the transformation to the sample , we restrict our attention to in the following.
2.2 Related works
In the following, we review existing solution in the literature when and we show that they fail in the regime .
Data augmentation and cost-sensitive learning. Data augmentation methods, popularized by SMOTE [8], and cost-sensitive learning approaches [4], which increase the penalty associated with errors on the sensitive class, can be highly effective when the positive and negative classes are nearly separable. In the more realistic setting where the class distributions overlap, however, these methods primarily reduce false negatives on the empirical distribution. They provide no mechanism for estimating the safety margins required to control false negatives outside the range of the observed positive samples.
Neyman-Pearson classification. More rigorously, Neyman–Pearson classification addresses the following problem
where denotes a class of decision functions and is a prescribed upper bound on the false negative rate. When replacing the population quantity by its empirical counterpart, a common strategy is to enforce a slightly more conservative constraint , in order to account for finite-sample uncertainty [19]. Here, is a constant depending on the regularity parameter and the confidence level , where denotes the probability of violating the false negative constraint. This approach implicitly requires , so that the correction term remains smaller than the target error level. However, this assumption is violated in our setting, where .
Threshold adaptation. Most classifiers are expressed as where is a scoring function and is a threshold. Threshold adaptation methods suggest to control the false negative rate through a post-processing step rather than during training [22, 2, 6]. Methods, such as the Neyman–Pearson umbrella algorithm [22], use a validation set containing positive samples to calibrate , ensuring with confidence without any parametric assumption. However, in the extreme regime , the resulting guarantees become vacuous since the confidence level necessarily tends to zero. In particular, the Neyman–Pearson umbrella algorithm becomes equivalent to (1) in this regime as it relies on rank statistics, this is detailed in Section C.
This kind of post-processing step was generalized to other constraints by upper bounding the empirical risk, as suggested in conformal risk control [2] or in risk-controlling prediction sets [6], but the same bottleneck regarding the lower bound on or applies.
Ensemble methods. Ensemble methods [16, 24] combine several of the aforementioned approaches and often aggregate predictions conservatively, for example by taking their maximum, in order to reduce the risk of false negatives. Although these methods tend to perform well in practice, they do not explicitly address the extreme regime considered in this work.
The limits of current methods seem to ask at least to keep assumption general. If we aim to go beyond this limitation, we have to be more specific on the assumptions.
2.3 Background on Extreme Value Theory
In the remainder of this section, denotes a sequence of i.i.d. continuous random variables with distribution , and denotes the ith smallest observation among the sample , for any and , such that . is used instead of to emphasize that we study the distribution of , rather than that of . If we aim to construct a procedure that is more conservative than the naive solution of Lemma 1, we must make assumptions on the tail behaviour of the distribution of in order to obtain a meaningful estimate of the confidence width . In this setting, extreme value theory (EVT) provides the natural framework [11, 7, 1]. Ideally, we would like to upper bound the maximum of the distribution with confidence level , or at least an extreme quantile, so that for some sequence satisfying ,
(2)
Here, denotes the false negative rate of the classifier learned from and models a new observation lying outside the training set. We note that EVT has recently been used to calibrate decision thresholds in medical testing [17]. Its application to classification can therefore be viewed as a natural generalization of these ideas.
An asymptotic theorem Extreme Value Theorem plays for empirical maxima the same role that the Central Limit Theorem (CLT) plays for empirical means: after an appropriate rescaling, both converge to universal limiting distributions that are largely independent of the underlying data-generating distribution.
Theorem 1. [7][Theorem 2.3] If there exist two sequences such that the rescaled maximum converge in distribution, there exist such that the CDF H of the limiting distribution is:
using the limit when . is the CDF of what is called a Generalized Extreme Value distribution (GEV).
Remark 2. is a parameter invariant under affine transformations of , which makes it intrinsic to . The right end-point is when and is infinite otherwise.
If the tail are heavy such that might needed to be too high in practice to yields any true negative, so we assume that such that the maximum distribution has a light tail. These different behaviors are illustrated in Figure 2. Contrary to the Central Limit Theorem, establishing convergence in distribution for is generally not straightforward. Nevertheless, such convergence holds for a wide range of commonly encountered distributions, including the normal, log-normal, and exponential distributions. In the remainder of this work, we therefore make the following mild assumption.
H1. There exist two sequences and such that converges in distribution, so that Theorem 1 applies with .
Estimating the parameter In order to establish (2) using an empirical estimator , we must estimate the parameters , , from the data so that . These parameters cannot be reliably estimated from a single realization of the maximum . Instead, we must exploit the information contained in the largest observations, , in the hope of obtaining a consistent estimator. This idea is formalized by the following proposition, commonly known as the Peaks-Over-Threshold (POT) principle.
Proposition 3. [7][Proposition 2.10] Assume H1, then there exists such that the tails are well approximated by Generalized Pareto Distribution
Moreover, the parameter has the same value as in the GEV given Theorem 1 and if , the right end point of is such that .
Proposition 3 is illustrated in Figure 3. The choice of is not straightforward in practice, although Proposition 3 guarantees the existence of a suitable value. Informally, the theorem states that, by choosing sufficiently large, the GEV shape parameter can be estimated by fitting a Generalized Pareto Distribution to the samples using . Furthermore, when , the upper endpoint can be estimated by . In the small-sample setting, however, the estimation of may be unstable when . To address this issue,
[1] proposed the following endpoint estimator:
which is proved to converge towards as long as , and . As a rule of thumb, we verify the above condition by setting . In the case of , is the exponential of parameter and is estimated with the empirical mean excess,
which is directly used when computing the quantile of the distribution . This will be used in the following to estimate .
2.4 Extreme classification
We now derive a reasonable estimator satisfying (2) under suitable assumptions.
Theorem 4. Assume and that the Generalized Pareto approximation is converging fast, i.e. there exists s.t. and
moreover assume that we access an estimator such that for , and any , we have
then, there exists , s.t for any , , denoting by ,
Assumptions and (4) jointly imply that the tail of the positive-class distribution is well approximated by a GPD. The assumption (4) is satisfied for GPD, or student distribution of parameter , but is not satisfied by certain distributions, such as the log-normal distribution, for which the convergence to the GPD limit is known to be slow. Consequently, the present analysis should be viewed as an optimistic scenario.
Remark 5. Note that the same result is obtained when using instead of . We nevertheless chose to retain for consistency with our experiments, which favor conservative threshold estimates.
In the following proposition, we show how to construct an estimator that verifies (5) under the assumption that only the mean of the generalized pareto distribution is exponentially well approximated as .
Proposition 6. Let . Assume that there exists such that the samples for any verifies the following concentration inequality for any , denoting by ,
then denoting by ,
verifies assumption (5).
The interest of the previous proposition is to suggest an estimator independent of and which has a closed-formed. Such concentration inequality arises when is i.i.d given with sub-exponential tails and , which is very likely to be verified when and are large as rank statistics are approximately independent and the mean of the GPD and are expected to match. The last insight remains quite challenging to prove rigorously, so we have preferred to use a concentration inequality that tackle the bottleneck of the estimation. In the idealized setting where , the constant is given by . In practice, however, the constant is generally unknown. In our numerical experiments, we use Proposition 6 as a rule of thumb and set , with chosen according to the desired trade-off between the true negative rate and the false negative rate.
We are now ready to state the practical algorithm.
One dimensional Algorithm. Since our entire reasoning becomes meaningless when , we first apply a permutation test [12] using as test statistic to assess whether with . The null distribution of is usually estimated by repeatedly permuting the class labels with Monte Carlo simulation, however we managed to derive a closed-form for the p-values making the test extremely fast without approximation error, this is described in detail in Section D-(Lemma 2). If the maxima are not significantly different, we set . Otherwise, we apply the statistical test of [7][Theorem 6] to determine whether or . If , we set
using (6) and a confidence level . Otherwise, we set
using (3). The only parameter that must be specified is the confidence level . In practice, it can be selected by enforcing a minimum true negative rate on the training set, or by following the rule of thumb provided in Proposition 6, namely,
so that yields when aiming to achieve a false negative rate of order . The construction of is entirely symmetric: it is obtained by applying the transformation to the data and using a confidence level .
The previous algorithm doesn’t strictly follow (7), but yields similar results on synthetic experiments (Section B.1) and verify the false negative constraint . We attribute this observation to the use of rather than in the threshold estimation procedure (see Remark 5).
Since the assumptions of Theorem 4 are difficult, and in some cases impossible, to verify in practice, the theoretical results should be viewed primarily as motivation for the design of the algorithm rather than as prescriptions for every implementation detail. In particular, the requirement that the false negative rate scales as is best interpreted as a guiding principle for selecting the classification procedure and its associated threshold, rather than as a precise quantitative target that must be achieved in practice. Choosing a target false negative rate of encourages extrapolation beyond the training set through nonzero margins and as depicted in Figure 1, whereas achieving a rate of only may be possible without any extrapolation, i.e., by taking .
Multidimensional Algorithm. In the case of multidimensional features , we repeat the previous process on each coordinate, this yields classifiers, and we define . Note that the permutation test (Lemma 2) applied to each coordinates offers a features selection mechanism revealing which features are interesting for a classification with an extreme constraint on false negative. The false negative rate is then at worst (Section E.4) if coordinates are effectively used and independent. In our experiments, we chose not to correct for this effect to avoid being overly conservative when the coordinates are correlated. We called our method Extreme thresholding.
Using our method, we consider the following variants in the experiments, which differ according to the choice of input features X:
- (Log) We fit a multivariate logistic regression on the training set and apply one-dimensional Extreme thresholding to the resulting logistic scores, i.e. if is the logistic coefficient.
• (Mul) We apply multidimensional Extreme thresholding directly to the feature coordinates.
• (MulLog) We apply multidimensional Extreme thresholding to the feature coordinates augmented with the logistic regression score.
For each method, we use when defining in order to assess the impact of the confidence level. Since , depending on the dataset, should theoretically lie in the interval to ensure that the false negative rate scales as . Consequently, and are reasonable choices. In contrast, is included as a representative setting in which the false negative rate is not particularly stringent.
Complexity Thanks to our closed-form expression for the permutation test p-value (Section D) and the simplicity of the proposed procedure, the overall computational complexity is , which is lower than the training complexity of a decision tree, whose best-case scaling is . The term arises from the sorting of the feature values in the positive class, which is required to compute the thresholds introduced in Proposition 6. If a score function f is learned as well on the training set to preprocess the features, the complexity bottleneck is there, which is verified in our experiments training a logistic regression score as detailed in Section B.6.
3 EXPERIMENTS
In this section, we compare our method against state-of-the-art approaches on four real-world binary classi-fication datasets. We evaluate performance in terms of the average number of false negatives (FN) and true negatives (TN) obtained on the test set from 5-fold cross-validation repeated with 10 different random seeds. We also report for , which provides a measure of the gain obtained relative to the number of missed positive cases. Note that TN and FN are averaged across the 5 folds to reduce the influence on of an unusually low number of false negatives in any single fold. We use to avoid singularity and to limit the interest of reducing FN in the case of . Finally, we illustrate the interpretability of our feature selection mechanism on our in-house dataset, ScreeningX arising from a cancer screening trial that remains unnamed for anonymity reasons, and compare it with the feature importance measures produced by Gradient Boosting and a shallow Decision Tree.
Datasets We consider two large and highly imbalanced datasets, Credit [10] ( , , ) and Corruption [25] ( , , ), as well as two smaller datasets: Breast Cancer Wisconsin [28] ( , , ), which is known to be relatively well separated, and ScreeningX ( , , ) which isn't well separated. For the Credit and Corruption datasets, the application context does not strongly penalize false negatives, and the classification task is primarily exploratory. In contrast, for Breast Cancer Wisconsin and ScreeningX, false negatives may have severe clinical consequences. Consequently, the Extreme Binary Classification framework is particularly relevant in these settings. Additional details on the datasets are provided in Section B.2.
Competitors We considered as broad a range of competitors as possible, prioritizing widely used methods with publicly available implementations and their recommended default hyperparameters, with one exception for SVC detailed in Section B.3.
Data augmentation methods: EasyEnsemble, Balanced Random Forest, and Balanced Bagging from the imbalanced-learn package [14].
Cost-sensitive (CS) methods: Logistic Regression, XGBoost, and Support Vector Classifier (SVC) from scikit-learn and the XGBoost package [9]. For all cost-sensitive methods, we assign a weight of to class 1, as increasing the weight further did not affect the results.
Naive Threshold Adaptation (NTA): We select the decision threshold that maximizes Ratio on a validation set comprising 20% of the training data.
Risk-Controlled and Neyman–Pearson methods: Whenever applicable, we use Risk-Conformal threshold adaptation (RC) [2] implemented through MAPIE [21] using a confidence level of 0.7 to avoid excessive conservativeness while maintaining meaningful risk control, and the Neyman–Pearson umbrella algorithm (NP) [22] implemented through nproc [18], both applied to Logistic Regression and tree-based ensemble models, using a validation set comprising 20% of the training data. The target false-negative rate is chosen as the smallest value that yields at least one prediction different from class 1.
Conservative ensemble: An ensemble that returns the maximum prediction among a Decision Tree, a Logistic Regression model, and a Random Forest from scikit-learn, each calibrated using NTA.
Isolation Forest: The anomaly detection method proposed in [15], converted into a binary classifier through score thresholding. The threshold is set to the highest anomaly score observed among positive training examples.
Results Complete results are provided in Section B.4 and computation time in Section B.6. Runtime measurements were obtained on a CPU-only server with 4GB of RAM. For the sake of brevity, we report in Table 1 only the top 5 method for each dataset considering the , with c = 0.1 since it better represents the goal of the paper. The last column reports the ranking induced by the average rank over all datasets. The Breast Cancer dataset is included in the computation of the mean rank. Its results are not highlighted, as they are consistent with established findings showing that logistic regression based methods outperform the competing approaches. Note that, in Table 1, all of the top five methods achieve, on average, at most one false negative, with the exception of Conservative Ensemble on Credit, which yield more than one false negative on average.
Discussion. First, the results show that MulLog (Ours) achieves the best performance on average. The logistic regression score is particularly useful when the data classes might be linearly separated, as noticed on the Breast Cancer dataset. Conversely, on the ScreenX dataset, the logistic score is not needed, the vanilla Mul (Ours) approach performs better. Overall, the results suggest selecting when the objective is to achieve a high ratio while maintaining an almost negligible number of false negatives. In contrast, smaller values such as Q = 0.1 may be preferable when false negatives are less critical. Indeed, when considering the top five methods for with c = 1 in Table 2, MulLog-Q = 0.1 ranks first.
Table 1: Summary of Benchmark Results, ranking is performed by
| Rank | ScreenX | Corruption | Credit | Mean Rank |
|---|---|---|---|---|
| 1 | Mul-Q=0.95 (Ours) | MulLog-Q=0.9 (Ours) | Mul-Q=0.1 | MulLog-Q=0.9 (Ours) |
| 2 | Mul-Q=0.9 (Ours) | MulLog-Q=0.95 (Ours) | Mul-Q=0.9 | MulLog-Q=0.95 (Ours) |
| 3 | Conservative Ensemble | MulLog-Q=0.1 (Ours) | Mul-Q=0.95 | Conservative Ensemble |
| 4 | MulLog-Q=0.95 (Ours) | Mul-Q=0.9 (Ours) | MulLog-Q=0.9 (Ours) | Mul-Q=0.9 (Ours) |
| 5 | CS-Logistic | Mul-Q=0.1 (Ours) | MulLog-Q=0.95 (Ours) | Mul-Q=0.95 (Ours) |
Second, the Conservative Ensemble approach is Top 3 behind our methods. While competitive, this method is not interpretable compared with MulLog. In comparison, CS-NTA-Logistic and NP-Logistic constitute cheap and interpretable. However, a fundamental limitation of these methods is the lower bound imposed on , which limits their interest when looking at .
Interpretability of Feature Selection. We now study the impact of the different features on the predictions obtained on the ScreenX dataset.
Using 40 train-test splits, with 20% of the data reserved for testing, we compute and average: the feature importances provided by a decision tree, a random forest, and XGBoost; the coefficients of a logistic regression model; and the frequency with which our permutation-based extrema test detects a significant difference between classes at the 5% significance level.
This produces a table with six columns, one for each method, and 12 rows, one for each feature, as reported in Table 7 in the Appendix. We then compare the five largest absolute scores produced by each method, excluding ours, in order to assess whether the different approaches agree on the most relevant features. The results are presented in Table 8.
Our method identifies, with a frequency greater than 90%, the top five features selected by each competing method. In addition, it rejects 8 out of the 12 features in more than 80% of the 40 train-test splits.
Although feature importance scores are often difficult to interpret, our extrema-based test provides a direct assessment of whether extreme observations originate from class . For instance, our feature-selection procedure reveals that , the most influential feature, tends to predict class only for large values. Indeed, , while . Logistic regression coefficient may also provide a partial answer to this question, but it does not capture the full picture when the relationship between the feature and the outcome is weak or non-linear. In our example, logistic regression indicates that is negatively associated with , but it fails to reveal that . Consequently, one might incorrectly infer that the separation between the two classes occurs throughout the entire range of the feature, whereas the difference is primarily driven by the upper tail.
Finally, we verified that our method achieves a higher classification ratio on ScreenX than XGBoost while relying on only four feature-specific thresholds. This makes our decision rule applicable by practitioners even when the machine-learning classifier itself is unavailable. Such interpretability is particularly appealing in educational and clinical settings.
Limitations. Our approach has three main limitations: 1. When the original features do not provide a suitable representation for the classification task, a preprocessing step based on a scoring model becomes essential. In practice, even a simple logistic regression score can substantially improve performance. 2. Since the threshold is defined through a maximum operator, the method is sensitive to label noise and therefore requires relatively clean data. We investigated replacing the maximum with a quantile-based threshold to improve robustness. However, this modification increased the number of false negatives in noise-free settings. We therefore retained the maximum-based formulation for both empirical and theoretical reasons. 3. The structure of implicitly assumes that the feature distribution is unimodal. As a result, the method may struggle on highly multimodal datasets. In such cases, clustering the data before applying our approach may be necessary. However, this limitation wasn't particularly apparent in our experiments.
4 CONCLUSION
The proposed method proves effective at maximizing the ratio of true negatives to false negatives, a criterion that is particularly relevant in applications where false positives incur a relatively low cost compared with false negatives. In addition, our approach provides a simple and interpretable feature selection mechanism, which enhances transparency and facilitates its adoption in clinical settings.
5 AI USE STATEMENT
We used AI solely for drafting codes, rephrasing, grammar correction, and generating the dataset descriptions in Section B.2. Section B.2 was carefully reviewed and verified by the authors.
References
[1] Isabel Fraga Alves, Cláudia Neves, and Pedro Rosário. A general estimator for the right endpoint. arXiv preprint arXiv:1412.3972, 2014.
[2] Anastasios Angelopoulos, Stephen Bates, Adam Fisch, Lihua Lei, and Tal Schuster. Conformal risk control. In International conference on learning representations, volume 2024, pages 55198–55218, 2024.
[3] Anastasios N Angelopoulos and Stephen Bates. Conformal prediction: A gentle introduction. Foundations and Trends in Machine Learning, 16(4):494–591, 2023.
[4] Imane Araf, Ali Idri, and Ikram Chairi. Cost-sensitive learning for imbalanced medical data: a review: I. araf et al. Artificial Intelligence Review, 57(4):80, 2024.
[5] Saqib Ejaz Awan, Mohammed Bennamoun, Ferdous Sohel, Frank Mario Sanfilippo, and Girish Dwivedi. Machine learning-based prediction of heart failure readmission or death: implications of choosing the right model and the right metrics. ESC heart failure, 6(2):428–435, 2019.
[6] Stephen Bates, Anastasios Angelopoulos, Lihua Lei, Jitendra Malik, and Michael Jordan. Distribution-free, risk-controlling prediction sets. Journal of the ACM (JACM), 68(6):1–34, 2021.
[7] Myriam Charras-Garrido and Pascal Lezaud. Extreme value analysis: an introduction. Journal de la société française de statistique, 154(2):66–97, 2013.
[8] Nitesh V Chawla, Kevin W Bowyer, Lawrence O Hall, and W Philip Kegelmeyer. Smote: synthetic minority over-sampling technique. Journal of artificial intelligence research, 16:321–357, 2002.
[9] Tianqi Chen, Tong He, Michael Benesty, Vadim Khotilovich, Yuan Tang, Hyunsu Cho, Kailong Chen, Rory Mitchell, Ignacio Cano, Tianyi Zhou, Mu Li, Junyuan Xie, Min Lin, Yifeng Geng, Yutian Li, Jiaming Yuan, and David Cortes. xgboost: Extreme Gradient Boosting, 2026. R package version 3.5.0.0.
[10] Andrea Dal Pozzolo, Giacomo Boracchi, Olivier Caelen, Cesare Alippi, and Gianluca Bontempi. Credit card fraud detection: a realistic modeling and a novel learning strategy. IEEE transactions on neural networks and learning systems, 29(8):3784–3797, 2017.
[11] Laurens De Haan and Ana Ferreira. Extreme value theory: an introduction. Springer, 2006.
[12] Michael D Ernst. Permutation methods: a basis for exact inference. Statistical Science, pages 676–685, 2004.
[13] Sotiris B Kotsiantis, Ioannis Zaharakis, P Pintelas, et al. Supervised machine learning: A review of classification techniques. Emerging artificial intelligence applications in computer engineering, 160(1):3–24, 2007.
[14] Guillaume LemaÃZtre, Fernando Nogueira, and Christos K Aridas. Imbalanced-learn: A python toolbox to tackle the curse of imbalanced datasets in machine learning. Journal of machine learning research, 18(17):1–5, 2017.
[15] Fei Tony Liu, Kai Ming Ting, and Zhi-Hua Zhou. Isolation forest. In 2008 eighth ieee international conference on data mining, pages 413–422. Ieee, 2008.
[16] Tian-Yu Liu. Easyensemble and feature selection for imbalance data sets. In 2009 international joint conference on bioinformatics, systems biology and intelligent computing, pages 517–520. IEEE, 2009.
[17] Sierra Pugh, Bailey K Fosdick, Mary Nehring, Emily N Gallichotte, Sue VandeWoude, and Ander Wilson. Estimating cutoff values for diagnostic tests to achieve target specificity using extreme value theory. BMC Medical Research Methodology, 24(1):30, 2024.
[18] Jingyi Jessica Li Richard Zhao, Yang Feng and Xin Tong. Neyman-pearson (np) classification algorithms and np receiver operating characteristic (np-roc) curves. 2021.
[19] Philippe Rigollet and Xin Tong. Neyman-pearson classification under a strict constraint. In Proceedings of the 24th Annual Conference on Learning Theory, pages 595–614. JMLR Workshop and Conference Proceedings, 2011.
[20] Christian Soize. Uncertainty quantification, volume 23. Springer, 2017.
[21] Vianney Taquet, Vincent Blot, Thomas Morzadec, Louis Lacombe, and Nicolas Brunel. Mapie: an open-source library for distribution-free uncertainty quantification. arXiv preprint arXiv:2207.12274, 2022.
[22] Xin Tong, Yang Feng, and Jingyi Jessica Li. Neyman-pearson classification algorithms and np receiver operating characteristics. Science advances, 4(2):eaao1659, 2018.
[23] Xin Tong, Yang Feng, and Anqi Zhao. A survey on neyman-pearson classification and suggestions for future research. Wiley Interdisciplinary Reviews: Computational Statistics, 8(2):64–81, 2016.
[24] Marcelo Vasconcelos and Luís Cavique. Mitigating false negatives in imbalanced datasets: An ensemble approach. Expert Systems with Applications, 262:125674, 2025.
[25] Marcelo Oliveira Vasconcelos and Luís Cavique. Dataset for corruption risk assessment in a public administration. Data in brief, 40:107768, 2021.
[26] Le Wang, Meng Han, Xiaojuan Li, Ni Zhang, and Haodong Cheng. Review of classification methods on unbalanced data sets. IEEE Access, 9:64606–64628, 2021.
[27] Zaitian Wang, Pengfei Wang, Kunpeng Liu, Pengyang Wang, Yanjie Fu, Chang-Tien Lu, Charu C Aggarwal, Jian Pei, and Yuanchun Zhou. A comprehensive survey on data augmentation. IEEE Transactions on Knowledge and Data Engineering, 2025.
[28] William Wolberg, Olvi Mangasarian, Nick Street, and W Street. Breast Cancer Wisconsin (Diagnostic). 1993.
CHECKLIST
- For all models and algorithms presented, check if you include:
(a) A clear description of the mathematical setting, assumptions, algorithm, and/or model. Yes in Section 2.
(b) An analysis of the properties and complexity (time, space, sample size) of any algorithm. Yes at the end of Section 2.
(c) (Optional) Anonymized source code, with specification of all dependencies, including external libraries. Yes
- For any theoretical claim, check if you include:
(a) Statements of the full set of assumptions of all theoretical results. Yes.
(b) Complete proofs of all theoretical results. Yes.
(c) Clear explanations of any assumptions. Yes.
- For all figures and tables that present empirical results, check if you include:
(a) The code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL). Yes, except that ScreenX dataset is not given for anonymity.
(b) All the training details (e.g., data splits, hyperparameters, how they were chosen). Yes in Section 3 and Section B.3.
(c) A clear definition of the specific measure or statistics and error bars (e.g., with respect to the random seed after running experiments multiple times). Yes.
(d) A description of the computing infrastructure used. (e.g., type of GPUs, internal cluster, or cloud provider). Yes.
- If you are using existing assets (e.g., code, data, models) or curating/releasing new assets, check if you include:
(a) Citations of the creator If your work uses existing assets. Yes.
(b) The license information of the assets, if applicable. Yes.
(c) New assets either in the supplemental material or as a URL, if applicable. [Not Applicable]
(d) Information about consent from data providers/curators. [Not Applicable]
(e) Discussion of sensible content if applicable, e.g., personally identifiable information or offensive content. [Not Applicable]
- If you used crowdsourcing or conducted research with human subjects, check if you include:
(a) The full text of instructions given to participants and screenshots. [Not Applicable]
(b) Descriptions of potential participant risks, with links to Institutional Review Board (IRB) approvals if applicable. [Not Applicable]
(c) The estimated hourly wage paid to participants and the total amount spent on participant compensation. [Not Applicable]
A ILLUSTRATION EVT THEORY

Figure 2: Illustration of the Generalized Extreme Value (GEV) density for different values of the tail index .

Figure 3: Illustration of Proposition 3. The histogram of the excesses , , above the u-quantile is well approximated by a GPD with when is sufficiently large.
B EXPERIMENTS
B.1 Synthetic Experiments
In this section, we compare the performance of the theoretical estimator (7) for with the practical estimator (8) used throughout our experiments.
We consider a random variable following either an exponential distribution with scale parameter 5, or a generalized Pareto distribution with tail index , generated using
Given a sample size , we repeat the following procedure 10 000 times:

(a)

(b) with
Figure 4: Illustration of the distribution used in the synthetic experiments using their histograms on 3000 samples.

(a)

(b)

(c)
Figure 5: Comparison of the false negative rate (FN) when . Notice that the practical estimator follows the same false negative constraint as the theoretical one as long as for any . We report the variability across 10 000 repetitions using shaded bands corresponding to , , and , where denotes the standard deviation of FN over the 10 000 repetitions.
• Using i.i.d. samples from , we estimate according to either (7) or (8) for all
where .
• Using 100 000 newly generated samples from , we estimate the empirical probability
where FN stands for false negative, to clarify the link with the manuscript.
Finally, for each , we plot the estimated values of as a function of . We also report the variability across the 10 000 repetitions using shaded bands corresponding to , , and , where denotes the standard deviation of over the 10 000 repetitions. The results are shown in Figures 5 and 6. The empirical densities of and are displayed in Figure 4.
We also repeated the experiment with and obtained in all repetitions, since for every estimated threshold. Indeed, for bounded distributions with tail index and , the correction provided by (8) tends to be overly conservative. For this reason, in our suggested algorithm, we instead rely on the endpoint estimator (3) after applying the statistical test of [7][Theorem 6].
For both distribution the practical estimator follows the same false negative constraint as the theoretical one as long as for any .

(a)

(b)

(c)
Figure 6: Comparison of the false negative rate (FN) when with . Notice that the practical estimator follows the same false negative constraint as the theoretical one as long as for any . We report the variability across 10 000 repetitions using shaded bands corresponding to , , and , where denotes the standard deviation of FN over the 10 000 repetitions.
B.2 Datasets
The ScreenX dataset considers a binary outcome Y indicating the presence of aggressive cancer. The classifier's output is used to determine whether a biopsy should be performed based on preliminary diagnostic features X related to a blood sample. The objective is to avoid unnecessary biopsies, as they constitute an invasive and burdensome procedure for patients, while simultaneously maintaining a near-zero false negative rate. Indeed, failing to detect an aggressive cancer may delay treatment initiation and could ultimately lead to preventable mortality.
The Corruption dataset [25] was constructed by integrating data from eight information systems of the Brazilian federal government and the Federal District. To comply with GDPR requirements, all personally identifiable information relating to civil servants and military personnel was removed, resulting in a fully anonymized dataset. The available features include information on political appointments, salaries, the number of positions held, and indicators of financial investments for each employee. The dataset is is available at this link.
The Credit dataset [10], available on Kaggle at Kaggle, corresponds to the "Credit Card Fraud Detection" task, whose objective is to identify fraudulent transactions from transaction-level features collected over a two-day period. For confidentiality reasons, all variables are numerical and have been transformed using PCA, except for the Time and Amount features, which are provided in their original form.
The Breast Cancer Wisconsin (Diagnostic) dataset [28] is a widely used benchmark for binary classification in machine learning and statistics. It consists of breast mass samples collected through fine needle aspiration (FNA), each labeled as either benign or malignant. The objective is to predict the diagnostic outcome from a set of quantitative descriptors extracted from digitized images of cell nuclei. The dataset contains 30 continuous features describing the morphology of cell nuclei. These features are derived from ten fundamental characteristics, namely radius, texture, perimeter, area, smoothness, compactness, concavity, concave points, symmetry, and fractal dimension. For each characteristic, the mean, standard error, and worst observed value are recorded, resulting in a total of 30 predictors. Among the 569 observations, 212 correspond to malignant tumors and 357 to benign tumors. Owing to its moderate size, low dimensionality, and strong predictive signal, the dataset has become a standard benchmark for evaluating classification algorithms. Many classical and modern methods achieve classification accuracies exceeding 95% and area under the ROC curve (AUC) values above 0.98.
B.3 Details for competing methods
Training a standard SVC with an RBF kernel is computationally challenging on large datasets ( ). To obtain a scalable approximation, we first mapped the input features into a 200-dimensional randomized feature space using the Random Fourier Features implementation RBFSampler(gamma="scale", n_components=200, random_state=seed). A linear SVC was then trained on these transformed features, yielding an efficient approximation of an RBF-kernel SVC while substantially reducing computational costs.
We set the maximum number of L-BFGS iterations for logistic regression to 1000 rather than the default value of 100 in order to ensure convergence to an optimal solution.
Note that, for the MulLog and Log methods, the logistic regression model is trained on the entire dataset. Similarly, the threshold on the logistic score coordinate is selected using the full dataset. Consequently, this threshold is expected to be slightly less conservative, as the logistic regression model is not estimated independently of the validation data. However, the test set, on which performance is ultimately evaluated, remains completely independent of this process, ensuring a fair comparison with the other methods. We chose not to introduce an additional data split in order to avoid further reducing the effective sample size. Moreover, standard logistic regression is known to be relatively robust to outliers. As a result, learning the decision threshold using EVT primarily exploits information contained in the tails of the distribution, which is largely complementary to the information driving the logistic regression model. In contrast, the Mul method is not affected by this issue, as it does not involve learning a regression score.
We also investigated using the full dataset both for classifier training and for threshold estimation in the RC methods. However, this had little impact on the results. Therefore, for consistency with the existing literature, we retained the recommended procedure of separating the training and validation sets.
We were unable to perform a similar analysis for the NP methods due to limitations of the available API in nproc, which does not provide a mechanism for separating the training and validation data during threshold estimation.
Table 2: Summary of Benchmark Results, ranking is performed by and not .
| Rank | ScreenX | Corruption | Credit | Mean Rank |
|---|---|---|---|---|
| 1 | Easy Ensemble | Conservative Ensemble | Conservative Ensemble | MulLog-Q=0.1 (Ours) |
| 2 | CS-NTA-XGBoost | CS-NTA-Logistic | CS-NTA-Logistic | CS-NTA-XGBoost |
| 3 | CS-XGBoost | Balanced Random Forest | NP-Logistic | Easy Ensemble |
| 4 | MulLog-Q=0.1 (Ours) | Easy Ensemble | CS-NTA-XGBoost | NP-Logistic |
| 5 | Mul-Q=0.1 (Ours) | CS-SVC-RBF | MulLog-Q=0.1 (Ours) | CS-NTA-Logistic |
B.4 Complete results
Table 3: ScreenX benchmark results. We report the mean ± one standard deviation, computed over 10 repetitions with different random seeds, where each repetition corresponds to the mean performance across a 5-fold cross-validation.
| DatasetMethod | ScreenX | TN/max(FN,0.1) | TN/max(FN,1) | |
|---|---|---|---|---|
| FN | TN | |||
| Mul-Q=0.95 (Ours) | ||||
| Mul-Q=0.9 (Ours) | ||||
| Conservative Ensemble | ||||
| MulLog-Q=0.95 (Ours) | ||||
| CS-Logistic | ||||
| MulLog-Q=0.9 (Ours) | ||||
| NP-Random Forest | ||||
| Easy Ensemble | ||||
| CS-NTA-XGBoost | ||||
| CS-NTA-Logistic | ||||
| Log-Q=0.1 (Ours) | ||||
| NP-Logistic | ||||
| CS-XGBoost | ||||
| MulLog-Q=0.1 (Ours) | ||||
| Mul-Q=0.1 (Ours) | ||||
| Balanced Random Forest | ||||
| Naive | ||||
| CS-SVC-RBF | ||||
| Balanced Bagging Decision | ||||
| RC-Logistic | ||||
| CS-NTA-SVC-RBF | ||||
| RC-XGBoost | ||||
| Isolation Forest | ||||
| Log-Q=0.9 (Ours) | ||||
| Log-Q=0.95 (Ours) | ||||
Table 4: Corruption benchmark results. We report the mean one standard deviation, computed over 10 repetitions with different random seeds, where each repetition corresponds to the mean performance across a 5-fold cross-validation.
| DatasetMethod | Corruption | |||
|---|---|---|---|---|
| FN | TN | TN/max(FN,0.1) | TN/max(FN,1) | |
| MulLog-Q=0.9 (Ours) | ||||
| MulLog-Q=0.95 (Ours) | ||||
| MulLog-Q=0.1 (Ours) | ||||
| Mul-Q=0.9 (Ours) | ||||
| Mul-Q=0.1 (Ours) | ||||
| Mul-Q=0.95 (Ours) | ||||
| Log-Q=0.1 (Ours) | ||||
| Conservative Ensemble | ||||
| Log-Q=0.9 (Ours) | ||||
| NP-Logistic | ||||
| CS-NTA-Logistic | ||||
| Balanced Random Forest | ||||
| Log-Q=0.95 (Ours) | ||||
| Easy Ensemble | ||||
| CS-SVC-RBF | ||||
| CS-Logistic | ||||
| Balanced Bagging Decision | ||||
| CS-NTA-SVC-RBF | ||||
| Naive | ||||
| RC-XGBoost | ||||
| CS-NTA-XGBoost | ||||
| CS-XGBoost | ||||
| NP-Random Forest | ||||
| RC-Logistic | ||||
| Isolation Forest | ||||
Table 5: Credit benchmark results. We report the mean ± one standard deviation, computed over 10 repetitions with different random seeds, where each repetition corresponds to the mean performance across a 5-fold cross-validation.
| DatasetMethod | FN | TN | Credit | |
|---|---|---|---|---|
| TN/max(FN,0.1) | TN/max(FN,1) | |||
| Mul-Q=0.1 (Ours) | 0.2 ± 0.1 | 6732.6 ± 872.8 | 38852.9 ± 16596.4 | 6732.6 ± 872.8 |
| Mul-Q=0.9 (Ours) | 0.1 ± 0.2 | 4377.2 ± 726.5 | 37114.9 ± 15397.2 | 4377.2 ± 726.5 |
| Mul-Q=0.95 (Ours) | 0.1 ± 0.2 | 4102.0 ± 882.4 | 34913.9 ± 15585.8 | 4102.0 ± 882.4 |
| MulLog-Q=0.9 (Ours) | 0.3 ± 0.1 | 7240.4 ± 763.7 | 30633.0 ± 11490.8 | 7240.4 ± 763.7 |
| MulLog-Q=0.95 (Ours) | 0.3 ± 0.1 | 7008.3 ± 902.8 | 29752.3 ± 11568.2 | 7008.3 ± 902.8 |
| MulLog-Q=0.1 (Ours) | 0.4 ± 0.1 | 9765.7 ± 834.1 | 29693.5 ± 12457.9 | 9765.7 ± 834.1 |
| Log-Q=0.1 (Ours) | 0.2 ± 0.1 | 4919.0 ± 557.0 | 25358.5 ± 7005.5 | 4919.0 ± 557.0 |
| NP-Logistic | 0.7 ± 0.4 | 12196.0 ± 2638.3 | 22249.4 ± 11459.9 | 11550.8 ± 1985.2 |
| Log-Q=0.9 (Ours) | 0.2 ± 0.1 | 4084.5 ± 572.2 | 20994.3 ± 5637.0 | 4084.5 ± 572.2 |
| Log-Q=0.95 (Ours) | 0.2 ± 0.1 | 4037.6 ± 580.3 | 20752.3 ± 5598.3 | 4037.6 ± 580.3 |
| Conservative Ensemble | 1.7 ± 0.4 | 33094.6 ± 3202.6 | 20076.2 ± 3801.2 | 20076.2 ± 3801.2 |
| CS-NTA-Logistic | 2.8 ± 0.9 | 35531.6 ± 3589.3 | 13576.9 ± 3247.8 | 13576.9 ± 3247.8 |
| CS-NTA-XGBoost | 4.9 ± 0.6 | 49860.0 ± 198.7 | 10366.3 ± 1347.4 | 10366.3 ± 1347.4 |
| CS-NTA-SVC-RBF | 2.8 ± 0.9 | 25871.3 ± 5003.9 | 9720.9 ± 2215.5 | 9720.9 ± 2215.5 |
| CS-Logistic | 7.9 ± 0.3 | 54572.9 ± 13.0 | 6950.4 ± 238.6 | 6950.4 ± 238.6 |
| Naive | 6.7 ± 0.3 | 43402.1 ± 197.4 | 6470.2 ± 289.3 | 6470.2 ± 289.3 |
| Easy Ensemble | 8.6 ± 0.4 | 54992.1 ± 55.8 | 6409.1 ± 325.3 | 6409.1 ± 325.3 |
| Balanced Random Forest | 9.5 ± 0.5 | 55529.0 ± 54.6 | 5873.5 ± 332.2 | 5873.5 ± 332.2 |
| Balanced Bagging Decision | 11.0 ± 0.6 | 55731.8 ± 56.3 | 5060.6 ± 256.7 | 5060.6 ± 256.7 |
| CS-SVC-RBF | 13.2 ± 1.2 | 52652.4 ± 245.2 | 4023.1 ± 357.5 | 4023.1 ± 357.5 |
| NP-Random Forest | 17.6 ± 2.4 | 56713.9 ± 161.9 | 3284.0 ± 474.9 | 3284.0 ± 474.9 |
| CS-XGBoost | 17.8 ± 0.4 | 56855.2 ± 0.5 | 3199.0 ± 68.8 | 3199.0 ± 68.8 |
| RC-XGBoost | 21.8 ± 1.0 | 56858.0 ± 2.4 | 2615.6 ± 122.3 | 2615.6 ± 122.3 |
| RC-Logistic | 23.2 ± 3.3 | 56829.8 ± 15.4 | 2490.5 ± 320.1 | 2490.5 ± 320.1 |
| Isolation Forest | 63.5 ± 4.7 | 47993.2 ± 3420.8 | 756.9 ± 27.1 | 756.9 ± 27.1 |
Table 6: Breast Cancer benchmark results. We report the mean one standard deviation, computed over 10 repetitions with different random seeds, where each repetition corresponds to the mean performance across a 5-fold cross-validation.
| DatasetMethod | Breast Cancer | |||
|---|---|---|---|---|
| FN | TN | TN/max(FN,0.1) | TN/max(FN,1) | |
| CS-Logistic | ||||
| CS-NTA-Logistic | ||||
| Conservative Ensemble | ||||
| Log-Q=0.9 (Ours) | ||||
| MulLog-Q=0.9 (Ours) | ||||
| Log-Q=0.95 (Ours) | ||||
| MulLog-Q=0.95 (Ours) | ||||
| CS-NTA-XGBoost | ||||
| CS-SVC-RBF | ||||
| NP-Logistic | ||||
| Log-Q=0.1 (Ours) | ||||
| MulLog-Q=0.1 (Ours) | ||||
| CS-XGBoost | ||||
| NP-Random Forest | ||||
| RC-Logistic | ||||
| CS-NTA-SVC-RBF | ||||
| RC-XGBoost | ||||
| Easy Ensemble | ||||
| Isolation Forest | ||||
| Naive | ||||
| Balanced Random Forest | ||||
| Balanced Bagging Decision | ||||
| Mul-Q=0.1 (Ours) | ||||
| Mul-Q=0.95 (Ours) | ||||
| Mul-Q=0.9 (Ours) | ||||

Figure 7: Boxplot of Ratio(c = 0.1) for the Top 5 Method on the dataset ScreenX.

Figure 8: Boxplot of Ratio(c = 0.1) for the Top 5 Method on the dataset Corruption. The tiny box observed for Mul-Q=0.9 and Mul-Q=0.95 may appear unusual at first glance. However, we have carefully verified the results and confirmed that they are not due to an implementation error. The learning procedure is fully deterministic, with no source of randomness, and the different cross-validation seeds ultimately produce data splits that yield the same average performance across folds.

Figure 9: Boxplot of Ratio(c = 0.1) for the Top 5 Method on the dataset Credit.

Figure 10: Boxplot of Ratio(c = 0.1) for the Top 5 Method on the dataset Breast Cancer.
B.5 Feature selection results
Table 7: Feature importance/coefficient summary across methods. EBC-Min records the frequency where the minimum of the negative sample distribution is significantly lower than the positive sample distribution across 40 train-test splits, same for EBC-Max after applying to the data.
| Feature | EBC-Max | EBC-Min | XGBoost | Logistic | Decision Tree | Random Forest |
|---|---|---|---|---|---|---|
| X1 | 0.000 | 1.000 | 0.0461 | 0.3135 | 0.0000 | 0.0084 |
| X2 | 0.000 | 0.025 | 0.0241 | -0.4158 | 0.0000 | 0.0383 |
| X3 | 0.000 | 0.950 | 0.1074 | 0.4017 | 0.0933 | 0.1066 |
| X4 | 0.000 | 1.000 | 0.1414 | 1.1880 | 0.2244 | 0.1531 |
| X5 | 0.000 | 0.925 | 0.0468 | 0.6842 | 0.0220 | 0.0615 |
| X6 | 0.000 | 0.075 | 0.0368 | 0.0228 | 0.0211 | 0.0558 |
| X7 | 0.000 | 0.225 | 0.0579 | -0.1574 | 0.0270 | 0.0685 |
| X8 | 0.000 | 1.000 | 0.1062 | 0.7986 | 0.1067 | 0.1239 |
| X9 | 0.000 | 0.000 | 0.0512 | 0.6883 | 0.0038 | 0.0251 |
| X10 | 0.000 | 1.000 | 0.1585 | 0.5007 | 0.2398 | 0.1531 |
| X11 | 0.000 | 0.150 | 0.0487 | 0.5017 | 0.0251 | 0.0720 |
| X12 | 1.000 | 0.000 | 0.1749 | -1.3769 | 0.2367 | 0.1338 |
| Rank | XGBoost | Logistic | Decision Tree | Random Forest | Highest Frequency Summary |
|---|---|---|---|---|---|
| 1 | X12 | X12 | X10 | X4 | X12 |
| 2 | X10 | X4 | X12 | X10 | X10 |
| 3 | X4 | X8 | X4 | X4 | X4 |
| 4 | X3 | X5 | X8 | X12 | X3,X5 |
| 5 | X8 | X9 | X3 | X8 | X8 |
Table 8: Top 5 features ranked by absolute importance/coefficient for each method. In comparison, the features always selected by our features selection mechanism are X1,X4,X8,X10,X12 and X3,X5 are selected more than 90% time of the 40 train-test split.
B.6 Computation time

Figure 11: Barplot of the training time for the different methods on the dataset ScreenX. Runtime measurements were obtained on a CPU-only server with 4 GB of RAM.

Figure 12: Barplot of the training time for the different methods on the dataset Credit. Runtime measurements were obtained on a CPU-only server with 4 GB of RAM.

Figure 13: Barplot of the training time for the different methods on the dataset Corruption. Runtime measurements were obtained on a CPU-only server with 4 GB of RAM.
C DISCUSSION OF THE UMBRELLA NP ALGORITHM
In [22][Proposition 1], the idea is not to ensure the false negative constraint during the training, but to validate it with high probability using a post-processing step, by proceeding the following way:
- Split the given dataset in a validation set and a train set such that contains only features related to class .

Figure 14: Barplot of the training time for the different methods on the dataset Breast Cancer. Runtime measurements were obtained on a CPU-only server with 4 GB of RAM.
-
Train a scoring function on the train set such that is the related classifier which predicts 0 when and assume that is continuous. can be a logistic regression score, or a support vector decision function for instance.
-
Then, consider for any and rank it such that is the -th highest scores among .
-
Given an upper bound and a probability of violation , define
then the random classifier depending on the sample satisfies with probability .
Given the rank statistics , this post-processing step finds the smallest threshold that ensures that the false negative constraint is fulfilled with probability by only assuming that is a continuous random variable and i.i.d data generation. In this approach, false positive are not minimized explicitly and heavily depend on the scoring function . Coming back to our case where , we have and thus , meaning that with this method the best classifier is and it ensures the false negative constraint with a very low probability. Note that in dimension , using , there is no need for training set and thus , the postprocessing method thus yields .
D PERMUATION TEST ON THE MAXIMUM
Let two independent samples such that , then
Define . Then, under interchangeability assumption , the two samples are concatenated . Denoting by a random permutation, then define
the p value is defined as follows to test whether the maximum of is higher than the maximum of :
where is the number of permutation. The test is exact
Numerically, most often we only sample a -subset of permutation and estimate,
However, in our case, an explicit expression is tractable. Indeed, denoting by the sorted samples in , the following Lemma yields a formula.
Lemma 2. Assuming that all values are distinct, under , for any ,
therefore, if , and defining s.t ,
Proof. First, note that
because is surjective. Second,
Indeed, we first select, among the elements of , the preimage of , yielding possible choices. Once this choice is fixed, the permutation is completely determined by assigning the remaining values, for which there are possibilities. Dividing by the total number of permutations of , namely , gives the desired result.
Third, denoting by the sorted values of which define bijectively a subset of ,
Using , we have
The result are symmetric for , which concludes the proof.
For discrete data, observations are not necessarily distinct, and therefore the formula is no longer exact. In such cases, we still use the same expression as an approximation. More generally, our EVT-based approach is not well suited to discrete data, as the underlying assumptions of extreme value analysis are not naturally satisfied in this setting.
E PROOFS
E.1 Proof of Lemma 1
In (1), we have , this implies that for any such that ,
thus and . Then, note that as long as and for any such that . Therefore, the solutions of (1) are ,
is always a valid solution.
E.2 Proof of Theorem 4
Proof. Denote by
We have
Bounding : Denoting by
and by assumption
By triangular inequality
By Dvoretzky-Kiefer-Wolfowitz theorem using i.i.d assumption, using ,
Since the cumulative distribution is non decreasing,
and by assumption we have,
Finally, using , we have with probability ,
Using , we have with probability ,
Bounding :
Conclusion: This yields,
□
E.3 Proof of Proposition 6
Proof. First, we prove the following Lemma.
Lemma 3. Assume that W follow a Generalized Pareto Distribution with parameter and , then using for any .
Proof. Case : is an Exponential distribution of parameter , we have and and .
Case : We have and is exactly the quantile of level Q. We have to show
Denoting and , and multiplying by we study the function and aim to show . We have
Noting that , we have as long as . Since , we have thus , which yields the inequality.
By Lemma 3, we have for any , verifies (5) with since and for , then the results holds using (6).
E.4 Multidimensional case inflation
Assuming independence of coordinates
Without assuming anything
where is the number of dimensions where is not constant.