🤖 AI Summary
To address the underutilization of static categorical information in time series forecasting, this paper proposes the QKCV attention mechanism: it extends the standard QKV framework by incorporating a static categorical embedding $C$, enabling explicit modeling of category-specific dynamic patterns. The mechanism is architecture-agnostic—compatible with Transformer, Informer, PatchTST, TFT, and others—and supports efficient transfer learning via fine-tuning only the categorical embedding $C$, drastically reducing computational overhead. Experiments across multiple real-world datasets demonstrate that QKCV significantly improves prediction accuracy in univariate time series forecasting. Notably, it delivers consistent performance gains in both lightweight models and fine-tuning scenarios of pretrained foundation models, achieving an optimal balance between accuracy and efficiency. QKCV establishes a general, scalable paradigm for categorical-aware time series modeling.
📝 Abstract
In real-world time series forecasting tasks, category information plays a pivotal role in capturing inherent data patterns. This paper introduces QKCV (Query-Key-Category-Value) attention, an extension of the traditional QKV framework that incorporates a static categorical embedding C to emphasize category-specific information. As a versatile plug-in module, QKCV enhances the forecasting accuracy of attention-based models (e.g., Vanilla Transformer, Informer, PatchTST, TFT) across diverse real-world datasets. Furthermore, QKCV demonstrates remarkable adaptability in fine-tuning univariate time series foundation model by solely updating the static embedding C while preserving pretrained weights, thereby reducing computational overhead and achieving superior fine-tuning performance.