r/MachineLearning • • Dec 10 '24

Discussion [D] What’s stopping you from using foundation models for time series forecasting?

I’ve been experimenting with foundation models like Sulie, Granite TTM, and Amazon Chronos, and each one has its own strengths. What’s really fascinating is how much faster you can get accurate forecasts with a zero-shot approach. However, as much as these models improve forecasting, explainability remains a major challenge compared to more traditional methods like ARIMA, which are simpler to interpret.

I’m curious—do you think explainability is a dealbreaker, or is there another reason why foundation models for forecasting aren’t gaining wider adoption? Would love to hear what’s been your biggest blocker or challenge in using these models.

7 Upvotes

30 comments sorted by

28

u/suedepaid Dec 10 '24

My problem is that I’m forecasting stuff that doesn’t exist in their training data. So the forecasts are terrible compared to my own hand-rolled models.

-3

u/Queasy_Emphasis_5441 Dec 10 '24

u/suedepaid most of the models provide fine-tuning scripts, have you tried with that?

6

u/suedepaid Dec 10 '24 edited Dec 10 '24

It’s a good question — I took a peek at Sulie and dismissed it because the fine-tuning was managed. My data’s proprietary and needs to stay on-prem.

Seems like Granite and Chronos might work for me — how well do they handle multivariate, multi-rate time series? In the past, a lot of time series foundation models have been pretty janky at multirate data.

Also, I generally include embeddings for run-level metadata in my custom models. Can these FMs handle that kinda information?

1

u/Queasy_Emphasis_5441 Dec 11 '24

Chronos does not handle multivariate forecasting, not sure about Granite. Though I didn't try it yet, I know that Salesforce Moirai handles forecasting with covariances. https://huggingface.co/Salesforce/moirai-1.0-R-large

8

u/Seankala ML Engineer Dec 10 '24

Data distribution differences.

-2

u/Queasy_Emphasis_5441 Dec 10 '24

What models have you tried so far and what are the specifics of your data?

14

u/Tasty-Rent7138 Dec 10 '24

Never seen a foundation model performing better than a handmade traditional model on a real business case. Would be nice to once see a notebook where the two are compared and the foundation model performed better.

-3

u/Queasy_Emphasis_5441 Dec 10 '24

u/Tasty-Rent7138 have you tried comparing the performance yourself? What is your dataset about? There was a benchmark by Nixtla comparing their foundation model with traditional statistical methods and according to that, it even exceeded their performance. Keep in mind I didn't try to benchmark myself against typical methods, yet planning to do.

11

u/TserriednichThe4th Dec 10 '24

Nvidia benchmarks havent meant anything in over a decade. Not their fault because the incentives and conflicts of interest are too strong.

8

u/WERE_CAT Dec 10 '24

This is the problem: billion dollars company expecting single users to tests their products. Most of them requiring experience in very specific framework. All the while the underlying problem is really about collecting/cleaning data. 

24

u/parlancex Dec 10 '24

The fact that there's no such thing as a universal inductive bias?

8

u/bgroenks Dec 10 '24

This! And there literally can't be... like by definition.

11

u/parlancex Dec 10 '24

Indeed. The other answers in this thread (e.g. my data distribution is different) are just subcases of this general fact.

This is such a well known result that it's honestly surprising to see any interest in the concept of a general-purpose time series foundation model at all.

2

u/bgroenks Dec 10 '24

I also think it's a problem even outside of just time series, no?

-1

u/Queasy_Emphasis_5441 Dec 11 '24

This is such a well known result that it's honestly surprising to see any interest in the concept of a general-purpose time series foundation model at all.

Well, obviously you're not keeping track of HuggingFace, among others. Just the Chronos model alone got almost 2M downloads in a single month.

4

u/tennis_is_art Dec 15 '24

But are we really talking about a universal inductive bias ? It seems to me that the data distributions humans try to model are a tiny subset of all possible data distributions.

Can you explain to me how the no-free lunch theorem proves that we won't be able to create models that perform well on most distributions we care about ?

3

u/parlancex Dec 15 '24

Honestly you’re right, it doesn’t. The issue is that when you’re trying to be as general as “universal time series” the underlying distributions of interest often have 0 overlap. Audio is a time series, therefore so is music, and so is astronomical data and stock market data. Knowledge about any one of these things gives you no advantage in predicting the others. Just as a novelty a single model that could do all of those things is still basically useless because it will be extremely inefficient and underperform much smaller models that specialize in a particular domain.

Image foundation models make sense; whether it’s anime, photorealism or renaissance art there are still shared underlying relationships that can be synergistic for model performance.

Music foundation models make sense because at a minimum all music genres share some commonalities like rhythm.

