LIVE · Thursday 3 December

Best Decision Models for Structured Inputs: Start With Gradient-Boosted Trees, Then Tune the Threshold

For database rows with numeric and categorical fields, benchmark CatBoost, LightGBM and a logistic baseline first. Add TabPFN or EBM when your data or your auditors call for it, and set the decision threshold from your error costs.

By Thomas12 min read

For structured, tabular inputs such as database rows, start by benchmarking gradient-boosted trees (CatBoost, LightGBM or XGBoost) against a regularized logistic or linear baseline. Add a versioned TabPFN model when the table fits its size limits, and an Explainable Boosting Machine (EBM) when people must inspect every prediction. Then set the decision threshold from the real costs of each kind of error, because the default 0.5 cut-off is rarely the one that maximizes value. A model that ranks a supplied list of actions belongs in a separate test, and only when the task really is a choice among allowed options.

The right starting model depends on table size, field types, explanation needs and budget

The table below matches each option to the situation in which the published evidence supports it.

Option Best fit Check before choosing Primary evidence
CatBoost Many categorical fields Training time on your largest table NeurIPS 2018 paper; first under conventional tuning in TabArena
LightGBM or XGBoost Large or sparse tables, fast iteration Accuracy against CatBoost on categorical fields NIPS 2017 and KDD 2016 papers
TabPFN (pin the version) Small to medium tables, little tuning Non-commercial weights for 2.5 onward; GPU recommended 2025 Nature study; 2.5 and 3.5 reports
Explainable Boosting Machine Decisions that people must audit Slower training InterpretML docs; TabArena
Logistic or linear regression Baseline and simple audits Accuracy gap against trees on your data Included as a TabArena baseline
Tuned cross-model ensemble Maximum accuracy, large budget Hours of compute; validation overfitting TabArena

A decision model on tabular data has two parts that should be evaluated separately

Most "decision" systems on structured data first predict an outcome and then act on that prediction. A credit model predicts the probability that a loan defaults. A rule or a threshold then turns that probability into approve, refer or decline. The best predictor does not automatically produce the best decision, because the decision depends on what each mistake costs.

That split gives four steps that are worth keeping apart in any evaluation:

  1. The model performs outcome prediction, which produces a calibrated probability or score for each row.
  2. A cost rule handles threshold selection, which converts the probability into an action at the point where expected cost is lowest.
  3. When the action is a choice among several supplied options, an option-scoring model ranks those options directly.
  4. The application performs controlled execution, which carries out the chosen action and keeps an audit trail and a way to defer to a person.

Keeping the steps apart shows where a gain comes from. A new model that improves ranking quality but is used at the wrong threshold can lose money. An old model with a better threshold can earn more without any retraining.

Gradient-boosted trees still beat deep learning on typical tabular data, with caveats

The question of tabular data deep learning versus gradient-boosted trees has a well-documented answer for medium-sized tables. The NeurIPS 2022 benchmark by Léo Grinsztajn, Edouard Oyallon and Gaël Varoquaux compared deep learning methods with XGBoost and random forests on 45 datasets. Each learner received its own hyperparameter search. On medium-sized data of about 10,000 samples, the authors found that "tree-based models remain state-of-the-art," even before counting the speed advantage of trees.

The authors also explain why. They identify three properties that neural networks handle poorly on tables: robustness to uninformative features, preserving the orientation of the data, and learning irregular functions. They published the benchmark and the raw results of a 20,000 compute-hour search, so their comparison can be rerun.

Newer evidence narrows that finding without reversing it. TabArena, a benchmark that its authors maintain as a "living" leaderboard, was accepted as a spotlight at the NeurIPS 2025 Datasets and Benchmarks Track. Its first version curated 51 datasets with 500 to 250,000 training rows, and it gave each tunable model 200 random configurations. The authors conclude that gradient-boosted trees remain strong on practical datasets, but that deep learning has "caught up under larger time budgets with ensembling." They also found that the choice of validation method and the ensembling of configurations strongly change the results.

The practical reading is that trees are the right first baseline, not a guaranteed winner. If you can afford hours of tuning and ensembling, a cross-model ensemble is worth testing. TabArena's authors warn, however, that some deep learning models are overrepresented in those ensembles because of overfitting on the validation set.

CatBoost handles categorical features without the target leakage that simpler encodings cause

CatBoost is the sensible first choice when a table has many categorical fields, such as product codes, regions or customer segments. The NeurIPS 2018 paper by Liudmila Prokhorenkova and colleagues introduced two techniques. The first is ordered boosting, which the authors describe as "a permutation-driven alternative to the classic algorithm." The second is a new algorithm for processing categorical features.

Both techniques address one problem. According to the paper, existing boosting implementations suffered from a prediction shift that a form of target leakage caused. Encoding a category by the average target value, computed on the same rows that the model trains on, is the classic way that this leakage enters. TabArena's results support the choice in practice: its authors report that "CatBoost is ranked first in the conventional tuning regime."

