Saturday, November 28, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

Software Tool Screens Published Classification Studies for Data Leakage Artefacts

November 28, 2026
in Technology and Engineering
Denise Maddox
By Denise Maddox Scienmag Editorial Profile - Mechanical Engineering
Reading Time: 6 mins read
0
Software Tool Screens Published Classification Studies for Data Leakage Artefacts

Software Tool Screens Published Classification Studies for Data Leakage Artefacts

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

A newly published computational tool called leakcheck provides a systematic method for screening reported tabular classification results to detect performance inflation caused by the resampling-before-splitting artefact. In applied machine learning workflows, applying an over-sampler to an entire dataset before partitioning observations into training and evaluation sets can inadvertently expose the training algorithm to information from test samples while simultaneously altering the evaluation distribution. While prospective interventions like code inspection, pipeline checklists, and strictly segregated software architectures can audit and prevent leakage when raw data and execution scripts are accessible, external readers and peer reviewers evaluating published literature frequently have access only to high-level summary tables. The software addresses this specific evaluation barrier by establishing a controlled, reproducible screening formulation that evaluates reported summary statistics without requiring access to proprietary patient-level or organizational records.

The underlying software package, authored by Trung Huynh Ngoc Thanh and Hieu Le Ngoc and released under an open-source BSD 3-Clause license, is implemented in Python and utilizes NumPy alongside an inspectable JavaScript Object Notation model representation. Rather than proposing a new machine learning algorithm, the authors combined established techniques—specifically gradient boosted decision trees and vectorized tree traversal—to provide a lightweight, transparent inference tool that evaluates five explicit inputs. Users provide the published minority-class F1 score, the base-10 logarithm of the class imbalance ratio, the base-10 logarithm of the pre-resampling minority sample count, the base-10 logarithm of the encoded feature count, and an indicator variable corresponding to one of seven supported classification model families. The tool verifies that inputs conform to expected numerical formats and bounds, rejecting non-finite values, non-integer sample counts, invalid ratios, and unsupported algorithm families instead of silently substituting default configurations. The final fitted model is stored as a 72.4-kibibyte JSON file, allowing execution via a standalone NumPy tree walker that completes batch inference across 22,400 records in 0.097 seconds while completely avoiding dependency on serialized Python pickle formats.

To train and evaluate the screening system under controlled conditions, the researchers constructed a curated experimental corpus comprising 41 distinct tabular benchmark tasks, drawing upon six employee-attrition datasets alongside 35 collections from the Penn Machine Learning Benchmarks repository. The selection criteria required all candidate datasets to contain at least 30 minority-class instances, and datasets exceeding 5,000 observations were capped at that ceiling via stratified subsampling. In cases where multiclass datasets were utilized, they were systematically converted into binary classification tasks by defining a single rare class against the remainder. Across the entire collection, the 41 sources spanned sample sizes ranging from 208 to 5,000 rows, encoded feature spaces between 3 and 180 predictors, minority observation counts from 30 to 1,813, and class imbalance ratios spanning 1.02 to 109.94. The investigators emphasized that the structural diversity of the resulting corpus is strictly governed by these 41 distinct source environments rather than representing tens of thousands of entirely independent data-gathering efforts.

The experimental generator executed a rigorous paired comparison protocol across each dataset, algorithm family, over-sampling strategy, and random numerical seed. Seven distinct classifier families were evaluated, including logistic regression, depth-six decision trees, five-nearest neighbours, radial basis function support vector machines, random forests, scikit-learn gradient boosting, and XGBoost. These classifiers were combined with four established synthetic over-sampling techniques: standard Synthetic Minority Over-sampling Technique, Borderline-SMOTE, Adaptive Synthetic sampling, and random oversampling, representing local interpolation, boundary-adaptive synthesis, and direct record duplication. For each paired trial, two distinct pipeline orderings were executed using shared seeds numbered zero through nine. In the train-only condition, a stratified 70:30 train-test split was performed first, after which feature scaling was fit exclusively to the training partition, the training subset was over-sampled, and the resulting model was evaluated against an untouched, unresampled test partition. In the before-split condition, over-sampling was applied across the complete dataset prior to performing a stratified 70:30 partition, followed by scaling and model fitting on the training portion, leaving the test split populated by synthetic or duplicated records that exhibited an altered class balance.

The researchers excluded incomplete runs and retained exactly 11,200 successful paired comparisons, yielding a final balanced training and validation matrix containing 22,400 observation rows characterized by precisely equal label proportions between the two pipeline conditions. An important methodological limitation highlighted in the investigation is that the initial dataset harmonisation—such as imputing missing numerical values with column medians and one-hot encoding categorical variables in human resources loaders—occurred prior to the experimental split. Because category vocabularies and median values were learned from the entire dataset, the authors noted that the train-only condition should not be construed as certifying a completely leakage-free pipeline. Instead, the experimental contrast captured a bundled protocol signature reflecting resampling order and associated test-distribution shifts rather than isolating an unconfounded causal mechanism of cross-partition data contamination.

