行业动态
cloud.google.com ·
BigQuery 引入 TimesFM 3.0,支持多变量时间序列预测
Google Cloud 宣布 BigQuery 中 TimesFM 3.0 进入预览。该模型由 Google Research 开发,参数量 3.3 亿,可在 BigQuery SQL 内原生执行多变量时间序列预测,支持多目标列、仅含历史值的协变量以及含历史与未来值的协变量。官方称其在 GIFT-Eval、FEV-Bench、TIME 三个公开榜单的零样本协变量与多变量预测任务中排名第一,并可作为 AI.FORECAST 单变量预测和 AI.DETECT_ANOMALIES 异常检测的 drop-in 升级,只需指定 model => 'TimesFM 3.0'。文中以 NYC Citi Bike 数据集演示了七天通勤与休闲骑行量的多变量预测 SQL 写法。
AI推荐理由 Google Cloud 官方博客宣布 BigQuery 中 TimesFM 3.0 进入预览,明确给出 3.3 亿参数、由 Google Research 开发、支持原生多变量预测,并声称在 GIFT-Eval、FEV-Bench、TIME 三个公开榜单零样本任务排名第一;同时说明可作为 AI.FORECAST 与 AI.DETECT_ANOMALIES 的 drop-in 升级,并给出 SQL 用法与 NYC Citi Bike 示例。信息密度高、来源为官方产品公告,但榜单第一与精度提升为厂商自述,尚无第三方复现,故兴趣分略低于质量分。
82
正文
Overview Since introducing zero-shot time-series forecasting in BigQuery with AI.FORECAST — initially powered by TimesFM 2.0 and later upgraded to TimesFM 2.5 — you have been able to generate forecasts directly in SQL without training or managing custom models. However, up until TimesFM 2.5, these foundation models were limited to univariate forecasting, predicting future values from the history of a single time series alone. In practice, most real-world forecasting problems are multivariate, where related targets and external drivers like weather, promotions, and holidays jointly shape future outcomes. Today, we are thrilled to announce the preview of TimesFM 3.0 in BigQuery. Developed by Google Research, TimesFM 3.0 is a 330-million parameter state-of-the-art foundation model designed to unlock native multivariate time-series forecasting directly inside BigQuery SQL. TimesFM 3.0 ranks #1 across all three major public time-series leaderboards — GIFT-Eval, FEV-Bench, and TIME — achieving top zero-shot accuracy on both covariate and multivariate forecasting tasks compared to existing foundation models. Alongside its new multivariate capabilities, TimesFM 3.0 also serves as a drop-in upgrade for univariate forecasting via AI.FORECAST and anomaly detection via AI.DETECT_ANOMALIES. Existing workflows can immediately benefit from higher benchmark accuracy simply by specifying model => 'TimesFM 3.0'. What’s new: Multivariate foundation modeling With TimesFM 3.0, BigQuery brings enterprise-grade multivariate modeling into familiar SQL workflows via AI.FORECAST: Capability TimesFM 2.0 / 2.5 TimesFM 3.0 Forecasting scope Univariate only Univariate and multivariate Target columns Single target Single or multiple targets Covariate columns with past-only values Not supported Supported Covariate columns with past and future values Not supported Supported Multivariate forecasting with BigQuery SQL To see how these capabilities work together, let’s forecast daily commuter (subscriber_trips) and leisure (casual_trips) bike rides over a seven-day horizon using the NYC Citi Bike public dataset (bigquery-public-data.new_york.citibike_trips). BigQuery uses a single-table input format for multivariate forecasting that combines two sets of rows: Historical observation rows: timestamps between start time (2016-01-01) and the forecast cutoff date (2016-06-01), fully populated with target metrics, past covariates, and known future covariates Future horizon rows: timestamps across the seven-day forecast horizon (2016-06-01 to 2016-06-07) populated with known future covariates, while target columns and past-only covariates are set to NULL code_block = '2016-01-01' AND starttime 'TimesFM 3.0',\r\n TIMESTAMP_COL => 'date',\r\n TARGET_COLS => ['subscriber_trips', 'casual_trips'],\r\n PAST_COVARIATE_COLS => ['avg_duration_min'],\r\n FUTURE_COVARIATE_COLS => ['is_weekend']\r\n );"), ('language', 'lang-sql'), ('caption', )])]> This query highlights the three multivariate dimensions supported in TimesFM 3.0: Forecasting correlated targets (target_cols) Instead of running separate models for each rider segment, passing TARGET_COLS => ['subscriber_trips', 'casual_trips'] forecasts both metrics jointly in a single call. TimesFM 3.0 captures the cross-series dynamics between commuter and casual riders — such as shared weather sensitivity and diverging weekend ridership patterns. Using past covariates (past_covariate_cols) Some signals can only be observed historically and are not known in advance, such as average ride duration (avg_duration_min), historical foot traffic, or unplanned service disruptions. Passing PAST_COVARIATE_COLS => ['avg_duration_min'] (with future horizon rows set to NULL) gives the model historical context to distinguish temporary shocks from underlying trends without requiring future values for that feature. Using future covariates (future_covariate_cols) Other external drivers are known ahead of time across both the historical window and the forecast horizon — such as weekends (is_weekend), holidays, or scheduled promotions. Passing FUTURE_COVARIATE_COLS => ['is_weekend'] (populated across all rows through 2016-06-07) allows TimesFM 3.0 to condition its seven-day predictions directly on upcoming calendar events. Understanding the output The function returns structured predictions for each target column specified in target_cols. For each column in target_cols, AI.FORECAST returns a struct containing the point forecast (value) and the lower and upper prediction interval bounds: date subscriber_ trips.value subscriber_trips.prediction_ interval_lower_bound subscriber_trips.prediction_ interval_upper_bound casual_trips.value casual_trips.prediction_ interval_lower_bound casual_trips.prediction_ interval_upper_bound time_series_type confidence_level ai_forecast_status 2016-06-01 00:00:00 UTC 44699.64 32590.76 55723.44 4581.32 1727.91 9189.31 forecast 0.95 2016-06-02 00:00:00 UTC 44611.75 30413.05 57209.19 4647.17 1466.23 10273.55 forecast 0.95 2016-06-03 00:00:00 UTC 41379.15 26218.65 54940.09 5341.36 1568.23 11805.86 forecast 0.95 2016-06-04 00:00:00 UTC 30164.34 14266.43 45075.92 9097.74 2558.27 18452.52 forecast 0.95 2016-06-05 00:00:00 UTC 26727.27 10101.44 42239.33 8398.50 1692.15 17768.99 forecast 0.95 2016-06-06 00:00:00 UTC 36713.84 19493.00 52679.59 4723.08 400.08 11710.73 forecast 0.95 2016-06-07 00:00:00 UTC 39749.97 22157.42 56119.86 4180.97 95.70 10845.74 forecast 0.95 TimesFM 3.0 in BigQuery Conversational Analytics You can also run multivariate forecasts using natural language in BigQuery Conversational Analytics. On the same bigquery-public-data.new_york.citibike_trips dataset, you can simply ask "Forecast both daily subscriber and casual trips for June 1–7, 2016 using two month historical data, with average trip duration as a past covariate and weekend indicator as a future covariate." Conversational Analytics automatically generates and executes the underlying AI.FORECAST query with TimesFM 3.0, returning a summary of the results, interactive forecast charts with prediction intervals for each target, and key forecast insights. Multivariate forecasting with TimesFM 3.0 in BigQuery Conversational Analytics, generating 7-day predictions, interactive charts, and insights from a natural-language prompt. Summary and next steps With native multivariate support in TimesFM 3.0, BigQuery brings state-of-the-art foundation model forecasting to complex, interconnected enterprise datasets without requiring data movement, custom feature engineering pipelines, or dedicated model hosting infrastructure. To start forecasting with TimesFM 3.0 in BigQuery: Read the Google Research blog post to learn more about the TimesFM 3.0 model architecture and capabilities. Explore the BigQuery TimesFM documentation. Follow the step-by-step multivariate forecasting tutorial. Try AI.FORECAST with `model => 'TimesFM 3.0'` directly in the BigQuery Studio SQL workspace. Try AI.DETECT_ANOMALIES with `model => 'TimesFM 3.0'` for univariate time series anomaly detection in BigQuery. Try AI.EVALUATE with `model => 'TimesFM 3.0'` for univariate time series evaluation in BigQuery.