LightGBM is the efficient choice when training time limits how often you can iterate

LightGBM was designed to make gradient boosting cheaper on large or wide tables. The NIPS 2017 paper by Guolin Ke and colleagues added two ideas. Gradient-based One-Side Sampling drops many rows that have small gradients and estimates the split quality from the rest. Exclusive Feature Bundling merges features that are rarely non-zero at the same time. According to the authors, LightGBM sped up training of conventional gradient boosting "by up to over 20 times" with almost the same accuracy.

Training speed matters for decisions because it sets how many experiments a team can run. A model that trains in minutes can be retuned for each new time window, cost matrix or feature set. XGBoost, introduced by Tianqi Chen and Carlos Guestrin in 2016, remains a reasonable alternative, with a sparsity-aware algorithm and a weighted quantile sketch for approximate split finding.

The 2025 TabPFN Nature study made foundation models a serious option for small tables

TabPFN takes a different approach. It is a transformer that was pretrained on synthetic tables and that predicts on a new table in a single forward pass, without training on that table. The 2025 TabPFN Nature study by Noah Hollmann and colleagues, published on 8 January 2025, covered datasets of up to 10,000 samples and 500 features. The authors report that default TabPFN, in about 2.8 seconds on average, beat an ensemble of the strongest baselines tuned for four hours in classification.

The study also lists a cost. Per-sample inference was slower than CatBoost, which matters for high-volume scoring.

Any TabPFN claim needs a version number, because the limits have moved quickly. The TabPFN-2.5 report of November 2025 raised the stated range to 50,000 rows and 2,000 features. It reports that TabPFN-2.5 matched AutoGluon 1.4, which its authors describe as "a complex four-hour tuned ensemble." The TabPFN-3.5 technical report, first posted on 15 September 2026, claims a new state of the art on TabArena. The project's repository now lists TabPFN-3.5 as the default, with stated limits of up to 1,000,000 rows and 20,000 features.

Licensing changes the decision as much as accuracy does. The TabPFN repository releases its code under Apache 2.0. The weights for TabPFN-2.5 through 3.5, however, are under non-commercial licences, and commercial use goes through a paid Enterprise Edition. The TabPFN-2 weights use Apache 2.0 with an added attribution requirement. A GPU is recommended, and the repository sets a CPU limit of 5,000 samples for the newest versions.

InterpretML's EBM gives predictions that a reviewer can inspect feature by feature

The Explainable Boosting Machine from InterpretML is a generalized additive model. It learns one shape function for each feature and adds them together, with a small number of automatically detected two-feature interactions. It is trained by cycling through features one at a time with a low learning rate, which reduces the effect of feature order.

According to the InterpretML documentation, EBMs are "often as accurate as state-of-the-art blackbox models while remaining completely interpretable." The trade-off is in training, which the docs describe as "somewhat slower than similar methods." Prediction is fast because it uses only lookups and additions. TabArena's authors also found that tuned EBM and tuned CatBoost "shine at inference time."

An EBM is the right candidate when a regulator, a credit committee or a clinician must see why each prediction was made. A regularized logistic regression belongs in the same comparison as the simplest interpretable baseline. If a logistic model comes within your tolerance of the trees, its simplicity is usually worth more than the last point of accuracy.

Rules or the existing model are enough when a new model does not change the decision

A new model is worth deploying only when it changes enough decisions for the better to cover its cost. Three situations favour keeping what you have:

  • A hand-written rule matches the held-out utility of every model within the margin of the evaluation, which often happens when one or two fields drive the outcome.
  • The existing model only needs a new threshold, because the costs of errors changed while the relationship between the features and the outcome did not.
  • The decision volume is too low for a small gain in utility to pay for training, serving and monitoring a new model.

Scikit-learn's decision threshold tuning turns error costs into a better cut-off

Scikit-learn's default rule predicts the positive class when the predicted probability is above 0.5. Its documentation describes this rule as "most certainly not ideal for most use cases." For cost-sensitive learning, the library provides TunedThresholdClassifierCV, which searches for the threshold that maximizes a business metric with internal cross-validation. It also provides FixedThresholdClassifier for a threshold that is already known.

The arithmetic behind the threshold is short. Suppose that a missed default costs 5 and a wrongly declined good applicant costs 1. With a calibrated probability p of default, declining has an expected cost of 1 × (1 − p) and approving has an expected cost of 5 × p. Declining is cheaper when p is above 1/6, or about 0.17, not 0.5.

Scikit-learn's worked example uses exactly that cost matrix on the German credit dataset, which has 1,000 rows and 20 features. On its test set, a gradient-boosting model at the default threshold scored −209 on the business metric. The same model with a tuned threshold scored −143, so the cost fell by about a third. The underlying model did not change.

