{
  "problem_id": "OPL-000014",
  "slug": "cross-validation-combined-with-oversampling",
  "name": "Cross-validation combined with oversampling",
  "alternative_names": [
    "Cross-validation for imbalanced datasets",
    "Joint use of cross-validation and oversampling"
  ],
  "discipline": "artificial-intelligence",
  "subdiscipline": "machine-learning",
  "topics": [
    "imbalanced data",
    "oversampling",
    "SMOTE",
    "cross-validation",
    "model evaluation",
    "data leakage"
  ],
  "year_first_documented": 2018,
  "originator": {
    "name": null,
    "institution": null,
    "kind": "documented"
  },
  "status_class": "explicitly_documented_open_problem",
  "status_label": "Explicitly documented open problem",
  "last_verified": "2026-11-26",
  "one_sentence": {
    "text": "How should cross-validation be combined with oversampling on imbalanced datasets so that the resulting performance estimates are neither overoptimistic nor overfitted?",
    "kind": "editorial"
  },
  "layperson": {
    "text": "Some datasets contain very few examples of the thing we most want to detect, such as fraud or disease. A common fix is to create extra synthetic examples of the rare group before training a model. A common way to check a model is to split the data into parts, train on some and test on the others, and repeat. When these two steps are mixed carelessly, the test can end up seeing information it should not, and the model looks better than it really is. The open question is how to combine the two steps correctly and in a way that is easy for non-specialists to get right.",
    "kind": "editorial"
  },
  "technical": {
    "text": "Cross-validation is a standard procedure for performance evaluation. Oversampling is a standard way to rebalance classes in imbalanced learning. The source frames their joint application as an open question and addresses how to avoid overoptimistic and overfitting approaches. The passage supplied does not say which specific protocol is correct, so the precise technical formulation here is limited to what the source title and passage state.",
    "kind": "documented"
  },
  "why_matters": {
    "text": "Imbalanced data is common in applied settings, and the supplied citing works include credit card fraud, software defect prediction, stroke prediction and pancreatic cancer biomarker studies. If the evaluation procedure inflates scores, reported model quality may not match real-world performance. This is an editorial estimate of the consequence and is not stated in the source passage.",
    "kind": "editorial"
  },
  "why_unsolved": {
    "text": "The supplied passage says only that the joint application of cross-validation and oversampling remains an open question for researchers farther from the imbalanced data topic. The supplied sources do not give a detailed account of why it has stayed unsettled. The wording suggests that the issue may be partly one of awareness and shared practice rather than a purely theoretical gap, but this reading is not confirmed by the supplied text.",
    "kind": "documented"
  },
  "already_understood": {
    "text": "Cross-validation is described in the source as a standard procedure for performance evaluation. Several citing works from 2026 state that applying resampling before partitioning the data inflates performance estimates through information leakage. One citing work compares SMOTE applied only to the training partition against SMOTE applied before the train and test split, and another measures two kinds of data leakage with SMOTE on a software defect dataset.",
    "kind": "documented"
  },
  "remains_unknown": {
    "text": "The supplied material does not state which combination procedures are agreed to be correct across different oversampling methods, classifiers and metrics. It also does not say how large the bias from incorrect combinations is in general. The passage frames the question as open for researchers farther from the imbalanced data topic, so it is unclear from the supplied sources whether specialists consider it settled.",
    "kind": "documented"
  },
  "satisfactory_solution": {
    "text": "A satisfactory answer would be a clearly stated evaluation protocol for oversampling inside cross-validation, backed by evidence that it gives unbiased and non-overfitted performance estimates across several datasets and methods, and written so that non-specialists can apply it correctly. This is an editorial description of a good outcome.",
    "kind": "editorial"
  },
  "foundational_publications": [
    {
      "title": "Cross-Validation for Imbalanced Datasets: Avoiding Overoptimistic and Overfitting Approaches [Research Frontier]",
      "authors": [
        "Miriam Seoane Santos",
        "Jastin Pompeu Soares",
        "Pedro Henriques Abreu",
        "Helder Jesus Araújo",
        "João A.M. Santos"
      ],
      "year": 2018,
      "doi": "10.1109/mci.2018.2866730",
      "url": "https://doi.org/10.1109/mci.2018.2866730",
      "quote": "Although cross-validation is a standard procedure for performance evaluation, its joint application with oversampling remains an open question for researchers farther from the imbalanced data topic."
    }
  ],
  "recent_research": [
    {
      "title": "Evaluasi Dampak SMOTE dan Analisis Kebocoran Data pada Prediksi Cacat Perangkat Lunak Berbasis Extra Trees dan Random Forest Menggunakan Dataset NASA KC1",
      "year": 2026,
      "doi": "10.58602/jaiti.v4i4.461",
      "note": "Evaluates SMOTE and measures two kinds of data leakage on a deduplicated NASA KC1 dataset using repeated 10-fold cross-validation.",
      "kind": "documented"
    },
    {
      "title": "Addressing class imbalance in credit card fraud detection using Mahalanobis-based undersampling of extreme observations",
      "year": 2026,
      "doi": "10.1016/j.heliyon.2026.e45763",
      "note": "States that applying resampling before partitioning the data inflates performance estimates due to information leakage.",
      "kind": "documented"
    },
    {
      "title": "SMOTE Versus Class Weighting for Imbalanced Longitudinal Growth Data",
      "year": 2026,
      "doi": "10.33558/piksel.v14i2.12919",
      "note": "Compares SMOTE applied to the training partition only with SMOTE applied before the train and test split.",
      "kind": "documented"
    },
    {
      "title": "Revealing Misclassification of Exercise Sessions in Wearable Stress Detection for Automated Insulin Delivery",
      "year": 2026,
      "doi": "10.3390/s26227340",
      "note": "Related evaluation concern. Reports that a public dataset's evaluation did not keep participants apart and repeats it on held-out participants. This is about participant separation and not oversampling.",
      "kind": "documented"
    }
  ],
  "leading_researchers": [
    {
      "name": "Miriam Seoane Santos",
      "note": "Author of the establishing source",
      "kind": "documented"
    },
    {
      "name": "Jastin Pompeu Soares",
      "note": "Author of the establishing source",
      "kind": "documented"
    },
    {
      "name": "Pedro Henriques Abreu",
      "note": "Author of the establishing source",
      "kind": "documented"
    },
    {
      "name": "Helder Jesus Araújo",
      "note": "Author of the establishing source",
      "kind": "documented"
    },
    {
      "name": "João A.M. Santos",
      "note": "Author of the establishing source",
      "kind": "documented"
    }
  ],
  "existing_approaches": [
    {
      "text": "Apply oversampling only to the training partition of each split and leave the test partition untouched. A 2026 citing work compares this against applying SMOTE before the split.",
      "kind": "documented"
    },
    {
      "text": "Remove duplicate rows before evaluation so that copies do not appear in both training and test data. A 2026 citing work does this for the NASA KC1 dataset.",
      "kind": "documented"
    },
    {
      "text": "Use repeated cross-validation with a corrected t-test for comparing models, as used in one citing work.",
      "kind": "documented"
    }
  ],
  "bottlenecks": [
    {
      "text": "The supplied sources do not name specific technical bottlenecks. Editorial estimate: the main difficulty is that correct procedures are easy to get wrong in practice, and the effect size depends on dataset, method and metric.",
      "kind": "editorial"
    }
  ],
  "datasets_resources": [
    {
      "name": "NASA KC1 software defect dataset",
      "note": "Used in a 2026 citing work, which reports 2,109 modules reduced to 1,186 unique modules after deduplication.",
      "kind": "documented"
    },
    {
      "name": "Debernardi et al. pancreatic cancer biomarker dataset",
      "note": "Described in a 2026 citing work as a public dataset of 590 participants with 199 PDAC cases.",
      "kind": "documented"
    },
    {
      "name": "Taiwan corporate bankruptcy dataset",
      "note": "Used in a 2026 citing work, 6,819 companies.",
      "kind": "documented"
    }
  ],
  "related_problems": [
    {
      "name": "Information leakage when resampling before the train and test split",
      "problem_id": null,
      "kind": "documented"
    },
    {
      "name": "Class imbalance handling in classification",
      "problem_id": null,
      "kind": "documented"
    }
  ],
  "unlocks": [
    {
      "name": "More reliable reported performance for classifiers trained on imbalanced data",
      "kind": "speculative"
    },
    {
      "name": "Shared evaluation guidelines that non-specialists can follow",
      "kind": "speculative"
    }
  ],
  "required_expertise": {
    "text": "Working knowledge of machine learning evaluation, resampling methods such as SMOTE, and statistical comparison of models. Programming ability in Python or a similar language.",
    "kind": "editorial"
  },
  "math_prerequisites": {
    "text": "Undergraduate statistics and probability, including bias and variance of estimators and hypothesis testing.",
    "kind": "editorial"
  },
  "equipment": {
    "text": "A standard computer. No laboratory equipment is needed for simulation and public dataset studies.",
    "kind": "editorial"
  },
  "estimated_cost": {
    "band": "under_100",
    "text": "Editorial estimate. Experiments on small public datasets can run on a personal computer or free cloud tier.",
    "kind": "editorial",
    "confidence": "medium"
  },
  "estimated_hours": {
    "band": "50",
    "text": "Editorial estimate. A careful comparison of a few protocols on a few public datasets could be a meaningful contribution in roughly this time, and it would not settle the whole question.",
    "kind": "editorial",
    "confidence": "low"
  },
  "independent_researchers": {
    "possible": true,
    "text": "Editorial estimate. Public datasets and open source libraries make empirical comparisons feasible without institutional resources, though careful experimental design is needed.",
    "kind": "editorial"
  },
  "computational": {
    "possible": true,
    "text": "The question can be studied with simulations and experiments on public datasets.",
    "kind": "editorial"
  },
  "ai_suitability_placeholder": null,
  "ai_assistance": {
    "suitable": true,
    "text": "Editorial estimate. AI tools could help write experiment code, generate synthetic benchmark data and audit published pipelines for leakage. Human judgment is still needed to design valid protocols and interpret results.",
    "data_available": "Public imbalanced datasets exist, and simulated data can be generated with known class structure.",
    "evaluation": "Compare cross-validated estimates against performance on a fully held-out set or a large simulated population to measure optimism.",
    "compute": "Low. Standard CPU resources are enough for most tabular experiments.",
    "kind": "editorial"
  },
  "subproblems": [
    {
      "name": "Where in the pipeline to oversample",
      "text": "Determine how much optimism arises when oversampling happens before versus inside each cross-validation fold.",
      "kind": "editorial"
    },
    {
      "name": "Duplicate and near-duplicate leakage",
      "text": "Measure how duplicate rows and synthetic samples that resemble test points inflate scores.",
      "kind": "editorial"
    },
    {
      "name": "Overfitting through repeated tuning",
      "text": "Study how tuning oversampling settings against the same folds can overfit the estimate.",
      "kind": "editorial"
    },
    {
      "name": "Guidance for non-specialists",
      "text": "Turn the findings into a protocol and checklist that is easy to apply correctly.",
      "kind": "editorial"
    }
  ],
  "consequences": {
    "scientific": {
      "text": "Clearer evaluation standards would make results on imbalanced data easier to compare and reproduce.",
      "kind": "editorial"
    },
    "commercial": {
      "text": "Teams building fraud, defect or diagnostic models could avoid shipping models whose measured quality was inflated.",
      "kind": "editorial"
    },
    "societal": {
      "text": "Medical and safety applications that rely on imbalanced data would have more trustworthy reported accuracy.",
      "kind": "editorial"
    },
    "enabled_technologies": [
      {
        "name": "Leakage-safe pipeline tooling for imbalanced learning",
        "kind": "speculative"
      }
    ]
  },
  "scores": {
    "scientific_importance": {
      "value": 3,
      "explanation": "Evaluation validity matters across many applied machine learning studies, but the question is methodological and not foundational.",
      "confidence": "low"
    },
    "practical_impact": {
      "value": 4,
      "explanation": "Citing works from several applied domains show the issue arises in practice.",
      "confidence": "low"
    },
    "tractability": {
      "value": 4,
      "explanation": "Empirical and simulation studies are feasible with public data and modest compute.",
      "confidence": "low"
    },
    "neglectedness": {
      "value": 2,
      "explanation": "Many 2026 citing works touch on SMOTE and leakage, which suggests the topic is actively examined.",
      "confidence": "low"
    },
    "ai_suitability": {
      "value": 3,
      "explanation": "AI can assist with code and audits, but protocol design needs human judgment.",
      "confidence": "low"
    },
    "resource_intensity": {
      "value": 1,
      "explanation": "Low cost and no laboratory needs.",
      "confidence": "medium"
    },
    "commercial_potential": {
      "value": 2,
      "explanation": "Mostly benefits through better practice and open tooling, not a direct product.",
      "confidence": "low"
    },
    "research_momentum": {
      "value": 4,
      "explanation": "At least several citing works from 2026 study SMOTE, leakage or imbalance evaluation, based on the supplied list.",
      "confidence": "low"
    }
  },
  "filters": {
    "level": "graduate",
    "lab_required": false,
    "mode": [
      "computational",
      "empirical"
    ],
    "public_datasets": true,
    "cost_band": "under_100",
    "hours_band": "50",
    "ai_suitable": true
  },
  "establishing_sources": [
    {
      "title": "Cross-Validation for Imbalanced Datasets: Avoiding Overoptimistic and Overfitting Approaches [Research Frontier]",
      "authors": [
        "Miriam Seoane Santos",
        "Jastin Pompeu Soares",
        "Pedro Henriques Abreu",
        "Helder Jesus Araújo",
        "João A.M. Santos"
      ],
      "year": 2018,
      "doi": "10.1109/mci.2018.2866730",
      "url": "https://doi.org/10.1109/mci.2018.2866730",
      "quote": "Although cross-validation is a standard procedure for performance evaluation, its joint application with oversampling remains an open question for researchers farther from the imbalanced data topic."
    }
  ],
  "resolution_check": {
    "checked_at": "2026-11-26",
    "method": "openalex_citing_works",
    "result": "still_open",
    "notes": "50 citing works were returned and none of the supplied abstracts contained a phrase claiming a solution. The abstracts are truncated and the check is shallow. Several citing works show that leakage from resampling before partitioning is recognized, which suggests parts of the question are better understood. The source passage itself limits the open status to researchers farther from the imbalanced data topic, so the status is best read as an openness in practice and awareness, and not a confirmed gap among specialists."
  },
  "indexable": true,
  "verification_history": [
    {
      "date": "2026-11-26",
      "action": "initial",
      "notes": "Profile written from one establishing source and an OpenAlex citing works check. Single-source establishment with no independent corroboration of open status in the input."
    }
  ]
}
