Unicorn: Scaling High-Dimensional Time Series Forecasting via Universal Correlation Modeling

arXiv cs.LG Papers

Summary

This paper introduces Unicorn, a framework for scalable multi-dataset pretraining on high-dimensional time series that decouples correlation modeling from specific channel identities via a latent prototype codebook, enabling domain transfer and few-shot forecasting.

arXiv:2605.30376v1 Announce Type: new Abstract: Modern time series architectures face a fundamental trade-off: channel-independent models scale well with increasing data volume but ignore critical inter-channel dependencies, while channel-dependent models are expressive but remain ``dimension-bounded'', struggling to generalize across heterogeneous datasets.To bridge this gap, we introduce Unicorn (Universal Correlation Network), a framework for scalable, multi-dataset pretraining on high-dimensional time series. At the core of Unicorn is a latent prototype codebook that decouples correlation modeling from specific channel identities. By projecting heterogeneous channels into a shared latent space, UniCorN learns identity-agnostic, reusable interaction patterns that transfer across domains with diverse dimensionalities and semantics. Extensive experiments show that Unicorn significantly outperforms state-of-the-art forecasting architectures, particularly in few-shot transfer scenarios, offering a scalable path toward multivariate time series foundation models.
Original Article
View Cached Full Text

Cached at: 06/01/26, 09:22 AM

