TabPFN vs.
XGBoost
Can a tabular foundation model, used zero-shot with no tuning, forecast bearing wear better than a tuned gradient-boosted model? A test on NASA's run-to-failure bearing data, with both models given exactly the same features.
Forecasting a failing bearing.
In the NASA IMS bearing test, four bearings run on one shaft until one fails. An accelerometer records a snapshot about every 10 minutes for seven days, ending in an outer-race failure on bearing 1. Vibration energy (RMS) creeps up as the bearing wears, then spikes at the end.
The project follows Hoo, Müller, Salinas and Hutter (2025), which extended TabPFN to time-series forecasting by adding simple time features. The question here is whether that holds on real predictive-maintenance data: predict the next snapshot's RMS for bearing 1, one step ahead.
Same features, three models.
Tuned XGBoost used a randomized search over trees, depth, learning rate, subsampling and child weight, scored by RMSE across five expanding time-series folds on the training data only. TabPFN ran with its defaults through the hosted API. Every model saw the identical 41 features, so any gap comes from the model, not the inputs.
The zero-shot model won.
| Model (197 test steps) | RMSE | MAE | Correlation | |
|---|---|---|---|---|
| TabPFN, zero-shot | 0.0706 | 0.0283 | 0.727 | |
| XGBoost, tuned | 0.1017 | 0.0553 | 0.559 | |
| XGBoost, default | 0.1044 | 0.0570 | 0.365 |
Bars show correlation between predicted and actual RMS. Lower RMSE and MAE are better.
Default XGBoost went flat
Untuned, it predicted a nearly flat line. Tuning raised its correlation from 0.36 to 0.56 but didn't close the gap to TabPFN.
TabPFN tracked the wiggles
Its edge was most consistent on short-term fluctuations. XGBoost's forecasts were smoother.
Nobody saw the failure coming
Neither model predicted the size of the final failure spike. TabPFN came closer, but both underestimated it.
Why it matters
A foundation model with no tuning beat a searched gradient-boosted model on real sensor data, which makes it a strong first baseline for small predictive-maintenance problems.
What it doesn't show.
One run, one split. The comparison is a single chronological split of one bearing test, with no repeated seeds or significance test, so the size of the gap is an estimate, not a guarantee.
No naive baseline. A persistence forecast (next RMS equals current RMS) would show how much either model adds over doing nothing.
Time features are coarse. The detected FFT periods are trend-scale rather than physical bearing frequencies, and they were found on the full series, which leaks a little information from the test period. Over seven days, the month and day-of-year features barely change.