acceptodds
Published as a conference paper at NeurIPS 2026

From Retrieval to Recognition: Knowledge-Enhanced Foundation Models for Time Series Classification

Zhen Liu, Yucheng Wang, Yingpeng Du, Tianjun Wei, Qianli Ma, Min Wu, Jie Zhang, Zhu Sun

Abstract

Time series foundation models (TSFMs) have achieved notable progress in classification tasks through large-scale pretraining. However, existing methods rely on implicit parameter fine-tuning, where task-relevant information is entangled with abundant irrelevant knowledge in vast parameter spaces. This may hinder TSFMs from precisely activating useful knowledge for downstream classification. To this end, we propose REKIN, a plug-and-play knowledge-enhanced framework for time series classification built upon pretrained TSFMs within a retrieval-to-recognition paradigm. Unlike traditional parameter-only approaches, REKIN introduces a decoupled query encoder to extract discriminative patterns and retrieve instance-level numerical knowledge from a constructed knowledge base. The retrieved explicit knowledge is then fused with the TSFM’s implicit parametric embeddings, enabling joint knowledge transfer at both the parameter and feature levels. In this way, REKIN allows TSFMs to recall task-relevant patterns learned during pretraining, improving the efficiency of knowledge utilization in downstream transfer. Experiments on 158 time series datasets show that REKIN consistently improves the classification performance of state-of-the-art TSFMs. Ablation and knowledge-enhanced studies further validate the effectiveness of the proposed framework.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_R9m9OpenReview ↗
Rating
4
Clarity
2
Confidence
4
Originality
2
Quality
3
Significance
3
Read review
Summary

This paper proposes a plug-and-play framework called REKIN, aiming to improve the performance of pre-trained Time Series Foundation Models (TSFMs) on Time Series Classification (TSC) tasks through retrieval enhancement. Existing TSFMs rely solely on implicit parameter-level knowledge transfer (i.e., fine-tuning model weights) when fine-tuning downstream tasks, while the rich, explicit numerical pattern information contained in the pre-training data remains unutilized. To address this issue, REKIN introduces a "retrieval-recognition" paradigm, comprising three modules: Knowledge Extraction, Knowledge Retrieval, and Knowledge Enhancement. Experiments were conducted on 128 UCR datasets and 30 additional datasets.

Strengths and weaknesses

Strengths:

1. Plug-and-play compatibility: REKIN does not require re-pretraining TSFMs; it operates as an external retrieval-augmented module that can be integrated with existing foundation models such as NuTime, Mantis, and UniShape. The framework is structurally complete, comprising a query encoder, Faiss-based retrieval, Top-K aggregation, and gated fusion.

Extensive experimental coverage: The paper evaluates REKIN on 128 UCR datasets for supervised classification and on 30 additional datasets for zero-shot feature extraction, providing a broad empirical foundation.


Weaknesses: 1. Potential data leakage in the knowledge base: The knowledge base is constructed from the pretraining data of NuTime, Mantis, and UniShape, which includes training splits from UCR, UEA, and other time series datasets. Since the main experiments are conducted on the same UCR datasets, there is a risk that the knowledge base contains training samples from the target datasets, or even instances that are closely distributed with the test splits. While using the target training set in supervised learning is not inherently problematic, the paper frames this mechanism as "pretraining knowledge reuse" or "external numerical knowledge." Without a leave-target-dataset-out control, it remains unclear whether the performance gains stem from genuine cross-domain pretraining knowledge or from nearest-neighbor retrieval over the target dataset's own training samples.

The authors should clarify whether, for each target UCR dataset, all samples from that dataset were removed from the knowledge base. If not, a leave-one-dataset-out retrieval experiment (or an exclude-target-dataset knowledge base) is necessary to substantiate the claims.

2. Fairness of baseline comparisons: The paper reports that a validation set was used for gradient-free backbone selection and that an ensemble strategy was adopted to improve generalization. It is essential to clarify whether all supervised baselines were afforded the same level of validation-based tuning, the same ensemble configuration, and comparable training budgets. If REKIN benefits from stronger model selection or ensembling while baselines use standard configurations, the reported average rank improvement may be partly attributed to additional tuning overhead.

3. Novelty relative to existing retrieval-augmented work: Retrieval-augmented paradigms have been extensively explored in time series forecasting (e.g., retrieval-augmented forecasting, TS-RAG, TimerAF), as well as in nearest-neighbor retrieval and fixed-feature extraction methods such as Rocket/MiniRocket. The primary novelty of REKIN lies in tailoring the query encoder for time series classification and integrating retrieved numerical embeddings with TSFM class tokens. While this combination has practical value and demonstrates empirical effectiveness, it does not constitute a fundamentally new paradigm.

Questions

Please See Weaknesses.

Limitations

Yes.

Paper formatting concerns

NO.

Final justification

Thank you very much for your detailed responses to my concerns. I still keep my original score.

1 comment

Thank you very much for the constructive review. We report target-exclusion controls (W1), clarify the common protocol (W2), and scope our claim to post-training (W3).

