NovaeonStudio's picture
Add Parquet copies of the TFM-track tables for the dataset viewer
48f3661 verified
|
Raw History Blame Contribute Delete
12 kB
metadata
license: cc-by-4.0
pretty_name: P2P Payment Block Benchmark (BPI Challenge 2019)
language:
  - en
  - de
task_categories:
  - tabular-classification
tags:
  - process-mining
  - purchase-to-pay
  - accounts-payable
  - payment-block
  - bpi-challenge-2019
  - event-log
  - tabular
  - benchmark
  - time-split
  - leakage-safe
  - tabular-foundation-model
size_categories:
  - 100K<n<1M
source_datasets:
  - >-
    BPI Challenge 2019 (van Dongen, 4TU.ResearchData,
    doi:10.4121/uuid:d06aff4b-79f0-45e6-8ec8-e19730c248f1)
configs:
  - config_name: features
    default: true
    data_files:
      - split: train
        path: data/features/train.parquet
      - split: gap
        path: data/features/gap.parquet
      - split: test
        path: data/features/test.parquet
  - config_name: tfm_upload_sperre_aufheben
    data_files: data/tfm_track/playground_upload_sperre_aufheben.parquet
  - config_name: tfm_labels_sperre_aufheben
    data_files: data/tfm_track/test500_labels_sperre_aufheben.parquet
  - config_name: tfm_baseline_scores_sperre_aufheben
    data_files: data/tfm_track/baseline_scores_test500_sperre_aufheben.parquet
  - config_name: tfm_upload_haengt
    data_files: data/tfm_track/playground_upload_haengt.parquet
  - config_name: tfm_labels_haengt
    data_files: data/tfm_track/test500_labels_haengt.parquet
  - config_name: tfm_baseline_scores_haengt
    data_files: data/tfm_track/baseline_scores_test500_haengt.parquet

P2P Payment Block Benchmark

Which invoice will get stuck at a payment block? A leakage-safe, time-split tabular benchmark built from the public purchase-to-pay event log of the BPI Challenge 2019.

Published by Novaeon · Lab: https://novaeon.studio/lab/

Not affiliated with or endorsed by SAP, Salesforce or ServiceNow; trademarks belong to their owners.

Task

  • Unit: one purchase order item (case of the BPI 2019 log).
  • Prediction point T0: the first Record Invoice Receipt of the item. From this moment an assistant could prepare the case for a human.
  • Population: items with T0 between 2018-01-01 and 2018-10-31 → 169,240 rows. Every row has at least 78 days of follow-up until the end of the log, so the 60-day label window is fully observed.
  • Features: only information available at T0 (master data of the item plus counts/durations from events strictly before T0). See data_dictionary.csv.
  • Labels:
    • sperre_aufheben (main label, "payment block must be removed"): a Remove Payment Block happens within 60 days after T0. Share: 24.3 %.
    • haengt (secondary label, "invoice still open"): no Clear Invoice within 60 days after T0. Share: 37.2 %. Read the warning below before using it.

Time-based split

split T0 window rows sperre_aufheben rate haengt rate
train Jan–Jun 2018 93,445 25.2 % 39.9 %
gap Jul–Aug 2018 39,046 24.4 % 33.3 %
test Sep–Oct 2018 36,749 22.1 % 34.7 %

Training labels are known by 2018-08-29 at the latest. July and August are left out (gap) so that no training label reaches into the test period. The published baselines train on train and evaluate on test; do not train on gap if you want comparable numbers.

Baselines (label sperre_aufheben, full test split, 36,749 rows, base rate 22.1 %)

Model AUC (95 % CI) Avg. precision Top-20 % review: precision / recall
Majority class 0.50 0.22 0.22 / 0.20
Vendor only (training rate per vendor) 0.65 (0.64–0.66) 0.36 0.41 / 0.38
Rule "no goods receipt before invoice" 0.61 (0.60–0.62) 0.46 0.42 / 0.38
Logistic regression 0.73 (0.72–0.73) 0.56 0.54 / 0.49
Gradient boosting (HistGBM) 0.74 (0.73–0.74) 0.55 0.51 / 0.46
Gradient boosting, only 2,000 training rows 0.68 (0.68–0.69) 0.49 0.45 / 0.41