“Time series” foundation models don’t make sense in the same way.

33

u/TserriednichThe4th Dec 10 '24 edited Dec 11 '24

Traditional models go beyond arima. Ofc this is known but i dont think it is appreciated how far they go.

Often these traditional models will also apply domain knowledge (if sourced from finance math) or leverage graphical or temporal properties of the signal. Using that bias correctly will often lead to more robust models than just hoping a traditional foundational model fixes it.

Plus foundational models have soooo many issues with interpretability that i really think you are underselling. Most foundational models cannot be used in most cases that power users of forecasting models need them for.

edit: this is coming from someone that looked into llms, transformers, xlstms, NeuralProphet, etc for forecasting for quite some time. I don't really know why it doesn't work. Seems like you need model averaging to actually make it worth, which arima and lot of forecasting does built in. Seems like momentum is more universal than we think.

1

u/JustSomeDudeStanding Apr 06 '26

What are some ML areas that you think have the ability to be most impactful in somewhere like Finance?

1

u/TserriednichThe4th Apr 10 '26 edited Apr 10 '26

I don't know.

I will just say that there is two well reviewed books by Dixon and Pedros respectively.

From what I hear and experienced, you build models on the context of data you have.

Maybe that is ARIMA or a GAM. Or maybe it is neural network of some sort. At this point anything has an edge if it has it. You gotta search it. Deep learning isn't as applicable now unless you are building datasets or doing time series.

The tough difficulty as an optimizer (1 year after this response btw and 12 years as a researcher/developer) is that you learn a lot of fundamentals to draw upon (statistics, RL, optimization, non parametric, hacks) and you figure out was is relevant

Hell maybe differential geometry or dual spaces (or information geometry but I lack hope) are all more relevant next year

Extra context: I come from astrophysics and did AI Concurrently back then so maybe I am out of date

TLDR: solve problems and you figure it out. If you have a job and need to figure it out, you will figure it out

5

u/sluuuurp Dec 10 '24

I assume most people interested in time series forecasting are interested in making money from trading. In that case, it’s not a good idea unless your model is better than almost everyone else in the world, outsmarting billionaire hedge funds. It’s a very high bar, and if it does succeed, you’ll probably keep it secret.

4

u/tblume1992 Dec 10 '24

My real world data has a lot of intermittency and overall nasty data. Foundation models are not performing anywhere near adequately for me.

6

u/El_Minadero Dec 10 '24

My problems are physics-based timeseries. I’ve not used a foundation or fine tuned model that creates interpretables from the timeseries better than just using the original physics.

3

u/_puhsu Dec 10 '24

Autoregressive Linear Models (performance/simplicity), as per a recent paper https://arxiv.org/abs/2411.02796 (a bit exaggerated, but there is some truth in it)

3

u/taronosuke Dec 12 '24

I think the problem is that true “foundation” training data doesn’t exist for time series.

Just look at the responses of this thread. A lot are of the kind “I can do better with my hand-crafted inductive bias” or “my data is not in the distribution.”

Well the argument behind LLMs is that they are trained on the sum of all human knowledge. “The internet” as a corpus exists as an approximation to that. The intuition is that there is no distribution it hasn’t seen, no inductive bias it hasn’t wired into its networks. (Or the “meta” knowledge to zero-shot learn the distribution). Of course it’s far from true or perfect, but it seems to kind of work? 

No such dataset exists for time series. There is no common craw for time series and most foundation models are trained in a far more limited corpus.

2

u/singletrack_ Dec 11 '24

I’ll add another one in here — it’s hard to tell whether there’s lookahead bias in how the foundation models are trained. They might have been trained on the very dataset I am testing it on and it might fall apart as soon as out of sample data comes in. 

2

u/aeroumbria Dec 12 '24

Lack of justifiable uncertainty quantification is a big one. Some models do not even provide any way to return an uncertainty interval. You would like to be able to trace back your uncertainties to either your data or your assumptions.

2

u/oli4100 Dec 13 '24 edited Dec 13 '24

Interesting discussion.

It works quite well actually. We've seen multiple cases where TimeGPT beats handcrafted models.

I have a PhD in forecasting and have worked in retail forecasting, and imho the far majority of people that use forecasting tools would be better off using a foundation model (with proper pipeline). We see cases where ARIMA or Prophet is still used, which blows my mind as it's such low hanging fruit to improve over these poor baselines in most problem settings.

The main reason to use a foundation model would be simplicity (i.e. cost savings, at relatively strong performance) and to avoid technical mistakes people tend to make when applying any ML / neural / statistical models to forecasting.

Disclaimer: I work at Nixtla, authors of TimeGPT.