W1. Potential target-data leakage in the knowledge base

Response. No target UCR test sample or label is used in pretraining, knowledge-base construction, selection, or training. The 1.89 million source pool contains only training splits from UCR, UEA, and other datasets. The default 100,000 class-balanced knowledge base excludes classes with <50 samples and downsamples those with >1,000. Analyzing all 128 UCR default training sets gives:

GroupCondition#Datasets
No class reaches 50max < 5072
Partly eligiblemin < 50 <= max14
All classes eligiblemin >= 5042

For those 72 datasets, retrieval is strictly cross-dataset, but the knowledge base is not fully target-dataset-excluded: a target class above the threshold may enter it.

  • Calling all retrieved content "external" was imprecise: this is reuse of target training samples, not test-set leakage, and base labels never reach the classifier.

We analyze this from three points:

(1) Keeping all 128 target training sets in the knowledge base degrades REKIN

Table 4 in the main text reports:

knowledge base settingAvg. RankWin
100K balanced2.338
100K random3.175
100K unbalanced6.502
Full 1.89M pool4.175

The full 1.89M pool includes all 128 target training sets yet ranks below the balanced subset dropping 72, showing that more target-training data does not improve performance.

(2) REKIN still improves significantly on the 72 excluded-target UCR datasets

We recomputed the submitted 20-method comparison (Table 1) on these 72 datasets:

Pair (base -> REKIN)Rank (all 20)Pair Win/Tie/Loss (total 72)p-value
NuTime9.86 -> 7.6040/15/174.7E-05
Mantis7.10 -> 5.4344/11/173.7E-04
UniShape4.75 -> 3.0041/16/159.8E-04

These clean-subset gains exceed those on all 128 datasets, indicating that REKIN’s gains do not depend on target-dataset training samples.

(3) Rebuilding the base to exclude target UCR training samples

We also built a conservative 100, 000 KD381 knowledge base from 18 UCR datasets (Table 4), with 9 drawn from the 72 excluded target datasets. All classes in the 18 UCR datasets contain fewer than 381 training samples (max: 378), excluding same-name target classes. Source-class coverage drops from 419 to 139.

BackboneWin/Tie/Loss vs. default (total 18)Acc. changePairwise rankp-value
REKIN-Mantis7/4/7-0.257 pp1.50 / 1.500.4703
REKIN-UniShape7/4/7-0.400 pp1.50 / 1.500.3304

Excluding every same-name target class changes neither model significantly. The small decrease matches the reduced class diversity seen above.

  • KD381 is a threshold-based target-class exclusion, not strict provenance-aware leave-one-dataset-out, because the official 1.89M pool lacks dataset provenance, making per-target knowledge base construction infeasible.

Overall, REKIN's gains do not mainly come from retrieving target-dataset training samples, and our results remain consistent with pretraining knowledge reuse or external numerical knowledge. Also, when large-scale time series pretraining datasets were unavailable, self-supervised pretraining on only the target training split was a common option (e.g., TST [1], TS2Vec [2], SimMTM [3]); the test split stays untouched there and here.

W2. Fairness of baseline comparisons

Response. The 17 baselines and three REKIN variants share the same protocol:

  • All runs use one server (2x RTX A6000, Ubuntu 20.04.3, Python 3.9, PyTorch 1.12; Appendix A.3).
  • Five-model ensembling is the protocol, not a REKIN advantage: UCR has no validation split, so InceptionTime introduced it to mitigate selecting on training loss alone; NuTime and UniShape adopt it.
GroupValidation tuningEnsemble & budget
Non-deep learning (Rocket, MiniRocket, RDST, MR-H, HC-2)none (gradient-free; no weight selection)single model, official protocol; HC-2 is itself a 4-family, ~30-algorithm ensemble
Supervised deep learning (InceptionTime, TS2Vec, PatchTST, TimesNet, SoftShape)same split5 models, official hyperparameters
MambaSLsame splitsingle (5-model ensembling hurt it), official hyperparameters
TSFMs (GPT4TS, MOMENT, UniTS, NuTime, Mantis, UniShape) + REKINsame split5 models, official hyperparameters

The six TSFMs and six supervised methods use the same split for hyperparameter selection. All use the official UCR train/test splits; trained deep models select weights by minimum training loss.

W3. Novelty relative to TS-RAG, TimeRAF, and Rocket-family methods

Response. Retrieval augmentation, nearest-neighbour retrieval and Rocket features are not ours; our claim covers only post-training knowledge transfer.

  • We claim no new foundation model, or pretraining objective, only the post-training knowledge-transfer stage (Fig. 1(b)->(c)): existing models transfer knowledge only through weights; REKIN adds an explicit non-parametric path trained jointly with it.
  • Post-training of TSFMs gets little attention [4]; we see REKIN as a new post-training paradigm of time series foudantion models for classificaiton. We will retitle and rewrite the abstract and contributions.

Our response has three parts:

(1) REKIN, TS-RAG and TimeRAF use retrieval for different goals

They differ on every axis:

