Google’s new AI model predicts the future from sales data, weather, and discount schedules
Google Research has released TimesFM-3, an AI model that forecasts the future from time series like daily sales figures, drawing on related data and known upcoming events to improve its predictions. Real-world forecasts rarely depend on a single variable, and Google illustrates this with a retail chain trying to predict ice cream sales.
A good forecast should also factor in related products like waffle cones or syrup, along with past foot traffic, weather, discount campaigns, and holidays. TimesFM-3 is built on a Transformer, the same base architecture as its predecessors, but it groups 32 consecutive data points into a single patch and normalizes each series to a common scale so measurements of very different magnitudes can be compared directly. The model processes data in two alternating directions. Along the time axis, it looks for patterns within a single series, only drawing on past values to avoid leaking future information. Across series, it compares all variables at a given point in time and learns how they relate, which lets it pick up on things like how a discount on one product affects sales of another. The model has 330 million parameters and was trained on real and synthetic time series totaling more than one trillion data points, according to Google. Like its predecessors, it works zero-shot and needs no extra training for new tasks. TimesFM-3 handles three types of supplementary data. It predicts multiple related variables at once, like different ice cream flavors, and it incorporates factors known only for the past, such as historical foot traffic. It also uses known future events like planned discounts or weather forecasts. Instead of a single point estimate, TimesFM-3 outputs nine values per time step to capture the range and uncertainty of each prediction. One-shot forecasting replaces error-prone step-by-step approach Earlier versions predicted the future one block at a time, which Google says was slow, compute-heavy, and let errors compound as each prediction built on the last. TimesFM-3 takes a different approach by marking all future time steps as blanks and filling them in a single pass. Google shows the payoff with its ice cream example. A model that only knows past sales just continues the usual weekly pattern, blind to planned promotions.