Content-aware Balanced Spectrum Encoding in Masked Modeling for Time Series Classification

Authors

  • Yudong Han Shandong University, Beijing Institute of Technology
  • Haocong Wang Shandong University
  • Yupeng Hu Shandong University
  • Yongshun Gong Shandong University
  • Xuemeng Song Shandong University
  • Weili Guan Harbin Institute of Technology (Shenzhen)

DOI:

https://doi.org/10.1609/aaai.v39i16.33875

Abstract

Due to the superior ability of global dependency, transformer and its variants have become the primary choice in Masked Time-series Modeling (MTM) towards time-series classification task. In this paper, we experimentally analyze that existing transformer-based MTM methods encounter with two under-explored issues when dealing with time series data: (1) they encode features by performing long-dependency ensemble averaging, which easily results in rank collapse and feature homogenization as the layer goes deeper; (2) they exhibit distinct priorities in fitting different frequency components contained in the time-series, inevitably leading to spectrum energy imbalance of encoded feature. To tackle these issues, we propose an auxiliary content-aware balanced decoder (CBD) to optimize the encoding quality in the spectrum space within masked modeling scheme. Specifically, the CBD iterates on a series of fundamental blocks, and thanks to two tailored units, each block could progressively refine the masked representation via adjusting the interaction pattern based on local content variations of time-series and learning to recalibrate the energy distribution across different frequency components. Moreover, dual-constraint loss is devised to enhance the mutual optimization of vanilla decoder and our CBD. Extensive experimental results on ten time-series classification datasets show that our method nearly surpasses a bunch of baselines. Meanwhile, a series of explanatory results are showcased to sufficiently demystify the behaviors of our method.

Downloads

Published

2025-04-11

How to Cite

Han, Y., Wang, H., Hu, Y., Gong, Y., Song, X., & Guan, W. (2025). Content-aware Balanced Spectrum Encoding in Masked Modeling for Time Series Classification. Proceedings of the AAAI Conference on Artificial Intelligence, 39(16), 17059–17067. https://doi.org/10.1609/aaai.v39i16.33875

Issue

Section

AAAI Technical Track on Machine Learning II