AxisTS-RAG / TimeRAFREKIN
Taskforecasting (mainly for zero-shot)classification: fine-tuning, zero-shot, continual learning
Retrieval targetrecent-window similarityclass-discriminative subsequences, amplitude/offset-invariant
Fused withforecasting hidden statesclass token via gated residual
Supervisionforecasting objectiveclassification loss

On paradigms. TS-RAG and TimeRAF themselves moved retrieval augmentation from the NLP field to forecasting; cross-task transfer counts when the redesign is non-trivial. Ours is: retrieval target, query representation (length-independent, cross-domain comparable) and fusion all changed, and a forecasting retriever on the same base does not close the task gap.

(2) Forecasting retrieval does not transfer to classification

  • The two retrieval problems differ (see above).
  • PatchTST illustrates this: strong on forecasting, yet Table 1 and Figure 3a rank it last of the 20 methods on 128 UCR.
  • We evaluated TS-RAG under supervised classification on the same 18 UCR datasets as Table 4; the final version covers all 128 datasets.
MethodAvg. RankWinp-value vs. TS-RAG
TS-RAG2.6672–
REKIN-Mantis1.75090.0174
REKIN-UniShape1.583120.0044

Same base and protocol; only retrieval target and fusion differ. TS-RAG wins 2/18 against either variant (2 ties, 14 losses); zero-shot on 30 additional datasets agrees (see Table 5 in the main text), TS-RAG 3.97/5 wins versus REKIN 1.73/21 (p=1.94E-05).

REKIN also cuts continual-learning forgetting (Table 6: 0.4767 -> 0.1825, first task pair), a memory-level benefit beyond accuracy tuning; these support a classification-specific post-training paradigm, not a new retrieval principle.

(3) The gain comes from joint numerical and parameter fine-tuning, not Rocket-family features

Rocket-based methods are strong baselines, but the controls show that they do not explain REKIN’s gains. In Table 1, Rocket/MiniRocket rank 7.30/7.38 (MR-H: 5.99), below UniShape (4.30) and REKIN-UniShape (2.94). We compare each standalone method with the same query-only backbone, removing parameter transfer and retrieval, on all 128 datasets:

BackboneStandalone: Avg. ACC / Win / Avg. RankQuery-only: Avg. ACC / Win / Avg. RankΔACC
Rocket0.8487 / 105 / 1.2230.8096 / 34 / 1.777−3.91 pp
MiniRocket0.8545 / 97 / 1.3050.8305 / 47 / 1.695−2.40 pp
MultiRocket0.8611 / 97 / 1.3010.8378 / 46 / 1.699−2.33 pp

Query-only variants are 2.33-3.91 accuracy points worse, so standalone strength is not inherited: those models use full random-kernel (more than 10,000) spaces with RidgeClassifierCV (Rocket 20,000-d; MiniRocket 9,996-d; MultiRocket 50,000-dimensional features), whereas Eq. 6 projects them into a low-dimensional query for 100K knowledge-base retrieval, trading some accuracy for millisecond retrieval.

Table 3 isolates all pathways in one pool:

Setting (128 UCR)Avg. ACCAvg. RankWin
Full REKIN-UniShape0.88021.4886
w/o param. transfer, MultiRocket, w/o retrieval0.83784.0618
w/o param. transfer, frozen UniShape, w/o retrieval0.83814.5213
w/o param. transfer, MiniRocket, w/o retrieval0.83055.0911
w/o param. transfer, Rocket, w/o retrieval0.80965.918

All query-only variants underperform Full REKIN-UniShape with numerical and parameter transfer, and frozen UniShape matches Rocket-family features, so REKIN is not Rocket-dependent. The full model reaches 0.8802/1.48: parameter knowledge is primary, retrieval complements it, neither alone explains it.

Revision. We will add these supplementary results and discussions to the final version.

References

[1] A transformer-based framework for multivariate time series representation learning. KDD, 2021.

[2] TS2Vec: Towards universal representation of time series. AAAI, 2022.

[3] SimMTM: A simple pre-training framework for masked time-series modeling. NeurIPS, 2023.

[4] SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training. ICML, 2025.

Reviewer_XZuuOpenReview ↗
Rating
4
Clarity
3
Confidence
5
Originality
3
Quality
3
Significance
2
Read review
Summary

This work improves time series classification by enhancing pretrained time series foundation models with retrieval-based external knowledge. The proposed REKIN framework constructs a knowledge base from pretraining time series data, extracts local, global, and positional features, retrieves relevant numerical patterns using an efficient retrieval mechanism, and fuses the retrieved representation with the class-token embedding from a pretrained TSFM. Experiments on large-scale TSC benchmarks show strong empirical performance and consistent improvements over several foundation-model and non-foundation-model baselines.

Strengths and weaknesses

Strengths.

  1. The whole framework desgin is reasonable. The knowledge-base construction is not purely raw-instance retrieval: the authors incorporate hand-designed time-series features such as local envelope information, multi-scale downsampled global patterns, turning-point density, and positional peak information.
  2. The experimental evaluation is extensive, the UCR-128 dataset and additional datasets, and the results are consistently strong.

