Introducing Timestral
https://mistral.ai/news/timestral/📌 Mistral 首發時間序列模型,209M 參數登頂三大榜單
TL;DR:Mistral 推出時間序列基礎模型 Timestral,最大僅 209M 參數就打敗更大型模型,還能在 CPU 上跑推論。
時間序列預測模型一般給人的印象是「越大越準」,但 Mistral 這次用一個僅 209M 參數的模型,同時在 GIFT-Eval、TIME、fev-bench 三大公開基準上都拿下第一,而且參數量只有前一代最佳模型的三分之二。
🤔 時間序列預測,為什麼需要基礎模型
時間序列資料在企業場景中無所不在,從感測器遙測到觀測指標,預測結果直接影響產能規劃、能源調度、供應鏈與風險管理等決策。傳統上,ARIMA、線性迴歸這類經典模型通常只針對單一序列擬合,只能從該序列自身的歷史學習;PatchTST 這類深度學習模型雖然能跨多條相關序列學習非線性模式,但通常仍需針對每個資料集從頭訓練,學到的東西無法遷移到新領域。時間序列基礎模型(Time Series Foundation Model, TSFM)把預訓練的思路帶進這個領域:在大量多樣的資料上預訓練後,模型學到的模式可以跨序列遷移,即便是從未見過的資料,也能做到零樣本(zero-shot)預測。
🧩 架構重點:解耦預測視窗、感知協變數、合成資料優先
Timestral 結合了幾項關鍵設計:
- Decoupled Horizon Forecasting(DHF):像 Toto 2.0、TimesFM-3 這類因果解碼器(causal decoder)通常會用連續 patch 遮罩的方式,把要預測的值遮起來,這會讓它們既看起來像缺失值,也無法作為後續預測的上下文。Timestral 的 DHF 把兩者解耦:完整歷史資料保留在序列中,由學習到的「預測 token」讀取先前歷史。這樣一來,每個觀測值同時是訓練目標與上下文,真正的資料缺失仍會被標記,訓練時的預測視窗長度與缺失資料增強也能各自獨立調整。
- 協變數感知注意力機制(Covariate-aware attention):每條輸入序列會被指派角色,分為目標變數、僅過去可見的協變數,或已知未來的協變數(如假日行事曆、天氣預報)。已知未來協變數在整個視窗中可見,目標變數則維持因果性,資訊只會從協變數流向目標,避免目標序列自己的未來值洩漏進預測結果。
- 合成資料優先:訓練資料大部分為合成資料。團隊先產生具有一致時序動態(趨勢、季節性、多樣噪聲模式)的單變量過程,再用多變量合成器在這些過程之間加入非線性相依性,建構出多變量序列。
📊 基準表現與效能取捨
Timestral 提供四種規模(5M、28M、123M、209M 參數),同一套架構與訓練流程,在準確度與模型大小的權衡曲線上,每個規模都位於帕雷托前緣(Pareto front):
| 模型規模 | 參數量 | CPU 推論延遲(8 執行緒) | 相對表現 |
|---|---|---|---|
| 5M | 500 萬 | 10 ms | 最快,適合即時場景 |
| 28M | 2,800 萬 | 約為 209M 模型的五分之一延遲 | 在 GIFT-Eval、TIME 上贏過參數量約四倍大的 Chronos-2 |
| 123M | 1.23 億 | 約為 209M 模型四分之三的延遲 | 準確度與 209M 相差僅 0.2% |
| 209M | 2.09 億 | 140 ms | 三大榜單第一,優於 TimesFM-3、Falcon-2.0 |
上述延遲數據的測試情境為:在標準伺服器 CPU、8 執行緒下,用三週的 15 分鐘間隔歷史資料,預測未來一天。所有結果皆來自單一 checkpoint,未使用模型集成(ensemble)。
💡 從模型到系統:工廠感測器的應用情境
文中以一座擁有數千個感測器的工業廠房為例,說明 Timestral 如何發揮作用:幫浦的震動、溫度、壓力彼此並非獨立變化,Timestral 可以聯合建模多個相關序列,而不是逐一獨立預測;其機率式預測輸出完整分位數,讓團隊能設定反映不確定性的警示門檻;類別型協變數(如機臺狀態:運行、閒置、維護中)可直接作為類別輸入,避免被錯誤編碼為具有順序的數值;已知未來的協變數(如生產排程、計畫性停機)也能納入條件,讓排程內的負載增加被視為預期,而非異常警示。
文中進一步描述了一個結合 Timestral 與語言模型的多模態代理(agent)工作流想像:Timestral 持續在感測器串流上偵測異常,一旦偵測到幫浦異常,代理會比對歷史感測資料的嵌入(embedding),尋找相似的歷史故障案例,再啟動子代理進行根因分析,整合維護記錄、交班日誌、設備手冊等脈絡資訊,最終草擬出帶有證據與建議方案的診斷結果給廠務人員。此外,模型可透過 Mistral Forge 進行微調以適應特定領域。
🎯 實務啟示
對需要處理感測器監控、容量規劃或財務預測的工程團隊來說,Timestral 的意義在於,中小型模型也能在零樣本情境下取得具競爭力的準確度,且能在 CPU 上以毫秒等級完成推論,不必為了時間序列預測單獨維護 GPU 推論服務。若手上已有多變量、含協變數的預測場景,這類基礎模型提供了一條不必從頭訓練專屬模型的替代路徑。
🔗 來源
- 標題:Introducing Timestral
- 作者/機構:Mistral
- 連結:https://mistral.ai/news/timestral/
#Mistral #TimeSeries #ForecastingAI #FoundationModel #MachineLearning #TimestralAI #MLOps #AIforIndustry #ZeroShotLearning #EdgeInference
原始資料 Mistral AI · 收集於 2026-10-15
摘要原文
Research Introducing Timestral October 15, 2026 By Mistral Back to Blog 7 min read Share this post Copy url to clipboard Copied Thinking Summary Timestral, Mistral’s first family of time-series foundation models, delivers state-of-the-art probabilistic, multivariate forecasts with just 209M parameters, outperforming larger models on key benchmarks while supporting past and future covariates. Available in four sizes (5M to 209M parameters), it balances accuracy and efficiency, running efficiently on CPUs and excelling in zero-shot forecasting for diverse domains. The model combines synthetic pre-training, covariate-aware attention, and long-context learning, with fine-tuning options for domain adaptation via Mistral Forge. Today, we’re releasing Timestral, our first family of time-series foundation models. Our largest model, at just 209M parameters, ranks first on all three of the field's main public benchmarks, GIFT-Eval, TIME, and fev-bench, outperforming the previous state of the art with only two-thirds of the model parameters. Timestral delivers probabilistic, multivariate forecasts and supports past-only and known-future covariates. Our family of models sits on the Pareto front of forecasting accuracy versus model size, delivering leading performance at each size. Results have been submitted to the GIFT-Eval and TIME leaderboards. Time Series Foundation Models (TSFM) Time series is one of the most common data types in enterprise, from sensor telemetry to observability metrics. Forecasts built on it drive decisions in capacity planning, energy, supply chains, risk and maintenance. Industrial plants forecast process sensors against the production schedule, catch equipment drift before it fails, and plan capacity and spare parts across thousands of assets. Finance teams forecast flows, volumes, and volatility to inform positions, hedging, and treasury across thousands of accounts. Classical models such as ARIMA and linear regression remain well-established tools for forecasting time series. These models are usually fitted to a single series and learn only from that series' history. Deep learning models such as PatchTST add the capacity to learn nonlinear patterns across many related series, but they are still typically trained from scratch on each dataset, so what they learn doesn't carry over to new domains. Time series foundation models bring the pre-training approach to time series. Trained on a large and diverse corpus, our model learns patterns that transfer across series, forecasting zero-shot on data it has never seen, even in domains where data is scarce. Benchmark Results We evaluated Timestral on the three main public forecasting benchmarks: GIFT-Eval, TIME and fev-bench. Among pre-trained, zero-shot models, it ranks first across all five metrics. These results come from a single checkpoint, without ensembling. GIFT-Eval - GMean MASE GIFT-Eval - GMean WQL GIFT-Eval, top ten of 83 comparable pretrained and zero-shot entries. Lower is better. TIME - GMean MASE TIME - GMean CRPS TIME, top ten of the 35 leaderboard entries. Lower is better on both metrics. fev-bench, top ten of the 37 leaderboard entries, by SQL skill score. Higher is better. Family of models optimised for every specification Timestral has been optimised as a family of four models: 5M, 28M, 123M and 209M parameters. The larger models improve forecast performance, while the smaller ones are faster and cheaper. All four share the same architecture and training recipe. Every size sits on the Pareto front of accuracy versus model size: for each model size, no public model forecasts better. Score vs model size on GIFT-Eval, TIME and fev-bench (shown as 1 − skill score). Lower is better. Our 28M model beats Chronos-2, about four times larger, on GIFT-Eval and TIME. Our 209M model beats TimesFM-3 and Falcon-2.0 with fewer parameters. Timestral does not need a GPU at inference. On a standard server CPU with 8 threads, forecasting one day ahead from three weeks of 15-minute history takes 10 ms with the 5M model and 140 ms with the 209M model. Smaller models trade some accuracy for speed: the 28M model is five times faster than the 209M model, and the 123M model comes within 0.2% of the 209M score at three quarters of its latency. An industrial example Consider an industrial plant with thousands of sensors across its equipment. Timestral can improve the forecasts on that data in several ways. Multivariate forecasting. A pump's vibration, temperature and pressure don't move independently. A rise in one often explains or causes a change in another. Timestral models related series jointly, so it can use those dependencies instead of forecasting each sensor in isolation. Probabilistic forecasting. A single predicted value may not show the full picture. Timestral predicts a full set of quantiles, so teams can see how wide the uncertainty is, set alert thresholds that reflect it, and plan maintenance around risk rather than a single number. Categorical covariates. Some covariates take values from a set of categories rather than continuous numbers, such as the day of the week, or a machine's state (running, idle, under maintenance). Encoding these as numbers would impose an order or scale they don't have. Timestral takes them as categorical inputs directly to improve forecasts. Known-future covariates. Some drivers of sensor behaviour are known in advance, such as production schedules, planned shutdowns, weather forecasts. Timestral can condition on them to improve forecast quality, so a scheduled load increase is expected rather than flagged as a surprise. From Model to System Timestral is a numerical model that can run inside existing monitoring pipelines, or be paired with our language models in multi-modal agentic workflows. In the plant, that could look like this: Timestral running continuously on the plant's sensor streams, detecting anomalies as they occur. When it flags an anomaly on a pump, an agent embeds the signals and compares against embeddings of past sensor data to find similar historical failures. The agent then starts sub-agents to run a root cause analysis, drawing on context from that plant, such as maintenance records, shift logs and operator notes, equipment manuals, past work orders, and readings from related equipment. The agent drafts a suggested diagnosis based on the findings, with supporting evidence and possible next steps. The plant manager gets a diagnosis and a plan backed by the sensor data, rather than just an alert. Key technical contributions Several ideas have been combined to produce these results. Each will be described in detail in the technical report. Decoupled Horizon Forecasting. Causal decoders trained with contiguous patch masking, as in Toto 2.0 and TimesFM-3, mask out the values to be forecast, so they look like missing values and are also lost as context for later forecasts. Our approach, DHF, separates the two: the full history stays in the sequence, and learned forecast tokens read the history before them. Every observed value thus serves as both target and context, true gaps stay flagged as missing, and training horizon lengths and missing-data augmentation can be tuned independently of each other. Covariate-aware attention. Each input series is assigned a role: target variate, past-only covariate or known-future covariate. Known-future covariates are visible across the whole window while targets stay causal, and information flows only from covariates to targets. Timestral can therefore use a holiday calendar or a weather forecast without leaking a target's own future into its forecast. Synthetic-first data. The majority of the training data was synthetic. We first generated univariate processes with coherent temporal dynamics, including trends, seasonality and diverse noise patterns. We then used a multivariate synthesizer to construct multivariate series by introducing nonlinear dependencies between these processes. Two-stage training.
由 claude-code/sonnet 自動生成