跳到主内容
精选88MarkTechPost(RSS)模型发布/更新

Google发布TimesFM-3:支持多变量零样本预测的3.3亿参数基础模型

Google AI Releases TimesFM-3: A 330M Parameter Zero-Shot Foundation Model For Multivariate Time Series Forecasting

原文
推荐理由

时间序列预测领域的重大突破,原生支持多变量且性能登顶主流榜单,做相关业务的工程师值得重点关注。

Google Research has released TimesFM-3, a 330 million parameter time series foundation model that forecasts multiple related series in a single forward pass. Every TimesFM checkpoint through 2.5 was univariate: one series, its own history, nothing else. TimesFM-3 is pretrained natively for multivariate forecasting on more than 1 trillion time points, and accepts multiple targets, past covariates, and past-future covariates with no task-specific fine-tuning. It takes the top average rank among pretrained foundation models on GIFT-Eval, fev-bench, and the TIME leaderboard, on both point and probabilistic metrics.

Google Research 发布了 TimesFM-3,这是一个拥有 3.3 亿参数的时间序列基础模型,能够在单次前向传播中预测多个相关序列。2.5 版本及之前的所有 TimesFM 检查点均为单变量:仅针对一个序列及其自身历史,别无其他。TimesFM-3 原生预训练用于多变量预测,处理超过 1 万亿个时间点,并支持多个目标、过去协变量以及过去-未来协变量,无需进行特定任务的微调。在 GIFT-Eval、fev-bench 和 TIME 排行榜上,无论是点预测还是概率预测指标,它在预训练基础模型中均取得了最高的平均排名。

https://research.google/blog/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting/

https://research.google/blog/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting/

Is it deployable?

它是否可部署?

Partial, the TimesFM repository code is Apache-2.0, but the TimesFM 3.0 weights ship under timesfm-non-commercial-license-v1.0. They are restricted to non-commercial, non-production use. You can benchmark it today. You cannot ship it behind a production forecast API.

部分可以。TimesFM 仓库代码采用 Apache-2.0 许可,但 TimesFM 3.0 权重遵循 timesfm-non-commercial-license-v1.0 许可。它们仅限于非商业、非生产用途。你可以今天对其进行基准测试。但你不能将其部署在生产预测 API 背后。

What changed

发生了什么变化

Every TimesFM release through 2.5 was univariate. It forecast one series from its own history. Most real forecasting problems are not shaped that way. Google’s example is ice cream sales, where related product sales, foot traffic, weather, promotions, and holidays all move the target.

2.5 版本及之前的所有 TimesFM 发布均为单变量。它根据自身的历史数据预测一个序列。大多数实际预测问题并非如此构建。Google 的例子是冰淇淋销量,其中相关产品销量、客流量、天气、促销活动和节假日都会影响目标值。

TimesFM-3 is pretrained natively for multivariate forecasting. It carries 330 million parameters and was pretrained on more than 1 trillion time points of real and synthetic series. Three input types work zero-shot, with no task-specific fine-tuning:

TimesFM-3 原生预训练用于多变量预测。它拥有 3..3 亿参数,并在超过 1 万亿个真实和合成序列的时间点上进行了预训练。三种输入类型均可零样本工作,无需进行特定任务的微调:

  • Multiple targets forecast jointly, with point and quantile outputs for each.
  • Past covariates, known only historically, such as past foot traffic.
  • Past-future covariates, whose future values are known, such as a promotion calendar.
  • 联合预测多个目标,为每个目标提供点预测和分位数输出。
  • 过去协变量,仅在历史上已知,例如过去的客流量。
  • 过去-未来协变量,其未来值是已知的,例如促销活动日历。

Architecture: patches, then two kinds of attention

架构:补丁(patches),然后是两种注意力机制

The backbone stays a decoder-only transformer. Contiguous points are grouped into patches of 32 steps, then normalized per series so that wildly different scales do not dominate. Target and past-covariate tokens come from a single patch. Past-future covariate tokens use a lookahead trick: the current patch is concatenated with future patches, so the model sees scheduled events before they occur.

骨干网络仍为仅解码器 Transformer。连续点被分组为 32 步的补丁,然后按序列归一化,以防止尺度差异过大占据主导。目标和过去协变量令牌来自单个补丁。过去-未来协变量令牌使用前瞻技巧:当前补丁与未来补丁连接,以便模型在事件发生前就能看到计划中的事件。

Tokens then enter a 2D grid and pass through two alternating attention mechanisms:

