Manuscript Offprint

arXiv:2610.06156

TIGER: Time-Series Classification with In-Context-Learning Gated Ensemble of Representations

Johann Faouzi

Abstract

A representation family is a distinct way of extracting features from time series. Ensemble algorithms that combine several representation families remain the most accurate approach to time series classification. Current state-of-the-art ensembles, most notably HIVE-COTE 2.0, pair a bespoke classification algorithm with each representation family and combine their predictions using a fixed, non-adaptive rule. We present TIGER (Time-series classification with In-context-learning Gated Ensemble of Representations), which instead applies the same small portfolio of three general-purpose classifiers (Ridge, Extra Trees, and Naive Bayes) to four representations from four distinct families, stacking the resulting twelve base learners' predictions into a meta-feature matrix. The final prediction is produced by an adaptive meta-classification rule that chooses, independently for each data set, between a weighted hard majority vote and TabICLv2, a pretrained tabular foundation model used in-context as a meta-classifier, based on the mean number of training samples available per class. On a 142-data-set benchmark drawn from the UCR time series classification archive, TIGER obtains the best mean accuracy, balanced accuracy, and F1-score among six compared algorithms, including HIVE-COTE 2.0, and significantly outperforms each of the other five individually. TIGER's adaptive rule also meaningfully outperforms either of its two constituent meta-classification methods used alone, and its single hyperparameter, tuned using only a twenty-data-set development subset, is shown to generalize to the full evaluation benchmark. We further characterize TIGER's design through an extensive set of ablation experiments and report the design alternatives that we investigated and ultimately discarded.

Keywords: time series classification, time series, classification, machine learning, supervised learning, ensemble methods, tabular foundation models

1 Introduction

We consider time series as an ordered sequence of real-valued observations (often called univariate time series) sampled at equal frequency. Such data are very common in many real-world applications given their nature. With the increasing availability of sensors as well as the development of Internet of things devices, more time series data and applications become available. Numerous varied fields are affected, from climate science with weather forecasting (Agrawal, Kumar, Pandey, & Khan, 2012) to geology with earthquake prediction (Amei, Fu, & Ho, 2012) to econometrics and finance (Perron, 1989).

Time series classification (TSC) is a subfield of machine learning, and more specifically supervised learning, aiming at predicting a discrete label for a time series based on a set of labeled training examples. Time series classification has been employed in various fields, such as healthcare, speech recognition, and human activity recognition, and for various applications, such as diagnosis and monitoring (Middlehurst, Schäfer, & Bagnall, 2024). The field has been driven for over a decade by large, standardized benchmarks of publicly available data sets, most notably the University of California, Riverside (UCR) time series classification archive (Dau et al., 2019), which has enabled systematic, reproducible comparisons between algorithms. Many families of algorithms have been developed for time series classification, most of them consisting of a transformation step, which extracts a new representation of the time series more amenable to discrimination between classes, followed by a standard classification algorithm applied to this new representation. Distance-based, interval-based, shapelet-based, dictionary-based, and convolution-based transformations have all been investigated, each capturing different, partially complementary, notions of similarity between time series.

Since no single family of transformations is uniformly the most discriminative representation across every data set, the current state of the art in time series classification is achieved by ensemble algorithms that combine several families of transformations. The most notable one is HIVE-COTE 2.0 (HC2) (Middlehurst et al., 2021), which is the fourth iteration of an ensemble design that pairs a bespoke classification algorithm with each transformation family and aggregates their predictions using a probability-weighted combination rule. While highly accurate, this design has two notable limitations. First, every one of its constituent classification algorithms is specific to its representation family, hand-picked and separately maintained, which makes both extending the ensemble to new families and reasoning about the aggregation step complex. Using algorithms with separable transformation and classification steps allows for easily investigating several classification algorithms for each transformation. Second, its combination rule, the Cross-validation Accuracy Weighted Probabilistic Ensemble (CAWPE) (Lines, Taylor, & Bagnall, 2018), is a fixed, non-learned rule that does not adapt to how much labeled data is actually available for a given data set. Meanwhile, tabular foundation models, and in particular models based on in-context learning such as TabPFN (Hollmann, Müller, Eggensperger, & Hutter, 2023) and TabICL (Qu, Holzmüller, Varoquaux, & Le Morvan, 2025), have recently emerged as a new paradigm for tabular classification, predicting directly from a training set given as context at inference time, without any per-data-set gradient-based training. Concurrently with our own work, a few studies have combined such in-context-learning models with time-series-specific feature extraction, applying them directly, and unconditionally, as the sole classifier on top of a single family of hand-crafted features (Cüppers & Vreeken, 2026; O'Rourke, Trisovic, & Bertsimas, 2026) or training an analogous model end-to-end on raw time series (Küken, Hoo, Mráz, Hutter, & Purucker, 2026). To the best of our knowledge, such models have not yet been investigated as an adaptive meta-classification layer sitting on top of a multifamily stacking ensemble.

We present a novel time series classification algorithm that we call TIGER, which stands for Time-series classification with In-context-learning Gated Ensemble of Representations. TIGER performs four transformations from four distinct families (convolution, interval, shapelet, and dictionary). Unlike HIVE-COTE 2.0, TIGER applies the same small portfolio of three general-purpose classifiers to every family, producing twelve base learners in total. The predictions of these twelve base learners are stacked into a meta-feature matrix. The predictions are out-of-fold (OOF) using k-fold cross-validation (CV) during training, and held-out during inference. The final prediction is produced from this meta-feature matrix by one of two meta-classification methods, chosen automatically for each data set based on the mean number of training samples available per class: a weighted hard majority vote when few samples per class are available, or a tabular foundation model, used here as a meta-classifier fit directly on the meta-feature matrix, when more samples per class are available. We evaluate TIGER on a 142-data-set benchmark drawn from the UCR archive, matching the selection used in a recent large-scale review of the field (Middlehurst, Schäfer, & Bagnall, 2024), and compare it to state-of-the-art time series classification algorithms. Our results show that TIGER is competitive with, and on the full 142-data-set evaluation benchmark significantly outperforms, existing state-of-the-art algorithms, and that the adaptive meta-classification rule meaningfully outperforms either of its two constituent methods used alone.

The remainder of this paper is structured as follows. Section 2 provides relevant information about existing time series classification algorithms, as well as ensemble methods and tabular foundation models. In Section 3, we describe the architecture of TIGER, the reasoning behind its architecture, and which elements were optimized. Section 4 presents the algorithms that we compare TIGER to, as well as the data sets and metrics used to perform these comparisons. We provide the results of all the experiments in Section 5, discuss design alternatives that we tried and discarded in Section 6, and conclude in Section 7.

References (62)