Weekness.

  1. Although the results are good, the method appears incremental relative to recent retrieval-based time series methods, especially TS-RAG-style approaches. The main changes are mostly engineering refinements: adding task-specific handcrafted features during knowledge-base construction, using a more efficient retrieval strategy, and replacing simple concatenation with gated fusion. These are useful improvements, but they do not seem to provide a fundamentally new direction for foundation model research.
  2. The ablation study does provide evidence that feature-level retrieval and the retrieval module contribute to the final performance. However, the comparison with other retrieval-based baselines may still be unfair, because REKIN relies on strong query-encoder backbones such as MiniRocket or other Rocket-family feature extractors, which are already highly competitive for time series classification. Therefore, when comparing against other baseline methods, it is unclear whether the performance gap comes from the proposed retrieval and fusion design, or from using a stronger retrieval feature extractor and backbone configuration.
  3. Another concern is that the title and framing may be misleading. The paper presents itself as a knowledge-enhanced foundation model, but it does not propose a new foundation model. Instead, it applies retrieval augmentation on top of existing pretrained TSFMs to improve time series classification. In my view, foundation model research should more directly advance zero-shot learning, cross-task generalization, cross-domain transfer, or scalable pretraining principles. This paper mainly improves one downstream task, TSC, by adding retrieval to existing models, so the title should be reconsidered to avoid overstating the contribution.

This submission is empirically strong and practically useful, but methodologically incremental.

Questions

See the weekness.

Limitations

N/A

Paper formatting concerns

N/A

1 comment

Thank you very much for the careful review. For W1, we additionally evaluated TS-RAG under supervised classification fine-tuning. For W2, we used controlled results to isolate the query encoder. For W3, we agree that the title and framing should state the scope more precisely.

W1. The method is incremental relative to TS-RAG-style retrieval and offers no new direction for foundation model research

Response. REKIN's contribution is a retrieval-enhanced post-training paradigm for time series foundation models in classification, rather than as a variant or extension of TS-RAG.

  • We do not claim retrieval is new for time series analysis; TS-RAG established it for forecasting. We also propose no new foundation model, pretraining objective, or pretraining framework.
  • Time series foundation models generally have two stages: pre-training (Figure 1a) and post-training (Figures 1b and 1c). Prior work targets the first and reduces the second to plain parameter fine-tuning (Figure 1b). Yet post-training is an established axis of foundation model research [1].
  • REKIN targets that gap: at fine-tuning time the model re-accesses the corpus that pretraining compressed into its weights (Figure 1b to 1c).

We compare REKIN with TS-RAG and clarify the foundation model's contribution in three aspects:

(1) REKIN and TS-RAG solve different retrieval problems

  • Transferring a paradigm across tasks is itself a valid contribution: TS-RAG moved retrieval augmentation from natural language processing to forecasting, and the community accepts such work.
  • Moving it to classification is not direct reuse. We redesigned the retrieval target (class discrimination, not trend extrapolation), the query representation (length-independent, cross-domain comparable), and the fusion (gated residual with the class token, not concatenation).

TS-RAG versus REKIN by design axis:

TS-RAG (forecasting)REKIN (classification)
Retrieval targetrecent history windows for extrapolationclass-discriminative subsequences, fixed window
Invariancetrend and level continuationamplitude and offset invariance
Query spacethe model's own token space (coupled)fully decoupled query encoder
Coveragemainly zero-shotsupervised (Table 1), zero-shot (Table 2), continual fine-tuing (Table 6)

They share the word "retrieval", and forecasting designs do not port by swapping a classification head: PatchTST is robust for forecasting yet ranks last of all 20 methods in Table 1 (17.29) for classification tasks. Decoupling lets one framework plug into three time series foundation models with consistent gains (Avg. Rank, Table 1: NuTime 9.74 to 7.52, Mantis 7.71 to 5.95, UniShape 4.30 to 2.94).

(2) Directly adapting TS-RAG to time series classification leaves a substantial gap

The submitted Table 2 adapts TS-RAG to our zero-shot feature extraction protocol, with its knowledge base built as for REKIN.

Zero-shot feature extraction using 12 baselines, 30 additional datasets (see Table 2 in the main text):

MethodAvg. RankWinP-value vs. REKIN
TS-RAG3.9751.94E-05
REKIN1.7321-

The zero-shot results indicate that TS-RAG substantially underperforms REKIN on classification.

We also adapted TS-RAG to supervised classification, using the same 100,000-sample knowledge base and the same 18 representative UCR datasets as the submitted Table 4. New TS-RAG results with supervised fine-tuning on 18 representative UCR datasets are as follows. Results on all 128 UCR datasets will be included in the final version.

MethodAvg. AccuracyAvg. RankWinP-value vs. TS-RAG
TS-RAG0.83622.6672-
REKIN + Mantis0.84991.75090.0174
REKIN + UniShape0.86241.583120.0044

These results do not claim that each REKIN component is unprecedented. They show that forecasting-oriented retrieval is insufficient for classification, whereas classification-specific retrieval with numerical and parameter knowledge during post-training yields consistent gains.

