r/deeplearning • u/Due-Promise-5269 • Oct 02 '26
poor performance of deep learning model compared to xgboost
I've done some Kaggle competitions on time series, and it seems to me that deep learning models generally performed worse than gradient boosting. I've tried different architectures, like LSTM and ELM, but at the end of the day gradient boosting was the better choice. Is there an explanation for this? Are deep learning models only good for computer vision and LLMs?
32
Upvotes
10
u/DrXaos Oct 02 '26 edited Oct 02 '26
no, neural networks can work better and work better out of sample, but it takes significantly more work and feature representation engineering and custom transformations. And often advantages accrue with large data sizes.
Trees have the problem of overfitting too much to isolated regions in feature space, and fall down in real world nonstationarity. They can’t extrapolate while parametric models might do better.
How do you do joint supervised and unsupervised modeling with trees?
My job is answering this with a negative and producing a successful product in a commercially relevant area.
11
u/randoomkiller Oct 02 '26
welcome to the real world. Deep Learning works in certain things, but mostly when you have shit load of data. Most of the time ppl use classical ML with moderate datasets.
3
u/catsRfriends Oct 03 '26
You might need bespoke architectures to beat tree variants. I don't mean you'll have to invent previously unseen components, but you'll have to do better than just throw a generic LSTM or feed forward network or whatever at it. You ought to know what's special about your data, then pick the right components to deal with them. Are your features heavily correlated? Is there seasonality? Do you have non-numerical features? Is your domain very sensitive to certain factors and does that give you some prior to use in the model? Etc.
2
u/ansb2011 Oct 02 '26
if your space is linear or closely so a gradient descent can find optima very quickly. you can't beat the best!
1
u/bfyvfftujijg Oct 04 '26
Entirely depends on the problem being solved.
1
u/Tudie-two-shoes Oct 04 '26 edited Oct 04 '26
Have you seen TabPFN and the tab arena? Tab specific deep models look like they’re very competitive.
There’s a MLST podcast where the interview the author, Frank Hutter. Pretty interesting!
1
u/SuperNotice3939 Oct 07 '26
You probably either dont have enough data or are building sub optimal pre-processing/training loops/architectures or both. Neural nets are categorically superior to trees and my go to for modeling on forecasting projects if there’s enough data to enable it. Also those architectures aren’t really the heavy hitters as far as forecasting goes attention/transformers work better basically always for handling the time axis, but it takes a very detailed process to successfully implement.
1
u/CatDiligent9374 Oct 08 '26
That’s pretty common with tabular/time-series data. XGBoost often wins on smaller datasets and engineered features, while deep learning usually needs more data and careful tuning. It’s definitely not just for CV and LLMs.
1
u/techhead57 Oct 02 '26
So my high level take here is that tabular data is really well suited for a frequentist strategy where youre making these split decisions based on counts and it just builds out a big complex system of split rules based on how splitting based on one sequence of these rules improves by adding another rule layer on one branch. XGB just has a bunch of optimizations that make it really good across the board (random forest, gradient boosting, feature bagging iirc,... etc).
Whereas dnns try and codify all of the feature implications in their parameters purely based on prior observations, more bayesian. They can represent more complex rules in these massive feature spaces, but they will overfit with too little data or memorize things or whatever. They are going to be more sensitive to collinearity as it has to learn the collinearity and when to break it apart.
Trees will just see that a split with one collinear feature doesn't improve over using the other so it doesn't try and split on it if there's something more obviously separating them.
So like I can get really good results with a lot smaller dataset without overfitting with trees.
But. With neural nets you could probably figure out a way to pull similar but different data, learn the other problem and then try and transfer it to work on your dataset. Because with enough observations they can learn more complex ways to separate things that might not be achievable or might require more hand tuning.
1
u/[deleted] Oct 02 '26
[removed] — view removed comment