Statistical Verification of Linear Classifiers
Anton Zhiyanov, Alexander Shklyaev, Alexey Galatenko, Vladimir Galatenko, Alexander Tonevitsky
TL;DR
This paper introduces a statistical framework to verify that linear classifiers capture real differences between two samples rather than performing by chance. It develops upper bounds on the p-value for near-linear separability in two dimensions and extends these results to integral, conditional, and permutation-based testing, with special emphasis on normally distributed data. The authors build two homogeneity tests—the Linear test and the Angle test—and provide practical algorithms, including exact, approximate, and SVM-based p-value computations, validated on synthetic data. They apply the method to ER-positive breast cancer recurrence classifiers, showing the IGFBP6–ELOVL5 gene pair exhibits meaningful non-random separation, thereby supporting its biological relevance despite potential multiple-testing concerns. The work offers a rigorous, scalable approach for validating disease biomarker classifiers in the presence of data heterogeneity and small testing sets, with open-source tools for broader adoption.
Abstract
We propose a homogeneity test closely related to the concept of linear separability between two samples. Using the test one can answer the question whether a linear classifier is merely ``random'' or effectively captures differences between two classes. We focus on establishing upper bounds for the test's \emph{p}-value when applied to two-dimensional samples. Specifically, for normally distributed samples we experimentally demonstrate that the upper bound is highly accurate. Using this bound, we evaluate classifiers designed to detect ER-positive breast cancer recurrence based on gene pair expression. Our findings confirm significance of IGFBP6 and ELOVL5 genes in this process.