(3) REKIN fine-tunes retrieved numerical knowledge jointly with model parameters; TS-RAG-style retrieval is zero-shot and not learnable

  • TS-RAG retrieves inside the forecasting model's own representation space (the Chronos token space), so retriever and model are hard to decouple and the use case stays zero-shot.
  • REKIN's query encoder is fully decoupled, so numerical and parametric knowledge are fine-tuned jointly, producing positive knowledge enhancement.
  • Table 5: all seven standard augmentations rank worse (4.33 to 5.50) than no augmentation (Raw, 2.39), so adding sample-level information to post-training is negative transfer by default. REKIN reaches 2.00.
  • Table 6: the same mechanism reduces forgetting under continual fine-tuning (0.4767 to 0.1825 on AsphaltRegularityUni_eq, and on all four dataset pairs), a memory-level effect that accuracy tuning would not produce.

In summary, REKIN is neither a new general-purpose foundation model nor the first use of time-series retrieval. It provide a new TSFM post-training framework that combines parametric memory with explicit numerical knowledge patterns for time series classification. We will add the new supervised TS-RAG results in Table 1 and clarify this position.

W2. The comparison may be unfair, because REKIN's query encoder uses strong Rocket-family extractors

Response. We agree that Rocket-family methods are strong supervised TSC baselines. Existing results, however, show that they do not explain REKIN's gains.

We discuss this in three points:

(1) In Table 1, Rocket-family baselines rank below parameter-only time series foundation model fine-tuning

Average rank in the same 20-method pool of Table 1 (lower is better):

Method (Table 1)Avg. Rank
MiniRocket (used by the query encoder)7.38
Rocket7.30
MR-H (best Rocket-family variant)5.99
UniShape (parameter transfer only)4.30
REKIN-UniShape2.94

MiniRocket's rank of 7.38 hardly explains the improvement from UniShape at 4.30 to REKIN-UniShape at 2.94.

(2) Used as a query encoder, the Rocket family becomes weaker, not stronger

Standalone Rocket-family classifiers use full random-kernel features (9,996–50K dims) with RidgeClassifierCV. REKIN compresses them into low-dimensional retrieval embeddings, trading some classification performance for millisecond retrieval over 100K samples. The following 128-UCR control removes TSFM parameter transfer and retrieval, isolating the query encoder:

ExtractorStandalone Avg. AccuracyQuery-only Avg. AccuracyDifference (pp)Standalone Win/Loss/Tie
Rocket0.84870.8096-3.9194/23/11
MiniRocket0.85450.8305-2.4081/31/16
MultiRocket0.86110.8378-2.3382/31/15

Every query-only variant is weaker than its standalone classifier. The control does not support the explanation that an unusually strong classifier is hidden in the query encoder.

(3) REKIN's gain is insensitive to the query encoder backbone

We add average accuracy to the query encoder ablations reported in Table 3:

Setting in Table 3Avg. AccuracyAvg. Rank ↓Win
REKIN-UniShape (full)0.88021.4886
w/o Parameter transfer: frozen UniShape0.83814.5213
w/o Parameter transfer: MultiRocket0.83784.0618
w/o Parameter transfer: MiniRocket0.83055.0911
w/o Parameter transfer: Rocket0.80965.918
  • Every query-only variant is at least 4 accuracy points below REKIN-UniShape (full), indicating that the query encoder complements rather than drives the gain.
  • A frozen UniShape backbone (0.8381) matches MultiRocket and beats MiniRocket, so REKIN is not Rocket-dependent.
  • Full REKIN (0.8802) exceeds parameter-only transfer and the best standalone Rocket-family method (MultiRocket, 0.8611) — the joint numerical and parametric fine-tuning claimed in Figure 1c.

Parameter knowledge is therefore the primary source, and retrieval adds complementary evidence; neither alone explains the result. Thus, REKIN's gain mainly comes from jointly fine-tuning retrieved numerical knowledge and TSFM parameters (Fig. 1c). The query encoder alone yields limited accuracy. We will state this in the revision.

W3. The title and framing overstate the contribution: no new foundation model is proposed

Response. We agree. We do not propose a new foundation model, and the current title can be read as claiming one. We revise it to:

From Retrieval to Recognition: Knowledge-Enhanced Post-training of Time Series Foundation Models for Classification

"Post-training of" changes the claim from building a foundation model to improving how pretrained models are used. The revision will:

  • recast the abstract as a post-training knowledge transfer framework for pretrained models;
  • rewrite the introduction so the Figure 1(a)-(b)-(c) narrative places our contribution at (b) to (c);
  • rephrase the contribution bullets to remove any implication of new pretraining;

Post-training is an established part of foundation-model research [1], but is less explored for time series foundation models. Our evaluation includes transfer from a multi-domain pretraining knowledge base (Table 1), zero-shot feature extraction on 30 additional datasets without gradient updates (Table 2), and continual cross-dataset fine-tuning (Table 6). Our primary scope remains downstream time series classification tasks, and the title and framing should say so directly.

