[Paper Review] Instance-Based Classification through Hypothesis Testing
This paper proposes a novel instance-based classification method that frames binary classification as a two-sample hypothesis test using distance sets between a test instance and training instances from each class. By applying the Wilcoxon-Mann-Whitney test to these distance sets and assigning the test instance to the class with the smaller p-value, the method achieves performance comparable to state-of-the-art classifiers while enabling statistical significance assessment and false discovery rate control.
Classification is a fundamental problem in machine learning and data mining. During the past decades, numerous classification methods have been presented based on different principles. However, most existing classifiers cast the classification problem as an optimization problem and do not address the issue of statistical significance. In this paper, we formulate the binary classification problem as a two-sample testing problem. More precisely, our classification model is a generic framework that is composed of two steps. In the first step, the distance between the test instance and each training instance is calculated to derive two distance sets. In the second step, the two-sample test is performed under the null hypothesis that the two sets of distances are drawn from the same cumulative distribution. After these two steps, we have two p-values for each test instance and the test instance is assigned to the class associated with the smaller p-value. Essentially, the presented classification method can be regarded as an instance-based classifier based on hypothesis testing. The experimental results on 40 real data sets show that our method is able to achieve the same level performance as the state-of-the-art classifiers and has significantly better performance than existing testing-based classifiers. Furthermore, we can handle outlying instances and control the false discovery rate of test instances assigned to each class under the same framework.
Motivation & Objective
- To address the lack of statistical significance assessment in traditional optimization-based classifiers.
- To develop a testing-based classification framework that provides p-values for classification decisions.
- To enable control of the false discovery rate (FDR) for misclassified test instances.
- To handle outlying test instances by detecting those with non-significant p-values across both classes.
- To bridge the gap between hypothesis testing and instance-based learning by establishing theoretical and empirical connections.
Proposed method
- The method computes distances from a test instance to all training instances, splitting them into two sets based on class labels.
- It formulates the classification problem as a two-sample hypothesis test, where the null hypothesis states that the two distance sets are drawn from the same cumulative distribution.
- The Wilcoxon-Mann-Whitney (WMW) test is applied to the distance sets to compute two p-values—one for each class.
- The test instance is classified to the class associated with the smaller p-value, indicating stronger statistical evidence.
- To reduce noise from irrelevant or outlying instances, the method uses k-nearest neighbors (k-NNs) to form the distance sets before testing.
- The framework allows for FDR control by thresholding p-values and detecting non-significant classifications.
Experimental results
Research questions
- RQ1Can a hypothesis testing framework be effectively used to perform instance-based classification with statistical rigor?
- RQ2How does the performance of a testing-based classifier compare to state-of-the-art optimization-based classifiers on real-world data?
- RQ3Can the proposed method detect outlying test instances that do not belong to any class?
- RQ4Is it possible to control the false discovery rate (FDR) of classification results using p-values from hypothesis testing?
- RQ5What is the theoretical and empirical relationship between the proposed method and k-NN classification?
Key findings
- The proposed method achieves classification performance on par with state-of-the-art classifiers such as SVM across 40 real-world datasets from UCI and KEEL repositories.
- The method successfully identifies outlying test instances through p-values that exceed the significance threshold for both classes.
- The framework enables effective control of the false discovery rate (FDR) for predictions by leveraging p-values from the two-sample test.
- When the positive and negative training sets are of equal size, the method reduces to a generalized statistical version of k-NN, with identical classification outcomes under the same k-NN rule.
- The precedence test variant of the method yields identical classification decisions to k-NN when the k-NNs are evenly distributed between classes, validating its theoretical consistency.
- The method demonstrates practical viability on real data, overcoming the limitations of prior testing-based classifiers that were largely restricted to simulation studies.
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.