In plain words: GBM reaches AUC 0.74, logistic regression 0.73. If a person reviews the top 20 % of the GBM-ranked list, they find 46 % of all later payment-block cases at 51 % precision, versus a 22 % base rate. The simple rule "invoice arrived before the goods receipt" is right 87 % of the time at threshold 0.5 but finds only about a quarter of the cases.

All numbers: results/ergebnisse_sperre_aufheben.json, permutation importance: results/merkmale_sperre_aufheben.csv (vendor and number of goods receipts before the invoice dominate).

Warning: label haengt is mostly vendor payment terms

On haengt, GBM reaches AUC 0.92, but the vendor alone already reaches AUC 0.87. The model mostly learns payment terms per vendor, not process problems. Treat haengt as a sanity/control label, not as a process signal, and do not present a high score on it as a process-improvement result. Numbers: results/ergebnisse_haengt.json.

Small tabular-foundation-model track (500 test rows)

For models that work with in-context rows instead of training (tabular foundation models), data/tfm_track/ contains:

  • playground_upload_<label>.csv — 2,500 rows: 2,000 context rows (random sample of train, seed 42) with label ja/nein, and 500 query rows (random sample of test, seed 42) with label [PREDICT]. Column zeile is a running row number; no document numbers.
  • test500_labels_<label>.csv — the 500 true labels (zeile, label).
  • baseline_scores_test500_<label>.csv — scores of all baselines on the same 500 rows (y = truth).

Each file is provided as .csv and as .parquet (identical content; the dataset viewer uses the Parquet files).

The same rows are marked in the main table via playground_zeile.

Our measurement with the SAP-RPT playground (label sperre_aufheben)

Measured on 2026-11-22 in the public SAP-RPT playground on the 500 query rows (101 true cases, base rate 20 %). The playground accepts at most 2,048 rows, so the run used 1,548 context rows (random subset of the 2,000, seed 42) plus all 500 query rows. The playground returned classes only (no probabilities), so no AUC was computed; all methods are compared at the same number of flagged cases (64).

Method (500 test rows) flagged precision recall
SAP-RPT playground, 1,548 context rows 64 48 % 31 %
GBM (all training data), top 64 64 47 % 30 %
Logistic regression (all training data), top 64 64 52 % 33 %
GBM with 2,000 rows, top 64 64 47 % 30 %
Rule "no goods receipt before invoice", top 64 64 52 % 33 %
Vendor only, top 64 64 33 % 21 %
Random 64 20 % 13 %

Result: on par with the baselines, not better. The simple rule reaches 52 % / 33 %. With 500 rows the differences are within about ±3 hits and are not significant. The raw per-row predictions and screenshots of the playground are not part of this dataset.

Beat the baseline

Can you rank the test split better than AUC 0.74 on sperre_aufheben, or find more than 46 % of cases in the top 20 %, without using gap or anything after T0? Rules:

  1. Train on train only (you may use gap for validation only if you report it), evaluate on test.
  2. Report AUC, average precision and precision/recall at the top 20 %.
  3. Report the "vendor only" and "rule" baselines next to your result. A gain that disappears for new vendors (cold start) is worth mentioning.

Open a discussion on this dataset page with your numbers and code.

Files

Path Content
data/features/{train,gap,test}.parquet feature table with both labels (config features)
data/features_all.csv same table as one CSV with column split
data/tfm_track/ tabular-foundation-model track (see above)
data_dictionary.csv description of every column
results/ergebnisse_{sperre_aufheben,haengt}.json all baseline metrics (full test and 500-row test)
results/merkmale_{sperre_aufheben,haengt}.csv permutation importance (AUC loss)
results/features_info.json original metadata from features.py (lists the internal columns t0, tage_bis_clear, which are not published)
scripts/features.py builds the feature table from the BPI 2019 log
scripts/modelle.py baselines, metrics and track files
scripts/playground_ids.py replaces document numbers in the track files by a running row number
scripts/auswerten_playground.py evaluates class or probability predictions on the 500 rows