Revision. We will include these additional results and discussions in the final version.

References

[1] SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training. ICML, 2025.

Reviewer_d4oHOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
4
Significance
4
Read review
Summary

The paper proposed a framework for time-series foundation models (TSFM) for classification tasks. The framework is agnostic to the TSFM and three different are tested. Their core idea is illustrated in Figure 2. The framework consist of a knowledge extraction module, a knowledge retrieval module, and knowledge enhancement module. The paper does not in itself develop a new TSFM but setups an architecture on how to utilize TSFMs more efficiently for new downstream tasks. The framework is tested on the UCR datasets and 30 additional datasets. The results produced are very convincing as the REKIN method achieves the overall best ranked performance of the tested.

Strengths and weaknesses

I think this is overall a strong paper, with not many weaknesses or improvements that should be made.

Strengths

  • The paper is well written and easy to follow in most places (see questions).
  • The idea makes sense and is novel (alibiet a bit incremental but that is how most ideas are). Figure 1 nicely illustrates the novelty.
  • The results are very convincing, and tested on a significant number of datasets, and on three TSFMs.
  • The idea is agnostic to the TSFM meaning the proposed architecture is widely applicable.

Weaknesses

  • The abbreviation of the method doesn't really make sense, with using letters and seemingly random places. Perhaps you can think of a better shortname.
  • The paper only considers univariate time-series, many use-cases are multivariate.
  • For other weaknesses, see the questions.

Minor suggestions/corrections

In Fig 2: maybe highlight all z_aug as is done with Z_g. At least I didn't spot Z_aug at first reading. Additionally, consider adding the D_k and D_t symbols.

Eq 2, the maximization is over tt but tt does not appear in objective

Eq 4, as I understand the equation, tpt_p is a scalar, which means you can simply write \cdot instead of \odot

L169: should the \subset be an \in ?

Fig 4 should have a different color scheme, the two class colors are hard to distinguish - especially on printouts.

The conclusion is more like a summary, it would be good to refer to the concrete findings, e.g the overall average rank, or win rate

Questions
  1. In sec 4.2 (L124-L129), you mention that the backbone in the knowledge extraction module is gradient free. Is that an important feature? I noticed that you use minirocket, which in principle could be optimized since the function would be differentiable (even though minirocket keeps the kernels fixed).

  2. Additionally, in L129-L130, you write "we design the knowledge extraction module to capture discriminative numerical information from three aspects: local patterns, global patterns, and positional patterns". Can you comment on why a CNN encoder with a sufficient receptive field is not good enough ?

  3. In Eq 3, you perform a downsampling. Is this a "proper" DSP downsampling, or rather decimation ? Also, it is a bit unclear to me how the encoder copes with different lengths of signals. From my understanding, the encoder used in the extraction module must then be able to handle that.

  4. L153: did you consider using a FIR differentiator to be more robust to changes (the first order difference is is sensitive to outliers etc)?

  5. Eq 5, could you elaborate on why argmaxtx^t/Larg max_t \hat{\bf{x}}_t / L adding information? I assume you the index tt of the highest value of x^t\hat{\bf{x}}_t, but it is not clear to me why this is adding needed information

  6. In Eq 11, if we denote z′=∑k=1KwkzS,k\mathbf{z}'=\sum_{k=1}^K w_k \mathbf{z}_{S,k} could you elaborate why you need z′\mathbf{z}' and zq−z′\mathbf{z}_q-\mathbf{z}' instead of z′\mathbf{z}' and zq\mathbf{z}_q?

  7. Has there been adjusted for multiple hypothesis testing in Table 1?

  8. L250-252: This part is a bit confusing, you write that you evaluate a Random Forest classifier, and then later you write a RF classifier on the raw features. It seems to me that you then run 2 different RF setups, but in Table 2 there is only one RF. Also, how do you run the RF on the raw time-series ?

Limitations

Yes

Paper formatting concerns

None

Final justification

The authors answered all my questions, and I have more clarity and confidence in the final score now (which was already 5), so I have update the confidence to 4.

1 comment

Thank you very much for the constructive comments. We address the two weaknesses, eight questions, and minor suggestions below. For consistency with the submission, we keep the original model name REKIN in the discussion below.

W1. The method abbreviation is unintuitive and could be improved

Response. We agree, and will rename the method R2R (Retrieval-to-Recognition), where every letter is a word initial.

R2R matches the paper title and the paradigm in Figure 1(c).

W2. Only univariate time series are considered

Response. We agree that multivariate classification is important.

We therefore implemented an extension for REKIN-UniShape. Following the Linear channel-adapter setting in Appendix Table 12 of [1], we use the same ten UEA datasets. A trainable linear adapter maps each dataset-specific dd-channel input to ten mixed channels before the REKIN-UniShape pipeline. It handles heterogeneous counts and cross-channel mixing; per-channel query embeddings are averaged before retrieval to remain comparable with the univariate base. Both use the same adapter, backbone, ensemble, budget, and selection protocol.

