Google Research Releases 'TimesFM' Model

Google Research has released TimesFM, a new decoder-only transformer model designed for time-series forecasting. The model features a 16,000-token context window, positioning it for highly scalable infrastructure and complex forecasting tasks.

TimesFM is a 200-million parameter foundation model pretrained on a massive corpus of 100 billion real-world and synthetic time points. This extensive pretraining allows it to perform zero-shot forecasting, meaning it can generate accurate predictions for new and unseen datasets without requiring any specific training on that data. This capability addresses the "cold start" problem often faced when forecasting with limited historical data. The model's architecture is a decoder-only transformer, similar in principle to language models like GPT. It processes sequences from past to future, using an attention mechanism to determine which historical data points are most relevant for predicting future values. This design is well-suited for generating future sequences based on past context and can handle inputs of varying lengths. To efficiently process long sequences, TimesFM employs a technique called patching, inspired by Vision Transformers (ViTs). Instead of analyzing individual data points, it groups them into contiguous "patches," allowing the model to learn local patterns more effectively and speed up inference. This method enables the model to handle its large context window efficiently. The latest version, TimesFM-2.5, further refines the model by reducing the parameter count from 500M to 200M while increasing the maximum context length from 2,048 to 16,384 points. This longer context allows the model to capture multi-seasonal patterns and long-term trends in a single pass, which is particularly beneficial for forecasting in domains like energy demand and retail. TimesFM's zero-shot performance is competitive with traditional statistical methods like ARIMA and even powerful deep learning models that are explicitly trained on the target datasets. It is accessible through repositories on Hugging Face and GitHub, and is also integrated into Google Cloud's BigQuery ML, allowing for large-scale forecasting using SQL queries. This makes advanced forecasting more accessible for a wider range of applications, including demand planning, infrastructure monitoring, and financial forecasting.

Get your own daily briefing

Scout delivers personalized news, insights, and conversations tailored to your role and industry.

Download on the App Store

Shared from Scout - Be the smartest in the room.