Live data from Hacker News

The unreasonable difficulty of time series forecasting

suzyahyah.github.io

41–50 of 69 posts

Re: The unreasonable difficulty of time series forecasting

#41

Well, Jane Street cracked it

I recently had a conversation with Claude Fable about Renaissance Technologies. Claude says their closed fund has found a very tiny edge and their profit comes from millions of trades on that edge. Their public fund with more money doesn’t find enough edge to beat the S&P500 index.

Re: The unreasonable difficulty of time series forecasting

#42

A very interesting article, suzyahyah. I especially appreciated your definition of stationarity, a concept with which I struggled in my own time series class. If I understand correctly, it sounds like the basic premise is that a fundamentally statistical methodology (LLMs) can't realistically predict a non-stationary data generation, which makes sense. Separately, I've wondered for some time if there might be some re…

This brings up the philosophical question of whether humans have free will or is everything deterministic following the laws of physics.

Exists randomness or is it just lack of information? :)

Re: The unreasonable difficulty of time series forecasting

#43
post #23

Well. Lots of math that boils down to 'predicting the future is hard'. Especially when the future is one of social construction, that's what gets lost a bit here. Predicting the future is easier for planetary motions than for Bitcoin.

Well, predictions that I'll go to work and things will be as usual aren't as uncertain as Bitcoin pricing or as certain as planetary motion.

However, the aim of math in these situations is often to give explanations for intuitive impressions like "predicting the future is hard". The concept of NP-completeness gives one (very partial) explanation why certain computing problems are "hard", for example. So that theory doesn't "boil down to saying programming is hard". Unfortunately, I don't think the text really gives strong explanation in this case.

Re: The unreasonable difficulty of time series forecasting

#45

Earlier quoted context omitted.

It's true that markets are more _adversarial_. But there's still a lot of trouble with distribution shifts even in server metrics. As an example, our SRE team got paged a few times in the past month for traffic drops due to the World Cup. This stresses the nowcasting alert in several dimensions: - there's no seasonal pattern to the matches, they happen sorta randomly. - they drive increased query traffic in the hour…

The UK power grid operators famously plan for massive demand surges at eg the end of major football matches. I cant imagine what their forecasters thought of the England-Mexico nail biter. Half the nation heading to put the kettle on, half glued to their seats. Would love to see the charts of demand now that the World Cup is done...

They used to plan not just for major live events but for the end of popular soaps like Eastenders. With live TV becoming less important culturally and renewables eating the world most of their forecasting these days goes into weather predictions I think. Interestingly even other forms of power generation are affected by the heatwaves we have seen recently - it can reduce gas turbine efficiency by 10% or so and can even reduce the safe output of nuclear if their cooling water comes from a source that gets too warm.

But I’m sure the World Cup is still pretty relevant for operations.

Re: The unreasonable difficulty of time series forecasting

#47
post #4

I see that a lot of these are markets. Yes, it’s hard to predict markets. Because anybody who can successfully predict markets, does so, makes money, and changes the market so their predictions lose their edge. Time series forecasts are a lot easier if you are forecasting, say, disk use in your servers or whatnot. (By “easy” I mean you can do a simple prediction and get useful insights.)

[deleted]

Re: The unreasonable difficulty of time series forecasting

#48
I have to explain this to managers, execs and stakeholders all the time. ML models work great for systems where the rules/dynamics do not change over time. With Forecasting, in a lot of domains where you want a forecast, everything is subject to change - laws, policies, regs, customers appetites, competitors behaviours, etc.

Re: The unreasonable difficulty of time series forecasting

#49
> I’ve been thinking recently about what makes time series forecasting problems so difficult compared to other sequence learning tasks

Whenever I teach people time series forecasting, I always point out that one of the biggest challenges is that you will always have values at prediction time that are out side the range of values observed during training (specifically the value of t).

In plenty of other machine learning and statistical modeling tasks this is not the case. You can train on every token you'll ever see and every pixel value you'll ever see, you can do regression analysis on every categorical value you include and an least an observation from within a range of every continuous and discrete value you'll observe. But with forecasting you will always have values you predict that are outside the range of anything you trained on.

You would run into similar problems if you tried to create a statistical model of the density of water given a temperature but your training data only included values between 0-100 C and you went out and started predicting values covering all the temperatures found on Earth.

For whatever reason, when time is a variable we somehow think it is immune from the obvious limitation of predicting on values outside of the range of values you trained on.

Re: The unreasonable difficulty of time series forecasting

#50
post #23

Well. Lots of math that boils down to 'predicting the future is hard'. Especially when the future is one of social construction, that's what gets lost a bit here. Predicting the future is easier for planetary motions than for Bitcoin.

> predicting the future is hard

As I mentioned in another comment, this can also be rephrased as "predicting data with values outside the range you trained on typically doesn't go well". If you tried to predict some health metric based on weight and height but you only had people under 4' 10" and less than 120lbs you wouldn't be shocked at all if it worked terribly when applied to American football players.

Time-series forecasting is hard because you are always going to be predicting based on data outside of your observed range ("forecasting" does go much better when you're trying to fill-in-the-blanks of things that happened in the past).

Post reply on HN