10 UEA datasetsUniShape + adapterREKIN-UniShape + adapter
Average rank1.851.15
REKIN win / tie / loss-8 / 1 / 1
p-value-0.021

These results support this extension on the evaluated ten UEA datasets and validate the scalability of REKIN in multivariate settings.

Q1. Is the gradient-free backbone important?

Response. Yes: it enables efficient (millisecond-level) retrieval over a 100,000-sample knowledge base during fine-tuning.

  • Cost and consistency. A frozen ϕ(⋅)\phi(\cdot) lets us encode the knowledge base and build the index once, offline. A trainable (differentiable) one would leave every key stale after each optimizer step, forcing re-indexing every epoch, and would drift from the stored keys, breaking the metric space retrieval needs. Only ψ(⋅)\psi(\cdot) in Eq. (6) receives gradients, and it still adapts that space cheaply.
  • Rocket-family design. MiniRocket uses about 10,000 fixed convolutional kernels and RidgeClassifierCV, well suited to high-dimensional features. An end-to-end differentiable implementation would require optimizing all kernels, substantially increasing the training cost. This fixed kernels design choice reflects the authors' emphasis on computational efficiency rather than end-to-end optimization.

Q2. Why is a CNN encoder with a sufficient receptive field not enough?

Response. A large receptive field alone gives neither relative position across subsequences nor multiple temporal resolutions; our claim is not that convolutional encoders are inadequate.

  • Global pooling at the end of a convolutional encoder discards where a pattern occurs, however wide the kernel, and a wider kernel still works at the original sampling rate. Our positional term is an index, restoring what pooling removes, while multi-scale decimation gives coarser views at almost no cost for CNN encoder [2].
  • Table 3: under the same w/o Retrieval setting, removing ReMGP (multi-scale global and positional patterns) degrades the average rank on 128 UCR datasets from 5.09 to 5.58, supporting our design.

Q3. Decimation or downsampling, and variable lengths

Response. It is decimation, and variable lengths are fine because each scale uses its own frozen backbone.

  • Decimation. Eq. (3) keeps every ss-th sample point without a preceding low-pass filter; we will use “decimation” or “stride subsampling”. The s=1s=1 branch is always kept in Eq. (6), so full resolution is never lost, and only s∈{1,2,4}s \in \{1, 2, 4\} is used (Appendix A.3).
  • Lengths. Each scale-specific input is processed in parallel by the frozen query backbone. All series in a batch share the same length, but the backbone supports arbitrary input lengths. Temporal pooling produces fixed-size features regardless of length or decimation for Eq. (6).
  • Cost. The backbones are frozen and run on GPU, so three scales add almost little time: Table 4 shows extraction and retrieval adding 88.01 s per dataset at 50K and 92.11 s at 100K.

Q4. A FIR differentiator instead of the first-order difference

Response. We agree the first-order difference is sensitive to high-frequency noise and isolated outliers, and we tested the alternatives: changing only this operator, we re-trained REKIN-UniShape on 18 UCR datasets.

OperatorAverage rank ↓Win / Tie / Loss
Forward difference (submitted)1.758 / 5 / 5 (vs. Savitzky) 11 / 2 / 5 (vs. median)
Savitzky-Golay, window 5 / order 22.005 / 5 / 8 (vs. forward)
Median(3) + central difference2.255 / 2 / 11 (vs. forward)
  • Forward and Savitzky-Golay are almost tied: wins differ by only 3 (8 against 5, with 5 ties), and no pair of the three is separable.
  • Smoothing trades a little accuracy for robustness. Savitzky-Golay smooths lightly, so it nearly matches forward here while resisting random noise better; the median filter removes spikes best but flattens real detail, so it ranks last.
  • Why forward difference still ranks first here. The official 128 UCR datasets share one normalization pipeline, so outliers inside a series are rare; on clean input the plain difference is enough, and smoothing only narrows the range of ftpf_{\text{tp}}. We will support both: forward difference as the UCR default, the FIR version when outliers are expected.

Q5. Why does the normalized peak index add information?

Response. It is the relative time position of the largest absolute value, not the peak magnitude, and it supplies the location cue the other features drop.

fenvf_{\text{env}} gives the strength of the dominant event and ftpf_{\text{tp}} the rate of direction changes; neither says where it happens. Since the position of a discriminative subsequence is itself class-relevant [3], we concatenate this index with the position features in Eq. (6), dividing by LL for comparability.

AblationSettingResult
Peak index only removed18 UCR, REKIN-UniShapeAvg. Rank 1.33 (full) vs. 1.55 (remove peak)
ReMGP removed (global + positional)128 UCR, Table 3Avg. Rank 5.09 → 5.58

The index alone achieves a competitive Avg. Rank, while removing both global and positional patterns clearly degrades performance. This suggests that peak location helps improve the classification performance of retrieval embeddings.

