Skip to main content
QUICK REVIEW

[Paper Review] Sampling To Improve Predictions For Underrepresented Observations In Imbalanced Data

Rune D. Kjærsgaard, Manja Gersholm Grønberg|arXiv (Cornell University)|Nov 17, 2021
Imbalanced Data Classification TechniquesComputer Science7 references4 citations
TL;DR

This paper proposes sampling-based data augmentation to improve model performance on underrepresented input regions in imbalanced production data, using three strategies: random sampling near data edges, random sampling in high-density areas, and density-based weighted sampling. Results show that while overall RMSE slightly increases by ~3%, all methods significantly improve predictions for low-density, underrepresented observations—especially via density-based sampling—demonstrating a fairer evaluation approach is needed for imbalanced data.

ABSTRACT

Data imbalance is common in production data, where controlled production settings require data to fall within a narrow range of variation and data are collected with quality assessment in mind, rather than data analytic insights. This imbalance negatively impacts the predictive performance of models on underrepresented observations. We propose sampling to adjust for this imbalance with the goal of improving the performance of models trained on historical production data. We investigate the use of three sampling approaches to adjust for imbalance. The goal is to downsample the covariates in the training data and subsequently fit a regression model. We investigate how the predictive power of the model changes when using either the sampled or the original data for training. We apply our methods on a large biopharmaceutical manufacturing data set from an advanced simulation of penicillin production and find that fitting a model using the sampled data gives a small reduction in the overall predictive performance, but yields a systematically better performance on underrepresented observations. In addition, the results emphasize the need for alternative, fair, and balanced model evaluations.

Motivation & Objective

  • Address the challenge of poor predictive performance on underrepresented input regions in imbalanced production data, where data is collected under controlled conditions with limited variation.
  • Investigate whether sampling strategies can rebalance the input space to improve model generalization, particularly for rare or edge-case observations.
  • Evaluate the trade-off between overall model performance and fairness toward underrepresented data points in regression tasks with continuous targets.
  • Demonstrate that alternative evaluation metrics focusing on underrepresented regions are essential for fair model assessment in imbalanced data settings.

Proposed method

  • Propose three sampling strategies: (a) random sampling within the input hyper-rectangle followed by selecting the nearest neighbor; (b) random sampling within the hyper-rectangle followed by averaging the 5 nearest neighbors’ features; (c) density-based sampling using inverse distance to nearest neighbors as sampling weights.
  • Apply these sampling methods to generate a new, more balanced training set, with the new set size being 20% of the original training data (10% from edge sampling, 10% from high-density sampling).
  • Train a linear regression model on the sampled training data and compare its performance to a model trained on the full original training set using root mean squared error (RMSE) on test data.
  • Use principal component analysis (PCA) to visualize data distribution and identify low-density (underrepresented) regions, particularly those linked to process deviations in biopharmaceutical batches.
  • Measure underrepresentation using the mean distance to the 100 nearest neighbors in the training set, with higher distances indicating lower density and underrepresentation.
  • Compare model residuals between the full-data model and the sampled-model across test data, focusing on performance differences in low-density regions.

Experimental results

Research questions

  • RQ1Can sampling strategies that rebalance the input space improve predictive performance for underrepresented observations in imbalanced regression data?
  • RQ2How does the predictive performance of models trained on sampled data compare to models trained on the full original dataset in terms of overall RMSE and performance on underrepresented regions?
  • RQ3Which sampling strategy—random edge sampling, random high-density sampling, or density-based sampling—yields the most favorable trade-off between overall performance and fairness toward low-density regions?
  • RQ4To what extent does standard RMSE on imbalanced test sets mask poor performance on underrepresented data points, and what alternative evaluation approaches are needed?

Key findings

  • The density-based sampling method achieved the lowest overall RMSE among the three sampling strategies, indicating better generalization across the input space.
  • On the full imbalanced test set, all sampling methods resulted in a ~3% increase in RMSE compared to the full-data model, indicating a small but measurable trade-off in overall performance.
  • On the 10% most underrepresented observations (measured by mean distance to 100 nearest neighbors), all sampling strategies significantly reduced RMSE compared to the full-data model, demonstrating improved performance in low-density regions.
  • Visualizations using PCA revealed that underrepresented observations were concentrated in low-density regions, primarily from batches with process deviations (e.g., batches 91–100), and these regions showed the largest performance gains from sampling.
  • The density-based sampling method showed the most consistent improvement across low-density regions, particularly in the upper-left and lower-right edges of PCA projections, where residuals were consistently smaller than with the full-data model.
  • The results highlight a critical limitation of standard RMSE evaluation on imbalanced data: it favors overrepresented regions and may obscure poor performance on underrepresented, yet potentially more critical, observations.

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.