STAR: Boosting Time Series Foundation Models for Anomaly Detection Through State-Aware Adapter
Abstract
Existing Time Series Foundation Models (TSFMs) for Multivariate Time Series Anomaly Detection often overlook discrete state variables that describe system status and treat them uniformly with numerical variables. This inappropriate modeling approach prevents the model from fully leveraging state information and even leads to significant performance degradation when state variables are integrated. Unlike numerical measurements, discrete states encode operating conditions that shape numerical behavior, motivating a dedicated representation and conditioning mechanism. To address this limitation, this paper proposes a novel STate-aware AdapteR(STAR). Specifically, STAR comprises three core innovative components: (1) an Identity-guided State Encoder that effectively captures the complex semantics of state variables; (2) a Conditional Bottleneck Adapter that dynamically injects state influence into TSFMs; and (3) a Numeral-State Matching module that effectively detects anomalies inherent to the state variables themselves. By separating state modeling from numerical processing, STAR adapts the model to system conditions while keeping the pretrained backbone frozen. Extensive experiments on five real-world datasets with four TSFM backbones show consistent improvements across diverse detection metrics, supporting the broad applicability of state-aware adaptation.