Validation was conducted using an exhaustive leave-one-dataset-out cross-validation framework wherein models were repeatedly trained on 40 source datasets and evaluated strictly on the single held-out dataset. Crucially, all matched pairs, random seeds, and algorithmic configurations associated with the held-out dataset were sequestered simultaneously to prevent data leakage during meta-model assessment, and public test assertions confirmed that training and evaluation sets remained strictly pair-disjoint. Evaluated across all held-out datasets at a standard decision threshold of 0.5, the full gradient-boosted screening model achieved an area under the receiver operating characteristic curve of 0.795, with a 95 percent percentile bootstrap confidence interval spanning 0.743 to 0.849 based on 1,000 cluster resamples. The model demonstrated an average precision of 0.776 with a confidence interval between 0.716 and 0.834, a Brier score of 0.197 ranging from 0.166 to 0.232, a sensitivity of 0.737, and a specificity of 0.657.

A critical finding from comparative model ablations was that the full gradient-boosted model failed to demonstrate an empirical performance advantage over significantly simpler baseline models. A standard logistic regression baseline trained on the exact same five input features recorded an area under the curve of 0.796, an average precision of 0.730, and a Brier score of 0.179, yielding an AUC difference between the full model and the logistic comparator of minus 0.036 to 0.033. Similarly, an ablated gradient-boosting model trained solely on the reported minority F1 score achieved an AUC of 0.794 and a lower Brier loss of 0.178. A naive rule evaluating raw F1 scores directly against a cut-off of 0.5 attained an AUC of 0.795 and a sensitivity of 0.999, though with an inferior specificity of 0.226 and an elevated Brier loss of 0.267. Models trained strictly on dataset descriptors without metric information yielded an expected AUC of 0.500 because the descriptor values are identical within matched positive and negative pairs. The authors explicitly retained the full model within the published package for compatibility purposes rather than claiming algorithmic superiority.

The evaluation revealed substantial performance heterogeneity across individual held-out source benchmarks, with dataset-specific area under the curve measurements ranging from 0.388 to 1.000, accompanied by an unweighted mean of 0.871 and a median of 0.987. The observed discrepancy between high within-dataset ranking and the lower pooled AUC of 0.795 was attributed to score offsets between distinct source datasets that disrupt global ordering when predictions are pooled. Analysis of high-threshold false-positive behaviors revealed severe localized vulnerabilities: when evaluated at an operating threshold of 0.65, the screening model exhibited a false-positive rate of 1.000 on three specific benchmarks—clean2, segmentation, and spambase. The authors observed that these extreme error profiles demonstrate that the model cannot guarantee reliable cross-domain transfer, and they cautioned against attributing such failures to unmeasured latent factors such as class separability or label noise without targeted prospective experiments.

The operational user interface categorizes outputs into three inherited score tiers: low scores below 0.35, intermediate scores from 0.35 to 0.65, and high screening scores of 0.65 or greater. Only the high tier produces an explicit recommendation prompting reviewers to conduct an in-depth audit of the underlying data-splitting pipeline. The authors stressed that these numeric cut-offs represent software interface conventions rather than thresholds derived from formal decision-theoretic cost-loss analyses or clinical utility studies. Furthermore, the outputs are calibrated exclusively to the balanced controlled corpus and cannot be interpreted as posterior probabilities of leakage in real-world publication settings. Under hypothetical literature base rates where leakage occurs in 1 percent, 5 percent, or 10 percent of published studies, fixed operating characteristics at the 0.65 threshold yield positive predictive values of merely 0.023, 0.108, and 0.203, demonstrating that without external recalibration, high scores in low-prevalence domains will predominantly represent false alarms.

To investigate the internal mechanics of the screening model, the researchers applied TreeSHAP analysis across 2,000 randomly selected corpus instances, confirming non-monotonic relationships and multi-feature interactions within the learned tree ensembles. However, the study emphasized that feature attribution values explain only the mathematical mechanics of the model rather than establishing causal relationships or certifying external screening validity. Multiple confounding factors can mimic the statistical signature of pre-split resampling, including legitimate high class separability, target leakage, cross-validation tuning against the test set, duplicate data instances, or discrepancies in how the F1 metric is formulated. In particular, the tool assumes the reported metric is binary minority-class F1, defined strictly as two times true positives divided by the sum of two times true positives, false positives, and false negatives; submitting macro-averaged, micro-averaged, or majority-class F1 values invalidates the screening inference.

