NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SOS: Score-based Oversampling for Tabular Data

Jayoung Kim, Chaejeong Lee, Yehjin Shin, Sewon Park, Minjung Kim, Noseong Park, Jihoon Cho

Abstract

Imbalanced datasets present a significant challenge in tabular machine learning, often leading to biased models that perform poorly on minority classes. While traditional oversampling methods like SMOTE and Generative Adversarial Networks (GANs) are widely used, they frequently suffer from issues such as unrealistic sample generation and training instability. This paper introduces SOS (Score-based OverSampling), the first framework to adapt score-based generative models (SGMs) to tabular data. By employing specialized score network architectures and a novel angle-based fine-tuning technique, SOS effectively captures complex data distributions and sharpens decision boundaries. Experimental results across six diverse benchmarks demonstrate that SOS consistently outperforms existing baselines, providing a robust and efficient solution for class imbalance.

1. Introduction

Data imbalance is a pervasive issue in practical machine learning applications, ranging from fraud detection and medical diagnosis to rare event prediction. In these scenarios, the minority class—often the class of primary interest—is significantly underrepresented. Standard classifiers trained on such data tend to favor the majority class, resulting in high overall accuracy but poor recall for the minority class.

To mitigate this, oversampling techniques are employed to balance the class distribution. Classical methods like Synthetic Minority Over-sampling Technique (SMOTE) rely on linear interpolation, which can create "ghost" samples in regions where the minority class does not actually exist. More recent deep learning approaches, particularly GANs, offer more flexibility but are notoriously difficult to tune and prone to mode collapse. SOS addresses these limitations by leveraging the stability and expressive power of score-based generative models, which have recently set new benchmarks in image synthesis.

2. The SOS Framework

The transition from image-based diffusion models to tabular data requires fundamental changes in architecture and generation logic. SOS introduces three key innovations to bridge this gap.

2.1 Tabular Score Network Architectures

Unlike images, which possess spatial correlations suitable for convolutional neural networks (CNNs) or U-Nets, tabular data consists of independent, structured rows. SOS replaces standard image-centric architectures with three fully connected variants designed for non-spatial data:

  • Concat: Concatenates the input features with the time embedding.
  • Squash: Uses a gating mechanism to modulate feature importance.
  • Concatsquash: Combines both approaches to maximize the network's ability to learn non-linear relationships within the table.

2.2 Generation Strategies

SOS offers two distinct paths for creating synthetic minority samples:

  1. Standard Generation: Samples are generated from pure Gaussian noise, following the standard reverse-time SDE (Stochastic Differential Equation) process.
  2. Style Transfer: This strategy takes an existing majority class sample, injects a controlled amount of noise, and then applies the minority class's reverse process. This technique is particularly effective at generating samples near the decision boundary, helping the classifier distinguish between closely related classes.

2.3 Angle-based Fine-tuning

A critical challenge in tabular data is the "gray region"—areas where majority and minority class distributions overlap. To address this, SOS introduces a gradient-based fine-tuning method. By analyzing the angle between the gradients of the majority and minority score networks, the model can identify regions of high ambiguity. If the gradients point in similar directions, the fine-tuning process dampens the minority gradient, effectively "pushing" the synthetic samples away from the majority territory and sharpening the resulting decision boundary.

3. Experimental Evaluation

The efficacy of SOS was tested against 10 baseline methods, including statistical approaches (SMOTE, ADASYN) and state-of-the-art deep generative models (CTGAN, TVAE, OCT-GAN). The evaluation spanned six datasets covering binary and multi-class classification tasks: Default, Shoppers, Surgical, WeatherAUS, Buddy, and Satimage.

3.1 Performance Metrics

The primary metric for evaluation was the Weighted F1 score, which accounts for the performance on both majority and minority classes. SOS demonstrated universal superiority, outperforming all baselines across every dataset. For instance, on the Shoppers dataset, SOS improved the F1 score from a baseline of 0.601 (no oversampling) to 0.675. In contrast, the best-performing traditional baseline, SMOTE, only reached 0.648.

3.2 Efficiency and Reliability

A common criticism of diffusion models is their computational cost. However, SOS proves that for low-dimensional tabular data, the number of denoising steps can be significantly reduced. In all test cases, SOS generated the necessary synthetic data in under five seconds. Furthermore, SOS was the only method that consistently improved performance over the "Identity" (no oversampling) baseline; many other methods occasionally introduced enough noise to degrade the final model's performance.

4. Discussion and Future Work

The success of SOS indicates that the SDE framework is highly adaptable beyond the vision domain. By capturing the true distribution of features more accurately than GANs—which often suffer from clumping or mode collapse—SOS provides a more reliable foundation for downstream classification.

Despite these gains, opportunities for further refinement remain. Future research could explore the integration of custom SDEs designed specifically for mixed-type data (categorical and continuous) or the development of tabular-specific discriminators to further refine the generation process.

5. Conclusion

SOS (Score-based OverSampling) represents a significant advancement in the treatment of imbalanced tabular data. By successfully adapting score-based generative models to structured data environments, it offers a robust, efficient, and high-performing alternative to traditional oversampling techniques. Its ability to navigate the "gray regions" of data overlap through angle-based fine-tuning makes it a powerful tool for building fairer and more accurate machine learning models.

Summary updated

BibTeX
@inproceedings{kim2022sos,
  author = {Jayoung Kim and Chaejeong Lee and Yehjin Shin and Sewon Park and Minjung Kim and Noseong Park and Jihoon Cho},
  title = {{SOS: Score-based Oversampling for Tabular Data}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
}
Figure