Statistical Agnostic Regression: a machine learning method to validate regression models
Juan M Gorriz, J. Ramirez, F. Segovia, F. J. Martinez-Murcia, C. Jiménez-Mesa, J. Suckling
TL;DR
This work tackles the lack of formal statistical significance in ML-based regression by introducing Statistical Agnostic Regression (SAR), a non-parametric test grounded in concentration inequalities that assesses the evidence for a linear relationship with a confidence level of at least $1-\eta$. SAR combines a PAC-Bayesian dropout-based risk bound with a worst-case analysis, yielding a critical threshold $\gamma$ and enabling permutation-based p-values to decide on linearity, while also providing extensions to handle heteroscedasticity via the Breusch-Pagan test. Through Gaussian, non-Gaussian, heteroscedastic, and real datasets (e.g., Cancer and ADNI), the authors show SAR often aligns with OLS in well-behaved settings and offers more robust control of false positives than standard CV-based ML validation. The framework supports combining SAR with classical tests to strengthen inference and emphasizes cautious interpretation in non-ideal data, advancing reliable regression analysis in data-rich scientific applications.
Abstract
Regression analysis is a central topic in statistical modeling, aimed at estimating the relationships between a dependent variable, commonly referred to as the response variable, and one or more independent variables, i.e., explanatory variables. Linear regression is by far the most popular method for performing this task in various fields of research, such as data integration and predictive modeling when combining information from multiple sources. Classical methods for solving linear regression problems, such as Ordinary Least Squares (OLS), Ridge, or Lasso regressions, often form the foundation for more advanced machine learning (ML) techniques, which have been successfully applied, though without a formal definition of statistical significance. At most, permutation or analyses based on empirical measures (e.g., residuals or accuracy) have been conducted, leveraging the greater sensitivity of ML estimations for detection. In this paper, we introduce Statistical Agnostic Regression (SAR) for evaluating the statistical significance of ML-based linear regression models. This is achieved by analyzing concentration inequalities of the actual risk (expected loss) and considering the worst-case scenario. To this end, we define a threshold that ensures there is sufficient evidence, with a probability of at least $1-η$, to conclude the existence of a linear relationship in the population between the explanatory (feature) and the response (label) variables. Simulations demonstrate the ability of the proposed agnostic (non-parametric) test to provide an analysis of variance similar to the classical multivariate $F$-test for the slope parameter, without relying on the underlying assumptions of classical methods. Moreover, the residuals computed from this method represent a trade-off between those obtained from ML approaches and the classical OLS.
