Benchmarks
The benchmark harness compares scikit-link estimators with gradient-boosted decision trees (GBDTs) on the entity table alone or with hand-built relational features, and with scores published for the same RelBench tasks. Methods run by the harness use the same splits and tuning budget.
loan_default
PKDD'99 Financial (Berka)
- 7 tables
- 682 entities
- ROC AUC higher is better
- kfold split
How this run was made
- Rule 2: every learned statistic (category vocabularies, DFS interesting values, sklink catalogs and thresholds, GBDT encoders) is fitted on the training rows of each split only.
- GBDT tuning: optuna-tpe, 30 trials per split, budget 60.0s, first trial = defaults. The search is nested in each outer split on an inner validation split (20% of the training rows, or the official validation table), which also early-stops boosting; the best configuration is refitted on the whole training split with the number of rounds found.
- sklink_forest, sklink_gb and sklink_tree get the same search (same trials, budget and inner validation split, defaults first) over their own space, then are refitted on the whole training split.
- Times are means per split of the whole pipeline (features + model), n_jobs=-1; fit_seconds excludes the search. peak_memory_mb: psutil-rss peak over fit and predict above the start of the split (a lower bound), the maximum over splits.
- Every method uses the same splits; params.splits_digest fingerprints their rows and labels.
- PKDD'99: one sample per loan (682), label = status B or D; the loan date is the cutoff, so only transactions and cards before it are used.
- PKDD'99: order, disp and client tables have no dates and are used as given by every method.
- Code versions: the GBDT pipelines ran at scikit-link main b08d872 and the native sklink models at d9749e4 (sampled condition search for boosting); the featurizer did not change between them. environment.sklink_version is the installed package metadata, not the commit.
driver-dnf
RelBench rel-f1 (Formula 1)
- 9 tables
- 821 entities
- 12,679 samples
- ROC AUC higher is better
- official split
How this run was made
- Rule 2: every learned statistic (category vocabularies, DFS interesting values, sklink catalogs and thresholds, GBDT encoders) is fitted on the training rows of each split only.
- GBDT tuning: optuna-tpe, 30 trials per split, budget 120.0s, first trial = defaults. The search is nested in each outer split on an inner validation split (20% of the training rows, or the official validation table), which also early-stops boosting; the best configuration is refitted on the whole training split with the number of rounds found.
- Times are means per split of the whole pipeline (features + model), n_jobs=-1; fit_seconds excludes the search. peak_memory_mb: psutil-rss peak over fit and predict above the start of the split (a lower bound), the maximum over splits.
- Every method uses the same splits; params.splits_digest fingerprints their rows and labels.
- RelBench: official train/val/test tables; models are fitted on train, tuned and early stopped on val, scored on test.
- RelBench: rows are visible when their timestamp is strictly before the sample's cutoff (sklink's rule), for every method.
- RelBench: names of the entity (spellings of its key) left out for every method: drivers.driverRef, drivers.code, drivers.forename, drivers.surname.
- Code versions: the GBDT pipelines ran at scikit-link main ea583ef and the native sklink models at main b4a9809 (rare categories left out of categorical splits); the featurizer did not change between them. environment.sklink_version is the installed package metadata, not the commit.
- RelBench: sklink_gb, sklink_tree and sklink_forest use their default parameters (no search: one search does not fit the time budget on this machine), fitted on train and scored on test; the GBDT pipelines are tuned on the official val table (30 trials, 120 s). This favours the baselines.
- Reported results are copied from their references, not rerun; classification scores converted from percent, leaderboard nMAE converted to MAE with RelBench's train-target standard deviation. Leaderboard figures come from submission previews and are not independently verified.
driver-position
RelBench rel-f1 (Formula 1)
- 9 tables
- 826 entities
- 8,712 samples
- MAE lower is better
- official split
How this run was made
- Rule 2: every learned statistic (category vocabularies, DFS interesting values, sklink catalogs and thresholds, GBDT encoders) is fitted on the training rows of each split only.
- GBDT tuning: optuna-tpe, 30 trials per split, budget 120.0s, first trial = defaults. The search is nested in each outer split on an inner validation split (20% of the training rows, or the official validation table), which also early-stops boosting; the best configuration is refitted on the whole training split with the number of rounds found.
- Times are means per split of the whole pipeline (features + model), n_jobs=-1; fit_seconds excludes the search. peak_memory_mb: psutil-rss peak over fit and predict above the start of the split (a lower bound), the maximum over splits.
- Every method uses the same splits; params.splits_digest fingerprints their rows and labels.
- RelBench: official train/val/test tables; models are fitted on train, tuned and early stopped on val, scored on test.
- RelBench: rows are visible when their timestamp is strictly before the sample's cutoff (sklink's rule), for every method.
- RelBench: names of the entity (spellings of its key) left out for every method: drivers.driverRef, drivers.code, drivers.forename, drivers.surname.
- Code versions: the GBDT pipelines ran at scikit-link main ea583ef and the native sklink models at main b4a9809 (rare categories left out of categorical splits); the featurizer did not change between them. environment.sklink_version is the installed package metadata, not the commit.
- RelBench: sklink_gb, sklink_tree and sklink_forest use their default parameters (no search: one search does not fit the time budget on this machine), fitted on train and scored on test; the GBDT pipelines are tuned on the official val table (30 trials, 120 s). This favours the baselines.
- The train median baseline shows the drift of this task: test races (2010s) have lower finishing positions than train (1950-2004), which penalizes models that learn the old level; sklink_gb, early stopped on a random part of train, is hit hardest.
- Reported results are copied from their references, not rerun; classification scores converted from percent, leaderboard nMAE converted to MAE with RelBench's train-target standard deviation. Leaderboard figures come from submission previews and are not independently verified.
driver-top3
RelBench rel-f1 (Formula 1)
- 9 tables
- 134 entities
- 2,667 samples
- ROC AUC higher is better
- official split
How this run was made
- Rule 2: every learned statistic (category vocabularies, DFS interesting values, sklink catalogs and thresholds, GBDT encoders) is fitted on the training rows of each split only.
- GBDT tuning: optuna-tpe, 30 trials per split, budget 120.0s, first trial = defaults. The search is nested in each outer split on an inner validation split (20% of the training rows, or the official validation table), which also early-stops boosting; the best configuration is refitted on the whole training split with the number of rounds found.
- Times are means per split of the whole pipeline (features + model), n_jobs=-1; fit_seconds excludes the search. peak_memory_mb: psutil-rss peak over fit and predict above the start of the split (a lower bound), the maximum over splits.
- Every method uses the same splits; params.splits_digest fingerprints their rows and labels.
- RelBench: official train/val/test tables; models are fitted on train, tuned and early stopped on val, scored on test.
- RelBench: rows are visible when their timestamp is strictly before the sample's cutoff (sklink's rule), for every method.
- RelBench: names of the entity (spellings of its key) left out for every method: drivers.driverRef, drivers.code, drivers.forename, drivers.surname.
- Code versions: the GBDT pipelines ran at scikit-link main ea583ef and the native sklink models at main b4a9809 (rare categories left out of categorical splits); the featurizer did not change between them. environment.sklink_version is the installed package metadata, not the commit.
- RelBench: sklink_gb, sklink_tree and sklink_forest use their default parameters (no search: one search does not fit the time budget on this machine), fitted on train and scored on test; the GBDT pipelines are tuned on the official val table (30 trials, 120 s). This favours the baselines.
- Reported results are copied from their references, not rerun; classification scores converted from percent, leaderboard nMAE converted to MAE with RelBench's train-target standard deviation. Leaderboard figures come from submission previews and are not independently verified.
On rel-f1 driver-position, the test races are more recent than the training races, and their finishing position numbers are lower on average. A constant prediction, the median of the training labels, shows how much of the error comes from that drift: a model that learns the older level can score worse than it. Open How this run was made under each board for its protocol.
Published RelBench reference scores
The LightGBM, RDL and RelGNN scores below come from the RelBench and RelGNN papers; the scikit-link column comes from the runs above. LightGBM uses the entity table alone, while the graph models also use relationships between rows. The scores reflect differences in both the input and the model.
Classification · ROC AUC (%), test split, higher is better
| Dataset | Task | Tables | LightGBMentity table only | RDLgraph neural network | RelGNNgraph neural network | scikit-linkfeaturizer + LightGBM |
|---|---|---|---|---|---|---|
rel-f1 | driver-dnf | 9 | 68.56 | 72.62 | 75.29 | 71.03 |
rel-f1 | driver-top3 | 9 | 73.92 | 75.54 | 85.69 | 87.43 |
rel-amazon | user-churn | 3 | 52.22 | 70.42 | 70.99 | pending |
rel-hm | user-churn | 3 | 55.21 | 69.88 | 70.93 | pending |
rel-stack | user-engagement | 7 | 63.39 | 90.59 | 90.75 | pending |
rel-avito | user-clicks | 8 | 53.60 | 65.90 | 68.23 | pending |
rel-avito | user-visits | 8 | 53.05 | 66.20 | 66.18 | pending |
Regression · MAE, test split, lower is better
| Dataset | Task | Tables | LightGBMentity table only | RDLgraph neural network | RelGNNgraph neural network | scikit-linkfeaturizer + LightGBM |
|---|---|---|---|---|---|---|
rel-f1 | driver-position | 9 | 4.170 | 4.022 | 3.798 | 3.915 |
rel-hm | item-sales | 3 | 0.076 | 0.056 | 0.054 | pending |
rel-amazon | user-ltv | 3 | 16.783 | 14.313 | 14.230 | pending |
RelationalFeaturizer with tuned LightGBM, from the runs above on the same official splits; a pending cell has no run yet. The KumoRFM-2 paper also reports LightGBM with hand-built relational features. On 12 RelBench v1 binary classification tasks, mean ROC AUC was 63.67% with entity-table inputs and 75.62% with the hand-built features. See Table 3 of the KumoRFM-2 paper.
What scikit-link is compared with
| Family | What it is |
|---|---|
| Entity table + GBDT | Uses the main table as a baseline for measuring the value of related tables |
| Manual features + GBDT | Uses task-specific aggregations based on public solutions and published recipes, where available |
| Deep Feature Synthesis + GBDT (planned) | Featuretools features at depth 2, with tuned gradient boosting |
| AutoML (planned) | AutoGluon Tabular on the manual features, and TabPFN on small datasets |
| Simple baseline | A constant prediction, such as the median of the training labels for a regression task |
| Published results | Scores reported by papers and leaderboards on the same official RelBench splits, marked reported and not run by us |
| scikit-link | RelationalFeaturizer with tuned gradient boosting, and relational gradient boosting, random forests and decision trees |
Datasets
| Dataset | Tables | Task | Metric | Status |
|---|---|---|---|---|
| PKDD'99 Financial (Berka) | 8 | Loan default | ROC AUC | Published |
| RelBench rel-f1 | 9 | Driver DNF, top 3 and position | Official task metric | Published |
| RelBench rel-avito, rel-stack, rel-hm, rel-trial | Varies by database | Supported classification and regression tasks | Official task metric | Pending |
| Home Credit Default Risk | 7 | Loan default | ROC AUC | Pending |
| Elo Merchant Category Recommendation | 4 | Customer loyalty | RMSE | Pending |
The board above shows each dataset and task once its run is published. RelBench tasks use the official temporal splits. rel-amazon and rel-event are supported but need much more memory than the other RelBench databases, so they have no published run yet. PKDD'99, Home Credit and Elo use cross-validation. For Home Credit and Elo it runs on the labeled Kaggle training data, because Kaggle's leaderboard scores hidden labels on a separate test set. Downloading them needs a Kaggle account. For data access, follow the benchmark setup instructions.
Rules for a fair comparison
- Use the same splits for every method. The harness follows official splits where defined, time-based splits where required by the task, and k-fold cross-validation otherwise. K-fold splits are stratified for binary classification and group repeated entity keys. The defaults are five folds for cross-validation and five seeds.
- Fit preprocessing inside each training fold. This includes category vocabularies and feature catalogs. The harness records corrections to public feature recipes in the result metadata.
- Tune on an inner validation split. Refit the selected configuration on the outer training split, then score it on the outer test split. The same budget applies to gradient boosting, relational trees and forests.
- Measure the whole pipeline. Fit and prediction times include feature computation. Search time is reported separately, and peak memory covers the fit when memory measurement is available.
Reproduce
Run these commands from a clone of the repository. --list shows available datasets, tasks and methods. The Home Credit command needs the dataset in the benchmark cache; the RelBench command downloads the database once and runs one task.
uv run python -m benchmarks.run --list
uv run --group benchmarks python -m benchmarks.run home_credit
uv run --group benchmarks --with relbench python -m benchmarks.run rel-f1 --task driver-dnf --downloadThe runner writes JSON files to benchmarks/results/. The benchmark board uses those files, which record the splits, tuning budget, versions and hardware.