# Unicorn: Scaling High-Dimensional Time Series Forecasting via Universal Correlation Modeling
Source: [https://arxiv.org/html/2605.30376](https://arxiv.org/html/2605.30376)
Haochen YuanYichen SongYunbo WangXiaokang Yang MoE Key Lab of Artificial Intelligence, AI Institute, School of Computer Science Shanghai Jiao Tong University \{yuanhaochen, syc\.x\_x, yunbow, xkyang\}@sjtu\.edu\.cn

###### Abstract

Modern time series architectures face a fundamental trade\-off: channel\-independent models scale well with increasing data volume but ignore critical inter\-channel dependencies, while channel\-dependent models are expressive but remain “dimension\-bounded”, struggling to generalize across heterogeneous datasets\. To bridge this gap, we introduceUnicorn\(Universal Correlation Network\), a framework for scalable, multi\-dataset pretraining on high\-dimensional time series\. At the core of Unicorn is a*latent prototype codebook*that decouples correlation modeling from specific channel identities\. By projecting heterogeneous channels into a shared latent space, UniCorN learns*identity\-agnostic, reusable interaction patterns*that transfer across domains with diverse dimensionalities and semantics\. Extensive experiments show that Unicorn significantly outperforms state\-of\-the\-art forecasting architectures, particularly in few\-shot transfer scenarios, offering a scalable path toward multivariate time series foundation models\.

![Refer to caption](https://arxiv.org/html/2605.30376v1/x1.png)Figure 1:Performance on a 587\-stock A\-share dataset\.The radar chart benchmarks model performance across four key dimensions: efficiency, generalization, scalability, and few\-shot adaptability\. Scalability is evaluated by the performance delta between full\-channel and25%25\\%channel configurations during finetuning and inference\. Few\-shot performance is measured by finetuning on a restricted25%25\\%subset of the training data\.## 1Introduction

High\-dimensional time series forecasting is at the heart of many real\-world applications, ranging from financial market analysis to large\-scale energy system management and climate modeling\. In these domains, systems must jointly reason over hundreds or even thousands of correlated variables \(i\.e\., input channels\)\. Despite recent advances in time series foundation models, scaling modern architectures to such high\-dimensional settings remains challenging\. This challenge arises from the fundamental conflicts betweendomain scalabilityandcorrelation modeling: On one hand, channel\-independent \(CI\) models\(Shiet al\.,[2026](https://arxiv.org/html/2605.30376#bib.bib5); Daset al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib4)\)process each variable independently with shared parameters, which scales well across heterogeneous datasets but discards inter\-channel interactions\. On the other hand, channel\-dependent \(CD\) models\(Liuet al\.,[2025a](https://arxiv.org/html/2605.30376#bib.bib1); Zhouet al\.,[2022](https://arxiv.org/html/2605.30376#bib.bib13)\)explicitly capture interactions among variables, typically through multi\-head attention mechanisms that are inherently tied to specific channel identities and fixed dimensionalities\.

Despite ignoring inter\-channel dependencies, recent empirical studies show that CI models often outperform their CD counterparts in multivariate forecasting tasks\(Shiet al\.,[2026](https://arxiv.org/html/2605.30376#bib.bib5)\)\. This seemingly paradoxical result suggests a key limitation of existing CD approaches: by tightly coupling correlation modeling to fixed channel identities, they learn dataset\-specific dependencies that fail to generalize\. This issue is particularly pronounced in high\-dimensional regimes, where correlations are sparse and unevenly observed, making CD models prone to overfitting\. For example, in financial markets where the number of sequences is smaller than the number of assets \(M<NM<N\), CD models struggle to distinguish structural signals from noise, while CI models benefit from an implicit data multiplication effect \(M×NM\\times N\), yielding stronger generalization\.

These observations motivate a central hypothesis: the limitation of CD models liesNOTin modeling correlations per se, but in thescale and mannerin which they are learned\. Building on this insight, we proposeUnicorn\(Universal Correlation Network\), a unified framework that decouples correlation modeling from explicit channel identities to enable scalable pretraining across heterogeneous datasets\. Our design starts with a basic assumption: while physical channel identities vary across domains, the underlying interaction laws \(e\.g\., similar sector\-level co\-movements across different stock markets\) often present universal properties\. Unicorn achieves this with a learnableLatent Prototype Codebook, which functions as a shared set of abstract anchors for the joint modeling of diverse variables\. To align heterogeneous channels with these anchors, we introduce aSpectral Global Guidancemodule that employs frequency\-informed features to bridge semantic gaps\. Rather than parameterizing directchannel\-to\-channelinteractions, UniCorN routes dependencies through achannel\-to\-prototypeinteraction mechanism\. By treating prototypes as an intermediate “interaction bottleneck”, the model captures complex relational structures in an identity\-agnostic manner, effectively bridging the gap between cross\-domain scalability and expressive inter\-channel correlation modeling\.

Extensive experiments demonstrate that Unicorn significantly outperforms state\-of\-the\-art CI foundation models, including TimesFM\(Daset al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib4)\)and Kronos\(Shiet al\.,[2026](https://arxiv.org/html/2605.30376#bib.bib5)\), as well as specialized CD architectures\. We empirically demonstrate that Unicorn effectively mitigates the overfitting issues of CD methods and shows strong scaling effects as the pretraining data volume increases\.

## 2Problem Formalization

We consider multi\-dataset pretraining for high\-dimensional time series forecasting\. Given an input sequence𝐗∈ℝC×I\\mathbf\{X\}\\in\\mathbb\{R\}^\{C\\times I\}spanning a lookback window of lengthIIacrossCCvariables \(channels\), our objective is to predict the future values𝐘∈ℝC×O\\mathbf\{Y\}\\in\\mathbb\{R\}^\{C\\times O\}for a horizon of lengthOO\. This high\-dimensional setting poses two fundamental challenges: First, standard CD models incurO​\(C2\)O\(C^\{2\}\)complexity\. WhenCCis large \(e\.g\., hundreds or thousands\) and exceeds temporal observations \(C\>IC\>I\), these models suffer from parameter explosion and severe overfitting\. Second, in large\-scale pretraining,CCvaries across datasets \(C∈\{C1,C2,…\}C\\in\\\{C\_\{1\},C\_\{2\},\\dots\\\}\)\. Fixed\-dimension interaction matrices \(ℝC×C\\mathbb\{R\}^\{C\\times C\}\) are incompatible with joint training on heterogeneous channel sets\.

## 3Related Work

Multivariate time series forecasting is commonly organized around*channel independent*\(CI\) and*channel dependent*\(CD\) paradigms\. CI methods model each variate separately, which often improves robustness and scalability under heterogeneous short\-term dynamics\(Rangapuramet al\.,[2018](https://arxiv.org/html/2605.30376#bib.bib36); Parket al\.,[2022](https://arxiv.org/html/2605.30376#bib.bib35); Sagheer and Kotb,[2019](https://arxiv.org/html/2605.30376#bib.bib34); Liet al\.,[2019](https://arxiv.org/html/2605.30376#bib.bib27); Zhouet al\.,[2021](https://arxiv.org/html/2605.30376#bib.bib11)\)\. Representative CI models include TiDE\(Daset al\.,[2023](https://arxiv.org/html/2605.30376#bib.bib8)\), Non\-stationary Transformers\(Liuet al\.,[2022](https://arxiv.org/html/2605.30376#bib.bib44)\), TEMPO\(Caoet al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib29)\), PDF\(Taoet al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib9)\), and SparseTSF\(Shengshenget al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib10)\)\. While CD methods explicitly exploit inter\-channel dependencies, direct coupling often degrades generalization\(Wanget al\.,[2019](https://arxiv.org/html/2605.30376#bib.bib37),[2022](https://arxiv.org/html/2605.30376#bib.bib32); Zhouet al\.,[2023](https://arxiv.org/html/2605.30376#bib.bib40); Yiet al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib30); Wanget al\.,[2024a](https://arxiv.org/html/2605.30376#bib.bib42)\)\. Existing CD research can be broadly categorized into three primary directions\. First, sequential and probabilistic models, such as DeepAR\(Flunkertet al\.,[2017](https://arxiv.org/html/2605.30376#bib.bib38)\), GRU\-D\(Cheet al\.,[2018](https://arxiv.org/html/2605.30376#bib.bib33)\), and TimeGrad\(Rasulet al\.,[2021](https://arxiv.org/html/2605.30376#bib.bib39)\), capture correlations by sharing global temporal dynamics\. Second, graph\-based methods, such as MTGNN\(Wuet al\.,[2020](https://arxiv.org/html/2605.30376#bib.bib25)\), explicitly model relational structures to facilitate information propagation across channels\. Finally, attention\- or mixing\-based architectures directly aggregate variate\-level representations, including iTransformer\(Liuet al\.,[2024a](https://arxiv.org/html/2605.30376#bib.bib16)\), Crossformer\(Zhang and Yan,[2023](https://arxiv.org/html/2605.30376#bib.bib15)\), TimeMixer\(Wanget al\.,[2024b](https://arxiv.org/html/2605.30376#bib.bib43)\), and a range of related approaches\(Zhouet al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib41); Nieet al\.,[2023](https://arxiv.org/html/2605.30376#bib.bib6); Wuet al\.,[2021](https://arxiv.org/html/2605.30376#bib.bib12); Zhouet al\.,[2022](https://arxiv.org/html/2605.30376#bib.bib13); Wuet al\.,[2023](https://arxiv.org/html/2605.30376#bib.bib14)\)\. More recent methods, such as TimeBridge\(Liuet al\.,[2025a](https://arxiv.org/html/2605.30376#bib.bib1)\), further incorporate cointegration\-aware attention to model long\-term dependencies, while SOFTS\(Hanet al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib2)\)introduces an efficient aggregate\-redistribute mechanism for scalable cross\-variate modeling\.

Time series foundation models aim at strong zero\-shot and few\-shot performance across domains with large\-scale pretraining on massive time series data\. Typical architectures include decoder\-only\(Daset al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib4); Zhouet al\.,[2023](https://arxiv.org/html/2605.30376#bib.bib40); Liuet al\.,[2024b](https://arxiv.org/html/2605.30376#bib.bib17); Xiaominget al\.,[2025](https://arxiv.org/html/2605.30376#bib.bib18); Liuet al\.,[2025b](https://arxiv.org/html/2605.30376#bib.bib19); Ansariet al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib24)\), encoder\-only\(Goswamiet al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib20); Wooet al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib21)\), and encoder\-decoder models\(Garzaet al\.,[2023](https://arxiv.org/html/2605.30376#bib.bib22)\)\. TimesFM\(Daset al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib4)\)and Kronos\(Shiet al\.,[2026](https://arxiv.org/html/2605.30376#bib.bib5)\)are designed with CI architectures that process multivariate inputs without explicitly modeling inter\-channel dependencies\. While they can handle datasets with varying channel dimensions, they do not differentiate between channels during pretraining, focusing solely on temporal dependencies\. Unlike TimesFM and Kronos, our method overcomes this limitation through domain\-invariant prototype interaction, enabling channel\-dependent modeling and multi\-dataset pretraining simultaneously, which makes it particularly well\-suited for high\-dimensional forecasting\.

## 4Method

To enable domain scalability, Unicorn is founded upon a guiding principle:inter\-channel dependencies should be modeled in a shared latent interaction space rather than via explicit channel\-to\-channel parameterization\.The core idea is to project heterogeneous high\-dimensional channels into a compact set ofKKlearnable prototypes \(K≪CK\\ll C\), forming a universal correlation vocabulary that scales to arbitrary dimensions and generalizes across diverse domains\.

Concretely, Unicorn consists of three components: \(i\) a channel\-wise encoder that extracts univariate temporal representations \(Section[4\.1](https://arxiv.org/html/2605.30376#S4.SS1)\); \(ii\) a frequency\-informed global feature module that injects spectral cues to guide representation learning \(Section[4\.2](https://arxiv.org/html/2605.30376#S4.SS2)\); and \(iii\) a latent interaction module that models channel\-to\-prototype dependencies in the latent space \(Section[4\.3](https://arxiv.org/html/2605.30376#S4.SS3)\)\. We further detail the training pipeline in Section[4\.4](https://arxiv.org/html/2605.30376#S4.SS4)and analyze computational complexity in Section[4\.5](https://arxiv.org/html/2605.30376#S4.SS5)\.

![Refer to caption](https://arxiv.org/html/2605.30376v1/x2.png)Figure 2:The Unicorn architecture\.Temporal Extraction \(Left\):Scalable univariate modeling via shared patch embedding\.Frequency Guidance \(Middle\):A Fourier analysis network generates spectral features \(g¯m\\bar\{g\}\_\{m\}\) to guide channel alignment\.Prototype Interaction \(Right\):Channel\-to\-prototype cross\-attention \(UU,PP\) yields identity\-decoupled inter\-channel features \(U~\\tilde\{U\}\)\.### 4\.1Temporal Modeling

Given𝐗∈ℝC×I\\mathbf\{X\}\\in\\mathbb\{R\}^\{C\\times I\}, we partition each channel into non\-overlapping patches of lengthSS, resulting inN=⌈I/S⌉N=\\lceil I/S\\rceilpatches\. Each temporal patch is linearly projected into aDD\-dimensional token, producing patch tokens𝐏∈ℝC×N×D\\mathbf\{P\}\\in\\mathbb\{R\}^\{C\\times N\\times D\}\. Unicorn adopts TimeBridge\(Liuet al\.,[2025a](https://arxiv.org/html/2605.30376#bib.bib1)\)as the temporal backbone for channel\-independent modeling, and applies Integrated Attention to patcheswithin each channelto capture intra\-channel temporal dependencies, while mitigating short\-term non\-stationarity\.

To model long\-term dependencies, patch tokens are further downsampled along the temporal dimension fromNNtoMMtokens \(M≪NM\\ll N\), producing long\-term tokens𝐇∈ℝC×M×D\\mathbf\{H\}\\in\\mathbb\{R\}^\{C\\times M\\times D\}withM≪I\.M\\ll I\.Each slice𝐇:,m\\mathbf\{H\}\_\{:,m\}corresponds to a coarse temporal abstraction at indexmmand serves as the input to subsequent inter\-channel modules\. Up to this stage, all operations are channel\-independent, which supports pretraining across datasets with heterogeneous channel sets\.

### 4\.2Spectral Global Guidance

Domain\-reusable channel modeling requires stable interaction cues, typically manifesting as recurring periodic patterns across domains\. We address this with a frequency\-guided module that leverages spectral information to construct a domain\-transferable inter\-channel context\.

#### Spectral feature extraction\.

To explicitly capture periodic structures, we employ a Fourier Analysis Network \(FAN\)\(Donget al\.,[2025](https://arxiv.org/html/2605.30376#bib.bib3)\)as a shared frequency extractor\. Given𝐇∈ℝC×M×D\\mathbf\{H\}\\in\\mathbb\{R\}^\{C\\times M\\times D\}from the channel\-wise encoder, the FAN operates in the frequency domain and extracts periodicity\-related representations by filtering out non\-periodic temporal variations\. Specifically, for each channel and long\-term index, the FAN produces a spectral descriptor𝐟c,m\\mathbf\{f\}\_\{c,m\}that encodes dominant periodic signatures:

𝐟c,m=FAN​\(𝐇c,m,:\)∈ℝdf,\\mathbf\{f\}\_\{c,m\}=\\mathrm\{FAN\}\(\\mathbf\{H\}\_\{c,m,:\}\)\\in\\mathbb\{R\}^\{d\_\{f\}\},\(1\)where the parameters of the FAN are shared across all channels and datasets to ensure a universal feature space\. Unlike traditional approaches that mix channels in the time domain, our design recognizes that local temporal dynamics are already sufficiently captured by the shared backbone\. By performing interaction in the frequency domain, we focus on stable, global characteristics that serve as reliable anchors for cross\-dataset alignment\.

#### Aggregate\-redistribute mechanism\.

Building on these spectral descriptors, we synthesize a global inter\-channel context with an aggregate\-redistribute mechanism, without introducing dataset\-specific model parameters\. For each patch indexmm, we compute normalized channel importance scoresac,ma\_\{c,m\}based on their frequency characteristics:

sc,m=𝐰⊤​𝐟c,m,ac,m=exp⁡\(sc,m\)∑j=1Cexp⁡\(sj,m\),s\_\{c,m\}=\\mathbf\{w\}^\{\\top\}\\mathbf\{f\}\_\{c,m\},\\quad a\_\{c,m\}=\\frac\{\\exp\(s\_\{c,m\}\)\}\{\\sum\_\{j=1\}^\{C\}\\exp\(s\_\{j,m\}\)\},\(2\)where𝐰∈ℝdf\\mathbf\{w\}\\in\\mathbb\{R\}^\{d\_\{f\}\}is learnable and∑c=1Cac,m=1\\sum\_\{c=1\}^\{C\}a\_\{c,m\}=1for eachmm\. These scores determine the relative contribution of each channel to a shared global representation at each indexmm:

𝐠m=∑c=1Cac,m​𝐇c,m,:∈ℝD\.\\mathbf\{g\}\_\{m\}=\\sum\_\{c=1\}^\{C\}a\_\{c,m\}\\,\\mathbf\{H\}\_\{c,m,:\}\\in\\mathbb\{R\}^\{D\}\.\(3\)The aggregated global token𝐠m\\mathbf\{g\}\_\{m\}is refined via a dimension\-wise MLP denoted byϕ​\(⋅\)\\phi\(\\cdot\), yielding the refined context𝐠¯m=ϕ​\(𝐠m\)∈ℝD\\bar\{\\mathbf\{g\}\}\_\{m\}=\\phi\(\\mathbf\{g\}\_\{m\}\)\\in\\mathbb\{R\}^\{D\}\. This context is subsequently redistributed to individual channels through a residual fusion process:

𝐆c,m,:=𝐇c,m,:\+ψ​\(\[𝐇c,m,:;𝐠¯m\]\)∈ℝD,\\mathbf\{G\}\_\{c,m,:\}=\\mathbf\{H\}\_\{c,m,:\}\+\\psi\\big\(\[\\mathbf\{H\}\_\{c,m,:\};\\bar\{\\mathbf\{g\}\}\_\{m\}\]\\big\)\\in\\mathbb\{R\}^\{D\},\(4\)where\[⋅;⋅\]\[\\cdot\\,;\\cdot\]denotes concatenation along the feature dimension, andψ​\(⋅\)\\psi\(\\cdot\)is an MLP shared across channels\. This stage concludes by enriching the original CI features with spectral\-aware global context\. For eachmm, we construct the augmented representation:

𝐔:,m,:=\[𝐇:,m,:;𝐆:,m,:\]∈ℝC×2​D\.\\mathbf\{U\}\_\{:,m,:\}=\[\\mathbf\{H\}\_\{:,m,:\};\\mathbf\{G\}\_\{:,m,:\}\]\\in\\mathbb\{R\}^\{C\\times 2D\}\.\(5\)By preserving the univariate temporal features while augmenting them with domain\-stable periodic cues, this concatenated representation𝐔\\mathbf\{U\}serves as the optimal input for the subsequent Prototype\-Mediated Interaction, facilitating the alignment of heterogeneous channels\.

### 4\.3Channel\-Prototype Interaction

To learn transferable inter\-channel dependencies, Unicorn introduces a latent prototype codebook and models interactions within a domain\-reusable latent space\. This architecture replaces identity\-specificC×CC\\times Cinteractions with \(i\)a set of latent channel interaction prototypesand \(ii\)a dataset\-adaptive channel\-prototype aggregation and redistribution mechanism\.

#### Latent prototype codebook\.

Given the spectral\-temporal representations𝐔:,m,:∈ℝC×2​D\\mathbf\{U\}\_\{:,m,:\}\\in\\mathbb\{R\}^\{C\\times 2D\}from the previous stage, we maintain a learnable set of latent prototypes𝐏∈ℝK×2​D\\mathbf\{P\}\\in\\mathbb\{R\}^\{K\\times 2D\}, whereKKis fixed and independent of the channel dimension \(K≪CK\\ll C\)\. We treat𝐏\\mathbf\{P\}as a latent codebook where each prototype represents an abstract interaction anchor shared across datasets, while channels are softly assigned to these anchors based on dynamic content\. For each patch indexmm, the inter\-channel interaction is computed via a cascaded attention mechanism, which follows a structured aggregate\-redistribute pipeline\.

#### Channel\-to\-prototype aggregation\.

The prototypes act as queries toreadfrom channel\-wise representations, forming prototype\-specific summaries:

𝐙m=Attn​\(𝐏,𝐔:,m,:,𝐔:,m,:\)∈ℝK×2​D=softmax​\(𝐏𝐔:,m,:⊤2​D\)⋅𝐔:,m,:\\begin\{split\}\\mathbf\{Z\}\_\{m\}&=\\mathrm\{Attn\}\(\\mathbf\{P\},\\mathbf\{U\}\_\{:,m,:\},\\mathbf\{U\}\_\{:,m,:\}\)\\in\\mathbb\{R\}^\{K\\times 2D\}=\\mathrm\{softmax\}\\\!\\left\(\\frac\{\\mathbf\{P\}\\mathbf\{U\}\_\{:,m,:\}^\{\\top\}\}\{\\sqrt\{2D\}\}\\right\)\\cdot\\mathbf\{U\}\_\{:,m,:\}\\end\{split\}\(6\)The content\-driven assignment matrix𝐀m=softmax​\(𝐏𝐔:,m,:⊤/2​D\)∈ℝK×C\\mathbf\{A\}\_\{m\}=\\mathrm\{softmax\}\(\{\\mathbf\{P\}\\mathbf\{U\}\_\{:,m,:\}^\{\\top\}\}/\{\\sqrt\{2D\}\}\)\\in\\mathbb\{R\}^\{K\\times C\}groups channels with similar temporal and spectral patterns under shared prototypes, producingKKlatent interaction tokens that are shared across datasets\.

#### Prototype\-to\-channel redistribution\.

Once the channel dependencies are computed within the compact prototype space, this stage redistributes the refined signals back to the original channels\. Specifically, we reuse spectral\-temporal augmented representations to query the prototype summaries and retrieve interaction\-enhanced features:

𝐔~:,m,:=Attn​\(𝐔:,m,:,𝐙m,𝐙m\)∈ℝC×2​D=softmax​\(𝐔:,m,:​𝐙m⊤2​D\)⋅𝐙m\.\\begin\{split\}\\tilde\{\\mathbf\{U\}\}\_\{:,m,:\}&=\\mathrm\{Attn\}\(\\mathbf\{U\}\_\{:,m,:\},\\mathbf\{Z\}\_\{m\},\\mathbf\{Z\}\_\{m\}\)\\in\\mathbb\{R\}^\{C\\times 2D\}=\\mathrm\{softmax\}\\\!\\left\(\\frac\{\\mathbf\{U\}\_\{:,m,:\}\\mathbf\{Z\}\_\{m\}^\{\\top\}\}\{\\sqrt\{2D\}\}\\right\)\\cdot\\mathbf\{Z\}\_\{m\}\.\\end\{split\}\(7\)The channel\-to\-prototype redistribution matrix𝐁m=softmax​\(𝐔:,m,:​𝐙m⊤/2​D\)∈ℝC×K\\mathbf\{B\}\_\{m\}=\\mathrm\{softmax\}\(\{\\mathbf\{U\}\_\{:,m,:\}\\mathbf\{Z\}\_\{m\}^\{\\top\}\}/\{\\sqrt\{2D\}\}\)\\in\\mathbb\{R\}^\{C\\times K\}propagate the mediated interactions back to the original channel space\. The resulting interactive features are integrated with the original representations via residual connections and a dimension\-wise MLP\. This creates a refined, spectral\-temporal augmented feature set\.

### 4\.4Training Scheme

#### Spectral\-temporal objective\.

To ensure the model captures both point\-wise temporal fidelity and global periodic structures, Unicorn is supervised through a dual\-domain objective\. Given the ground\-truth sequence𝐘∈ℝC×O\\mathbf\{Y\}\\in\\mathbb\{R\}^\{C\\times O\}and the prediction𝐘^\\hat\{\\mathbf\{Y\}\}, we define the forecasting loss as:

ℒpred=\(1−α\)​1B​∑i=1B\|Yi−Y^i\|\+α​1B​∑i=1B\|FFT​\(Yi\)−FFT​\(Y^i\)\|,\\mathcal\{L\}\_\{\\text\{pred\}\}=\\ \(1\-\\alpha\)\\frac\{1\}\{B\}\\sum\_\{i=1\}^\{B\}\\left\|Y\_\{i\}\-\\hat\{Y\}\_\{i\}\\right\|\+\\alpha\\frac\{1\}\{B\}\\sum\_\{i=1\}^\{B\}\\left\|\\mathrm\{FFT\}\(Y\_\{i\}\)\-\\mathrm\{FFT\}\(\\hat\{Y\}\_\{i\}\)\\right\|,\(8\)whereFFT​\(⋅\)\\mathrm\{FFT\}\(\\cdot\)denotes the Fast Fourier Transform,BBdenotes the batch size, andα\\alphabalances the weight between time\-domain and frequency\-domain precision\.

#### Multi\-dataset pretraining\.

During large\-scale pretraining, Unicorn optimizes Eq\. \([8](https://arxiv.org/html/2605.30376#S4.E8)\) across diverse datasets with varying channel counts\. All model components, including the Spectral Global Guidance module and the Latent Prototype Codebook \(with a fixed sizeKK\), are channel\-agnostic\. This ensures that the knowledge encoded in the prototype space is not tied to any specific dataset’s channel identities but rather represents universal structural patterns\.

#### Regularized finetuning\.

Adaptation to a target domain is achieved by re\-aligning local channels to the shared prototype space\. To prevent the model from forgetting the universal interaction patterns learned during pretraining, we introduce a structural regularization term\. Let𝐏\\mathbf\{P\}be the prototype matrix and𝐏\(0\)\\mathbf\{P\}^\{\(0\)\}its pretrained state, the finetuning objective is defined as:

ℒ=ℒpred\+λ​‖𝐏−𝐏\(0\)‖22,\\mathcal\{L\}=\\mathcal\{L\}\_\{\\text\{pred\}\}\+\\lambda\\left\\\|\\mathbf\{P\}\-\\mathbf\{P\}^\{\(0\)\}\\right\\\|\_\{2\}^\{2\},\(9\)whereλ\\lambdagoverns the trade\-off between preservation and adaptation\. This design encourages the model to adapt primarily via channel\-prototype re\-assignment rather than re\-learning the prototypes\.

### 4\.5Complexity and Scalability

TheChannel\-Prototype Interactionmodule has two main advantages\. First, it replaces the dimension\-boundedC×CC\\times Cinteractions with a low\-rankC×KC\\times Kinteraction pathway\. We here analyze the computational efficiency of Unicorn with respect to the channel dimensionCC, hidden dimensionDD, and the number of prototypesKK\. Substituting Eq\. \([6](https://arxiv.org/html/2605.30376#S4.E6)\) into Eq\. \([7](https://arxiv.org/html/2605.30376#S4.E7)\) yields the following composite form:𝐔~:,m,:=𝐁m​𝐀m​𝐔:,m,:\.\\tilde\{\\mathbf\{U\}\}\_\{:,m,:\}=\\mathbf\{B\}\_\{m\}\\mathbf\{A\}\_\{m\}\\mathbf\{U\}\_\{:,m,:\}\.This formulation reveals that, unlike standard self\-attention, which computes a denseC×CC\\times Caffinity matrix, Unicorn factorizes the inter\-channel interaction into a low\-rank product𝐁m​𝐀m\\mathbf\{B\}\_\{m\}\\mathbf\{A\}\_\{m\}\. By routing dependencies through this prototype\-mediated bottleneck, the model effectively compresses the attention mechanism:

- •Traditional CD models:Standard Transformer\-based CD models rely on exhaustive self\-attention across all variables, incurring a quadratic cost of𝒪​\(C2⋅D\)\\mathcal\{O\}\(C^\{2\}\\cdot D\)\. This cost becomes prohibitive in high\-dimensional settings, leading to parameter explosion and severe overfitting whenC\>IC\>I\.
- •Unicorn:Our mechanism reduces the computational complexity to𝒪​\(C⋅K⋅D\)\\mathcal\{O\}\(C\\cdot K\\cdot D\)\. By mediating dependencies through a fixed\-size latent space \(K≪CK\\ll C\), the model achieves linear scaling with respect to the number of channels\. This linear scaling property is particularly valuable for high\-dimensional “wide” data regimes, where the number of variables significantly outweighs the available temporal observations\.

For domain scalability, through the following mechanisms, Unicorn avoids the rigidC×CC\\times Cparameterization that restricts generalization to fixed dimensionalities, thereby remaining robust to varying channel counts and enabling seamless multi\-dataset pretraining across heterogeneous domains:

- •Universal interaction vocabulary:The shared prototype space𝐏\\mathbf\{P\}serves as a global codebook, where each prototype encodes abstract, identity\-agnostic relational structures that are not tied to the semantics of any single dataset\.
- •Efficient domain transfer:The association matrices𝐀m\\mathbf\{A\}\_\{m\}and𝐁m\\mathbf\{B\}\_\{m\}enable the model to dynamically map heterogeneous channels to these universal prototypes based on their spectral\-temporal representations𝐔:,m,:\\mathbf\{U\}\_\{:,m,:\}\. Adapting to a new domain reduces to learning a lightweight re\-alignment of channel\-prototype mappings, rather than re\-learning correlation structures from scratch\.

## 5Experiments

### 5\.1Experimental Setups

We evaluate Unicorn through two complementary protocols: \(i\)domain\-scalable trainingacross heterogeneous datasets, and \(ii\)domain\-specific trainingfor high\-dimensional forecasting\.

#### Setting I: Cross\-domain pretraining\.

This protocol evaluates the model’s ability to transfer universal channel relations across heterogeneous datasets\. The training follows a two\-stage process:

- •Pretraining:Models pretrained on a large\-scale multi\-market financial dataset comprising14,38614\{,\}386stocks from the A\-share, U\.S\., and Hong Kong markets\.
- •Adaptation:The pretrained model is finetuned and evaluated on \(i\)587587A\-share stocks \(extreme “wide” data scenario\) and \(ii\)8888NASDAQ\-100 constituent stocks\.

The evaluation period spans from July 1, 2024, to October 20, 2025\. We use standard metrics in quantitative finance, including the Information Coefficient \(IC\) and RankIC\. We benchmark against representative CD models \(e\.g\., iTransformer\(Liuet al\.,[2024a](https://arxiv.org/html/2605.30376#bib.bib16)\), TimeBridge\(Liuet al\.,[2025a](https://arxiv.org/html/2605.30376#bib.bib1)\), SOFTS\(Hanet al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib2)\)\) and state\-of\-the\-art CI foundation models \(e\.g\., TimesFM 2\.0\(Daset al\.,[2024](https://arxiv.org/html/2605.30376#bib.bib4)\), Kronos\(Shiet al\.,[2026](https://arxiv.org/html/2605.30376#bib.bib5)\)\)\.

#### Setting II: Domain\-specific training\.

This setting evaluates Unicorn within a standard in\-domain learning paradigm, where models are trained from scratch on individual benchmarks \(Traffic, Crime\-Chicago, Electricity, and Wiki\-People\) To assess cross\-frequency robustness, we also include Traffic\-Daily and ECL\-Daily, which are generated via temporal aggregation\. The lookback window is fixed atI=96I=96, with prediction horizons set toO=96O=96for most datasets andO=12O=12for the high\-dimensional Crime\-Chicago dataset\.

Comprehensive details on data preparation and metrics are provided in Appendices[A](https://arxiv.org/html/2605.30376#A1)–[B](https://arxiv.org/html/2605.30376#A2)\.

Table 1:Cross\-domain scalability results on high\-dimensional financial benchmarks\.We report IC/RankIC \(10−210^\{\-2\}, higher is better\) over three random seeds\. The symbol⊖denotes models trained from scratch on the target domain\. The columnΔ​\(10−3\)\\Delta\(10^\{\-3\}\)represents the absolute gain from multi\-dataset pretraining, calculated as\(xpre−xscratch⊖\)×103\(x\_\{\\mathrm\{pre\}\}\-x\_\{\\mathrm\{scratch\}\}^\{\\ominus\}\)\\times 10^\{3\}\. Entries marked “Not supported” refer to models whose fixed\-dimension designs preclude joint pretraining across heterogeneous domains\.Table 2:Forecasting performance under domain\-specific training\.We report mean MSE and MAE \(lower is better\) over three random seeds\. Despite the significant heterogeneity in application domains and channel semantics across these datasets, our approach consistently achieves state\-of\-the\-art results\. Notably, multi\-dataset pretraining does not lead to negative transfer\.

### 5\.2Results on Cross\-Domain Pretraining and Adapation

Table[1](https://arxiv.org/html/2605.30376#S5.T1)presents the cross\-market transfer results for high\-dimensional financial forecasting, where Unicorn achieves the state\-of\-the\-art performance across both target markets\. Unicorn achieves state\-of\-the\-art results across both target markets, leading to the following key observations\. First, unlike existingCD architectures\(iTransformer and TimeBridge\) that are not applicable for training under shifting channel identities, Unicorn preserves scalability across domains by maintaining parameters independent ofCC\. Second, compared with theCI foundation models\(TimesFM, Kronos\) that are also finetuned on the target benchmarks, Unicorn achieves better performance by flexibly modeling inter\-channel correlations\. Finally, compared with other models that supportpretraining on the same datasets, Unicorn delivers the largest performance improvements \(as indicated byΔ\\Delta\), demonstrating its particular strength in learning domain\-invariant interaction structures through scalable pretraining\.

### 5\.3Results on Domain\-Specific Learning

Table[2](https://arxiv.org/html/2605.30376#S5.T2)summarizes the forecasting performance in a standard supervised regime, where all models are trained from scratch on isolated benchmarks\. Even without the benefit of large\-scale pretraining, Unicorn consistently delivers the strongest performance, particularly on high\-dimensional and sparse datasets such as Crime\-Chicago, Electricity, and Wiki\-People\. These results suggest that our channel\-prototype interaction acts as a superior structural inductive bias, providing a more robust prior for multivariate dependencies than the identity\-bound attention mechanisms of traditional CD models\.

We further analyze the transferability of finance\-pretrained models to non\-financial domains\. Given the substantial semantic and distribution shifts between financial markets and physical sensors, the performance gains during zero\-shot transfer are understandably modest\. However, it is notable that our multi\-dataset pretraining regime does not induce negative transfer, even under extreme domain gaps\. This underscores the robustness of the identity\-agnostic prototypes, which maintain structural integrity while remaining flexible enough to adapt to disparate data manifold semantics\.

### 5\.4Ablation Studies

We conduct multiple ablation studies to quantify the contribution of each modular component in Unicorn under the domain\-specific training regime \(Setting II\)\. Following the modular architecture presented in Section[4\.2](https://arxiv.org/html/2605.30376#S4.SS2)–[4\.4](https://arxiv.org/html/2605.30376#S4.SS4), we evaluate three key components of the framework:

- •w/o Spectral guidance:Removes the FAN\-based spectral extractor and the aggregate\-redistribute pathway\. The model relies solely on univariate features in the prototype interaction module\.
- •w/o Prototype interaction:Removes the latent prototype codebook and the cascaded attention mechanism, reverting to direct, identity\-bound channel\-level interaction\.
- •w/o Spectral loss:Maintains the full architecture but trains exclusively with a time\-domain objective, dropping the frequency\-domain term from our hybrid loss function\.

![Refer to caption](https://arxiv.org/html/2605.30376v1/x3.png)Figure 3:Ablation studies under the domain\-specific training setting\.Removing the Prototype Interaction module leads to the most significant performance drop , validating its role for channel correlation modeling\. Both Spectral Guidance and the Spectral Loss provide complementary gains\.The results, summarized in Figure[3](https://arxiv.org/html/2605.30376#S5.F3), validate that all three components are essential for optimal performance\. First, the most significant performance drop occurs when removingPrototype Interaction\. This suggests that routing dependencies through a shared latent space is far superior to direct channel\-level interaction in high\-dimensional settings, as it prevents the model from over\-fitting to dataset\-specific identities\. Besides, removingSpectral Guidanceleads to consistent degradation\. This suggests that frequency\-informed global cues provide a stable inter\-channel context that helps align channels with related prototypes\. Finally, the omission ofSpectral Lossharms robustness, particularly in datasets with strong periodicity \(e\.g\., Electricity\)\. This indicates that frequency\-domain supervision is vital for preserving the underlying physical structure of the time series\.

### 5\.5Sensitivity to Prototype Size

The number of latent prototypesKKcontrols the capacity of the shared interaction space\. To analyze its impact, we evaluate Unicorn with different values ofKK, while keeping all other components and training settings unchanged\. The results in Table[4](https://arxiv.org/html/2605.30376#S5.T4)demonstrate that Unicorn maintains a significant performance edge over the multi\-dataset foundation model, Kronos, across all tested values ofKK\. However, the optimal value ofKKis related to the channel scale and market complexity of the target dataset\. For the A\-share market \(C=587C=587\), performance metrics \(IC and RankIC\) improve steadily asKKincreases\. This suggests that larger, more heterogeneous stock pools require a higher\-capacity latent space to capture the diverse array of interaction roles present in the market\. Conversely, on the NASDAQ\-100 \(C=88C=88\), peak performance is achieved at the smallest prototype size \(K=8K=8\)\.

### 5\.6Scalability and Data Efficiency

In Table[4](https://arxiv.org/html/2605.30376#S5.T4), we evaluate Unicorn on the A\-share dataset \(Setting I\) under three challenging regimes: channel scalability, robustness to missing data, and few\-shot transferrability\.

Table 3:Impact of prototype sizeKKunder the cross\-domain pretraining setting\.Unicorn consistently outperforms Kronos across different prototype sizes\. The optimalKKvaries with the channel scale and complexity of the target dataset, suggesting that moderate prototype capacity is important for cross\-domain adaptation\.
Table 4:Channel scalability, robustness, and few\-shot analyses on the A\-share dataset\.See text for detailed configurations used in the target\-domain finetuning phase and the test phase\.

#### Channel scalability\.

We examine the scalability of Unicorn by varying the number of available variables during both adaptation and inference \(we use the same subset of channels in both phases\)\. Unicorn presents a clear positive scaling effect: as the channel count increases, its performance improves consistently, with IC rising from0\.02320\.0232\(at25%25\\%capacity\) to0\.02570\.0257\(full set\)\. In contrast, the CI baseline, Kronos, exhibits performance saturation, with accuracy peaking at50%50\\%and declining thereafter\. This divergence suggests that CI models encounter a “performance ceiling” due to their inherent inability to exploit inter\-channel dependencies\. Conversely, Unicorn effectively leverages the additional information from larger variable sets to refine its latent interaction features, achieving these gains without the quadratic computational overhead that makes traditional CD models impractical in high\-dimensional regimes\.

#### Robustness to channel omission\.

We evaluate the robustness of our model to missing channels at inference time, which is a frequent challenge in real\-world deployment\. Unicorn demonstrates remarkable stability\. Even when75%75\\%of channels are missing at test time, it retains an IC of0\.02380\.0238, which is significantly higher than its CI counterpart\. Interestingly, we observe that the CI model \(Kronos\), despite its lack of explicit inter\-channel modeling, also suffers a noticeable performance decay as channel availability decreases\. This suggests that the performance degradation in both models is not solely a result of losing relational information, but also reflects the stochasticity and variance inherent in the channel sampling process\.

#### Few\-shot adaptation and data efficiency\.

This final regime evaluates the model’s capacity to adapt under severe data scarcity\. As the finetuning data is reduced to25%25\\%, Unicorn maintains an IC of0\.02380\.0238, representing only a marginal drop from its full\-data performance\. In contrast, the CI baseline \(Kronos\) suffers a significant performance collapse, with its IC reducing from0\.01830\.0183to0\.01080\.0108\. This disparity highlights that, compared to CI models, the latent channel\-prototype interaction mechanism serves as a robust structural inductive bias\. Rather than re\-learning dependencies from scratch, Unicorn leverages the universal prototypes captured during pretraining\. Therefore, few\-shot adaptation becomes an efficient task of re\-mapping channels to existing prototypes, which requires substantially less target\-domain supervision than architectures lacking structural priors\.

### 5\.7Additional Analyses

We provide supplementary analyses in Appendix[E](https://arxiv.org/html/2605.30376#A5)\. These include: \(i\) structural fidelity assessments using Corr\-MAE, ACF\-MAE, and PSD\-L1 to evaluate the preservation of system dynamics \(Appendix[E\.1](https://arxiv.org/html/2605.30376#A5.SS1)\); \(ii\) an investigation into prototype adaptation and drift during finetuning \(Appendix[E\.2](https://arxiv.org/html/2605.30376#A5.SS2)\); \(iii\) an analysis of cross\-domain prototype reuse and functional specialization \(Appendix[E\.3](https://arxiv.org/html/2605.30376#A5.SS3)\); and \(iv\) an expanded study on pretraining robustness under distribution shift \(Appendix[E\.4](https://arxiv.org/html/2605.30376#A5.SS4)\)\.

## 6Conclusions and Limitations

In this paper, we introduced Unicorn, a unified framework for scalable, multi\-dataset pretraining on high\-dimensional time series\. By modeling inter\-channel correlations within a domain\-reusable latent prototype space and leveraging spectral\-temporal global guidance for dynamic alignment, UniCorN successfully reconciles the long\-standing trade\-off between the scalability of channel\-independent \(CI\) architectures and the expressive dependency modeling of channel\-dependent \(CD\) models\. Extensive experiments across financial and physical benchmarks demonstrate that UniCorN consistently achieves superior performance, robustness to missing channels, and strong transferability, suggesting a potential path toward multivariate time series foundation models\.

Despite its strengths, several avenues for further development remain: First, this work primarily focuses on offline forecasting with fully observed historical sequences\. Future research could investigate Unicorn’s performance in real\-time streaming environments involving delayed observations or asynchronous updates, which are prevalent in large\-scale industrial systems\. In addition, while Unicorn targets continuous\-valued time series, extending the framework to mixed\-type variables \(e\.g\., categorical or event\-based channels\) remains unexplored\. Addressing these challenges constitutes an important direction for future research\.

## Acknowledgments

This work was supported by the National Natural Science Foundation of China \(62250062\), the Smart Grid National Science and Technology Major Project \(2024ZD0801200\), the Shanghai Municipal Science and Technology Major Project \(2021SHZDZX0102\), the Fundamental Research Funds for the Central Universities, and the Shanghai Jiao Tong University AI for Engineering Initiative \(WH410263001/005\)\.

## References

- A\. F\. Ansari, L\. Stella, C\. Turkmen, X\. Zhang, P\. Mercado, H\. Shen, O\. Shchur, S\. S\. Rangapuram, S\. P\. Arango, S\. Kapoor,et al\.\(2024\)Chronos: learning the language of time series\.arXiv preprint arXiv:2403\.07815\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p2.1)\.
- D\. Cao, F\. Jia, S\. O\. Arik, T\. Pfister, Y\. Zheng, W\. Ye, and Y\. Liu \(2024\)Tempo: prompt\-based generative pre\-trained transformer for time series forecasting\.InICLR,Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- Z\. Che, S\. Purushotham, K\. Cho, D\. Sontag, and Y\. Liu \(2018\)Recurrent neural networks for multivariate time series with missing values\.Scientific Reports8\(1\),pp\. 6085\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- Das, Abhimanyu, Kong, Weihao, Leach, Andrew, Sen, Rajat, and Y\. Rose \(2023\)Long\-term forecasting with tiDE: time\-series dense encoder\.Transactions on Machine Learning Research\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- A\. Das, W\. Kong, R\. Sen, and Y\. Zhou \(2024\)A decoder\-only foundation model for time\-series forecasting\.InICML,Cited by:[§C\.3](https://arxiv.org/html/2605.30376#A3.SS3.SSS0.Px1),[§1](https://arxiv.org/html/2605.30376#S1.p1.1),[§1](https://arxiv.org/html/2605.30376#S1.p4.1),[§3](https://arxiv.org/html/2605.30376#S3.p2.1),[§5\.1](https://arxiv.org/html/2605.30376#S5.SS1.SSS0.Px1.p1.2)\.
- Y\. Dong, G\. Li, Y\. Tao, X\. Jiang, K\. Zhang, J\. Li, J\. Deng, J\. Su, J\. Zhang, and J\. Xu \(2025\)FAN: fourier analysis networks\.InNeurIPS,Cited by:[§4\.2](https://arxiv.org/html/2605.30376#S4.SS2.SSS0.Px1.p1.2)\.
- V\. Flunkert, D\. Salinas, and J\. Gasthaus \(2017\)Deepar: probabilistic forecasting with autoregressive recurrent networks\.International journal of forecasting23\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- A\. Garza, C\. Challu, and M\. Mergenthaler\-Canseco \(2023\)TimeGPT\-1\.arXiv preprint arXiv:2310\.03589\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p2.1)\.
- M\. Goswami, K\. Szafer, A\. Choudhry, Y\. Cai, S\. Li, and A\. Dubrawski \(2024\)MOMENT: a family of open time\-series foundation models\.InICML,Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p2.1)\.
- L\. Han, X\. Chen, H\. Ye, and D\. Zhan \(2024\)SOFTS: efficient multivariate time series forecasting with series\-core fusion\.InNeurIPS,Cited by:[§C\.2](https://arxiv.org/html/2605.30376#A3.SS2.SSS0.Px3),[§3](https://arxiv.org/html/2605.30376#S3.p1.1),[§5\.1](https://arxiv.org/html/2605.30376#S5.SS1.SSS0.Px1.p1.2)\.
- S\. Li, X\. Jin, Y\. Xuan, X\. Zhou, W\. Chen, Y\. Wang, and X\. Yan \(2019\)Enhancing the locality and breaking the memory bottleneck of transformer on time series forecasting\.InNeurIPS,Vol\.32\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- P\. Liu, B\. Wu, Y\. Hu, N\. Li, T\. Dai, J\. Bao, and S\. Xia \(2025a\)TimeBridge: non\-stationarity matters for long\-term time series forecasting\.InICML,Cited by:[§C\.2](https://arxiv.org/html/2605.30376#A3.SS2.SSS0.Px2),[§1](https://arxiv.org/html/2605.30376#S1.p1.1),[§3](https://arxiv.org/html/2605.30376#S3.p1.1),[§4\.1](https://arxiv.org/html/2605.30376#S4.SS1.p1.5),[§5\.1](https://arxiv.org/html/2605.30376#S5.SS1.SSS0.Px1.p1.2)\.
- Y\. Liu, T\. Hu, H\. Zhang, H\. Wu, S\. Wang, L\. Ma, and M\. Long \(2024a\)ITransformer: inverted transformers are effective for time series forecasting\.InICLR,Cited by:[§C\.2](https://arxiv.org/html/2605.30376#A3.SS2.SSS0.Px1),[§3](https://arxiv.org/html/2605.30376#S3.p1.1),[§5\.1](https://arxiv.org/html/2605.30376#S5.SS1.SSS0.Px1.p1.2)\.
- Y\. Liu, G\. Qin, Z\. Shi, Z\. Chen, C\. Yang, X\. Huang, J\. Wang, and M\. Long \(2025b\)Sundial: a family of highly capable time series foundation models\.InICML,Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p2.1)\.
- Y\. Liu, H\. Wu, J\. Wang, and M\. Long \(2022\)Non\-stationary transformers: exploring the stationarity in time series forecasting\.InNeurIPS,Vol\.35,pp\. 9881–9893\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- Y\. Liu, H\. Zhang, C\. Li, X\. Huang, J\. Wang, and M\. Long \(2024b\)Timer: generative pre\-trained transformers are large time series models\.ICML\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p2.1)\.
- Nie, Yuqi, H\. Nguyen, Nam, Sinthong, Phanwadee, and K\. Jayant \(2023\)A time series is worth 64 words: long\-term forecasting with transformers\.InICLR,Cited by:[§C\.1](https://arxiv.org/html/2605.30376#A3.SS1.SSS0.Px2),[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- Y\. Park, D\. Maddix, F\. Aubet, K\. Kan, J\. Gasthaus, and Y\. Wang \(2022\)Learning quantile functions without quantile crossing for distribution\-free time series forecasting\.Neurocomputing\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- S\. S\. Rangapuram, M\. W\. Seeger, J\. Gasthaus, L\. Stella, Y\. Wang, and T\. Januschowski \(2018\)Deep state space models for time series forecasting\.InNeurIPS,Vol\.31\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- K\. Rasul, C\. Seward, I\. Schuster, and R\. Vollgraf \(2021\)Autoregressive denoising diffusion models for multivariate probabilistic time series forecasting\.InICML,pp\. 8857–8868\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- A\. Sagheer and M\. Kotb \(2019\)Time series forecasting of petroleum production using deep lstm recurrent networks\.Neurocomputing323,pp\. 203–213\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- L\. Shengsheng, L\. Weiwei, W\. Wentai, C\. Haojun, and Y\. Junjie \(2024\)SparseTSF: modeling long\-term time series forecasting with 1k parameters\.ICML\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- Y\. Shi, Z\. Fu, S\. Chen, B\. Zhao, W\. Xu, C\. Zhang, and J\. Li \(2026\)Kronos: a foundation model for the language of financial markets\.InAAAI,Cited by:[§C\.3](https://arxiv.org/html/2605.30376#A3.SS3.SSS0.Px2),[§1](https://arxiv.org/html/2605.30376#S1.p1.1),[§1](https://arxiv.org/html/2605.30376#S1.p2.2),[§1](https://arxiv.org/html/2605.30376#S1.p4.1),[§3](https://arxiv.org/html/2605.30376#S3.p2.1),[§5\.1](https://arxiv.org/html/2605.30376#S5.SS1.SSS0.Px1.p1.2)\.
- D\. Tao, W\. Beiliang, L\. Peiyuan, L\. Naiqi, B\. Jigang, J\. Yong, and X\. Shu\-Tao \(2024\)Periodicity decoupling framework for long\-term series forecasting\.ICLR\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- H\. Wang, J\. Peng, F\. Huang, J\. Wang, J\. Chen, and Y\. Xiao \(2022\)Micn: multi\-scale local and global context modeling for long\-term series forecasting\.InICLR,Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- S\. Wang, H\. Wu, X\. Shi, T\. Hu, H\. Luo, L\. Ma, J\. Y\. Zhang, and J\. ZHOU \(2024a\)TimeMixer: decomposable multiscale mixing for time series forecasting\.InICLR,Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- Y\. Wang, H\. Wu, J\. Dong, G\. Qin, H\. Zhang, Y\. Liu, Y\. Qiu, J\. Wang, and M\. Long \(2024b\)Timexer: empowering transformers for time series forecasting with exogenous variables\.InNeurIPS,Vol\.37,pp\. 469–498\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- Y\. Wang, A\. Smola, D\. Maddix, J\. Gasthaus, D\. Foster, and T\. Januschowski \(2019\)Deep factors for forecasting\.InICML,pp\. 6607–6617\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- G\. Woo, C\. Liu, A\. Kumar, C\. Xiong, S\. Savarese, and D\. Sahoo \(2024\)Unified training of universal time series forecasting transformers\.InICML,pp\. 53140–53164\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p2.1)\.
- H\. Wu, T\. Hu, Y\. Liu, H\. Zhou, J\. Wang, and M\. Long \(2023\)TimesNet: temporal 2d\-variation modeling for general time series analysis\.InICLR,Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- H\. Wu, J\. Xu, J\. Wang, and M\. Long \(2021\)Autoformer: decomposition transformers with auto\-correlation for long\-term series forecasting\.InNeurIPS,Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- Z\. Wu, S\. Pan, G\. Long, J\. Jiang, X\. Chang, and C\. Zhang \(2020\)Connecting the dots: multivariate time series forecasting with graph neural networks\.InSIGKDD,Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- S\. Xiaoming, W\. Shiyu, N\. Yuqi, L\. Dianqi, Y\. Zhou, W\. Qingsong, and M\. Jin \(2025\)Time\-moe: billion\-scale time series foundation models with mixture of experts\.InICLR,Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p2.1)\.
- K\. Yi, Q\. Zhang, W\. Fan, S\. Wang, P\. Wang, H\. He, N\. An, D\. Lian, L\. Cao, and Z\. Niu \(2024\)Frequency\-domain mlps are more effective learners in time series forecasting\.InNeurIPS,Vol\.36\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- Zeng, Ailing, Chen, Muxi, Zhang, Lei, and X\. Qiang \(2023\)Are transformers effective for time series forecasting?\.InAAAI,Vol\.37,pp\. 11121–11128\.Cited by:[§C\.1](https://arxiv.org/html/2605.30376#A3.SS1.SSS0.Px1)\.
- Y\. Zhang and J\. Yan \(2023\)Crossformer: transformer utilizing cross\-dimension dependency for multivariate time series forecasting\.InICLR,Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- H\. Zhou, S\. Zhang, J\. Peng, S\. Zhang, J\. Li, H\. Xiong, and W\. Zhang \(2021\)Informer: beyond efficient transformer for long sequence time\-series forecasting\.InAAAI,Vol\.35,pp\. 11106–11115\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- T\. Zhou, Z\. Ma, Q\. Wen, X\. Wang, L\. Sun, and R\. Jin \(2022\)FEDformer: frequency enhanced decomposed transformer for long\-term series forecasting\.InICML,Cited by:[§1](https://arxiv.org/html/2605.30376#S1.p1.1),[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.
- T\. Zhou, P\. Niu, L\. Sun, R\. Jin,et al\.\(2023\)One fits all: power general time series analysis by pretrained lm\.InNeurIPS,Vol\.36,pp\. 43322–43355\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1),[§3](https://arxiv.org/html/2605.30376#S3.p2.1)\.
- X\. Zhou, W\. Wang, W\. Buntine, S\. Qu, A\. Sriramulu, W\. Tan, and C\. Bergmeir \(2024\)Scalable transformer for high dimensional multivariate time series forecasting\.InCIKM,pp\. 3515–3526\.Cited by:[§3](https://arxiv.org/html/2605.30376#S3.p1.1)\.

## Appendix

## Appendix ADataset Details

#### Pretraining dataset\.

The pretraining corpus consists of large\-scale financial time series collected from three major equity markets: the Chinese A\-share market, the U\.S\. stock market, and the Hong Kong stock market\. The dataset spans from January 1, 2010 to December 31, 2023, covering multiple market regimes and economic cycles\. All series are aligned on trading days and contain multi\-channel features including price\-based indicators and technical factors\. The total pretraining period contains 3,651 trading days\. The dataset is split chronologically for training and validation to avoid any temporal leakage\.

#### Evaluation datasets\.

Evaluations are conducted on both financial and public multivariate forecasting benchmarks\. For financial forecasting, we consider two test sets: \(i\) an A\-share subset containing 587 actively traded stocks, and \(ii\) the NASDAQ\-100 constituent stocks with 88 equities\. Both test sets use the same evaluation window from July 1, 2024 to October 20, 2025, covering 341 trading days in total\. Models are trained on historical data before this period and evaluated strictly on the held\-out interval\. In addition, we evaluate on widely used public multivariate benchmarks, including Traffic, Electricity \(ECL\), Crime\-Chicago, and Wiki\-People\. Traffic and ECL are hourly datasets, while Crime\-Chicago and Wiki\-People are monthly and daily datasets, respectively\. Following common practice, all datasets are split chronologically into training, validation, and test sets\.

#### Daily\-resolution variants\.

To examine robustness under different temporal granularities, we further construct Traffic\-Daily and ECL\-Daily by aggregating the original hourly data into daily frequency\. Specifically, values within each day are aggregated by averaging, resulting in sequences whose lengths are approximately one twenty\-fourth of the original hourly series while preserving the same channel dimensionality\.

Table 5:Summary of datasets used in pretraining and evaluation\.“Dim” denotes the number of channels\. “Length” refers to the total number of time steps\. Traffic\-Daily and ECL\-Daily are obtained by aggregating the original hourly data to daily frequency\.

## Appendix BEvaluation Metrics

#### Overview\.

This paper considers two evaluation settings: \(i\) high\-dimensional forecasting on public multivariate benchmarks \(Setting II\), and \(ii\) cross\-market stock return prediction under domain adaptation \(Setting I\)\. Accordingly, we report error\-based forecasting metrics \(MSE/MAE\) and correlation\-based financial metrics \(IC/RankIC\)\.

#### Notation\.

Let𝐘∈ℝT×C\\mathbf\{Y\}\\in\\mathbb\{R\}^\{T\\times C\}denote the ground\-truth future sequence over a forecasting horizon of lengthTTwithCCchannels, and let𝐘^∈ℝT×C\\hat\{\\mathbf\{Y\}\}\\in\\mathbb\{R\}^\{T\\times C\}be the corresponding model predictions\. We denote the value at time stepttand channelccasYt,cY\_\{t,c\}andY^t,c\\hat\{Y\}\_\{t,c\}, respectively\.

#### Mean Squared Error \(MSE\)\.

For Setting II, we evaluate forecasting accuracy using the Mean Squared Error \(MSE\), defined as

MSE=1T​C​∑t=1T∑c=1C\(Yt,c−Y^t,c\)2\.\\mathrm\{MSE\}=\\frac\{1\}\{TC\}\\sum\_\{t=1\}^\{T\}\\sum\_\{c=1\}^\{C\}\\left\(Y\_\{t,c\}\-\\hat\{Y\}\_\{t,c\}\\right\)^\{2\}\.\(10\)MSE serves as the primary metric for numerical forecasting accuracy, where lower values indicate better performance\.

#### Mean Absolute Error \(MAE\)\.

We additionally report the Mean Absolute Error \(MAE\), given by

MAE=1T​C​∑t=1T∑c=1C\|Yt,c−Y^t,c\|\.\\mathrm\{MAE\}=\\frac\{1\}\{TC\}\\sum\_\{t=1\}^\{T\}\\sum\_\{c=1\}^\{C\}\\left\|Y\_\{t,c\}\-\\hat\{Y\}\_\{t,c\}\\right\|\.\(11\)Compared with MSE, MAE is less sensitive to large deviations and provides a complementary assessment of prediction quality\.

#### Financial correlation metrics\.

For Setting I, the objective is to predict cross\-sectional stock return signals\. Let𝐫^∈ℝC\\hat\{\\mathbf\{r\}\}\\in\\mathbb\{R\}^\{C\}denote the predicted scores acrossCCstocks, and let𝐫∈ℝC\\mathbf\{r\}\\in\\mathbb\{R\}^\{C\}be the realized future returns\.

#### Information Coefficient \(IC\)\.

We measure the linear association between predicted signals and realized returns using the Information Coefficient \(IC\), defined as the Pearson correlation:

IC=Corr​\(𝐫^,𝐫\)=∑c=1C\(r^c−r^¯\)​\(rc−r¯\)∑c=1C\(r^c−r^¯\)2​∑c=1C\(rc−r¯\)2\.\\mathrm\{IC\}=\\mathrm\{Corr\}\(\\hat\{\\mathbf\{r\}\},\\mathbf\{r\}\)=\\frac\{\\sum\_\{c=1\}^\{C\}\(\\hat\{r\}\_\{c\}\-\\overline\{\\hat\{r\}\}\)\(r\_\{c\}\-\\bar\{r\}\)\}\{\\sqrt\{\\sum\_\{c=1\}^\{C\}\(\\hat\{r\}\_\{c\}\-\\overline\{\\hat\{r\}\}\)^\{2\}\}\\sqrt\{\\sum\_\{c=1\}^\{C\}\(r\_\{c\}\-\\bar\{r\}\)^\{2\}\}\}\.\(12\)A higher IC indicates stronger predictive consistency between the model outputs and future returns\.

#### Rank Information Coefficient \(RankIC\)\.

To further evaluate whether the model preserves the correct cross\-sectional ordering, we report the Rank Information Coefficient \(RankIC\), computed as the Spearman rank correlation:

RankIC=Corr​\(rank​\(𝐫^\),rank​\(𝐫\)\)\.\\mathrm\{RankIC\}=\\mathrm\{Corr\}\\big\(\\mathrm\{rank\}\(\\hat\{\\mathbf\{r\}\}\),\\mathrm\{rank\}\(\\mathbf\{r\}\)\\big\)\.\(13\)RankIC is particularly important in quantitative finance, as many trading strategies rely on accurate return ranking rather than exact value prediction\. We calculate per\-day cross\-sectional correlation then average over days\.

#### Metric interpretation\.

All forecasting error metrics \(MSE and MAE\) are*lower\-is\-better*, while financial correlation\-based metrics \(IC and RankIC\) are*higher\-is\-better*\. Together, these metrics provide a rigorous evaluation of both numerical forecasting accuracy and cross\-sectional predictive validity in financial transfer settings\.

## Appendix CBaselines

To comprehensively evaluate the effectiveness of Unicorn, we compare against a diverse set of representative baselines that span*channel\-independent models*,*channel\-dependent models*, and*time\-series foundation models*\. These baselines cover the dominant architectural paradigms in modern multivariate time series forecasting and are evaluated under the same experimental protocols described in the main paper\.

### C\.1Channel\-Independent Forecasting Models

Channel\-independent \(CI\) models process each time series independently using shared parameters, without explicitly modeling inter\-channel dependencies\. This design provides strong scalability and robustness to heterogeneous channel dimensions, making such models particularly competitive in high\-dimensional or multi\-dataset settings\.

#### DLinear\[[35](https://arxiv.org/html/2605.30376#bib.bib7)\]\.

DLinear is a lightweight linear forecasting model that decomposes time series into trend and seasonal components using simple linear projections\. Each channel is modeled independently, which leads to excellent computational efficiency and strong robustness in wide\-data regimes\. However, the absence of explicit inter\-channel interaction limits its ability to exploit correlated dynamics across variables\.

#### PatchTST\[[17](https://arxiv.org/html/2605.30376#bib.bib6)\]\.

PatchTST adopts a patch\-based Transformer architecture where each channel is segmented into temporal patches and processed independently with shared Transformer layers\. The model effectively captures long\-range temporal dependencies within individual channels while maintaining channel independence\. Despite its expressive temporal modeling capacity, PatchTST does not explicitly incorporate inter\-channel correlations\.

### C\.2Channel\-Dependent Forecasting Models

Channel\-dependent \(CD\) models explicitly model interactions among channels, typically through attention mechanisms or global aggregation modules\. While these approaches are expressive, their reliance on identity\-specific channel interactions often limits scalability and generalization when channel dimensions vary across datasets\.

#### iTransformer\[[13](https://arxiv.org/html/2605.30376#bib.bib16)\]\.

iTransformer introduces an inverted attention mechanism that treats channels as tokens and performs attention across the channel dimension\. This design enables explicit modeling of inter\-channel dependencies and demonstrates strong performance in fixed\-channel settings\. However, the attention mechanism is tightly coupled to channel identities and dimensionality, making the model unsuitable for scenarios involving heterogeneous channel sets or multi\-dataset pretraining\.

#### TimeBridge\[[12](https://arxiv.org/html/2605.30376#bib.bib1)\]\.

TimeBridge models inter\-channel correlations via cointegrated attention over temporally aligned representations\. It emphasizes capturing non\-stationary and long\-range dependencies across channels by learning structured temporal interactions\. While effective in domain\-specific settings, the architecture assumes a fixed channel set and does not naturally generalize across datasets with varying channel dimensions\.

#### SOFTS\[[10](https://arxiv.org/html/2605.30376#bib.bib2)\]\.

SOFTS adopts a series\-core fusion strategy, where all channels are aggregated into a global latent core representation and subsequently redistributed back to individual channels\. This design explicitly models global inter\-channel dependencies while reducing computational overhead compared to full channel\-wise attention\. Nevertheless, the aggregation process remains tied to the observed channel set, limiting scalability and cross\-domain transferability\.

### C\.3Time\-Series Foundation Models

Time\-series foundation models aim to achieve strong zero\-shot or few\-shot performance through large\-scale pretraining on massive and diverse time series corpora\. These models are typically designed with channel\-independent architectures to ensure scalability across heterogeneous datasets\.

#### TimesFM 2\.0\[[5](https://arxiv.org/html/2605.30376#bib.bib4)\]\.

TimesFM 2\.0 is a decoder\-only foundation model pretrained on large\-scale time series data\. It processes multivariate inputs in a channel\-independent manner, sharing parameters across all channels and focusing on learning universal temporal patterns\. While it scales effectively to datasets with varying channel dimensions, the model does not explicitly model inter\-channel correlations during either pretraining or finetuning\.

#### Kronos\[[23](https://arxiv.org/html/2605.30376#bib.bib5)\]\.

Kronos is a foundation model tailored for financial time series forecasting, pretrained on large\-scale global market data\. Similar to TimesFM 2\.0, it adopts a channel\-independent architecture that enables flexible adaptation to different stock universes\. Although Kronos exhibits strong generalization and robustness, its CI design limits its ability to capture structured cross\-sectional dependencies among financial instruments\.

## Appendix DImplementation Details

#### Data preprocessing\.

For all datasets, input time series are normalized using z\-score normalization based on statistics computed from the training split only\. The same normalization parameters are applied to validation and test sets\. For financial datasets, input features include price\-based indicators and technical factors, and labels correspond to next\-period returns as defined in Sec\. 5\.2\. No information from the test period is used during training or validation\.

#### Training protocol \(Setting II\)\.

For public multivariate forecasting benchmarks \(Setting II\), models are trained from scratch using a sliding\-window strategy with a fixed input lengthI=96I=96\. Prediction horizons are set toO=96O=96for Traffic, Electricity, and Wiki\-People, andO=12O=12for Crime\-Chicago, consistent with the experimental setup in Sec\. 5\.1\. The training objective is the spectral\-temporal loss in Eq\. \(9\), and model selection is performed based on validation MSE\. Final results are reported on the test split using MSE and MAE\.

#### Pretraining and finetuning protocol \(Setting I\)\.

For cross\-market transfer experiments \(Setting I\), Unicorn is pretrained on the multi\-market financial corpus described in Appendix[A](https://arxiv.org/html/2605.30376#A1)\. Pretraining optimizes the spectral\-temporal objective in Eq\. \(9\) over heterogeneous channel dimensions\. For downstream adaptation to a target stock pool, the model is finetuned using the regularized objective in Eq\. \(10\), where the pretrained prototype codebook𝐏\(0\)\\mathbf\{P\}^\{\(0\)\}is used as the reference\. All reported financial results are evaluated on the held\-out test window using IC and RankIC, as defined in Appendix[B](https://arxiv.org/html/2605.30376#A2)\.

#### Optimization details\.

All experiments are implemented in PyTorch and trained using the AdamW optimizer\. A cosine learning\-rate schedule with linear warm\-up is employed\. Early stopping is used based on validation performance, and the model with the best validation metric is selected for testing\.

#### Hyperparameter configuration\.

Table[6](https://arxiv.org/html/2605.30376#A4.T6)summarizes the hyperparameters used in our implementation\. These values are fixed across datasets unless explicitly stated\.

Table 6:Hyperparameters\.

## Appendix EAdditional Analyses

We provide additional evidence to further support the structural validity, transfer behavior, and interpretability of Unicorn\. Specifically, we include: \(i\) structure\-aware evaluation beyond point\-wise forecasting errors, \(ii\) a quantitative analysis of whether finetuning mainly reuses the pretrained prototype space or rewrites it, \(iii\) measurements of prototype reuse and semantic coherence across markets, \(iv\) an expanded pretraining study under domain shift, and \(v\) qualitative observations of the learned prototypes\.

### E\.1Structure\-Aware Validation Beyond Point\-wise Errors

While MSE and MAE are standard metrics in multivariate forecasting, they do not directly measure whether a model preserves inter\-channel dependency structure, temporal dynamics, or spectral characteristics\. To complement the main results, we evaluate Unicorn and five strong baselines on three structure\-aware metrics over the non\-financial benchmarks\.

#### Inter\-channel correlation preservation\.

We define the correlation error as

Corr​\-​MAE=1C​\(C−1\)​∑i≠j\|Ri​j​\(Y\)−Ri​j​\(Y^\)\|,\\mathrm\{Corr\\text\{\-\}MAE\}=\\frac\{1\}\{C\(C\-1\)\}\\sum\_\{i\\neq j\}\\left\|R\_\{ij\}\(Y\)\-R\_\{ij\}\(\\hat\{Y\}\)\\right\|,\(14\)whereR​\(⋅\)R\(\\cdot\)denotes the channel\-wise Pearson correlation matrix\.

#### Temporal dynamics preservation\.

We measure the discrepancy in autocorrelation structure by

ACF​\-​MAE=1C​L​∑c=1C∑ℓ=1L\|ρc\(Y\)​\(ℓ\)−ρc\(Y^\)​\(ℓ\)\|,\\mathrm\{ACF\\text\{\-\}MAE\}=\\frac\{1\}\{CL\}\\sum\_\{c=1\}^\{C\}\\sum\_\{\\ell=1\}^\{L\}\\left\|\\rho\_\{c\}^\{\(Y\)\}\(\\ell\)\-\\rho\_\{c\}^\{\(\\hat\{Y\}\)\}\(\\ell\)\\right\|,\(15\)whereρc​\(ℓ\)\\rho\_\{c\}\(\\ell\)is the autocorrelation at lagℓ\\ell\.

#### Spectral consistency\.

We further quantify the discrepancy in normalized power spectra:

PSD​\-​L1=1C​∑c=1C‖S~c​\(Y\)−S~c​\(Y^\)‖1,\\mathrm\{PSD\\text\{\-\}L1\}=\\frac\{1\}\{C\}\\sum\_\{c=1\}^\{C\}\\left\\\|\\tilde\{S\}\_\{c\}\(Y\)\-\\tilde\{S\}\_\{c\}\(\\hat\{Y\}\)\\right\\\|\_\{1\},\(16\)whereS~c​\(⋅\)\\tilde\{S\}\_\{c\}\(\\cdot\)denotes the normalized power spectrum of channelcc\.

Table[7](https://arxiv.org/html/2605.30376#A5.T7)shows that Unicorn consistently achieves the best performance across all three structure\-aware metrics on Traffic, Crime\-Chicago, and Electricity\. This indicates that the gain of Unicorn is not limited to lower point\-wise forecasting error; it also better preserves the underlying inter\-channel dependency structure, temporal evolution patterns, and spectral behavior of multivariate time series\.

Table 7:Structure\-aware validation on non\-financial benchmarks\.We report Corr\-MAE, ACF\-MAE, and PSD\-L1, where lower is better\. Unicorn consistently outperforms all baselines in preserving inter\-channel correlations, temporal dynamics, and spectral characteristics\.

### E\.2Prototype Drift and Reassignment During Finetuning

A central claim of Unicorn is that target\-domain finetuning mainly adapts the*channel\-to\-prototype alignment*, rather than relearning the shared prototype codebook from scratch\. To verify this hypothesis, we quantify both*prototype drift*and*reassignment drift*after adaptation\.

Recall that in Section 3\.4, for each samplexxand temporal indexmm, Unicorn performs prototype\-mediated interaction through a prototype\-to\-channel redistribution stage\. Specifically, given the augmented channel representationsU:,m,:\(x,d\)U\_\{:,m,:\}^\{\(x,d\)\}and the prototype summariesZm\(x,d\)Z\_\{m\}^\{\(x,d\)\}, the redistribution matrix is defined as

Bm\(x,d\)=softmax⁡\(U:,m,:\(x,d\)​\(Zm\(x,d\)\)⊤2​D\)∈ℝCd×K,B\_\{m\}^\{\(x,d\)\}=\\operatorname\{softmax\}\\\!\\left\(\\frac\{U\_\{:,m,:\}^\{\(x,d\)\}\\left\(Z\_\{m\}^\{\(x,d\)\}\\right\)^\{\\top\}\}\{\\sqrt\{2D\}\}\\right\)\\in\\mathbb\{R\}^\{C\_\{d\}\\times K\},\(17\)wheredddenotes the target domain,CdC\_\{d\}is the number of channels in that domain, andKKis the number of latent prototypes\. Each row ofBm\(x,d\)B\_\{m\}^\{\(x,d\)\}represents how one target\-domain channel is redistributed over the shared prototype basis\. Therefore,Bm\(x,d\)B\_\{m\}^\{\(x,d\)\}directly characterizes the channel\-to\-prototype alignment induced by the current model\.

LetP\(0\)∈ℝK×2​DP^\{\(0\)\}\\in\\mathbb\{R\}^\{K\\times 2D\}denote the pretrained prototype codebook before target\-domain adaptation, and letP\(d\)P^\{\(d\)\}denote the prototype codebook after finetuning on domaindd\. We define the*prototype drift*as

δP\(d\)=‖P\(d\)−P\(0\)‖F‖P\(0\)‖F\.\\delta\_\{P\}^\{\(d\)\}=\\frac\{\\left\\\|P^\{\(d\)\}\-P^\{\(0\)\}\\right\\\|\_\{F\}\}\{\\left\\\|P^\{\(0\)\}\\right\\\|\_\{F\}\}\.\(18\)This quantity measures how much the shared prototype basis itself changes during finetuning\.

To quantify how much adaptation happens through channel reassignment rather than codebook rewriting, we further define the*reassignment drift*\. LetSdS\_\{d\}be the evaluation set of target domaindd, and letMMbe the number of long\-term temporal tokens used in Section 3\.2\. For each samplex∈Sdx\\in S\_\{d\}and token indexmm, we compare the redistribution matrix before and after finetuning:

- •Bm\(x,d,0\)B\_\{m\}^\{\(x,d,0\)\}: computed by the pretrained model*before*target\-domain finetuning;
- •Bm\(x,d,ft\)B\_\{m\}^\{\(x,d,\\mathrm\{ft\}\)\}: computed by the adapted model*after*finetuning on domaindd\.

We then define

δB\(d\)=1\|Sd\|​M​∑x∈Sd∑m=1M‖Bm\(x,d,ft\)−Bm\(x,d,0\)‖1Cd\.\\delta\_\{B\}^\{\(d\)\}=\\frac\{1\}\{\|S\_\{d\}\|M\}\\sum\_\{x\\in S\_\{d\}\}\\sum\_\{m=1\}^\{M\}\\frac\{\\left\\\|B\_\{m\}^\{\(x,d,\\mathrm\{ft\}\)\}\-B\_\{m\}^\{\(x,d,0\)\}\\right\\\|\_\{1\}\}\{C\_\{d\}\}\.\(19\)Here, theℓ1\\ell\_\{1\}distance is normalized byCdC\_\{d\}so that the magnitude ofδB\(d\)\\delta\_\{B\}^\{\(d\)\}remains comparable across domains with different channel dimensions\. Intuitively,δB\(d\)\\delta\_\{B\}^\{\(d\)\}measures how much the target\-domain channels are re\-aligned to the shared prototype space during adaptation\.

In addition to standard finetuning \(Full FT\), we consider two controlled variants:

- •FrozenPP: keep the pretrained prototype codebook fixed during finetuning;
- •ReinitPP: randomly reinitialize the prototype codebook before finetuning\.

Table[8](https://arxiv.org/html/2605.30376#A5.T8)supports the intended transfer mechanism of Unicorn\. First,FrozenPPpreserves most of the gain, indicating that the pretrained prototype space already captures reusable interaction structure\. Second,ReinitPPleads to a clear degradation, suggesting that the learned prototype basis cannot be replaced by an arbitrary initialization\. Third, across both A\-share and NASDAQ\-100, we observeδB\(d\)≫δP\(d\)\\delta\_\{B\}^\{\(d\)\}\\gg\\delta\_\{P\}^\{\(d\)\}, which indicates that target\-domain adaptation primarily happens through reassignment over the shared prototype basis, rather than by substantially rewriting the prototype codebook itself\.

Table 8:Prototype drift and reassignment drift under domain adaptation\.Full FT denotes standard finetuning\. FrozenPPfixes the pretrained prototype codebook during finetuning, and ReinitPPrandomly reinitializes it before adaptation\. Results show that transfer mainly happens through reassignment rather than rewriting the shared prototype space\.
### E\.3Cross\-domain Reuse and Semantic Coherence of Prototypes

To further examine whether the learned prototypes exhibit reusable and non\-trivial structure, we quantify both cross\-domain reuse and within\-prototype statistical coherence\.

For each channelccin domaindd, we first compute its average prototype\-assignment profile:

b¯c\(d\)=1\|Sd\|​M​∑x∈Sd∑m=1MBm\(x\)​\(c,:\)∈ℝK,\\bar\{b\}\_\{c\}^\{\(d\)\}=\\frac\{1\}\{\|S\_\{d\}\|M\}\\sum\_\{x\\in S\_\{d\}\}\\sum\_\{m=1\}^\{M\}B\_\{m\}^\{\(x\)\}\(c,:\)\\in\\mathbb\{R\}^\{K\},\(20\)and define its dominant prototype by

kc\(d\)=arg⁡maxk⁡b¯c\(d\)​\(k\)\.k\_\{c\}^\{\(d\)\}=\\arg\\max\_\{k\}\\bar\{b\}\_\{c\}^\{\(d\)\}\(k\)\.\(21\)
We summarize domain\-level prototype usage by

qd​\(k\)=1\|Sd\|​M​Cd​∑x∈Sd∑m=1M∑c=1CdBm\(x\)​\(c,k\),q\_\{d\}\(k\)=\\frac\{1\}\{\|S\_\{d\}\|MC\_\{d\}\}\\sum\_\{x\\in S\_\{d\}\}\\sum\_\{m=1\}^\{M\}\\sum\_\{c=1\}^\{C\_\{d\}\}B\_\{m\}^\{\(x\)\}\(c,k\),\(22\)and define the cross\-domain usage similarity as

Cos​\(d,d′\)=qd⊤​qd′‖qd‖2​‖qd′‖2\.\\mathrm\{Cos\}\(d,d^\{\\prime\}\)=\\frac\{q\_\{d\}^\{\\top\}q\_\{d^\{\\prime\}\}\}\{\\\|q\_\{d\}\\\|\_\{2\}\\\|q\_\{d^\{\\prime\}\}\\\|\_\{2\}\}\.\(23\)
To test whether channels grouped under the same prototype are statistically coherent, letscs\_\{c\}be a raw\-series statistic such as dominant period, volatility, or lag\-1 autocorrelation\. We define

ρs=1K​∑k=1KVar​\(sc∣kc\(d\)=k\)Varrand​\(sc\),\\rho\_\{s\}=\\frac\{\\frac\{1\}\{K\}\\sum\_\{k=1\}^\{K\}\\mathrm\{Var\}\(s\_\{c\}\\mid k\_\{c\}^\{\(d\)\}=k\)\}\{\\mathrm\{Var\}\_\{\\mathrm\{rand\}\}\(s\_\{c\}\)\},\(24\)whereVarrand​\(sc\)\\mathrm\{Var\}\_\{\\mathrm\{rand\}\}\(s\_\{c\}\)is the matched random\-partition baseline\.

Finally, to test whether prototypes collapse into domain labels, we define

Purity=1K​∑k=1Kmaxd⁡p​\(d∣k\),\\mathrm\{Purity\}=\\frac\{1\}\{K\}\\sum\_\{k=1\}^\{K\}\\max\_\{d\}p\(d\\mid k\),\(25\)wherep​\(d∣k\)p\(d\\mid k\)is the fraction of channels assigned to prototypekkfrom domaindd\.

Table[9](https://arxiv.org/html/2605.30376#A5.T9)suggests that the learned prototype space is both reusable and non\-degenerate\. The high cosine similarity between A\-share and NASDAQ\-100 indicates that the two markets rely on broadly similar prototype usage patterns\. At the same time, the moderate purity score shows that prototypes do not simply collapse into market\-specific clusters\. Moreover, allρs<1\\rho\_\{s\}<1indicate that channels grouped under the same prototype are more statistically coherent than random partitions\.

Table 9:Cross\-domain reuse and semantic coherence of learned prototypes\.HigherCos\\mathrm\{Cos\}indicates more similar prototype usage across domains\. Lowerρs\\rho\_\{s\}indicates stronger within\-prototype coherence relative to a matched random baseline\.
### E\.4Expanded Pretraining Study Under Domain Shift

In the main paper, we observe that financial\-only pretraining yields limited gains on non\-financial benchmarks such as Traffic and Electricity\. To better understand this phenomenon, we conduct an additional experiment that expands the pretraining corpus by including the training split of the target dataset itself\.

We compare three settings:

- •None: train from scratch on the target dataset;
- •Financial: pretrain on the financial corpus and then finetune on the target dataset;
- •Financial \+ Target: jointly pretrain on the financial corpus and the training split of the target dataset before finetuning\.

The results in Table[10](https://arxiv.org/html/2605.30376#A5.T10)reveal two important trends\. First, financial\-only pretraining does not degrade performance relative to training from scratch, suggesting that the prototype\-mediated pathway is robust to mismatched source distributions and does not induce negative transfer\. Second, when pretraining covers the target domain, Unicorn benefits more clearly, indicating that transfer effectiveness depends on how well the pretraining distribution matches the target interaction patterns\.

Table 10:Expanded pretraining under domain shift\.Financial\-only pretraining yields limited but non\-destructive transfer to physical domains, while joint pretraining with target\-domain coverage leads to clearer improvements\.

Similar Articles

Unified Zero-Shot Time Series Forecasting: A Darts Foundation

arXiv cs.LG

Darts, a popular open-source Python library for time series analysis, introduces a unified FoundationModel class collection that integrates multiple time series foundation models (Chronos-2, TimesFM 2.5, TiRex, PatchTST-FM) for zero-shot and fine-tuned forecasting with standardized interfaces and minimal dependencies.