CLAIR: Consistent LLM Adaptation via Index-free Reprogramming
Authors: Dongkuk Kim, Jungkyu Shin, Yoonhyuk Choi, Jong Wook Kim, Beakcheol Jang
Organizations: Yonsei University, Seoul, Republic of Korea · Sookmyung Women’s University, Seoul, Republic of Korea · Sangmyung University, Seoul, Republic of Korea
Time-series forecasting with pretrained large language models (LLMs) uses contextualized patch representations, raising the question of how to align them. Matching patches at the same temporal position is natural, but self-attention allows each patch state to incorporate information from elsewhere in the input window, suggesting that useful correspondences can extend across positions. This flexibility, however, does not necessarily translate into consistent forecasts: similar patch states may play different roles when used in their original temporal order. To address both issues, we propose CLAIR (Consistent LLM Adaptation via Index-free Reprogramming), a teacher-guided framework that combines patch-level transport alignment (PTA) and forecast-level consistency (FC). A clean-view exponential moving average (EMA) teacher guides a mildly perturbed student, with PTA establishing soft, representation-dependent correspondences and FC encouraging agreement at corresponding future steps. The forecasting head retains the original patch order. We test this combination through controlled comparisons: while PTA and index-wise alignment perform similarly without FC, PTA+FC under EMA supervision reduces horizon-averaged mean squared error (MSE) by 2.1% on ETTh1 and 2.6% on ETTm1 relative to Index+FC. The same preference for PTA+FC emerges in comparisons with alternative matching strategies on Weather and ETTh2. Beyond these controls, CLAIR achieves the lowest horizon-averaged MSE on five of six long-term benchmarks and the lowest aggregate overall weighted average (OWA) on M4 among evaluated methods, with competitive few-shot performance. As the teacher and transport are used only during training, inference requires only the student.
Figures & tables
Figure 1: Contextualization of patch representations. (a, b) Sensitivity of patch representation at position i (y-axis) to replacing the input patch at position j (x-axis). (a) Changes are localized before the backbone, yielding a diagonal pattern. (b) After self-attention, changes extend across temporal positions, reflecting contextualization beyond individual segments. (c) Learned student–teacher patch correspondence in CLAIR for the same sequence, including associations beyond same-index matching (dashed diagonal).
Figure 2: Overall architecture of CLAIR. Patch tokens are combined with soft prompts and a multi-scale structural anchor. Ap and Ak ( k=1,2,3 ) apply Gaussian noise and elementwise dropout to extracted patch and scale- k anchor windows, respectively. Perturbations are sampled independently for patch windows and each anchor scale and applied only to the student during training. The student and EMA teacher use separate copies of the input encoders. The teacher guides the student through patch-level transport alignment and forecast-level consistency. Only the student is used at inference.
CLAIR
Time-LLM
S 2 IP-LLM
OFA
CALF
FSCA
SE-LLM
DLinear
iTransformer
PatchTST
Dataset
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
Weather
0.2261
0.2642
0.2346
0.2724
0.2284
0.2658
0.2285
0.2667
0.2363
0.2719
0.2281
0.2678
0.2314
0.2676
0.2416
0.2941
0.2443
0.2775
0.2338
0.2749
ETTh1
0.4094
0.4287
0.4409
0.4517
0.4154
0.4346
0.4265
0.4356
0.4281
0.4434
0.4180
0.4332
0.4258
0.4379
0.4184
0.4386
0.4485
0.4612
0.4600
0.4643
ETTh2
0.3564
0.3971
0.3686
0.4056
0.3624
0.4052
0.3742
0.4065
0.3666
0.4020
0.3597
0.3993
0.3823
0.4113
0.4995
0.4803
0.3846
0.4154
0.4036
0.4305
ETTm1
0.3493
0.3820
0.3790
0.3966
0.3509
0.3835
0.3596
0.3899
0.3580
0.3870
0.3674
0.3948
0.3684
0.3948
0.3586
0.3816
0.3689
0.3989
0.3770
0.4048
ETTm2
0.2563
0.3200
0.2649
0.3273
0.2599
0.3236
0.2663
0.3288
0.2628
0.3203
0.2581
0.3212
0.2765
0.3280
0.2768
0.3422
0.2718
0.3312
0.2797
0.3353
Table 1: Long-term forecasting results averaged over prediction horizons H .
CLAIR
Time-LLM
S 2 IP-LLM
OFA
CALF
FSCA
SE-LLM
DLinear
iTransformer
PatchTST
Average
SMAPE
12.008
12.522
12.314
12.256
12.193
12.003
12.145
12.507
13.359
12.873
MASE
1.628
1.704
1.684
1.714
1.632
1.637
1.656
1.684
1.786
1.757
OWA
0.868
0.907
0.894
0.900
0.876
0.871
0.881
0.901
0.959
0.934
Table 2: Short-term forecasting results on the M4 dataset.
CLAIR
Time-LLM
S 2 IP-LLM
OFA
CALF
FSCA
SE-LLM
DLinear
iTransformer
PatchTST
Dataset
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
Weather
0.2372
0.2766
0.2491
0.2874
0.2404
0.2787
0.2430
0.2793
0.2573
0.2937
0.2425
0.2815
0.2512
0.2844
0.2420
0.2894
0.2893
0.3164
0.2529
0.2893
ETTh1
0.5589
0.5064
0.6879
0.5585
0.7432
0.5759
0.5912
0.5263
0.7168
0.5860
0.6337
0.5389
0.6420
0.5427
0.5309
0.5025
0.7027
0.5787
0.7259
0.5966
ETTh2
0.3846
0.4226
0.4042
0.4333
0.4647
0.4660
0.4449
0.4578
0.4207
0.4422
0.4112
0.4345
0.3951
0.4272
0.4137
0.4459
0.4262
0.4473
0.4556
0.4659
ETTm1
0.4482
0.4335
0.4743
0.4534
0.4834
0.4600
0.4599
0.4391
0.4985
0.4721
0.4924
0.4540
0.6259
0.5152
0.4131
0.4275
0.5705
0.5101
0.6023
0.5033
ETTm2
0.2611
0.3217
0.3017
0.3515
0.3077
0.3531
0.2899
0.3358
0.2944
0.3427
0.2862
0.3341
0.2892
0.3419
0.2965
0.3507
0.3147
0.3601
0.3299
0.3646
Table 3: Few-shot forecasting results with 10% training data averaged over prediction horizons H .
CLAIR
Time-LLM
S 2 IP-LLM
OFA
CALF
FSCA
SE-LLM
DLinear
iTransformer
PatchTST
Dataset
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
Weather
0.2642
0.3046
0.2778
0.3097
0.2918
0.3244
0.2720
0.3089
0.2759
0.3113
0.2670
0.3055
0.2745
0.3087
0.2724
0.3245
0.2918
0.3273
0.2846
0.3180
ETTh1
0.6719
0.5509
0.8125
0.5919
1.0053
0.6719
0.8402
0.6190
0.8672
0.6376
0.7419
0.5887
0.7752
0.6030
0.6269
0.5478
0.8137
0.6157
0.8856
0.6572
ETTh2
0.3729
0.4235
0.5466
0.5100
0.6167
0.5454
0.4697
0.4844
0.4411
0.4591
0.3754
0.4248
0.4600
0.4807
0.4872
0.5090
0.4313
0.4516
0.4052
0.4274
ETTm1
0.4604
0.4452
0.5077
0.4729
0.5201
0.4860
0.4939
0.4625
0.5242
0.4850
0.4970
0.4630
0.6061
0.5066
0.4464
0.4463
0.5634
0.5047
0.5703
0.5047
ETTm2
0.2933
0.3405
0.3228
0.3618
0.3199
0.3624
0.3174
0.3517
0.3197
0.3598
0.3064
0.3473
0.3083
0.3514
0.3263
0.3762
0.3085
0.3573
0.3533
0.3787
Table 4: Few-shot forecasting results with 5% training data averaged over prediction horizons H .
ETTh1
ETTm1
Model Variant
MSE
MAE
MSE
MAE
Supervised only
0.4434
0.4581
0.3715
0.4014
FC only
0.4332
0.4455
0.3671
0.3912
Index only
0.4325
0.4443
0.3652
0.3883
PTA only
0.4307
0.4426
0.3660
0.3895
Index + FC ( μ=0 )
0.4371
0.4463
0.3692
0.3947
Table 5: Comparison of patch correspondence, FC, and EMA on ETTh1 and ETTm1, averaged over four prediction horizons.
PTA+FC
Index+FC
Local-OT+FC
Uniform+FC
NN+FC
FC only
Dataset
H
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
Weather
96
0.1498
0.2001
0.1508
0.2042
0.1503
0.2038
0.1507
0.2042
0.1509
0.2046
0.1517
0.2057
192
0.1923
0.2417
0.1967
0.2454
0.1940
0.2448
0.1964
0.2451
0.1976
0.2459
0.1991
0.2470
336
0.2469
0.2848
0.2513
0.2876
0.2494
0.2861
0.2515
0.2895
0.2520
0.2881
0.2527
0.2892
720
0.3152
0.3301
0.3197
0.3356
0.3184
0.3348
0.3193
0.3353
0.3204
0.3355
0.3216
0.3383
ETTh2
96
0.2840
0.3432
0.2895
0.3494
0.2867
0.3475
0.2882
0.3486
0.2901
0.3507
0.2915
0.3513
Table 6: Comparison of patch correspondence strategies on Weather and ETTh2 across four forecasting horizons.
ETTh1
ETTm1
Model Variant
MSE
MAE
MSE
MAE
w/o Gaussian Noise
0.4272
0.4409
0.3598
0.3876
w/o Soft Prompts
0.4119
0.4302
0.3516
0.3829
w/o Structural Anchor
0.4129
0.4300
0.3528
0.3835
Frozen WPE+LN
0.4156
0.4333
0.3577
0.3854
Full Model (CLAIR)
0.4094
0.4287
0.3493
0.3820
Table 7: Component ablation study evaluating the contributions of modules on ETTh1 and ETTm1 averaged over H .
Figure 3: Batch-averaged unconstrained PTA transport plans π at horizon H=96 on ETTh2 (left), ETTm1 (middle), and Weather (right). Rows and columns index student and teacher patches, respectively.
Figure 4: Transport mass fraction vs. temporal lag k=∣i−j∣ under the batch-averaged plan π on ETTh2.
H
E[∣i−j∣]
Unif. baseline
Band ∣i−j∣≤1
Band ≤8
96
19.19
21.33
0.097
0.326
192
18.94
21.33
0.100
0.331
336
18.95
21.33
0.101
0.331
720
18.85
21.33
0.104
0.334
Table 8: Locality metrics of the mean unconstrained PTA plan Πˉ on ETTh2, averaged over the first eight test windows (56 channel sequences) in evaluation mode.
Figure 5: Patch correspondence on the ETTh1 oil-temperature (OT) channel. (a) A 512-hour input window with highlighted patches. (b) Raw observations of student patch i=31 and teacher patch j⋆=34 . (c) Row-normalized transport weights p(j∣i=31) .
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
Tasks
Datasets
Dim.
Forecast Horizon
Dataset Size
Frequency
Long-term
Weather
21
{96,192,336,720}
(36792, 5271, 10540)
10 min
ETTh1
7
{96,192,336,720}
(8545, 2881, 2881)
1 hour
ETTh2
7
{96,192,336,720}
(8545, 2881, 2881)
1 hour
ETTm1
7
{96,192,336,720}
(34465, 11521, 11521)
15 min
ETTm2
7
{96,192,336,720}
(34465, 11521, 11521)
15 min
Electricity
321
{96,192,336,720}
(18317, 2633, 5261)
1 hour
Appendix
Table 9: Dataset statistics for long-term and short-term forecasting. Dataset size is reported as (training, validation, testing).
CLAIR
Time-LLM
S 2 IP-LLM
OFA
CALF
FSCA
SE-LLM
DLinear
iTransformer
PatchTST
Dataset
H
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
Weather
96
0.1498
0.2001
0.1663
0.2200
0.1506
0.2011
0.1498
0.2020
0.1571
0.2071
0.1492
0.2025
0.1521
0.2013
0.1704
0.2298
0.1708
0.2212
0.1551
0.2123
192
0.1923
0.2417
0.2024
0.2501
0.1941
0.2426
0.1944
0.2429
0.2036
0.2494
0.1935
0.2422
0.1977
0.2448
0.2140
0.2719
0.2118
0.2564
0.2122
0.2636
336
0.2469
0.2848
0.2500
0.2855
0.2450
0.2810
0.2482
0.2848
0.2523
0.2873
0.2474
0.2856
0.2505
0.2854
0.2596
0.3112
0.2604
0.2933
0.2486
0.2857
720
0.3152
0.3301
0.3197
0.3338
0.3237
0.3383
0.3216
0.3369
0.3322
0.3437
0.3221
0.3407
0.3251
0.3387
0.3225
0.3634
0.3341
0.3391
0.3192
0.3378
ETTh1
96
0.3695
0.3982
0.4136
0.4292
0.3711
0.4007
0.3833
0.4049
0.3863
0.4135
0.3755
0.3997
0.3783
0.4058
0.3682
0.3981
0.3981
0.4227
0.3834
0.4122
Appendix
Table 10: Multivariate long-term forecasting results (MSE / MAE) under full training (100%).
CLAIR
Time-LLM
S 2 IP-LLM
OFA
CALF
FSCA
SE-LLM
DLinear
iTransformer
PatchTST
Dataset
H
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
Weather
96
0.1626
0.2176
0.1623
0.2144
0.1676
0.2226
0.1650
0.2155
0.1808
0.2319
0.1684
0.2227
0.1716
0.2189
0.1750
0.2335
0.1934
0.2446
0.1739
0.2223
192
0.2085
0.2577
0.2256
0.2731
0.2107
0.2604
0.2155
0.2599
0.2304
0.2747
0.2134
0.2600
0.2142
0.2579
0.2147
0.2672
0.2489
0.2893
0.2327
0.2783
336
0.2566
0.2915
0.2759
0.3118
0.2584
0.2917
0.2666
0.3000
0.2779
0.3126
0.2614
0.2981
0.2699
0.3031
0.2579
0.3036
0.2975
0.3288
0.2704
0.3066
720
0.3212
0.3394
0.3325
0.3504
0.3247
0.3402
0.3248
0.3416
0.3401
0.3555
0.3267
0.3452
0.3489
0.3576
0.3202
0.3534
0.4175
0.4027
0.3346
0.3498
ETTh1
96
0.4503
0.4407
0.5204
0.4903
0.5936
0.5230
0.4582
0.4591
0.5457
0.5153
0.4669
0.4663
0.4831
0.4600
0.4508
0.4530
0.5952
0.5270
0.5631
0.5158
Appendix
Table 11: Few-shot forecasting results with 10% training data (MSE / MAE).
CLAIR
Time-LLM
S 2 IP-LLM
OFA
CALF
FSCA
SE-LLM
DLinear
iTransformer
PatchTST
Dataset
H
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
MSE
MAE
Weather
96
0.1798
0.2381
0.1775
0.2310
0.1884
0.2423
0.1855
0.2349
0.1870
0.2412
0.1841
0.2338
0.1917
0.2439
0.1922
0.2598
0.2088
0.2617
0.1854
0.2390
192
0.2290
0.2796
0.2617
0.2958
0.2438
0.2969
0.2377
0.2870
0.2401
0.2867
0.2322
0.2824
0.2389
0.2843
0.2413
0.3019
0.2569
0.3015
0.2492
0.2917
336
0.2896
0.3284
0.2970
0.3268
0.3289
0.3531
0.2921
0.3309
0.2949
0.3288
0.2913
0.3302
0.3043
0.3296
0.2928
0.3418
0.3138
0.3480
0.3108
0.3437
720
0.3582
0.3723
0.3748
0.3850
0.4061
0.4053
0.3728
0.3827
0.3814
0.3883
0.3605
0.3756
0.3629
0.3770
0.3632
0.3945
0.3875
0.3978
0.3928
0.3975
ETTh1
96
0.6033
0.5157
0.7049
0.5613
0.8031
0.5903
0.6220
0.5297
0.6659
0.5519
0.6313
0.5496
0.6403
0.5528
0.5565
0.5057
0.7338
0.5789
0.6462
0.5551
Appendix
Table 12: Few-shot forecasting results with 5% training data (MSE / MAE).
CLAIR
Time-LLM
S 2 IP-LLM
OFA
CALF
FSCA
SE-LLM
DLinear
iTransformer
PatchTST
Yearly
SMAPE
13.764
13.721
13.899
14.368
13.488
13.413
13.675
14.358
14.282
13.664
MASE
3.161
3.036
3.093
3.397
3.043
3.009
3.140
3.128
3.202
3.086
OWA
0.819
0.802
0.814
0.867
0.796
0.789
0.813
0.833
0.840
0.806
Quarterly
SMAPE
10.116
10.861
10.545
10.444
10.697
10.213
10.191
10.500
10.740
10.916
MASE
1.178
1.293
1.239
1.237
1.233
1.227
1.193
1.239
1.280
1.289
OWA
0.889
0.965
0.931
0.925
0.935
0.911
0.898
0.929
0.954
0.966
Appendix
Table 13: Short-term forecasting results on the M4 dataset (SMAPE / MASE / OWA).
Figure 6: Sensitivity of ETTh1 MSE to seven hyperparameters. Top row, from left to right: PTA ϵ , PTA iterations, number of prompt tokens, and number of scales in the structural anchor. Bottom row, from left to right: EMA momentum μ , λFC , and λPTA . Vertical dashed lines mark the selected values.
Figure 7: Reference stability and patch-level alignment during training. (a) Reference drift on a fixed validation batch. (b) Student–reference PTA cost. Lower values indicate a more stable reference and better patch-level alignment, respectively.
Figure 8: Noise sensitivity of student and EMA teacher predictions. Prediction drift MSE is measured between clean-input and noisy-input predictions across forecasting horizons. Lower values indicate stronger output stability under input perturbations.
Figure 9: Mean transport plans on ETTh2 at forecast horizon H=96 under three alignment settings: unconstrained (left), soft temporal (middle), and hard-window (right). All panels are computed on the first test window used in Table 14 . The unconstrained panel therefore differs from the multi-window mean plan in Figure 3 .
Figure 10: ETTh2: Post-hoc expected transport lag Eπ[∣i−j∣] for unconstrained PTA, soft temporal penalty ( Cijsoft=Cij+λ∣i−j∣2 ), and hard local window ( ∣i−j∣≤8 ). Bars follow the post-hoc protocol of Table 14 (first test window). Unconstrained values therefore differ slightly from Table 8 .
OT variant
E[∣i−j∣]
Diag. mass
Unconstrained
19.36
0.048
Soft +0.05∣i−j∣2
0.52
0.562
Hard ∣i−j∣≤8
3.48
0.147
Appendix
Table 14: ETTh2: post-hoc constrained OT locality at H=96 (other horizons are similar). All three rows are recomputed from the cost matrices of the first test window (7 channel sequences) in evaluation mode, using the same protocol as Figures 9 and 10 .
Method
ETTh1/h2
ETTm1/m2
ECL
Weather
Time-LLM
55.41
55.50
55.41
55.41
S 2 IP-LLM
57.04
58.50
57.04
57.04
OFA
17.33
9.34
17.33
17.33
CALF
18.53
18.53
18.53
18.53
FSCA
31.75
35.60
31.32
30.33
SE-LLM
97.33
97.33
100.31
98.61
Appendix
Table 15: Trainable parameters (in millions) averaged over prediction horizons H∈{96,192,336,720} .
Figure 11: Parameter composition at H=96 on ETTm1. Training retains trainable student parameters (red), frozen GPT-2 weights (blue), and a separate EMA teacher copy (orange). At inference, the teacher is discarded and only the student is retained (green).
Setting
Latency
Peak GPU
Rel. latency
Student-only
4.39 ms
0.46 GB
1.00×
Eval w/ teacher
10.32 ms
0.76 GB
2.35×
Appendix
Table 16: Inference cost on ETTm1. Student-only deploy discards teacher weights. “Eval w/ teacher” is the previous eval path that still ran the teacher and Sinkhorn.
Figure 12: Student-only inference latency versus forecast horizon on ETTm1 (batch 1 ). Variation is small relative to the backbone cost.
Setting
ms/iter
Peak GPU
Rel. time / mem
CLAIR Full
1107.7
35.73 GB
1.44× / 1.24×
Student Base
771.4
28.92 GB
1.00× / 1.00×
Appendix
Table 17: Training cost on ETTm1. Relative columns are vs. the student-only Base step.
Figure 13: Top: Per-iteration runtime breakdown at batch size 128 on ETTm1. Train-Full includes the teacher forward pass, Sinkhorn computation, and EMA update, while the teacher forward pass is also retained in the teacher-based evaluation path. Infer-student performs only a single student forward pass. Bottom: Peak GPU memory usage across training and inference configurations. Infer-deploy removes the teacher modules after training.
Figure 14: Left: ETTm1 mean MSE versus trainable parameters for LLM-TS baselines and CLAIR. Right: Measured Full versus Base training-time ratio; inference uses the student only in both cases.
Dataset
Baseline
H
CLAIR MSE ± SD
Baseline MSE ± SD
Δ MSE [95% CI]
Weather
FSCA
96
0.1498±0.00121
0.1492±0.00090
−0.0006[−0.0031,0.0019]
192
0.1923±0.00044
0.1935±0.00089
0.0012[−0.0007,0.0031]
336
0.2469±0.00050
0.2474±0.00188
0.0005[−0.0038,0.0048]
720
0.3152±0.00058
0.3221±0.00081
0.0069[0.0052,0.0086]
ETTh2
FSCA
96
0.2840±0.00055
0.2886±0.00168
0.0046[0.0009,0.0083]
192
0.3530±0.00060
0.3571±0.00010
0.0041[0.0027,0.0055]
Appendix
Table 18: Run-to-run variability and approximate 95% confidence intervals for selected long-term forecasting comparisons.
Time series forecasting predicts future values from ordered observations using statistical, neural, and probabilistic models to support decisions under uncertainty.
Adapting pretrained Large Language Models (LLMs) for time series forecasting primarily relies on token-level linguistic-temporal alignment, leading to the stacking of logically disjointed tokens as input. While empirically effective, these methods overlook a fundamental capability of LLMs: modeling linguistic logic and structure, rather than merely processing token features. To address this limitation, we propose the Markovian-Guided Structure-Aware Alignment (MGSAA). Our core contribution is a framework that transcends pointwise feature matching to achieve global structural isomorphism between the linguistic and temporal domains. Specifically, MGSAA distills latent evolutionary patterns of language within LLMs into a Markovian state transition graph, which is transferred as a structural prior to the time series domain. Under this prior, time series patches are decoded into latent states and then aligned via state-constrained cross-attention. Ultimately, MGSAA generates a token sequence topologically isomorphic to the LLM's inherent mental structure, reactivating its reasoning capabilities for forecasting. Comprehensive evaluations across multiple benchmarks demonstrate that MGSAA achieves state-of-the-art performance, providing an innovative solution for cross-modal alignment in LLM for time series forecasting. Code is available at https://github.com/sunzju/MGSAA.
Time-series language models typically align numerical signals with language using labels, captions, or question-answer pairs, without explicitly requiring their representations to preserve how the underlying signals evolve. We introduce forecast grounding, a pretraining principle that requires language-aligned time-series representations to remain predictive of the future evolution before they are adapted to downstream tasks. We instantiate this principle in Lotus, which divides each time-series channel into non-overlapping patches and maps them into the LLM embedding space. It then predicts the next patch from the LLM hidden states of the time-series tokens, encouraging the learned representation to retain temporal information. To capture both temporal changes and periodic patterns, we also propose a temporal-spectral patch representation that combines each raw time-series patch with its spectral representation before mapping it into the LLM embedding space. Across three language model backbones and six downstream evaluation datasets, Lotus achieves the best average performance with minimal trainable parameters, reaching 59.91% accuracy and outperforming the strongest matched baseline by 3.36%. Our representation analyses further show that Lotus uses the numerical input and preserves temporal structure in its learned patch representations. These results establish forecast grounding as a promising pretraining principle, enabling compact time-series language models to outperform models 25-50 times their size on TSRBench. Our code is publicly available at https://github.com/DA2I2-SLM/Lotus
Van Dai Do, Huu Hiep Nguyen, Minh Hoang Nguyen +2
Deakin’s Applied Artificial Intelligence Initiative, Australia
Recent advances in Large Language Models (LLMs) have spurred cross-modal solutions for time-series forecasting. However, existing methods rely heavily on textual prompts for modality alignment-introducing nontrivial computational overhead and failing to leverage the rich spectral dynamics inherent in time-series data. To enable prompt-free, frequency-aware adaptation of frozen LLMs, we propose FM-LLM (Frequency-Enhanced Mixture-of-Experts for adapting LLMs to Time Series Forecasting), an autoregressive framework grounded in constrained asymmetric coupling. A Fourier Analysis Network (FAN)-based spectral token aligner injects structured harmonic representations directly into the frozen LLM with numerical compatibility. An asymmetric Mixture-of-Experts (MoE) decoder enforces role separation: shared experts with lightweight FAN layers reconstruct the global periodic backbone, while routed experts-restricted to standard FFNs-specialize in modeling non-periodic residual dynamics. A time-frequency hybrid loss function jointly optimizes temporal accuracy and spectral consistency, mitigating error accumulation during long-horizon autoregressive rollouts. Evaluated across eleven public benchmarks, FM-LLM achieves state-of-the-art performance on 59 out of 78 evaluation metrics. Compared to the strongest autoregressive LLM-based baseline, it delivers average improvements of 5.3% in MSE and 5.6% in MAE, with maximum gains reaching 8.0% for MSE and 8.4% for MAE. FM-LLM also demonstrates robust transferability, maintaining superior performance in 10% few-shot and zero-shot forecasting scenarios.
Rentao Gu, Yihang Ding, Junjie Li +5
Beijing University of Posts and Telecommunications, Beijing, 100876, China · China Telecom Research Institute, Beijing, 100032, China