Q6. Why [z′,zq−z′][\mathbf{z}',\mathbf{z}_q-\mathbf{z}'] instead of [z′,zq][\mathbf{z}',\mathbf{z}_q]?

Response. The two forms carry the same information, we keep the first residual because it tested slightly better and states retrieval reliability directly.

On the 18 representative datasets of Table 4, the residual form reaches Avg. Rank 1.45 against 1.67, with 8 wins to 6 and 4 ties. We will state this as a small empirical preference and make clear that it does not add representational capacity.

Q7. Adjustment for multiple hypothesis testing in Table 1

Response. We find Table 1 reported uncorrected p-values; we agree 19 comparisons need adjustment, and after correction all 19 baselines remain significant.

The submitted p-values also came from paired t-tests rather than the Wilcoxon signed-rank test stated in Sec. 5, so we recomputed all 19 baselines with two-sided Wilcoxon tests over the 128 datasets (zero differences dropped, tie correction) before applying Holm-Bonferroni.

Comparison (vs. REKIN-UniShape)Raw ppHolm-adj. ppBonferroni pp
UniShape1.70E-041.70E-043.23E-03
HC-21.80E-073.59E-073.41E-06
REKIN-Mantis7.64E-082.29E-071.45E-06
all 16 methods remaining≤ 4.99E-11≤ 2.00E-10≤ 9.49E-10

All 19 baselines stay significant at α=0.05\alpha=0.05 under Holm-Bonferroni, Bonferroni, and Benjamini-Hochberg control, so the conclusions do not change. All p-values will be corrected in the final version.

Q8. The two Random Forest roles (L250-252)

Response. We apologize for the ambiguity. There is one Random Forest baseline column and one shared evaluation procedure:

RoleUseAppearance in Table 2
Probing classifierTrain a Random Forest on frozen TSFM/REKIN embeddings from the training split and evaluate it on test embeddings.Shared protocol, not a method column
Random Forest baselineApply Random Forest directly to raw length-LL time series.The single Random Forest column

This comparison evaluates whether TSFM embeddings are more discriminative than raw time series by using the same Random Forest classifier. Only the Random Forest baseline uses no learned embeddings. We will clarify these two roles and the raw-series representation in the final version.

Minor suggestions or corrections

We will make the following changes:

  • (i) Highlight zaug\mathbf{z}_{\mathrm{aug}} and add Dk/Dt\mathcal{D}_k/\mathcal{D}_t in Fig. 2.
  • (ii) Index the pooled sequence explicitly in Eq. (2) by writing max⁡t[AvgPool1D⁡(⋅)]t\max_t[\operatorname{AvgPool1D}(\cdot)]_t.
  • (iii) Replace scalar ⊙\odot with ⋅\cdot in Eq. (4).
  • (iv) Clarify the distinction between Z_S (the set) and z_{S,i} (the sample vector).
  • (v) Adopt a color-blind-safe palette and distinct markers in Fig. 4.
  • (vi) Add the concrete results (i.e., 2.94 average rank on 128 UCR datasets and 1.73/21 on 30 additional datasets) to the conclusion.

Revision. The final version will include the additional experiments and analyses, rename the method to R2R, and apply all minor revisions.

References

[1] Mantis: Lightweight Calibrated Foundation Model for Time Series Classification. ICML, 2026.

[2] Multi-scale convolutional neural networks for time series classification. arXiv, 2016.

[3] SVP-T: A shape-level variable-position transformer for multivariate time series classification. AAAI, 2023.

Comments on the paper

1 comment
Meta-review

This paper proposes REKIN, a plug-and-play framework that augments pre-trained time series foundation models (TSFMs) for classification by retrieving instance-level numerical patterns from a knowledge base built from pre-trained data, then fusing them with the TSFM's parametric class-token embeddings via gated residual fusion.

Reviewers are uniformly positive. Strengths noted across reviews include a well-motivated and TSFM-agnostic design, extensive evaluation, consistently strong results with significance testing, and thorough ablations. I also concur that the empirical evaluation is convincing.

The main reservations are moderate. R9m9 raises the most substantive concern of the potential data leakage, since the knowledge base derives from pre-trained corpora that include UCR training splits overlapping the target datasets, which could conflate 'pre-training knowledge reuse' with nearest-neighbor retrieval over the target's own training data. XZuu and R9m9 both view the contribution as incremental relative to TS-RAG-style retrieval augmentation, and XZuu questions whether gains stem from the retrieval/fusion design or the strong Rocket-family query encoder; the 'foundation model' framing is also seen as overstated. The method is limited to univariate series. For the rebuttal, the authors should prioritize: (1) clarifying knowledge base composition and, ideally, a leave-target-dataset-out retrieval control; (2) confirming baselines received comparable validation-based tuning or ensembling; and (3) tempering the framing.


I read the author response, including their reply to my initial meta review above; all concerns we flagged were fairly resolved e.g., target-exclusion controls (gains are larger on the 72 leakage-free UCR datasets and excluding target classes changes results insignificantly), a shared tuning and ensembling protocol documented across all baselines, and a retitle to 'post-training' that drops the overstated claim. d4oH kept 5 and raised confidence; R9m9 confirmed the leakage concern was somewhat answered and kept 4; XZuu did not reply, retaining 4. No off-forum information was used.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.