Skip to main content
QUICK REVIEW

[Paper Review] Improving predictions by nonlinear regression models from outlying input data

William W. Hsieh|arXiv (Cornell University)|Mar 17, 2020
Hydrological Forecasting Using AIEnvironmental Science5 citations
TL;DR

This paper proposes a hybrid nonlinear regression model (NLR_OR) that improves prediction reliability for outlying input data in environmental science by replacing unreliable nonlinear extrapolations with linear extrapolations derived from the nonlinear model's behavior within the training domain. The approach significantly reduces poor predictions on outliers while maintaining strong performance on inlier data.

ABSTRACT

When applying machine learning/statistical methods to the environmental sciences, nonlinear regression (NLR) models often perform only slightly better and occasionally worse than linear regression (LR). The proposed reason for this conundrum is that NLR models can give predictions much worse than LR when given input data which lie outside the domain used in model training. Continuous unbounded variables are widely used in environmental sciences, whence not uncommon for new input data to lie far outside the training domain. For six environmental datasets, inputs in the test data were classified as "outliers" and "non-outliers" based on the Mahalanobis distance from the training input data. The prediction scores (mean absolute error, Spearman correlation) showed NLR to outperform LR for the non-outliers, but often underperform LR for the outliers. An approach based on Occam's Razor (OR) was proposed, where linear extrapolation was used instead of nonlinear extrapolation for the outliers. The linear extrapolation to the outlier domain was based on the NLR model within the non-outlier domain. This NLR$_{\mathrm{OR}}$ approach reduced occurrences of very poor extrapolation by NLR, and it tended to outperform NLR and LR for the outliers. In conclusion, input test data should be screened for outliers. For outliers, the unreliable NLR predictions can be replaced by NLR$_{\mathrm{OR}}$ or LR predictions, or by issuing a "no reliable prediction" warning.

Motivation & Objective

  • To address the poor performance of nonlinear regression (NLR) models when predicting on input data far outside the training domain.
  • To identify and isolate outlying test inputs using Mahalanobis distance from the training data distribution.
  • To improve prediction reliability for outliers by replacing NLR extrapolations with linear extrapolations based on the NLR model’s behavior in the inlier region.
  • To propose a practical framework for detecting unreliable predictions and issuing warnings or fallbacks when inputs are outliers.
  • To demonstrate that the hybrid NLR_OR approach outperforms both pure NLR and linear regression (LR) on outlier test cases.

Proposed method

  • Outlier detection in test data is performed using Mahalanobis distance relative to the training input data distribution.
  • The NLR_OR model applies linear extrapolation to inputs classified as outliers, derived from the NLR model's fitted parameters within the inlier domain.
  • The linear extrapolation component is trained only on the non-outlier portion of the training data, ensuring it reflects the local trend of the NLR model.
  • Prediction performance is evaluated using mean absolute error (MAE) and Spearman correlation, comparing NLR, LR, and NLR_OR across inlier and outlier subsets.
  • The method is validated on six environmental datasets with continuous, unbounded input variables prone to extreme values.
  • A 'no reliable prediction' warning is issued for outliers when NLR_OR is not used as a fallback.

Experimental results

Research questions

  • RQ1How do nonlinear regression models perform on test inputs that lie far outside the training input domain?
  • RQ2Can linear extrapolation based on the nonlinear model’s behavior in the inlier region improve prediction reliability for outlying inputs?
  • RQ3Does the proposed NLR_OR method reduce the frequency of very poor predictions compared to standard NLR on outlier data?
  • RQ4How does the NLR_OR model compare to both NLR and linear regression in terms of prediction accuracy on outlier test cases?
  • RQ5Under what conditions should NLR predictions be replaced with linear extrapolation or warnings instead?

Key findings

  • For non-outlier test inputs, NLR consistently outperformed linear regression in terms of mean absolute error and Spearman correlation.
  • For outlier test inputs, NLR predictions were often significantly worse than those from linear regression, indicating poor extrapolation behavior.
  • The NLR_OR method reduced the occurrence of very poor predictions on outliers by replacing nonlinear extrapolation with linear extrapolation based on the inlier region of the NLR model.
  • NLR_OR tended to outperform both NLR and LR on outlier test data, demonstrating improved robustness to outlying inputs.
  • The study confirms that input data should be screened for outliers, and unreliable NLR predictions on such data should be replaced or flagged.
  • The approach provides a practical solution for improving prediction reliability in environmental modeling where input variables frequently exceed training domain bounds.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.