The authors concluded that while leakcheck offers a reproducible, documented mechanism to prioritize papers for manual code auditing, a high screening score must never be used on its own to reach definitive editorial rejections or allege research malpractice. Similarly, a low screening score does not exonerate a manuscript from subtle forms of methodological bias or weakly expressed leakage. Future advancements require regenerating benchmark corpora using strict fold-fitted preprocessing, evaluating untouched real-world test sets to decouple partition contamination from altered class prevalence, and conducting prospective, preregistered external validation studies with blinded duplicate extraction and independent pipeline adjudication before automated screening can claim demonstrated operational utility in scientific peer review.

Subject of Research: Screening published machine learning classification summaries for data leakage caused by pre-split resampling

Article Title: leakcheck: screening reported classification results for the resampling-before-splitting artefact

Article References: Huynh Ngoc Thanh, T., & Le Ngoc, H. (2026). leakcheck: screening reported classification results for the resampling-before-splitting artefact. SoftwareX, 36, Article 103260. https://doi.org/10.1016/j.softx.2026.103260

Image Credits: AI Generated

DOI: 10.1016/j.softx.2026.103260

Keywords: leakcheck, data leakage, machine learning reproducibility, resampling before splitting, over-sampling, SMOTE, class imbalance, F1 score, gradient boosting, leave-one-dataset-out, Penn Machine Learning Benchmarks, employee attrition, tabular classification, reproducible research, software verification, performance inflation, model validation

Cite Scienmag News

Denise Maddox. (November 28, 2026). Software Tool Screens Published Classification Studies for Data Leakage Artefacts. Scienmag. https://scienmag.com/software-tool-screens-published-classification-studies-for-data-leakage-artefacts/

Denise Maddox. "Software Tool Screens Published Classification Studies for Data Leakage Artefacts." Scienmag, 28 November 2026, https://scienmag.com/software-tool-screens-published-classification-studies-for-data-leakage-artefacts/. Accessed 28 November 2026.

Denise Maddox. "Software Tool Screens Published Classification Studies for Data Leakage Artefacts." Scienmag. November 28, 2026. https://scienmag.com/software-tool-screens-published-classification-studies-for-data-leakage-artefacts/

Tags: class imbalancedata leakageemployee attritionF1-scoregradient boostingleakcheckLeave-One-Dataset-Outmachine learning reproducibilitymodel validationover-samplingPenn Machine Learning Benchmarksperformance inflationreproducible researchresampling before splittingSMOTEsoftware verificationtabular classification
Share26Tweet16
Previous Post

Urine Albumin May Improve Early Risk Assessment in Transthyretin Amyloid Cardiomyopathy

Next Post

Federated Graph Model Grades Nutrition Care in Eldercare and Childcare Facilities

Related Posts

Hybrid Neural Network Merges Sparse Graph Reasoning With Convolutional Object Detection
Technology and Engineering

Hybrid Neural Network Merges Sparse Graph Reasoning With Convolutional Object Detection

November 28, 2026
Generative AI and Transformers Accurately Map Soil Nutrients From Hyperspectral Data
Technology and Engineering

Generative AI and Transformers Accurately Map Soil Nutrients From Hyperspectral Data

November 28, 2026
Federated Graph Model Grades Nutrition Care in Eldercare and Childcare Facilities
Technology and Engineering

Federated Graph Model Grades Nutrition Care in Eldercare and Childcare Facilities

November 28, 2026
Dual-Sensor Fusion Improves Tree-Level Apple Chlorophyll and Water Predictions in Orchard Trials
Agriculture

Dual-Sensor Fusion Improves Tree-Level Apple Chlorophyll and Water Predictions in Orchard Trials

November 28, 2026
Hierarchical Control Framework Improves Renewable Cluster Stability and Reduces Computing Time
Technology and Engineering

Hierarchical Control Framework Improves Renewable Cluster Stability and Reduces Computing Time

November 28, 2026
Ergonomic Knowledge and Vision Models Improve Preliminary Product Sketch Evaluation
Technology and Engineering

Ergonomic Knowledge and Vision Models Improve Preliminary Product Sketch Evaluation

November 28, 2026
Next Post
Federated Graph Model Grades Nutrition Care in Eldercare and Childcare Facilities

Federated Graph Model Grades Nutrition Care in Eldercare and Childcare Facilities

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27657 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Historical Policy Delays in HIV Treatment Elevated Mortality Across Sub-Saharan Africa
  • Hybrid Neural Network Merges Sparse Graph Reasoning With Convolutional Object Detection
  • Tumor Extracellular Vesicles Carrying MAGEA1 Weaken Antitumor Immunity in Lung Cancer
  • Fertility-Sparing Surgery Yields High Survival Alongside Recurrences in Ovarian Tumors

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,151 other subscribers

© 2026 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2026 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading