Solving the Class Imbalance Problem Using a Counterfactual Method for Data Augmentation
Not on the map. Why?
Abstract (arXiv)
Learning from class imbalanced datasets poses challenges for many machine learning algorithms. Many real-world domains are, by definition, class imbalanced by virtue of having a majority class that naturally has many more instances than its minority class (e.g. genuine bank transactions occur much more often than fraudulent ones). Many methods have been proposed to solve the class imbalance problem, among the most popular being oversampling techniques (such as SMOTE). These methods generate synthetic instances in the minority class, to balance the dataset, performing data augmentations that improve the performance of predictive machine learning (ML) models. In this paper we advance a novel data augmentation method (adapted from eXplainable AI), that generates synthetic, counterfactual instances in the minority class. Unlike other oversampling techniques, this method adaptively combines exist-ing instances from the dataset, using actual feature-values rather than interpolating values between instances. Several experiments using four different classifiers and 25 datasets are reported, which show that this Counterfactual Augmentation method (CFA) generates useful synthetic data points in the minority class. The experiments also show that CFA is competitive with many other oversampling methods many of which are variants of SMOTE. The basis for CFAs performance is discussed, along with the conditions under which it is likely to perform better or worse in future tests.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 16 of its 76 references that are in the map. First posted on arXiv 5 Nov 2021.
Builds on
16 of 76 references.
References · 16
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
- 2020Time Series Data Augmentation for Deep Learning: A Surveycited by 225
- 2020Multi-Objective Counterfactual Explanationscited by 157
- 2020A survey of algorithmic recourse: definitions, formulations, solutions, and prospectscited by 118
- 2019The Dangers of Post-hoc Interpretability: Unjustified Counterfactual Explanationscited by 97
- 2020Counterfactual Data Augmentation using Locally Factored Dynamicscited by 93
- 2021If Only We Had Better Counterfactual Explanations: Five Key Deficits to Rectify in the Evaluation of Counterfactual XAI Techniquescited by 82
- 2016Understanding data augmentation for classification: when to warp?cited by 74
- 2020Instance-based Counterfactual Explanations for Time Series Classificationcited by 64
- 2021GeCo: Quality Counterfactual Explanations in Real Timecited by 32
- 2016Generalized Inverse Classificationcited by 22
4 more
- 2021A Few Good Counterfactuals: Generating Interpretable, Plausible and Diverse Counterfactual Explanationscited by 19
- 2021Predicting Illness for a Sustainable Dairy Agriculture: Predicting and Explaining the Onset of Mastitis in Dairy Cowscited by 2
- 2021Handling Climate Change Using Counterfactuals: Using Counterfactuals in Data Augmentation to Predict Crop Growth in an Uncertain Climate Futurecited by 2
- 2020Counterfactual-based minority oversampling for imbalanced classificationcited by 1
Built on by
Citing papers per year: 2023: 2; 2024: 1; 2025: 4; 2026: 1.
8 papers.
- 2023Data Scarcity in Recommendation Systems: A Surveycited by 17
- 2024Explanatory Debiasing: Involving Domain Experts in the Data Generation Process to Mitigate Representation Bias in AI Systemscited by 5
- 2025VISION: Robust and Interpretable Code Vulnerability Detection Leveraging Counterfactual Augmentationcited by 2
- 2023CAISA at SemEval-2023 Task 8: Counterfactual Data Augmentation for Mitigating Class Imbalance in Causal Claim Identificationcited by 1
- 2025Individualised Counterfactual Examples Using Conformal Prediction Intervalscited by 1
- 2025CAPS: Context-Aware Priority Sampling for Enhanced Imitation Learning in Autonomous Drivingcited by 0
- 2025On the Normalization of Confusion Matrices: Methods and Geometric Interpretationscited by 0
- 2026Close to Reality: Interpretable and Feasible Data Augmentation for Imbalanced Learningcited by 0
- 2026Close to Reality: Interpretable and Feasible Data Augmentation for Imbalanced Learning14 Mar 2026
- 2025On the Normalization of Confusion Matrices: Methods and Geometric Interpretations5 Sep 2025
- 2025VISION: Robust and Interpretable Code Vulnerability Detection Leveraging Counterfactual Augmentation26 Aug 2025
- 2025Individualised Counterfactual Examples Using Conformal Prediction Intervals28 May 2025
- 2025CAPS: Context-Aware Priority Sampling for Enhanced Imitation Learning in Autonomous Driving3 Mar 2025
- 2024Explanatory Debiasing: Involving Domain Experts in the Data Generation Process to Mitigate Representation Bias in AI Systems26 Dec 2024
- 2023Data Scarcity in Recommendation Systems: A Survey8 Dec 2023
- 2023CAISA at SemEval-2023 Task 8: Counterfactual Data Augmentation for Mitigating Class Imbalance in Causal Claim Identification1 Jun 2023