The same example warns against tuning the threshold on the data that trained the model. The documentation states plainly that "you should never use the same data for training the classifier and tuning the decision threshold due to the risk of overfitting." It also warns that cross-validated business metrics are unreliable when the rare class has few examples, and it recommends confirming the result with an A/B test on live traffic.

Supplied-option models such as TOD fit only workloads that offer a fixed list of allowed actions

Some decisions are not a threshold on one probability. A support system may need to choose among "refund", "replace", "escalate" and "ask for a photo", given an order record and a policy. Parsec's TOD is built for that contract. According to Parsec's TOD page, it reads text, images, policy and task state, and it ranks the next action from a supplied list. It generates no free text, and a confidence gate passes uncertain turns unchanged to a larger language model. Parsec lists the price as $0.30 per 1,000 decisions, separate from the cost of the larger model.

The release that Parsec evaluated is named "TOD decision v1," dated 29 September 2026. According to the model card, it consists of LoRA adapters on google/gemma-4-12B-it plus a ModernBERT-base retriever. The adapters are listed as Apache-2.0, but the base weights are not included and require acceptance of the Gemma 4 licence. The repository's predict(state, options, question, images) call takes the state as plain text and returns one probability per option. A structured row must therefore be serialized, for example as one field: value line per column, and that serialization should be published with the test.

Parsec's own figures include a loss. On the public JevBench set of 231 text decisions, the released TOD scored 84.4% against 86.2% for the untrained base model. That result is the reason to test a tuned variant only against frozen alternatives on your own held-out decisions. Parsec's latency figures were measured on different GPUs on its page and in its repository, and its page describes the model size inconsistently. Any test should therefore time the exact release on your own hardware. No published result compares TOD with gradient-boosted trees or rules on serialized tabular rows.

A reproducible comparison keeps prediction and option selection in separate tracks

No published result compares these models under one declared cost matrix, with calibration, deferral and serving cost reported together. A team should therefore run it on its own data before it chooses a model.

The prediction track needs these controls:

  1. Publish the datasets and task definitions, including the target, the prediction time and which fields exist at that time.
  2. Split by time or by entity when deployment works that way, so that the same customer never appears in both training and test data.
  3. Apply leakage controls by fitting encoders, imputers and thresholds only on training folds.
  4. Declare the missing-value handling for each model, because trees, EBM and TabPFN treat missing values differently from a logistic pipeline.
  5. Give every model the same tuning budget, report the seeds, and pin every library and model version.
  6. Report held-out calibration, utility under the declared costs and uncertainty across repeated splits, not accuracy alone.
  7. Record training cost, inference latency and the hardware, batch size and serving setup for each model.

A minimal starting script for the threshold step uses only scikit-learn and the German credit data from the documented example. Other models can be added to the same dictionary.

from sklearn.datasets import fetch_openml
from sklearn.model_selection import train_test_split, TunedThresholdClassifierCV
from sklearn.compose import make_column_transformer, make_column_selector
from sklearn.preprocessing import OneHotEncoder, StandardScaler
from sklearn.pipeline import make_pipeline
from sklearn.linear_model import LogisticRegression
from sklearn.ensemble import HistGradientBoostingClassifier
from sklearn.metrics import confusion_matrix, make_scorer

X, y = fetch_openml(data_id=31, as_frame=True, return_X_y=True)
y = (y == "bad").astype(int)
X_tr, X_te, y_tr, y_te = train_test_split(
    X, y, stratify=y, test_size=0.3, random_state=0)

def gain(y_true, y_pred):
    tn, fp, fn, tp = confusion_matrix(y_true, y_pred, labels=[0, 1]).ravel()
    return -1 * fp - 5 * fn

cat = make_column_selector(dtype_include="category")
num = make_column_selector(dtype_exclude="category")
models = {
    "logistic": make_pipeline(
        make_column_transformer(
            (OneHotEncoder(handle_unknown="ignore"), cat),
            (StandardScaler(), num)),
        LogisticRegression(max_iter=1000)),
    "hist_gbt": HistGradientBoostingClassifier(
        categorical_features="from_dtype", random_state=0),
}
for name, model in models.items():
    tuned = TunedThresholdClassifierCV(model, scoring=make_scorer(gain))
    for label, clf in [("default", model), ("tuned", tuned)]:
        clf.fit(X_tr, y_tr)
        print(name, label, gain(y_te, clf.predict(X_te)))

The action-selection track uses the same held-out decisions and the same allowed options for every system. It should compare four candidates:

  • The current rules, which set the floor that any model must beat.
  • A prompted general model, which receives the serialized state and the list of options.
  • A tabular baseline, where the options can be encoded as classes for a tree model.
  • The unmodified supplied-option model, identified by its exact release, architecture and licence.

The report should give the number of candidate options per decision and the share of decisions that each system defers at a fixed error rate. It should measure the success of the whole task separately when a workflow gain is claimed. Customization is worth paying for only if a separately evaluated tuned variant improves that held-out objective over every frozen alternative.

Sources

More in Research

All Research →