Scripts expect the internal intermediate files (out/features.parquet with columns t0 and tage_bis_clear, and the log converted to parquet). To reproduce from scratch, download BPI 2019 and run features.py → modelle.py <label> → playground_ids.py. Column names and comments are in German.

Privacy and what was removed

  • No user or resource account IDs (user_xxx, batch_xx) appear in the data. They were used only to compute the share of non-batch events (anteil_manuell_vorher) and never as a feature. No person is scored.
  • No timestamps: the exact T0 and the days until clearing (tage_bis_clear, a post-T0 quantity) were removed. The time split is given as split; calendar information is limited to weekday and day of month of T0.
  • No purchase order document numbers: rows carry an anonymous row_id, the track files a running zeile.
  • Company and Vendor are the pseudonymous IDs from the original public log.

Source, license and changes

  • Source data: van Dongen, B. F. (2019). BPI Challenge 2019. 4TU.ResearchData. Dataset. https://doi.org/10.4121/uuid:d06aff4b-79f0-45e6-8ec8-e19730c248f1. License: CC BY 4.0.
  • This dataset: CC BY 4.0. Please cite the original BPI Challenge 2019 dataset and this dataset.
  • Changes made by Novaeon: derived a case-level table at the prediction point (first invoice receipt) for items with T0 in Jan–Oct 2018; computed features only from events strictly before T0; computed two 60-day labels; added a time-based split; removed document numbers, timestamps, post-T0 quantities and account IDs; created the 2,500-row track files and baseline scores. The original event log is not redistributed.

Limitations

  • One company, data from 2018, two months of test time. No claim about other companies.
  • sperre_aufheben says that a block was removed, not why. The log has no block reason and no amounts per invoice.
  • The vendor is the strongest feature; performance drops for new vendors.
  • The log has completion timestamps only, no handling times. This dataset supports no time or cost savings claims.
  • Intended use: ranking invoices for review, where a human decides. Do not use the source log to evaluate employees.

Deutsch (Kurzfassung)

Welche Rechnung bleibt an einer Zahlsperre hängen? Tabellarischer Benchmark aus dem öffentlichen Einkaufs-Log der BPI Challenge 2019, zeitlich getrennt und ohne Leakage.

  • Vorhersagezeitpunkt: erste Rechnungserfassung einer Bestellposition. Merkmale nur aus Ereignissen strikt davor. 169.240 Zeilen; Training Jan–Jun 2018, Lücke Jul–Aug, Test Sep–Okt 2018.
  • Hauptlabel sperre_aufheben: Zahlsperre wird binnen 60 Tagen aufgehoben. Gradient Boosting AUC 0,74, logistische Regression 0,73. Wer die obersten 20 % prüft, findet 46 % der Fälle bei 51 % Trefferquote (Basisrate 22 %).
  • Label haengt ist kein Prozesssignal: Der Lieferant allein erreicht schon AUC 0,87; das Modell lernt vor allem Zahlungsziele.
  • SAP-RPT-Playground (500 Testfälle, 1.548 Kontextzeilen): bei 64 markierten Fällen 48 % Trefferquote, 31 % gefunden. Die einfache Regel „kein Wareneingang vor Rechnung“ schafft 52 % / 33 %. Ergebnis: gleichauf, nicht besser.
  • Mitmachen: Schlagen Sie AUC 0,74 auf dem Testzeitraum und posten Sie Zahlen und Code in den Discussions.
  • Lizenz: CC BY 4.0. Quelle: BPI Challenge 2019, van Dongen, 4TU.ResearchData, CC BY 4.0. Änderungen durch Novaeon wie oben beschrieben. Keine Benutzerkonten, keine Zeitstempel, keine Belegnummern.

Novaeon · https://novaeon.studio/lab/