令牌随后进入 2D 网格,并通过两种交替的注意力机制:

  • Causal temporal attention runs horizontally. It is strictly causal and confined to earlier tokens inside the same series, which blocks leakage.
  • Full variate attention runs vertically. At a given time step, a token reads every other series at that step, learning cross-series correlations.
  • 因果时间注意力沿水平方向运行。它是严格因果的,局限于同一序列内较早的令牌,从而防止信息泄露。
  • 全变量注意力沿垂直方向运行。在给定时间步,一个 token 会读取该时刻的所有其他序列,从而学习跨序列相关性。

One forward pass instead of many

一次前向传播替代多次

Earlier TimesFM versions decoded one patch at a time. That adds latency, compute cost, and compounding error. TimesFM-3 uses Contiguous Patch Masking, the training-time masking strategy introduced with TiRex. Masked placeholder tokens are appended for the whole horizon. Targets and past covariates are masked there. Past-future covariates stay visible, so known future signals still reach the model. The alternating attention layers fill every masked horizon patch simultaneously. Each target receives 9 quantiles, the 10th through 90th percentile, at every horizon step.

早期的 TimesFM 版本每次解码一个 patch。这会增加延迟、计算成本并导致误差累积。TimesFM-3 使用连续 Patch 掩码(Contiguous Patch Masking),这是与 TiRex 一同引入的训练时掩码策略。为整个预测范围附加掩码占位 token。目标和历史协变量在此处被掩码。过去-未来协变量保持可见,因此已知的未来信号仍能到达模型。交替注意力层同时填充每个掩码的预测范围 patch。每个目标在每个预测步接收 9 个分位数,即第 10 至 90 百分位数。

Benchmarks

基准测试

Google evaluated on GIFT-Eval, fev-bench, and the TIME leaderboard, against Chronos-2, the Toto 2.0 family, and TimesFM-2.5. Among pretrained foundation models, TimesFM-3 takes the top average rank on all three, for both point and probabilistic metrics. The package release notes record rank #1 overall on fev-bench across 100 real-world tasks, rank #1 overall on TIME across 50 domain datasets and 98 evaluation tasks, and rank #1 among foundation models on GIFT-Eval.

Google 在 GIFT-Eval、fev-bench 和 TIME 排行榜上对 Chronos-2、Toto 2.0 系列以及 TimesFM-2.5 进行了评估。在所有预训练基础模型中,TimesFM-3 在点估计和概率指标上均取得三项基准的平均排名首位。软件包发布说明记录了在 fev-bench 的 100 个真实世界任务中总体排名第一,在 TIME 的 50 个领域数据集和 98 个评估任务中总体排名第一,以及在 GIFT-Eval 的基础模型中排名第一。

Interactive explainer

交互式解释器

Key Takeaways

关键要点

  • TimesFM-3 is a 330M parameter, natively multivariate time series foundation model, pretrained on 1T+ time points.
  • Alternating causal temporal and full variate attention lets it model cross-series dependencies zero-shot.
  • Contiguous Patch Masking produces the entire horizon in one forward pass, with 9 quantiles per step.
  • It ranks #1 among foundation models on GIFT-Eval, fev-bench, and TIME, in univariate and multivariate modes.
  • The weights are non-commercial and non-production only; TimesFM 2.5 remains the Apache-2.0 option for shipping.
  • TimesFM-3 是一个拥有 3.3 亿参数的原生多元时间序列基础模型,在超过 1 万亿个时间点上进行过预训练。
  • 交替因果时间注意力和全变量注意力使其能够零样本建模跨序列依赖关系。
  • 连续 Patch 掩码在一次前向传播中生成整个预测范围,每步包含 9 个分位数。
  • 它在 GIFT-Eval、fev-bench 和 TIME 的单变量和多元模式下均位列基础模型榜首。
  • 权重仅限非商业和非生产用途;TimesFM 2.5 仍是 Apache-2.0 许可的商用选项。

Check out the Technical details, Model weights on Hugging Face, and the GitHub repo. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

请查看技术细节、Hugging Face 上的模型权重以及 GitHub 仓库。此外,欢迎在 Twitter 上关注我们,别忘了加入我们拥有 15 万+成员的 ML SubReddit 并订阅我们的新闻通讯。等等!你在 Telegram 上吗?现在你也可以加入我们的 Telegram 群组。

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

需要与我们合作推广你的 GitHub 仓库、Hugging Face 页面、产品发布或网络研讨会等?请联系我们

The post Google AI Releases TimesFM-3: A 330M Parameter Zero-Shot Foundation Model For Multivariate Time Series Forecasting appeared first on MarkTechPost.

本文《Google AI 发布 TimesFM-3:一个用于多元时间序列预测的 3.3 亿参数零样本基础模型》首发于 MarkTechPost。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

关联讨论

同一事件的更多信源

相似阅读

另一事件,读法相近