Abstract
Time series classification (TSC) is a core machine learning problem with broad applications. Recently there has been growing interest in repurposing large language models (LLMs) for TSC, motivated by their strong reasoning and generalization ability. Prior work has primarily focused on alignment strategies that explicitly map time series data into the textual domain; however, the choice of time series encoder architecture remains underexplored. In this work, we conduct an exploratory study of hybrid architectures that combine specialized time series encoders with a frozen LLM backbone. We evaluate a diverse set of encoder families, including Inception, convolutional, residual, transformer-based, and multilayer perceptron architectures, among which the Inception model is the only encoder architecture that consistently yields positive performance gains when integrated with an LLM backbone. Overall, this study highlights the impact of time series encoder choice in hybrid LLM architectures and points to Inception-based models as a promising direction for future LLM-driven time series learning.
Introduction
Time Series Classification (TSC)—identifying patterns in data like ECG heartbeats or sensor readings—has traditionally relied on specialized neural networks. Recently, researchers have sought to leverage the massive pre-training and reasoning capabilities of Large Language Models (LLMs) for this task. However, a fundamental mismatch exists: LLMs are designed for discrete text tokens, while time series data consists of continuous numerical values. Converting numbers directly into text often leads to "quantization effects," where precision is lost and fine-grained temporal patterns are obscured. To address this, hybrid models use a specialized encoder to transform raw data into a "latent representation" that the LLM can process. This study systematically investigates which encoder architectures are most effective in this hybrid configuration.
Methodology
The authors conducted a systematic experimental study comparing two main setups across the 2015 UCR Time Series Archive, a gold-standard benchmark spanning sensor, motion, and physiological data:
- Plain (TS_CLS_NoLLM): Traditional standalone encoders (MLP, CNN, ResNet, Transformer, and Inception) followed by a simple classification head.
- Hybrid (TS_CLS): The same encoders stacked on top of a frozen Llama-3.1-8B backbone.
In the hybrid setup, the encoder transforms input into a sequence of latent vectors, which are concatenated with a text prompt and fed into the LLM. Crucially, the LLM's weights remain frozen to preserve its general knowledge, while only the encoder and the final classification head are trained.
Key Results and the "LLM Tax"
Quantitative results from the benchmark reveal a phenomenon termed the "LLM Tax." For most architectures, adding an LLM backbone actually degraded performance compared to the standalone version. This suggests that unless the encoder provides the "right" kind of features, the LLM acts more like noise than a performance booster.
As shown in the results, the Inception-style encoder was the sole exception, achieving a consistent performance gain when integrated with an LLM (improving from 71.15% to 74.21% accuracy). The authors hypothesize that Inception’s use of parallel convolutional kernels of different sizes allows it to capture "multi-scale" temporal patterns, providing a sufficiently rich summary for the LLM to perform high-level semantic reasoning.
Hyperparameter Sensitivity
To further optimize the Inception-based hybrid model, the study explored the impact of kernel configurations. Grid searches on the number of kernels ($N_{kernels}$) and kernel sizes ($K$) demonstrated that increasing these parameters generally led to better performance.
These findings support the idea that diverse receptive fields are key to TSC success in hybrid models, as they allow the encoder to extract more robust features for the LLM backbone.
Conclusion and Future Work
This study highlights the critical role of encoder choice in hybrid LLM architectures for time series. While most architectures struggle to benefit from LLM integration, Inception-based models show significant promise. Future research may investigate whether Parameter-Efficient Fine-Tuning (PEFT) techniques like LoRA can improve performance for other encoder types, or how these hybrid models perform on larger-scale foundation datasets.
Summary updated