Skip to content
Last Dictionary

SMOTE

abbreviation/SMOHT/Also: Synthetic Minority Over-sampling Technique, synthetic minority oversampling, Borderline-SMOTE, ADASYN, SMOTE-NC

In plain wordsA technique for lopsided data that invents extra examples of the rare category by blending each rare example with one of its nearest rare neighbors, so a model sees more of it during training.

  1. An oversampling method for class imbalanceclass imbalance, n.: When one category is far rarer than the others in the data — say, one fraud case per thousand transactions — so a model can look accurate while missing nearly every rare case that matters. that creates synthetic minority-class training examples instead of duplicating existing ones. For each minority example it finds its k nearest minority-class neighbors (k = 5 by default), picks one at random and generates a new point at a random position on the line segment between them in feature space; repeating this until the desired class ratio is reached enlarges and smooths the minority region, encouraging broader decision boundariesdecision boundary, n.: The dividing line, or surface, where a classifier switches from predicting one category to another. Simple models draw straight lines; flexible ones draw curves. than plain duplication. It is usually combined with undersampling of the majority class and must be applied only to training data: resampling before splitting leaks synthetic near-copies of validation examples into training. Variants include Borderline-SMOTE, which oversamples near the class boundary; ADASYN, which focuses on hard regions; SMOTE-NC for mixed categorical and numeric features; and SMOTE-Tomek and SMOTE-ENN, which also remove overlapping points. Gains are inconsistent with strong learners such as gradient boostinggradient boosting, n.: A method that builds a strong predictor by adding small decision trees one at a time, each trained to correct the errors that remain after all the trees before it., and interpolation suits images, text or one-hot features poorly.

    We applied SMOTE inside each cross-validation fold, never before the split, to avoid leakage.

Origin

Introduced by Nitesh Chawla, Kevin Bowyer, Lawrence Hall and W. Philip Kegelmeyer in 'SMOTE: Synthetic Minority Over-sampling Technique' (Journal of Artificial Intelligence Research, 2002), with experiments using C4.5, Ripper and naive Bayes. The open-source imbalanced-learn library (described in 2017) helped make it a routine preprocessing step.

Usage note

SMOTE generates new training points by interpolation; it is a form of data augmentationdata augmentation, n.: Creating extra training examples by changing existing ones in ways that keep their meaning — a flipped, cropped or recolored photo of a cat still shows a cat — so the model learns more robustly., not a source of genuinely new information about the minority class.

Related

See also
  • class imbalanceclass imbalance, n.: When one category is far rarer than the others in the data — say, one fraud case per thousand transactions — so a model can look accurate while missing nearly every rare case that matters.
  • k-nearest neighborsk-nearest neighbors, n.: Predicting something about a new example by finding the few most similar examples already known and going with their majority answer, or their average.
  • data augmentationdata augmentation, n.: Creating extra training examples by changing existing ones in ways that keep their meaning — a flipped, cropped or recolored photo of a cat still shows a cat — so the model learns more robustly.
  • data leakagedata leakage, n.: A mistake in building a model that lets it peek at clues it will not have in real use, such as hints about the very answer it must predict, so it shines in testing and then disappoints.
  • synthetic datasynthetic data, n.: Data created by computer programs or AI models rather than collected from the real world — such as practice math problems written by a model, or simulated street scenes for self-driving cars.
  • precision–recall curveprecision–recall curve, n.: A graph showing how a model's share of correct alarms and its share of cases caught trade off as it is made more or less cautious; especially useful when positive cases are rare.

Sources

  1. Chawla, N. V., Bowyer, K. W., Hall, L. O. & Kegelmeyer, W. P. (2002). SMOTE: Synthetic Minority Over-sampling Technique. Journal of Artificial Intelligence Research, 16, 321–357. arxiv.org/abs/1106.1813

Mentioned in

class imbalanceclass imbalance, n.: When one category is far rarer than the others in the data — say, one fraud case per thousand transactions — so a model can look accurate while missing nearly every rare case that matters.