January 01, 1970
As a fundamental data mining task, unsupervised time series anomaly detection (TSAD) aims to build a model for identifying abnormal timestamps without assuming the availability of annotations. A key challenge in unsupervised TSAD is that many anomalies are too subtle to exhibit detectable deviation in any single view (e.g., time domain), and instead manifest as inconsistencies across multiple views like time, frequency, and a mixture of resolutions. However, most cross-view methods rely on feature or score fusion and do not enforce analysis–synthesis consistency, meaning the frequency branch is not required to reconstruct the time signal through an inverse transform, and vice versa. In this paper, we present Learnable Fusion of Tri-view Tokens (LEFT), a unified unsupervised TSAD framework that models anomalies as inconsistencies across complementary representations. LEFT learns feature tokens from three views of the same input time series: frequency domain tokens that embed periodicity information, time domain tokens that capture local dynamics, and multi-scale tokens that learn abnormal patterns at varying time series granularities. By learning a set of adaptive Nyquist-constrained spectral filters, the original time series is rescaled into multiple resolutions and then encoded, allowing these multi-scale tokens to complement the extracted frequency and time domain information. When generating the fused representation, we introduce a novel objective that reconstructs fine-grained targets from coarser multi-scale structure, and put forward an innovative time-frequency cycle consistency constraint to explicitly regularize cross-view agreement. As cross-view agreement is explicitly regularized during training, LEFT can adopt lightweight tri-view encoders while maintaining effective coordination among the three views. Experiments on real-world benchmarks show that LEFT achieves the best performance among the compared baselines under the reported evaluation metrics, while using over \(6\times\) fewer FLOPs and achieving about \(8\times\) faster training. Code is available at https://github.com/DezhengWang/Left.git
<ccs2012> <concept> <concept_id>10010147.10010178.10010187.10010193</concept_id> <concept_desc>Computing methodologies Temporal reasoning</concept_desc> <concept_significance>500</concept_significance> </concept> </ccs2012>
Unsupervised TSAD is a core component in industrial systems, as the ability to generate early alarms on abnormal timestamps without annotated data can support safe operation and reduce maintenance and downtime cost [1], [2]. In real deployments, anomalies are heterogeneous: some are short transients, some are gradual drifts, and some mainly appear as changes in periodic structure [3] and spectral energy [4], [5]. This heterogeneity renders a detector focusing on a single perspective unreliable, as illustrated in Fig. 1, and motivates the extraction of multi-view information for unsupervised TSAD [6].
From a signal processing perspective, the time and frequency domains are linked by the Fourier transform, which provides a principled connection between these two views [7]. This connection motivates unsupervised TSAD methods to jointly use both views [8]: time domain features capture local dynamics and abrupt deviations [9], while frequency domain features highlight periodic irregularities and band-specific shifts that can be subtle or suppressed by noise in the raw data [10]. As such, by measuring the disagreement between the representations learned from these two views, an anomaly score can be computed for each timestamp in an unsupervised fashion. However, most methods based on time and frequency views still operate on a single sampling resolution, where the model observes only one temporal granularity. Apart from restricting a model’s receptive field when learning time series representations, it also prevents the detector from explicitly verifying whether coarse structure (e.g., seasonality) and fine-grained dynamics (e.g., daily change) remain consistent. For example, a gradual drift can reshape the coarse trend while slightly detuning short-term rhythms [10]. In reality, abnormal traces can exhibit different patterns at different sampling granularities, and such anomalies can hardly be detected without inspecting such nuanced coarse-to-fine associations [4], [11]. In this regard, introducing multi-scale features at different sampling resolutions as an additional view is a natural enhancement to using only time and frequency features. Intuitively, by jointly modeling time-frequency alignment and cross-resolution consistency, a mutually complementary set of signals can be considered for TSAD. However, this brings an additional layer of complexity when learning useful anomaly detection signals from these views with varying semantics, and two significant challenges are to be addressed to maximize the utility of all views for unsupervised TSAD. We outline the challenges below.
Challenge 1: How to learn reliable view-specific and scale-specific representations without supervision? For time and frequency views, most TSAD methods fuse features or scores across both views, or align their feature spaces [12]. These designs rarely enforce Fourier-based consistency, meaning the predicted spectrum is not required to reconstruct the signal via an inverse transform, and the reconstructed signal is not required to match the spectrum under a forward transform [13]. This leaves the training process prone to learning a biased shortcut that only fits its own view, making cross-domain disagreement a less reliable indicator of true anomalies [12]. For the third view involving multi-scale feature encoding, its performance also hinges on the choice of sampling scales/granularities that are usually tuned via heuristics. However, in different time series data, regimes differ in dominant periods and noise, so the same setting can place the key periodic band at the wrong scale or mix it with noise and miss anomaly-related changes [5]. For example, in some time series with frequent fluctuations, performing straightforward downsampling on time series can fold fast oscillations into low frequencies, so a coarse-scale sequence may show a false flat trend created by aliasing rather than real long-range structure, distorting the learned representations [8].
Challenge 2: How to coordinate cross-view information while preserving useful discrepancies for timestamp-level anomaly scoring? Information fusion across three distinct views is expected to distil complementary information from time, frequency, and multi-scale structure, which enables coherence-based detection on anomalies. However, when generating anomaly scores for each timestamp, existing TSAD methods typically focus on either: (1) the disagreement between features extracted from time and frequency views; or (2) the disagreement across all data resolutions in the multi-scale view. Some works exploit time and frequency views through short-time Fourier transform (STFT) assisted by fusion or reconstruction objectives [8], [12], while others emphasize multi-scale features by learning representations at diverse temporal resolutions and aggregating scale-wise outputs [4]. While often developed in parallel, few pipelines jointly model time, frequency, and explicit multi-scale characteristics of the same time series in a unified framework to facilitate effective anomaly scoring on timestamps [14].
Motivated by these challenges, we propose Learnable Fusion of Tri-view Tokens (LEFT) for unsupervised TSAD, treating anomalies as violations of agreement among time dynamics, time-frequency structure, and multi-scale structure. LEFT builds three complementary views with measurable agreement. It enforces a bidirectional time–frequency cycle, so the time prediction must agree with the input spectrum after analysis and the spectrum prediction reconstructs the input signal after synthesis. This analysis-synthesis coupling goes beyond feature or score fusion, reduces view-specific shortcuts, and makes time–frequency disagreement more reliable anomaly evidence. For multi-scale structure, LEFT uses a Nyquist-constrained learnable filterbank with residual spectral coverage, learning dataset-specific bands without fixed partitions while band-limiting each scale before downsampling to control aliasing and avoid heuristic scale choices. The three token streams interact through selected lightweight fusion rather than dense all-pairs fusion, aligning shared information without washing out view-specific evidence. Training includes a cross-path consistency constraint that aligns the time–frequency cycle with the multi-scale reconstruction, and inference combines multi-scale residuals with cycle-based discrepancy signals to form the final anomaly score. We summarize our contributions as follows:
We formalize a unified tri-view setting that combines time dynamics, time-frequency structure, and multi-scale structure, where anomalies are exposed as violations of cross-view and cross-resolution consistency.
We propose a Nyquist-constrained learnable filterbank with residual spectral coverage for multi-scale structural tokenization. We introduce bidirectional time-frequency cycle consistency, enforcing analysis-synthesis agreement, and cross-path consistency, aligning the time-frequency pathway with multi-scale reconstruction. We design lightweight token interactions to promote alignment without over-mixing, preserving view-specific evidence for detection.
Extensive experiments show consistent improvements over strong baselines, and demonstrate LEFT improves about 3% in VUS-ROC and 6% in VUS-PR, while reducing FLOPs by over 80% and speeding up training by about \(8\times\).
Unsupervised TSAD Unsupervised TSAD has been studied for decades, from classical pipelines to modern deep models [4], [15]. Classical methods such as LOF [16], DAGMM [17], and SVDD [18] are simple and cheap, but they can degrade on industrial data with non-stationary behavior, long-range dependence, and strong variable coupling [19]. Deep unsupervised TSAD is often grouped into forecasting, reconstruction, and self-supervised or contrastive methods [20]. Attention-based models are widely used to capture long-range patterns and variable interactions [4]. Anomaly Transformer detects anomalies via association inconsistency [21], while DCdetector uses discrepancy-aware contrastive learning [20].
Time–frequency modeling for unsupervised TSAD Because anomaly evidence can be weak in a single domain, many works incorporate time–frequency information to capture spectral changes such as periodic shifts and band-wise energy redistribution [22]. Common designs extract Fourier or wavelet features, or adopt frequency-aware architectures [11]. In many cases, time and frequency are encoded in parallel and coupled through feature alignment or late fusion, which can underuse abnormal time–frequency coupling as a detection signal [8]. Empirical studies also suggest that single-scale time domain sampling can miss anomaly signatures in time–frequency analysis [4].
Multi-scale modeling for unsupervised TSAD Multi-scale modeling addresses this issue by representing a series at multiple temporal resolutions. Recent work uses multi-resolution tokenization, patching, or scale mixing [23], and TimesNet models multiple period-based views [11]. In TSAD, multi-scale methods often use per-scale experts with late fusion or shared backbones with implicit scale mixing [24]. Yet anomalies may remain weak at any single resolution and become clearer when coarse structure and fine dynamics stop aligning, which motivates more explicit cross-scale modeling [4], [10]. At the same time, many multi-scale pipelines focus on time domain representations and do not explicitly integrate frequency domain evidence, even though spectral information can be critical for anomaly detection [5], [8].
To the best of our knowledge, in unsupervised TSAD, many methods emphasize either time–frequency modeling (e.g., [8]) or explicit multi-scale structure (e.g., [4]), while comparatively fewer works integrate both in a unified framework.
Given a multivariate time-series window \(\boldsymbol{X}\in\mathbb{R}^{T\times C}\), the objective is to learn an unsupervised anomaly scoring function that outputs a timestamp-level anomaly map \(\mathcal{A}(t)\).
As illustrated in Fig. 2, LEFT constructs three token streams: \(\boldsymbol{H}^{\mathrm{time}}\), \(\boldsymbol{H}^{\mathrm{freq}}\), and \(\boldsymbol{H}^{\mathrm{ms}}\). LEFT is based on the premise that normal patterns tend to maintain agreement across domains and resolutions, whereas anomalous patterns are more likely to disturb such agreement. Training is guided by multi-scale reconstruction, cycle consistency, and cross-path consistency, which aligns the cycle pathway with the multi-scale pathway.
Time tokens provide a per-timestamp representation, which preserves local dynamics and abrupt deviations for timestamp-level scoring. We obtain them with a lightweight 1D convolutional stack \(\mathcal{C}^{(\mathrm{1d})}_t\) to provide a stable local inductive bias without resampling: \[\boldsymbol{H}^{\mathrm{time}} = \mathcal{C}^{(\mathrm{1d})}_t(\boldsymbol{X}), \label{eq95time95tokens}\tag{1}\] where \(\boldsymbol{H}^{\mathrm{time}}\in\mathbb{R}^{T\times D}\) and the kernel sizes of \(\mathcal{C}^{(\mathrm{1d})}_t\) uses 1D convolutions with kernel sizes \((5,3,1)\) and corresponding paddings to preserve temporal resolution \(T\).
Frequency tokens capture short-time spectral structure, including changes in periodicity and shifts in band-wise energy that may be hard to see in raw samples. We obtain \(\boldsymbol{S}\) using a differentiable short-time Fourier transform. This design makes the frequency pathway directly trainable under the cycle consistency objective in Sec. 3.4, which encourages spectral consistency with the reconstructed signal. \(\boldsymbol{S}\) is obtained from \(\boldsymbol{X}\) as: \[\boldsymbol{S}=W_\theta(\boldsymbol{X}), \label{eq95stft95def}\tag{2}\] where \(\boldsymbol{S} \in\mathbb{R}^{C\times 2\times F\times T_F}\). \(W_\theta(\cdot)\) denotes the differentiable STFT used in the time-frequency branch. In the rest, we use \(\mathcal{F}(\cdot)\) and \(\mathcal{F}^{-1}(\cdot)\) for the FFT/iFFT used in the multi-scale decomposition. \(F\) is the number of frequency bins, and \(T_F\) is the number of STFT frames. Then a frequency encoder \(\mathcal{C}^{(\mathrm{2d})}_f\) produces frame-wise tokens: \[\boldsymbol{H}^{\mathrm{freq}} = \mathcal{C}^{(\mathrm{2d})}_f(\boldsymbol{S}), \label{eq95freq95tokens}\tag{3}\] where \(\boldsymbol{H}^{\mathrm{freq}}\in\mathbb{R}^{T_F\times D}\) and \(\mathcal{C}^{(\mathrm{2d})}_f\) treats \((2C)\) as channels, applies two 2D convolution layers with kernel size \((3,3)\), pools over \(F\) to obtain frame-wise features, and projects to dimension \(D\).
To capture multi-scale structure without fixed band partitions, we construct \(K\) band-limited downsampled sequences \(\{\boldsymbol{X}^{(k)}\}_{k=1}^{K}\) using a Nyquist-constrained learnable filterbank. Unlike enlarging the receptive field, this construction explicitly produces cross-resolution structure, so coarse-to-fine agreement can be checked during training and inference. Multi-scale tokens are only useful if they remain stable after downsampling.
Lemma 1. The learned edges satisfy \(0=e_0\le e_1\le\cdots\le e_K\) and \(e_k\le c_k\) for all \(k\). Define leakage beyond the cutoff by \(\epsilon_k=\sum_{f>c_k}\tilde{m}_k(f)\).
Let \(\tilde{\boldsymbol{S}}=\mathcal{F}(\tilde{\boldsymbol{X}})\), \(\tilde{\boldsymbol{S}}^{(k)}(f)=\tilde{m}_k(f)\tilde{\boldsymbol{S}}(f)\), and \(\boldsymbol{X}^{(k)}=\mathcal{D}_{r_k}\!\left(\mathcal{F}^{-1}\!\left(\tilde{\boldsymbol{S}}^{(k)}\right)\right)\), where \(\mathcal{D}_{r_k}(\cdot)\) denotes downsampling by a factor of \(r_k\). Then the aliasing energy after downsampling by \(r_k\) satisfies, \[\begin{align} \bigl\|\Delta_{r_k}(\boldsymbol{X}^{(k)})\bigr\|_2 \;\le\; \vartheta(r_k)\,\|\tilde{\boldsymbol{X}}\|_2\,\epsilon_k,\quad \epsilon_k:=\sum_{f>c_k}\tilde{m}_k(f), \end{align} \label{eq95alias95bound}\qquad{(1)}\] where \(\vartheta(r_k)\) depends only on \(r_k\) and FFT conventions.
Lemma 1 (proof in Appendix ¿sec:sec95proof95lemma1?) shows that a Nyquist-feasible learnable filterbank provides explicit control over aliasing. After downsampling, the aliasing energy is bounded by a term that scales with the out-of-cutoff leakage \(\epsilon_k\), so keeping \(\epsilon_k\) small makes the downsampled component \(\boldsymbol{X}^{(k)}\) a stable approximation of a band-limited signal. This property is useful for uncovering normal and abnormal patterns in the multi-scale view. Under normal operation, most energy stays within the learned cutoff, so coarse tokens preserve consistent long-term structure and support reliable coarse-to-fine reconstruction. When abnormal behavior shifts energy across bands or introduces atypical high-frequency content, \(\epsilon_k\) can increase and cross-scale agreement becomes harder to satisfy, which makes inconsistencies more detectable through reconstruction.
Given a boundary-extended signal \(\tilde{\boldsymbol{X}}\), let \(\tilde{\boldsymbol{S}}=\mathcal{F}(\tilde{\boldsymbol{X}})\). We then apply \(K\) learnable soft masks \(\{\tilde{m}_k(f)\}_{k=1}^K\) to \(\tilde{\boldsymbol{S}}\): \[\tilde{\boldsymbol{S}}^{(k)}(f)=\tilde{m}_k(f)\tilde{\boldsymbol{S}}(f), \quad k=1,\ldots,K. \label{eq95band95decomp}\tag{4}\] Let downsampling factors \(\{r_k\}_{k=1}^{K}\) be ordered coarse to fine (\(r_1\ge\cdots\ge r_K\)), and define normalized Nyquist cutoffs \(c_k=\tfrac{1}{2r_k}\). Band edges are parameterized monotonically with learnable parameters \(\{u_k\}\): \[e_k=e_{k-1}+\bigl(c_k-e_{k-1}\bigr)\sigma(u_k),\quad k=1,\ldots,K, \label{eq95learned95edges}\tag{5}\] where \(e_0=0\) and \(\sigma(\cdot)\) is the logistic sigmoid. Given \(s_\tau(x)=\sigma\big(x/(\tau+\varepsilon)\big)\) with temperature \(\tau>0\), unnormalized band masks are constructed by: \[m_k(f)=s_\tau(f-e_{k-1})-s_\tau(f-e_k),\quad k=1,\ldots,K, \label{eq95soft95masks95raw}\tag{6}\] and normalized as: \[\tilde{m}_k(f)=\frac{m_k(f)}{\sum_{j=1}^{K}m_j(f)+\varepsilon}. \label{eq95mask95norm}\tag{7}\] The residual spectral coverage is implemented with a residual mask above the last learned edge. Within the learned structural bands, the normalized band masks form an approximate partition, i.e., \[\sum_{k=1}^{K}\tilde{m}_k(f)\approx 1 \quad \forall f \;\text{s.t.}\quad \sum_{k=1}^{K} m_k(f)>0. \label{eq95mask95partition}\tag{8}\] Each component is transformed back by \(\mathcal{F}^{-1}(\cdot)\) and downsampled: \[\boldsymbol{X}^{(k)}=\mathcal{D}_{r_k}\!\left(\mathcal{F}^{-1}\!\left(\tilde{\boldsymbol{S}}^{(k)}\right)\right), \quad T_k=\left\lceil \frac{T}{r_k}\right\rceil, \label{eq95downsample}\tag{9}\] where \(\boldsymbol{X}^{(k)}\in\mathbb{R}^{T_k\times C}\). Each scale is patch-tokenized and projected into \(D\) dimensions: \[\boldsymbol{H}^{(k)}=\mathcal{P}\bigl(\boldsymbol{X}^{(k)}\bigr), \label{eq95ms95patch}\tag{10}\] where \(\boldsymbol{H}^{(k)}\in\mathbb{R}^{L_k\times D}\). \(\mathcal{P}(\cdot)\) denotes the patch tokenization and projection operator that maps each downsampled sequence into token representations. To preserve scale-specific structural patterns within the multi-scale encoder, we use a scale independent attention mask \(\boldsymbol{M}_{\mathrm{blk}}\in\mathbb{R}^{L\times L}\) that is block-diagonal over scales and shared across layers. This prevents mixing across scales inside \(\phi^{\mathrm{ms}}\). Cross-view and cross-resolution exchange is handled later by the tri-view interaction module: \[\boldsymbol{H}^{\mathrm{ms}} = \phi^{\mathrm{ms}}\!\left(\mathrm{Concat}\bigl(\boldsymbol{H}^{(1)},\ldots,\boldsymbol{H}^{(K)}\bigr);\boldsymbol{M}_{\mathrm{blk}}\right), \label{eq95ms95encoder}\tag{11}\] where \(\phi^{\mathrm{ms}}(\cdot;\boldsymbol{M}_{\mathrm{blk}})\) denotes a masked self-attention encoder.
Given \((\boldsymbol{H}^{\mathrm{time}},\boldsymbol{H}^{\mathrm{freq}},\boldsymbol{H}^{\mathrm{ms}})\), LEFT uses lightweight token-level interaction to share evidence while preserving view-specific information. LEFT avoids dense all-pairs fusion because some view pairs are scale-mismatched. \(\boldsymbol{H}^{\mathrm{freq}}\) is organized by STFT frames, while \(\boldsymbol{H}^{\mathrm{ms}}\) comes from downsampled sequences. Direct attention between them would force implicit alignment across scales, which can over-mix features and amplify noise.
LEFT therefore uses selected links. Time and frequency views are connected by the Fourier transform, so \(\boldsymbol{H}^{\mathrm{time}}\) attends to \(\boldsymbol{H}^{\mathrm{freq}}\) to inject spectral information into time-aligned representations, and \(\boldsymbol{H}^{\mathrm{freq}}\) attends back to \(\boldsymbol{H}^{\mathrm{time}}\) to stay tied to the raw signal. Multi-scale tokens are also derived from the time domain, so \(\boldsymbol{H}^{\mathrm{time}}\) updates \(\boldsymbol{H}^{\mathrm{ms}}\). This design also allows frequency evidence to influence the multi-scale pathway indirectly through the updated time tokens \(\boldsymbol{H}^{\mathrm{time}}\). The Fusion Strategy Analysis further shows that all-pairs fusion or denser fusion does not improve performance in our setting.
The interaction module is a stack of \(L_f\) shared fusion blocks: \[(\boldsymbol{H}^{\mathrm{time}+},\boldsymbol{H}^{\mathrm{freq}+},\boldsymbol{H}^{\mathrm{ms}+}) = \Phi^{(L_f)}\!\left(\boldsymbol{H}^{\mathrm{time}},\boldsymbol{H}^{\mathrm{freq}},\boldsymbol{H}^{\mathrm{ms}}\right), \label{eq95triview95fusion95compact}\tag{12}\] where each \(\Phi^{(L_f)}\) layer updates the three views via directed cross-attention: \(\boldsymbol{H}^{\mathrm{time}}\!=\!\phi^{\text{tf}(L_f)}(\boldsymbol{H}^{\mathrm{time}},\boldsymbol{H}^{\mathrm{freq}})\), \(\boldsymbol{H}^{\mathrm{freq}}\!=\!\phi^{\text{ft}(L_f)}(\boldsymbol{H}^{\mathrm{freq}},\boldsymbol{H}^{\mathrm{time}})\), and \(\boldsymbol{H}^{\mathrm{ms}}\!=\!\phi^{\text{mt}(L_f)}(\boldsymbol{H}^{\mathrm{ms}},\boldsymbol{H}^{\mathrm{time}})\), followed by a token-wise residual with normalization. Finally, this selected fusion is closed by the cross-path constraint \(\mathcal{L}_{\mathrm{cons}}\) in Sec. 3.4, which ties the multi-scale reconstruction \(\hat{\boldsymbol{X}}_{\mathrm{ms}}\) to the cycle reconstruction \(\hat{\boldsymbol{X}}_{\leftarrow f}\), so alignment learned through interaction is made verifiable at the reconstruction level rather than remaining a purely embedding-level agreement.
To provide a shared reference for matching time and frequency representations and reduce noisy or drifting alignment, we introduce two prototype banks \(\boldsymbol{P}_t,\boldsymbol{P}_f\in\mathbb{R}^{M\times D}\) and map fused tokens to soft prototype assignments: \[\boldsymbol{p}_t=\eta\!\left(\gamma\,\mathrm{cos}\!\left(\boldsymbol{H}^{\mathrm{time}+},\boldsymbol{P}_t\right)\right),\quad \boldsymbol{p}_f=\eta\!\left(\gamma\,\mathrm{cos}\!\left(\boldsymbol{H}^{\mathrm{freq}+},\boldsymbol{P}_f\right)\right), \label{eq95proto95assign}\tag{13}\] where \(\eta\) is Softmax. \(\mathrm{cos}(\cdot,\cdot)\) denotes cosine similarity and \(\gamma\) is a temperature. We align \(\boldsymbol{p}_f\) to length \(T\) by interpolation and compute a prototype-assignment discrepancy between the time and frequency views: \[d_{\mathrm{JS}}(t)=\mathrm{JS}\!\left(\boldsymbol{p}_t(t),\,\tilde{\boldsymbol{p}}_f(t)\right). \label{eq95js}\tag{14}\] The discrepancy \(d_{\mathrm{JS}}(t)\) is used for prototype calibration during training. Specifically, LEFT uses the averaged JS discrepancy, together with the reconstruction error and assignment confidence, to select reliable samples for EMA-based prototype updates. This design avoids directly optimizing JS divergence while still using cross-view assignment disagreement to maintain stable prototype memories. We also derive an uncertainty gate \(g(t)\) from assignment sharpness and entropy. Different from \(d_{\mathrm{JS}}(t)\), this gate is directly used as auxiliary evidence in the inference score.
The prototypes further act as a memory of stable patterns, read by time-averaged assignments: \[\boldsymbol{z}_t^{\mathrm{mem}}=\Bigl(\mathrm{Mean}_t(\boldsymbol{p}_t)\Bigr)\boldsymbol{P}_t, \quad \boldsymbol{z}_f^{\mathrm{mem}}=\Bigl(\mathrm{Mean}_t(\boldsymbol{p}_f)\Bigr)\boldsymbol{P}_f. \label{eq95mem95read}\tag{15}\]
Let \(\boldsymbol{z}_t=\mathrm{Mean}(\boldsymbol{H}^{\mathrm{time}+})\) and \(\boldsymbol{z}_f=\mathrm{Mean}(\boldsymbol{H}^{\mathrm{freq}+})\). We use curriculum memory mixing to stabilize decoding, gradually increasing the memory contribution with \(\lambda\in[0,1]\): \[\boldsymbol{z}_t^{+}=(1-\lambda)\boldsymbol{z}_t+\lambda\boldsymbol{z}_t^{\mathrm{mem}}, \quad \boldsymbol{z}_f^{+}=(1-\lambda)\boldsymbol{z}_f+\lambda\boldsymbol{z}_f^{\mathrm{mem}}. \label{eq95mem95mix}\tag{16}\]
The time-frequency pathway is trained as a bidirectional closed loop through \(W_\theta\) and \(W_\theta^{-1}\). The key purpose is to make the frequency prediction physically checkable: a valid \(\hat{\boldsymbol{S}}\) should synthesize to a consistent signal, and a reconstructed signal should induce a consistent time-frequency representation. Without this loop, the frequency branch can be under-constrained and drift to spectra that match coarse energy statistics but are not synthesis-consistent, which weakens cross-domain discrepancy as anomaly evidence.
We fuse time/frequency latents into a shared \(\boldsymbol{z}=\phi\!\left([\boldsymbol{z}_t^{+};\boldsymbol{z}_f^{+}]\right)\in\mathbb{R}^{D}\). Then decode into both time and frequency outputs, \(\hat{\boldsymbol{X}} = D_t(\boldsymbol{z})\) and \(\hat{\boldsymbol{S}} = D_f(\boldsymbol{z})\). Define cycle reconstructions: \[\hat{\boldsymbol{X}}_{\leftarrow f}=W_\theta^{-1}(\hat{\boldsymbol{S}}), \quad \hat{\boldsymbol{S}}_{\rightarrow f}=W_\theta(\hat{\boldsymbol{X}}). \label{eq95cycle95decode95aux}\tag{17}\]
Enforcing both directions makes the two outputs mutually verifiable and discourages one-branch shortcut fitting: a spectrum is penalized if it cannot synthesize back to a consistent \(\hat{\boldsymbol{X}}_{\leftarrow f}\), and a waveform is penalized if it induces an inconsistent \(\hat{\boldsymbol{S}}_{\rightarrow f}\).
Lemma 2. Suppose there exist constants \(0<A\le B<\infty\) such that for any \(\boldsymbol{Y}\) for which \(W_\theta(\boldsymbol{Y})\) is well-defined: \[\sqrt{A}\,\|\boldsymbol{Y}\|_2 \le \|W_\theta(\boldsymbol{Y})\|_2 \le \sqrt{B}\,\|\boldsymbol{Y}\|_2. \label{eq95frame95bounds}\qquad{(2)}\]
Then the reconstruction errors in the time and time-frequency domains satisfy: \[\begin{align} \|\hat{\boldsymbol{X}}-\boldsymbol{X}\|_2 &\le \frac{1}{\sqrt{A}}\,\|\hat{\boldsymbol{S}}_{\rightarrow f}-\boldsymbol{S}\|_2, \label{eq95time95from95freq}\\ \|\hat{\boldsymbol{S}}_{\rightarrow f}-\boldsymbol{S}\|_2 &\le \sqrt{B}\,\|\hat{\boldsymbol{X}}-\boldsymbol{X}\|_2, \label{eq95freq95from95time} \end{align}\] {#eq: sublabel=eq:eq95time95from95freq,eq:eq95freq95from95time} where \(\boldsymbol{S}=W_\theta(\boldsymbol{X})\) and \(\hat{\boldsymbol{S}}_{\rightarrow f}=W_\theta(\hat{\boldsymbol{X}})\).
From Lemma 2 (proof is given in Appendix ¿sec:sec95proof95lemma2?), when the time-frequency transform \(W_\theta\) satisfies frame bounds, the reconstruction errors in the time domain and the time-frequency domain bound each other up to constants. Therefore, beyond feature or score level fusion, we introduce the following cycle consistency constraint: \[\mathcal{L}_{\mathrm{cyc}} = l\!\left(\hat{\boldsymbol{S}}_{\rightarrow f},\,\boldsymbol{S}\right) + l\!\left(\hat{\boldsymbol{X}}_{\leftarrow f},\,\boldsymbol{X}\right). \label{eq95l95cyc}\tag{18}\]
We add a cross-path constraint to explicitly align the multi-scale reconstruction pathway with the time-frequency cycle pathway. This alignment is required for tri-view learning, since LEFT aims to enforce agreement among time, frequency, and multi-scale structure within a single model. The alignment target can be either \(\hat{\boldsymbol{X}}_{\leftarrow f}\) or \(\hat{\boldsymbol{X}}\). The cycle loss in Eq. 18 aligns both reconstructions to the same reference \(\boldsymbol{X}\), and it also implies that \(\hat{\boldsymbol{X}}_{\leftarrow f}\) and \(\hat{\boldsymbol{X}}\) become close because \(\|\hat{\boldsymbol{X}}-\hat{\boldsymbol{X}}_{\leftarrow f}\|_2 \le \|\hat{\boldsymbol{X}}-\boldsymbol{X}\|_2 + \|\hat{\boldsymbol{X}}_{\leftarrow f}-\boldsymbol{X}\|_2\). Therefore, it is sufficient to constrain \(\hat{\boldsymbol{X}}_{\mathrm{ms}}\) to one of them. We choose \(\hat{\boldsymbol{X}}_{\leftarrow f}\) and enforce their agreement as follows: \[\mathcal{L}_{\mathrm{cons}} = l\!\left(\hat{\boldsymbol{X}}_{\mathrm{ms}},\,\hat{\boldsymbol{X}}_{\leftarrow f}\right). \label{eq95l95cons}\tag{19}\] This ties the multi-scale reconstruction pathway to the cycle pathway, so cross-resolution structure learned by \(\hat{\boldsymbol{X}}_{\mathrm{ms}}\) is required to agree with the synthesis-consistent reconstruction \(\hat{\boldsymbol{X}}_{\leftarrow f}\). The tri-view alignment is enforced at the reconstruction level, and cross-path inconsistencies are unlikely to be caused solely by representation drift, making them useful evidence for anomaly scoring.
The multi-scale pathway aims to reconstruct Nyquist-feasible structural content across resolutions, so that coarse-to-fine agreement can be explicitly checked. Starting from fused multi-scale tokens \(\boldsymbol{H}^{\mathrm{ms}+}\), we perform reconstruction in a coarse-to-fine manner: coarser tokens provide structural context while finer targets enforce detailed consistency. To retain scale-specific structure while injecting cross-view evidence, we combine the original multi-scale tokens and the interaction-enhanced tokens: \[\tilde{\boldsymbol{H}}^{\mathrm{ms}}=\beta_{\mathrm{res}}\boldsymbol{H}^{\mathrm{ms}}+\beta_{\mathrm{int}}\boldsymbol{H}^{\mathrm{ms}+}, \label{eq95ms95fuse}\tag{20}\] where \(\boldsymbol{H}^{\mathrm{ms}}\) preserves scale-pure structural evidence produced by the block-diagonal encoder in Eq. 11 , while \(\boldsymbol{H}^{\mathrm{ms}+}\) carries alignment signals injected through tri-view interaction.
We then reconstruct multi-scale targets by splitting tokens by scale, upsampling in token space, and decoding patches: \[\hat{\boldsymbol{Y}} = D_{\mathrm{ms}}\!\left(\mathrm{Up}\bigl(\mathrm{Split}(\tilde{\boldsymbol{H}}^{\mathrm{ms}})\bigr)\right), \label{eq95ms95decode}\tag{21}\] which yields reconstructions for scales \(k=2,\ldots,K\) and the full-rate reconstruction \(\hat{\boldsymbol{X}}_{\mathrm{ms}}\in\mathbb{R}^{T\times C}\). We treat the coarsest scale \(k=1\) as structural context and do not supervise it, since directly fitting the coarsest component can encourage overly smooth solutions while contributing limited timestamp-level anomaly localization.
Define the multi-scale target: \[\boldsymbol{Y}=\mathrm{Concat}\bigl(\boldsymbol{X}^{(2)},\ldots,\boldsymbol{X}^{(K)},\boldsymbol{X}\bigr). \label{eq95ms95target}\tag{22}\]
We optimize a segment-aware objective so each scale contributes comparably despite different lengths: \[\begin{align} \mathcal{L}_{\mathrm{ms}} &= \sum_{k=2}^{K}\omega_k\,l\!\left(\hat{\boldsymbol{X}}^{(k)}_{\mathrm{ms}},\boldsymbol{X}^{(k)}\right) +\omega_{\mathrm{full}}\,l\!\left(\hat{\boldsymbol{X}}_{\mathrm{ms}},\boldsymbol{X}\right), \\ &\text{s.t.} \quad \sum_{k=2}^{K}\omega_k+\omega_{\mathrm{full}}=1, \end{align} \label{eq95l95ms}\tag{23}\] where \(l(\cdot,\cdot)\) denotes SmoothL1.
LEFT is trained to make agreement an inherent property: the multi-scale pathway should reconstruct Nyquist-feasible structure across resolutions, the time-frequency pathway should satisfy bidirectional analysis-synthesis consistency, and the two pathways should agree on the full-rate reconstruction. Accordingly, the overall training loss combines (i) multi-scale reconstruction, (ii) cycle consistency, and (iii) cross-path consistency on the time domain: \[\mathcal{L} = \lambda_{\mathrm{ms}}\mathcal{L}_{\mathrm{ms}} + \lambda_{\mathrm{cyc}}\mathcal{L}_{\mathrm{cyc}} + \lambda_{\mathrm{cons}}\mathcal{L}_{\mathrm{cons}}, \label{eq95total95loss}\tag{24}\] where \(\mathcal{L}_{\mathrm{ms}}\) teaches scale-specific structure to be reconstructable, \(\mathcal{L}_{\mathrm{cyc}}\) restricts the time-frequency outputs to be mutually reconstructable through \(W_\theta\) and \(W_\theta^{-1}\), and \(\mathcal{L}_{\mathrm{cons}}\) locks the two pathways to a shared full-rate prediction, so discrepancies at inference are less likely to arise only from pathway drift and can provide useful evidence for anomaly scoring.
At inference, LEFT scores anomalies as violations of agreement in two complementary forms: inconsistency within the time-frequency cycle, and reconstruction residuals across resolutions.
Lemma 3. Assume Lemma 2 holds. Assume further that the moving-average smoother \(\mathrm{MA}_\kappa\) is a linear operator with nonnegative kernel weights \(\{w_i\}\) satisfying \(\sum_i w_i=1\). Moreover, assume there exists a constant \(\rho_\kappa\ge 1\) (depending only on \(\kappa\) and the boundary rule) such that for any nonnegative sequence \(u(t)\), \[\Bigl\langle \bigl(\mathrm{MA}_\kappa(u)\bigr)(t)\Bigr\rangle_t \;\le\; \rho_\kappa\,\langle u(t)\rangle_t. \label{eq95ma95rho}\qquad{(3)}\]
Define the raw* cycle magnitude inside the smoother as: \[\tilde{\mathcal{A}}_{\mathrm{cyc}}(t) = \alpha_f\left|\hat{\boldsymbol{X}}_{\leftarrow f}(t)-\boldsymbol{X}(t)\right| +\alpha_t\left|\hat{\boldsymbol{X}}(t)-\boldsymbol{X}(t)\right| +\alpha_g\,g(t) +\alpha_c\,c(t), \label{eq95acyc95raw}\tag{25}\] where \(c(t)\ge 0\) is the cross-path discrepancy used in Eq. 29 (e.g., \(c(t)=\left|\hat{\boldsymbol{X}}_{\mathrm{ms}}(t)-\hat{\boldsymbol{X}}_{\leftarrow f}(t)\right|\)). Recall that \(\mathcal{A}_{\mathrm{cyc}}(t)=\bigl(\mathrm{MA}_\kappa(\tilde{\mathcal{A}}_{\mathrm{cyc}})\bigr)(t)\) and \(\mathcal{A}(t)=\alpha_{\mathrm{cyc}}\mathcal{A}_{\mathrm{cyc}}(t)+\alpha_{\mathrm{ms}}\mathcal{A}_{\mathrm{ms}}(t)\). If training achieves \(\mathcal{L}_{\mathrm{ms}}\le \varepsilon_{\mathrm{ms}}\), \(\mathcal{L}_{\mathrm{cyc}}\le \varepsilon_{\mathrm{cyc}}\), and \(\mathcal{L}_{\mathrm{cons}}\le \varepsilon_{\mathrm{cons}}\), then the mean inference score satisfies, \[\langle \mathcal{A}(t)\rangle_t \;\le\; \kappa_{\mathrm{ms}}\varepsilon_{\mathrm{ms}} + \rho_\kappa\,\kappa_{\mathrm{cyc}}\varepsilon_{\mathrm{cyc}} + \rho_\kappa\,\kappa_{\mathrm{cons}}\varepsilon_{\mathrm{cons}} + \rho_\kappa\,\kappa_g\,\alpha_g\,\langle g(t)\rangle_t + \kappa_0, \label{eq95normal95upper}\tag{26}\] where constants depend only on score aggregation weights, supervised scales, and \(\rho_\kappa\). Conversely, let \(\Omega\subseteq\{1,\ldots,T\}\) be a non-negligible subset. If \(\langle |\hat{\boldsymbol{X}}(t)-\boldsymbol{X}(t)| \rangle_{t\in\Omega} \ge \delta_t\), \(\langle |\hat{\boldsymbol{X}}_{\leftarrow f}(t)-\boldsymbol{X}(t)| \rangle_{t\in\Omega}\ge \delta_f\), \(\langle c(t)\rangle_{t\in\Omega}\ge \delta_c\), then the cycle component obeys, \[\bigl\langle \tilde{\mathcal{A}}_{\mathrm{cyc}}(t)\bigr\rangle_{t\in\Omega} \;\ge\; \alpha_t\delta_t+\alpha_f\delta_f+\alpha_c\delta_c. \label{eq95anom95lower95cycle}\tag{27}\] *
If in addition the pointwise bounds \(|\hat{\boldsymbol{X}}(t)-\boldsymbol{X}(t)|\ge \delta_t\), \(|\hat{\boldsymbol{X}}_{\leftarrow f}(t)-\boldsymbol{X}(t)|\ge \delta_f\), and \(c(t)\ge \delta_c\) hold for all \(t\in\Omega\), then for any \(t\in\Omega\) whose full averaging window of \(\mathrm{MA}_\kappa\) lies inside \(\Omega\), one has \(\mathcal{A}_{\mathrm{cyc}}(t)\ge \alpha_t\delta_t+\alpha_f\delta_f+\alpha_c\delta_c\).
From Lemma 3 (proof is given in Appendix ¿sec:sec95proof95lemma3?), we propose a timestamp-level anomaly map: \[\mathcal{A}(t)=\alpha_{\mathrm{cyc}}\mathcal{A}_{\mathrm{cyc}}(t)+\alpha_{\mathrm{ms}}\mathcal{A}_{\mathrm{ms}}(t), \label{eq95score95total}\tag{28}\] where \(\mathcal{A}_{\mathrm{cyc}}(t)\) is the cycle-based discrepancy score and \(\mathcal{A}_{\mathrm{ms}}(t)\) is the multi-scale reconstruction score. We compute cycle residuals and apply a moving-average \(\mathrm{MA}_\kappa\) with smoothing window size \(\kappa\) to suppress local noise and stabilize timestamp-level decisions: \[\mathcal{A}_{\mathrm{cyc}}(t) = \Big(\mathrm{MA}_\kappa\!\big( \alpha_f\lvert\hat{\boldsymbol{X}}_{\leftarrow f}-\boldsymbol{X}\rvert +\alpha_t\lvert\hat{\boldsymbol{X}}-\boldsymbol{X}\rvert +\alpha_g\,g(t) +\alpha_c\,c(t) \big)\Big)(t), \label{eq95score95cyc}\tag{29}\] where \(c(t)\) measures cross-path discrepancy between the multi-scale pathway and the cycle pathway on the time domain, so disagreements penalized by \(\mathcal{L}_{\mathrm{cons}}\) during training can be directly reflected in the inference score. \(g(t)\) is computed from the sharpness and entropy of the time- and frequency-view prototype assignments. Multi-scale score aggregates errors from all supervised scales by aligning them to the full resolution, so evidence that is salient at a coarse scale can still contribute to the fine-grained anomaly map: \[\mathcal{A}_{\mathrm{ms}}(t) = \lvert\hat{\boldsymbol{X}}_{\mathrm{ms}}(t)-\boldsymbol{X}(t)\rvert + \sum_{k=2}^{K}\operatorname{Up}_{T}\!\left(\lvert\hat{\boldsymbol{X}}^{(k)}_{\mathrm{ms}}-\boldsymbol{X}^{(k)}\rvert\right)(t), \label{eq95score95ms}\tag{30}\] where \(\operatorname{Up}_{T}(\cdot)\) upsamples a sequence to length \(T\). This design avoids relying on a single-view dominant residual: any-view irregularity can increase \(\mathcal{A}(t)\) either through cycle disagreement, cross-path mismatch, or cross-resolution residual accumulation.
Datasets.
| Dataset | Domain | Dimension | Window | Training | Validation | Test (labeled) | AR (%) |
|---|---|---|---|---|---|---|---|
| MSL | Spacecraft | 1 | 96 | 46,653 | 11,664 | 73,729 | 10.5 |
| PSM | Server Machine | 25 | 192 | 105,984 | 26,497 | 87,841 | 27.8 |
| SMAP | Spacecraft | 1 | 192 | 108,146 | 27,037 | 427,617 | 12.8 |
| SMD | Server Machine | 38 | 192 | 566,724 | 141,681 | 708,420 | 4.2 |
| SWaT | Water treatment | 31 | 192 | 396,000 | 99,000 | 449,919 | 12.1 |
| GECCO | Water treatment | 9 | 128 | 55,408 | 13,852 | 69,261 | 1.25 |
| SWAN | Space Weather | 38 | 192 | 48,000 | 12,000 | 60,000 | 23.8 |
We evaluate LEFT on public TSAD benchmarks covering server monitoring, space telemetry, and industrial control. SMD and PSM contain server resource-utilization or performance metrics [25], [26]; MSL and SMAP are NASA telemetry datasets with multivariate sensor and actuator signals [27]; and SWaT records water-treatment sensor traces under normal operation and attacks [28]. We also use NeurIPS-TS and report results on its GECCO and SWAN subsets [29]. For MSL and SMAP, we follow prior work [4], [30] and keep only the first continuous channel, since discrete variables are less suitable for reconstruction-based scoring. Dataset details are given in Table 1, and the data split and sliding-window setup follow [4].
Baselines. Baselines include linear transformation-based methods, such as OCSVM[31] and PCA[32], and outlier-oriented detectors, including IForest[33] and LODA[34]. We consider density-based methods (HBOS[35], LOF[16]), which remain competitive in low-dimensional regimes but can be sensitive to complex temporal drift. Neural baselines span reconstruction and forecasting, including AutoEncoder (AE)[36], DAGMM[17], LSTM[27], CAE-Ensemble (CAE)[37], and Omni-Anomaly (Omni)[25]. We include recent TSAD models from transformer, contrastive, frequency-aware, and pre-trained lines, such as Anomaly Transformer (AT)[21], DCdetector (DC)[20], ModernTCN[38], GPT4TS[39], MtsCID[40], TimeMixer[23], TimesNet[11], CrossAD[4], DADA[41], and CATCH[42]. Among them, CATCH is a recent frequency-aware baseline, DADA is a recent pre-trained general baseline, and MtsCID, TimeMixer, TimesNet, and CrossAD are closely related multi-scale SOTA methods.
Metrics. Evaluation in TSAD can be misleading under point adjustment, since even random predictors may obtain inflated scores [20], [21]. TSB-AD [43] further argues that VUS-PR [44] provides a more robust and less lag-sensitive evaluation, while several common metrics can be biased across scenarios. We therefore report VUS-PR and VUS-ROC as the main metrics [44].
Implementation Details. In our setup, the time-view encoder is a lightweight 1D convolutional stack with kernel sizes \((5,3,1)\), while the frequency-view encoder is a lightweight 2D convolutional stack with two \((3,3)\) layers. The multi-scale branch uses a fixed set of downsampling factors \(\{r_k\}_{k=1}^K\) and the number of scales \(K\) is given by the number of downsampling factors. All decoders are two-layer MLPs. We use sliding windows for both training and inference, and report results under a non-overlapping window protocol. Optimization uses Adam with learning rate \(10^{-4}\) and batch size 128. Following [45], we keep all test windows at inference time and do not apply the drop-last trick. We set decision thresholds with SPOT [46], consistent with prior TSAD practice [4], [30]. All experiments are implemented in PyTorch and run on a single NVIDIA L40 GPU. More details and code are available at https://github.com/DezhengWang/Left.git.
| Dataset | SMD | MSL | SMAP | SWaT | PSM | GECCO | SWAN | |||||||
| Metric | V-R | V-P | V-R | V-P | V-R | V-P | V-R | V-P | V-R | V-P | V-R | V-P | V-R | V-P |
| OCSVM | 0.6451 | 0.1131 | 0.5798 | 0.1753 | 0.4185 | 0.1133 | 0.5903 | 0.4396 | 0.5993 | 0.4252 | 0.7533 | 0.1207 | 0.9088 | 0.9004 |
| PCA | 0.7174 | 0.1529 | 0.6108 | 0.1889 | 0.4090 | 0.1144 | 0.6149 | 0.4459 | 0.6331 | 0.4706 | 0.5366 | 0.0443 | 0.9290 | 0.9123 |
| IForest | 0.7224 | 0.1304 | 0.5638 | 0.1631 | 0.4960 | 0.1315 | 0.3677 | 0.1011 | 0.6009 | 0.3964 | 0.7083 | 0.0943 | 0.8835 | 0.8793 |
| LODA | 0.6745 | 0.1213 | 0.5375 | 0.1689 | 0.3973 | 0.1017 | 0.6358 | 0.3531 | 0.6089 | 0.4423 | 0.5749 | 0.0339 | 0.9170 | 0.9107 |
| HBOS | 0.6670 | 0.1102 | 0.6265 | 0.1790 | 0.5620 | 0.1388 | 0.7084 | 0.4602 | 0.7056 | 0.5061 | 0.5440 | 0.0453 | 0.9056 | 0.8894 |
| LOF | 0.6893 | 0.1076 | 0.6081 | 0.1715 | 0.5673 | 0.1409 | 0.6667 | 0.4187 | 0.6628 | 0.4615 | 0.7817 | 0.0919 | 0.9095 | 0.9007 |
| AE | 0.7560 | 0.1542 | 0.6047 | 0.1890 | 0.4687 | 0.1366 | 0.5903 | 0.4144 | 0.6339 | 0.4490 | 0.6124 | 0.0448 | 0.6982 | 0.0201 |
| DAGMM | 0.6988 | 0.1496 | 0.6069 | 0.1803 | 0.5599 | 0.1349 | 0.5746 | 0.4731 | 0.5598 | 0.4522 | 0.5099 | 0.0396 | 0.8951 | 0.8697 |
| LSTM | 0.7001 | 0.1395 | 0.6163 | 0.1681 | 0.5329 | 0.1399 | 0.5482 | 0.2200 | 0.5571 | 0.4592 | 0.6450 | 0.0668 | 0.9082 | 0.8862 |
| CAE | 0.7174 | 0.1376 | 0.5382 | 0.1639 | 0.4212 | 0.1140 | 0.5939 | 0.4104 | 0.6113 | 0.4395 | 0.5524 | 0.0528 | 0.9042 | 0.9022 |
| Omni | 0.7080 | 0.1340 | 0.5490 | 0.1973 | 0.4743 | 0.1239 | 0.6187 | 0.4475 | 0.6340 | 0.4472 | 0.5386 | 0.0517 | 0.9041 | 0.9022 |
| AT | 0.5117 | 0.0796 | 0.3890 | 0.1041 | 0.4571 | 0.1239 | 0.5561 | 0.2679 | 0.5186 | 0.3309 | 0.4751 | 0.0278 | 0.8046 | 0.7943 |
| DC | 0.5145 | 0.0814 | 0.3900 | 0.0948 | 0.4444 | 0.1149 | 0.5191 | 0.1495 | 0.5235 | 0.3366 | 0.5454 | 0.0361 | 0.8429 | 0.8338 |
| GPT4TS | 0.7679 | 0.1745 | 0.7697 | 0.2769 | 0.5449 | 0.1289 | 0.2537 | 0.0846 | 0.6466 | 0.4599 | 0.9776 | 0.4181 | 0.9340 | 0.8924 |
| ModernTCN | 0.7707 | 0.1596 | 0.7747 | 0.3010 | 0.5470 | 0.1395 | 0.2735 | 0.0941 | 0.6480 | 0.4668 | 0.9694 | 0.4819 | 0.9027 | 0.8962 |
| MtsCID | 0.5162 | 0.0815 | 0.4686 | 0.1181 | 0.4260 | 0.1177 | 0.5021 | 0.1283 | 0.5194 | 0.3296 | 0.5315 | 0.0381 | 0.8128 | 0.8375 |
| TimeMixer | 0.7711 | 0.1391 | 0.7858 | 0.2461 | 0.5552 | 0.1371 | 0.2673 | 0.0918 | 0.5974 | 0.3807 | 0.9899 | 0.4606 | 0.9290 | 0.8721 |
| TimesNet | 0.8420 | 0.2040 | 0.7880 | 0.2731 | 0.5495 | 0.1352 | 0.2974 | 0.1158 | 0.6344 | 0.4373 | 0.9834 | 0.4578 | 0.9515 | 0.9160 |
| DADA | 0.7249 | 0.1188 | 0.5457 | 0.1758 | 0.4307 | 0.1151 | 0.6216 | 0.4349 | 0.6583 | 0.4707 | 0.6835 | 0.0605 | 0.9529 | 0.9081 |
| CATCH | 0.8397 | 0.1951 | 0.8042 | 0.2971 | 0.5648 | 0.1479 | 0.2599 | 0.0982 | 0.6886 | 0.4888 | 0.9890 | 0.4512 | 0.9467 | 0.9189 |
| CrossAD | 0.8580 | 0.2344 | 0.8091 | 0.3144 | 0.5779 | 0.1443 | 0.7865 | 0.4767 | 0.7302 | 0.5596 | 0.9948 | 0.6211 | 0.9499 | 0.9171 |
| LEFT | 0.8638 | 0.2389 | 0.8157\(^{\ddag}\) | 0.3342\(^{\ddag}\) | 0.6562\(^{\ddag}\) | 0.1726\(^{\ddag}\) | 0.7991\(^{\ddag}\) | 0.5290\(^{\ddag}\) | 0.7836\(^{\ddag}\) | 0.5701\(^{\dag}\) | 0.9949\(^{\ddag}\) | 0.6634\(^{\ddag}\) | 0.9549\(^{\ddag}\) | 0.9244\(^{\ddag}\) |
We evaluate LEFT on seven real-world TSAD benchmarks and compare it with 21 competitive baselines, as reported in Table 2. Across datasets with varied dynamics and anomaly types, LEFT achieves stronger ranking-based detection quality under both VUS-PR and VUS-ROC. As shown in Table 2, LEFT improves both metrics on every benchmark over the strongest baseline (underlined), with average gains of about 0.023 in both VUS-ROC and VUS-PR. Relative to the strongest baseline on each dataset, LEFT improves VUS-ROC by about 3.45% and VUS-PR by about 6.45% on average. The largest relative gains appear on SMAP, where LEFT improves VUS-ROC by 13.55% and VUS-PR by 16.70% relative to the strongest baseline.
For a comprehensive comparison, we report additional evaluation metrics in Table 3. We include AUC-ROC (AUC-R), AUC-PR (AUC-P), Range-AUC-ROC (R-A-R), Range-AUC-PR (R-A-P), Accuracy (Acc), and Standard F1 (F1). Here we compare only with CrossAD [4], since it is the best-performing baseline in our main results (see Table 2). The results show that LEFT performs strongly across these metrics, which further supports its effectiveness for time series anomaly detection.
| Dataset | Model | AUC-R | AUC-P | R-A-R | R-A-P | ACC | F1 |
|---|---|---|---|---|---|---|---|
| PSM | CrossAD | 0.6523 | 0.4706 | 0.7292 | 0.5733 | 0.6274 | 0.4675 |
| LEFT | 0.7755 | 0.5753 | 0.7858 | 0.5890 | 0.6555 | 0.5693 | |
| MSL | CrossAD | 0.7808 | 0.2837 | 0.8095 | 0.3409 | 0.6786 | 0.3361 |
| LEFT | 0.7878 | 0.3019 | 0.8121 | 0.3546 | 0.7296 | 0.3436 | |
| SMAP | CrossAD | 0.5577 | 0.1333 | 0.5926 | 0.1527 | 0.4285 | 0.2792 |
| LEFT | 0.6411 | 0.1618 | 0.6667 | 0.1821 | 0.5842 | 0.3053 |
| Architecture | PSM | MSL | SMAP | |||
| V-R | V-P | V-R | V-P | V-R | V-P | |
| \(w/o\) Tri-view Interaction | 0.7814 | 0.5653 | 0.8142 | 0.3235 | 0.5814\(\downarrow\) | 0.1477\(\downarrow\) |
| \(w/o\) Learnable Filterbank | 0.7748 | 0.5564 | 0.8082 | 0.3254 | 0.5952\(\downarrow\) | 0.1549\(\downarrow\) |
| \(w/o\) Cycle Consistency | 0.6497\(\downarrow\) | 0.4407\(\downarrow\) | 0.5283\(\downarrow\) | 0.1666\(\downarrow\) | 0.4487\(\downarrow\) | 0.1161\(\downarrow\) |
| \(w/o\) Cross-path Consistency | 0.7753 | 0.5516 | 0.8100 | 0.3251 | 0.5946\(\downarrow\) | 0.1480\(\downarrow\) |
| LEFT | 0.7836 | 0.5701 | 0.8157 | 0.3342 | 0.6562 | 0.1726 |
As shown in Table 4, to evaluate the components of LEFT, we conduct detailed ablations. The results show that LEFT achieves the best performance, which indicates that the gains come from the combined effect of the proposed modules rather than any single component. Removing tri-view interaction reduces the average from 0.7518 / 0.3590 to 0.7256 / 0.3455, showing that cross-view alignment contributes to detection quality. Replacing the learnable filterbank with a fixed one causes a similar drop to 0.7261 / 0.3456 on average, suggesting that adaptive multi-scale structure captures evidence that fixed band splits miss in this setting. The largest effect comes from cycle consistency, since removing it collapses average performance to 0.5422 / 0.2411, which supports the view that many anomalies are better exposed by agreement breaks between the time and frequency paths than by a dominant single-branch residual. Removing cross-path consistency lowers the average to 0.7266 / 0.3416, which is consistent with its role in aligning the multi-scale pathway with the time–frequency pathway. In Appendix 7.1, we provide a more comprehensive ablation analysis.
We compare the efficiency of LEFT with representative TSAD methods on PSM. The baselines cover several common design lines in recent work. AnomalyTransformer [21] uses a transformer and detects anomalies through association discrepancy. CrossAD [4] uses a transformer for multi-scale modeling. TimeMixer [23] uses MLP-based multi-scale mixing. TimesNet [11] uses frequency-aware convolutional modeling. Table 5 shows that LEFT achieves the lowest FLOPs and the fastest measured runtime among the compared methods, while maintaining a moderate model size. LEFT uses 188.849M FLOPs and 4.256M parameters. LEFT runs in 25.66 seconds per training epoch and 0.01527 seconds per 128 samples at inference. LEFT also shows clear efficiency advantages over strong baselines. The results suggest that LEFT stays small enough for typical deployment budgets, while its compute profile leads to clear wall-clock gains during both training and inference.
We compare all-pairs fusion and two-view variants. All-pairs fusion, denoted as \(M\leftrightarrow F\leftrightarrow T\), updates each view by aggregating information from the other two views, followed by residual addition and layer normalization. The two-view variants \(M\leftrightarrow F\), \(M\leftrightarrow T\), and \(T\leftrightarrow F\) enable interaction only within the selected pair of views, while keeping the third view unchanged. \(T\leftrightarrow F\) exchanges information only between time and frequency tokens, \(M\leftrightarrow T\) exchanges information only between multi-scale and time tokens, and \(M\leftrightarrow F\) exchanges information only between multi-scale and frequency tokens. The impact of fusion strategies on detection performance is reported in Table 6. Across PSM, MSL, and SMAP, the proposed tri-view fusion yields competitive overall performance. It consistently improves over the best two-view variant in both VUS-ROC and VUS-PR, showing that using evidence from all three views jointly is more effective than relying on any pair of views. All-pairs fusion is not always better. It adds many cross-view links, which can mix the views too strongly and spread noise across branches. This can weaken discrepancy signals and hurt performance on some datasets. In contrast, the proposed fusion uses a selected set of interactions, which is enough to align the views, but it keeps view-specific information separated so discrepancies stay meaningful for anomaly scoring. In Appendix 7.2, we provide a more comprehensive analysis.
| Method | FLOPs | # Params | Training | Inference |
| Time (s) | Time (s) | |||
| TimesNet | 21.145 G | 36.734 M | 285.80 | 0.10372 |
| TimeMixer | 11.967 G | 1.349 M | 630.19 | 0.28682 |
| AnomalyTransformer | 920.912 M | 4.799 M | 59.86 | 0.03076 |
| CrossAD | 1.288 G | 927.750 K | 205.22 | 0.06712 |
| LEFT | 188.849 M | 4.256 M | 25.66 | 0.01527 |
| Fusion Method | PSM | MSL | SMAP | |||
| V-R | V-P | V-R | V-P | V-R | V-P | |
| \(M\leftrightarrow F\leftrightarrow T\) | 0.7860 | 0.5692 | 0.8106 | 0.3246 | 0.4776\(\downarrow\) | 0.1295\(\downarrow\) |
| \(M\leftrightarrow F\) | 0.7687 | 0.5479 | 0.8069 | 0.3255 | 0.5640\(\downarrow\) | 0.1419\(\downarrow\) |
| \(M\leftrightarrow T\) | 0.7558 | 0.5371\(\downarrow\) | 0.8051 | 0.3149\(\downarrow\) | 0.4330\(\downarrow\) | 0.1163\(\downarrow\) |
| \(T\leftrightarrow F\) | 0.7790 | 0.5593 | 0.8121 | 0.3265 | 0.6203\(\downarrow\) | 0.1634\(\downarrow\) |
| Default | 0.7836 | 0.5701 | 0.8157 | 0.3342 | 0.6562 | 0.1726 |






Figure 3: Fusion hyper-parameters sensitivity analysis on PSM. (a, b) present the depth and width analysis. (c, d) show the sensitivity to \(\lambda_{\mathrm{cyc}}\) and \(\lambda_{\mathrm{cons}}\). (e, f): \(\alpha_{\mathrm{cyc}}\) and \(\alpha_{\mathrm{ms}}\) sensitivity. More results are listed in Appendix 7.3..



Figure 4: Effect of window size. (a): PSM. (b): MSL. (c): SMAP..



Figure 5: Qualitative anomaly detection results. (a): PSM. (b): MSL. (c): SMAP. High denotes anomalies, and low denotes normal ones..
Figs. 3 (a, b) show that increasing the depth or width of the fusion layer does not produce a meaningful performance gain, which aligns with the observation in Sec. 4.5.1 that stronger fusion is not always better. In this setting, a heavier fusion tends to over-mix the views, so distinctive evidence becomes less separable in the shared representation.
Figs. 3 (c, d) suggest that detection quality depends on the choice of cycle consistency and cross-path consistency. LEFT remains competitive when cycle consistency is strong and cross-path consistency is relatively weak. Pushing cross-path consistency to large values does not yield stable gains. The results suggest that an overly strong cross-path consistency weight can over-align the pathways and weaken fault evidence. A stronger cycle consistency weight is often beneficial because it better exploits the analysis-synthesis link between time and frequency views.
Figs. 3 (e, f) show that both VUS-ROC and VUS-PR depend on the choice of \(\alpha_{\mathrm{cyc}}\) and \(\alpha_{\mathrm{ms}}\), and neither metric improves monotonically when only one weight is increased. High-score regions concentrate in a middle range of the grid, while several extreme settings lead to lower values. This pattern echoes our main contribution that LEFT gains from combining cycle disagreement and reconstruction disagreement with multi-scale residual evidence, where reliable detection comes from their complementary use rather than amplifying a single term.
As shown in Fig. 4, LEFT shows stable performance under different window sizes, with dataset-dependent optima. PSM changes only slightly and peaks at 192, MSL favors shorter windows, while SMAP improves up to 192 but drops at 224. These results suggest that LEFT is robust within a practical window-size range, though moderate dataset-specific tuning remains useful.
Fig. 5 presents qualitative results on PSM, MSL, and SMAP. In these examples, CrossAD assigns elevated scores to many normal timestamps, leading to frequent off-interval alarms and more false positives. LEFT produces more concentrated predictions and aligns more closely with the annotated anomalous intervals on PSM and SMAP, although false alarms still remain in some cases.
We propose LEFT, a unified tri-view framework for unsupervised TSAD. LEFT constructs time tokens, frequency tokens from a differentiable STFT, and multi-scale structural tokens from a Nyquist-constrained learnable filterbank whose residual mask covers the spectrum above the learned structural bands. LEFT uses lightweight token interactions to fuse the three views and expose cross-view inconsistency. It also applies cross-scale reconstruction consistency and time–frequency cycle consistency, which makes the inconsistency signal more reliable. Experiments on real-world benchmarks show that LEFT improves detection quality and efficiency. Compared with strong baselines, LEFT improves VUS-ROC and VUS-PR by about 3% and 6%, respectively, while reducing FLOPs by over 80%, speeding up training by about \(8\times\). Future work will study when cross-view inconsistency is most informative and will improve interpretability by linking detected anomalies to specific time–frequency or cross-scale conflicts.
This work is supported by the National Natural Science Foundation of China (No. 12433011), the Guangdong Basic and Applied Basic Research Foundation (No. 2024A1515011962), the Australian Research Council (Nos. FT210100624, DP260100326, DE230101033, DP240101814, LP230200892, and LP240200546).
This appendix reports the ablation results in Table 7. LEFT achieves the best performance on each dataset and on average, reaching 0.7518 in VUS-ROC and 0.3590 in VUS-PR. Among single-component variants, cycle consistency brings the largest gain: the cycle-only setting in Row 3 raises the average to 0.6880 / 0.3320, while the other settings stay near the low baseline range. Row 13 confirms its importance, as removing cycle consistency with the other components retained sharply drops performance to 0.5422 / 0.2411. With cycle consistency, adding tri-view interaction or the learnable filterbank brings further gains, as Rows 9 and 7 show against Row 3, while Rows 11 and 12 remain below the full model. Cross-path consistency contributes beyond the cycle constraint, since removing it in Row 14 reduces the average from 0.7518 / 0.3590 to 0.7266 / 0.3416. Overall, time-frequency agreement is central to reliable learning, while the other components provide additional gains.
| Dataset | PSM | MSL | SMAP | avg. | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| T.V.I. | L.F.B. | C.C. | C.P.C. | V-R | V-P | V-R | V-P | V-R | V-P | V-R | V-P | |
| 1 | 0.6513 | 0.4438 | 0.5495 | 0.1849 | 0.4212 | 0.1138 | 0.5407 | 0.2475 | ||||
| 2 | 0.6523 | 0.4447 | 0.5584 | 0.1869 | 0.4586 | 0.1202 | 0.5564 | 0.2506 | ||||
| 3 | 0.7748 | 0.5491 | 0.7616 | 0.3090 | 0.5277 | 0.1378 | 0.6880 | 0.3320 | ||||
| 4 | 0.6497 | 0.4415 | 0.5226 | 0.1572 | 0.4727 | 0.1269 | 0.5483 | 0.2419 | ||||
| 5 | 0.7819 | 0.5684 | 0.7424 | 0.3075 | 0.4773 | 0.1275 | 0.6672 | 0.3344 | ||||
| 6 | 0.6498 | 0.4412 | 0.5558 | 0.1896 | 0.4371 | 0.1182 | 0.5476 | 0.2497 | ||||
| 7 | 0.7816 | 0.5582 | 0.8146 | 0.3291 | 0.5521 | 0.1424 | 0.7161 | 0.3432 | ||||
| 8 | 0.6490 | 0.4416 | 0.5391 | 0.1779 | 0.4398 | 0.1172 | 0.5427 | 0.2456 | ||||
| 9 | 0.7795 | 0.5614 | 0.8124 | 0.3316 | 0.5922 | 0.1556 | 0.7280 | 0.3495 | ||||
| 10 | 0.6527 | 0.4440 | 0.5448 | 0.1811 | 0.4848 | 0.1277 | 0.5608 | 0.2510 | ||||
| 11 | 0.7814 | 0.5653 | 0.8142 | 0.3235 | 0.5814 | 0.1477 | 0.7256 | 0.3455 | ||||
| 12 | 0.7748 | 0.5564 | 0.8082 | 0.3254 | 0.5952 | 0.1549 | 0.7261 | 0.3456 | ||||
| 13 | 0.6497 | 0.4407 | 0.5283 | 0.1666 | 0.4487 | 0.1161 | 0.5422 | 0.2411 | ||||
| 14 | 0.7753 | 0.5516 | 0.8100 | 0.3251 | 0.5946 | 0.1480 | 0.7266 | 0.3416 | ||||
| LEFT | 0.7836 | 0.5701 | 0.8157 | 0.3342 | 0.6562 | 0.1726 | 0.7518 | 0.3590 | ||||
| Dataset | Fusion Method | VUS-ROC | VUS-PR | Training | Inference |
| Time (s / epoch) | Time (s / batch) | ||||
| PSM | \(M\leftrightarrow F\leftrightarrow T\) | 0.7860 | 0.5692 | 30.29 | 0.01699 |
| \(M\leftrightarrow F\) | 0.7687 | 0.5479 | 20.56 | 0.01080 | |
| \(M\leftrightarrow T\) | 0.7558 | 0.5371 | 18.93 | 0.01060 | |
| \(T\leftrightarrow F\) | 0.7790 | 0.5593 | 18.79 | 0.01066 | |
| Default | 0.7836 | 0.5701 | 25.66 | 0.01527 | |
| MSL | \(M\leftrightarrow F\leftrightarrow T\) | 0.8106 | 0.3246 | 7.65 | 0.00854 |
| \(M\leftrightarrow F\) | 0.8069 | 0.3255 | 6.62 | 0.00788 | |
| \(M\leftrightarrow T\) | 0.8051 | 0.3149 | 6.31 | 0.00787 | |
| \(T\leftrightarrow F\) | 0.8121 | 0.3265 | 6.46 | 0.00782 | |
| Default | 0.8157 | 0.3342 | 7.02 | 0.00841 | |
| SMAP | \(M\leftrightarrow F\leftrightarrow T\) | 0.4776 | 0.1295 | 17.71 | 0.00854 |
| \(M\leftrightarrow F\) | 0.5640 | 0.1419 | 15.40 | 0.00790 | |
| \(M\leftrightarrow T\) | 0.4330 | 0.1163 | 14.62 | 0.00788 | |
| \(T\leftrightarrow F\) | 0.6203 | 0.1634 | 15.50 | 0.00854 | |
| Default | 0.6562 | 0.1726 | 16.34 | 0.00856 |
| PSM | MSL | SMAP | ||||
| V-R | V-P | V-R | V-P | V-R | V-P | |
| LEFT w WD | 0.7734 | 0.5577 | 0.8128 | 0.3321 | 0.6123 | 0.1579 |
| LEFT w JS | 0.7836 | 0.5701 | 0.8157 | 0.3342 | 0.6562 | 0.1726 |
Table 8 compares fusion strategies on PSM, MSL, and SMAP using VUS-ROC, VUS-PR, and measured runtime. The proposed strategy gives the most consistent detection quality, achieving the best VUS-PR on PSM and the best VUS-ROC and VUS-PR on MSL and SMAP. Although all-pairs fusion \(M \leftrightarrow F \leftrightarrow T\) obtains the highest VUS-ROC on PSM, it has higher compute cost and drops markedly on SMAP, indicating that denser interaction does not provide stable gains. The \(T \leftrightarrow F\) variant remains competitive on PSM and MSL and clearly outperforms \(M \leftrightarrow F\) and \(M \leftrightarrow T\) on SMAP, suggesting the importance of direct time-frequency exchange. In contrast, strategies mixing \(M\) with only one branch show weaker ranking quality, despite runtimes similar to the proposed strategy.












Figure 6: Fusion hyper-parameters sensitivity analysis on the MSL (a.x) and SMAP (b.x). (x.1) and (x.2) present the depth and width analysis. (x.3) and (x.4) show the sensitivity to \(\lambda_{\mathrm{cyc}}\) and \(\lambda_{\mathrm{cons}}\). (x.5) and (x.6): \(\alpha_{\mathrm{cyc}}\) and \(\alpha_{\mathrm{ms}}\) sensitivity..
Figs. 6 (a.1, a.2, b.1, b.2) show that increasing fusion depth or width brings no clear gain, and several settings slightly reduce VUS-ROC or VUS-PR, consistent with the observation that stronger fusion is not necessarily beneficial. Figs. 6 (a.3, a.4, b.3, b.4) further show that performance depends on the joint setting of cycle consistency and cross-path consistency. Higher scores appear when cross-path consistency remains low and cycle consistency is moderate, while large cross-path consistency does not yield reliable improvements. Figs. 6 (a.5, a.6, b.5, b.6) show that VUS-ROC and VUS-PR vary with the joint choice of \(\alpha_{\mathrm{cyc}}\) and \(\alpha_{\mathrm{ms}}\). The trend is not monotonic along either axis, since increasing one weight does not reliably improve the score when the other is fixed. Higher values concentrate in a middle region of the grid, where \(\alpha_{\mathrm{cyc}}\) is moderate to large and \(\alpha_{\mathrm{ms}}\) stays below its maximum, while several boundary settings yield lower scores. This pattern appears in both metrics, which supports the scoring design that balances cycle-based disagreement and multi-scale residual evidence rather than letting one term dominate.



Figure 7: Sensitivity of \(\{r_k\}_{k=1}^K\). (a): PSM. (b): MSL. (c): SMAP..
Fig. 7 shows that downsampling factors \(\{r_k\}_{k=1}^K\) affect performance. The VUS-ROC and VUS-PR results in Table 2 use fixed factors, such as (16, 8, 4) for SMAP, which may not be optimal. A more thorough hyper-parameter search may further improve performance.
In LEFT, JS divergence serves as a prototype calibration criterion for reliable EMA updates. To examine this choice, we replace the JS discrepancy with a Wasserstein-based variant (WD), keeping the other components unchanged. As shown in Table 9, WD does not improve performance on PSM, MSL, or SMAP.
This work develops a unified tri-view framework for unsupervised TSAD and shows competitive performance with favorable efficiency on the evaluated benchmarks. Nevertheless, this study is validated on a limited set of datasets and has not been tested on broader benchmarks such as UCR [47] or in practical deployment settings. In addition, the method may still produce false alarms in some cases, which remains a direction for future work.
Proof. Since \(r_1\ge\cdots\ge r_K\), the corresponding Nyquist cutoffs satisfy \(c_1\le\cdots\le c_K\). Since \(\sigma(u_k)\in(0,1)\), we have \(e_k-e_{k-1}=(c_k-e_{k-1})\sigma(u_k)\ge 0\), which shows that the edge sequence \(\{e_k\}\) is monotone nondecreasing. Moreover, \(e_k=e_{k-1}+(c_k-e_{k-1})\sigma(u_k)\le e_{k-1}+(c_k-e_{k-1})=c_k\), so \(e_k\le c_k\) for all \(k\). By the definition of \(\tilde{\boldsymbol{S}}^{(k)}(f)\), downsampling periodically replicates the spectrum and may introduce overlap among replicas. Therefore, the aliasing term is dominated by the residual spectral energy above the cutoff frequency \(c_k\), up to a scaling factor \(\vartheta(r_k)\). Accordingly, \[\|\Delta_{r_k}(\boldsymbol{X}^{(k)})\|_{2} \le \vartheta(r_k)\sum_{f>c_k}\|\tilde{\boldsymbol{S}}^{(k)}(f)\|_{2}. \label{eq-lemma1-proof-1}\tag{31}\]
Using \(\tilde{\boldsymbol{S}}^{(k)}(f)=\tilde{m}_k(f)\tilde{\boldsymbol{S}}(f)\) and \(0\le \tilde{m}_k(f)\le 1\), we obtain, \[\begin{align} \sum_{f>c_k}\|\tilde{\boldsymbol{S}}^{(k)}(f)\|_{2} &= \sum_{f>c_k}\tilde{m}_k(f)\|\tilde{\boldsymbol{S}}(f)\|_{2}\\ &\le \Bigl(\max_{f>c_k}\|\tilde{\boldsymbol{S}}(f)\|_{2}\Bigr)\sum_{f>c_k}\tilde{m}_k(f)\le \|\tilde{\boldsymbol{X}}\|_{2}\,\epsilon_k, \end{align}\] where the last inequality uses \(\max_f \|\tilde{\boldsymbol{S}}(f)\|_{2}\le \|\tilde{\boldsymbol{X}}\|_{2}\). Substituting this bound into the previous inequality 31 yields ?? . ◻
Proof. By definition, \[\hat{\boldsymbol{S}}_{\rightarrow f}-\boldsymbol{S} = W_\theta(\hat{\boldsymbol{X}})-W_\theta(\boldsymbol{X}) = W_\theta(\hat{\boldsymbol{X}}-\boldsymbol{X}).\]
Applying ?? to \(\boldsymbol{Y}=\hat{\boldsymbol{X}}-\boldsymbol{X}\) gives, \[\sqrt{A}\,\|\hat{\boldsymbol{X}}-\boldsymbol{X}\|_2 \le \|\hat{\boldsymbol{S}}_{\rightarrow f}-\boldsymbol{S}\|_2 \le \sqrt{B}\,\|\hat{\boldsymbol{X}}-\boldsymbol{X}\|_2,\] which yields ?? and ?? . ◻
Proof. We repeatedly use the elementary inequality for SmoothL1: for any scalar residual \(r\), \[|r|\le 2\,l(r,0)+1, \label{eq95smoothl195inline}\tag{32}\] which implies the same inequality after averaging over entries. \(\mathcal{A}_{\mathrm{ms}}(t)\) is a weighted sum of absolute reconstruction residuals aggregated across supervised scales. Applying 32 element-wise to each supervised residual and absorbing fixed dimensional factors yields, \[\langle \mathcal{A}_{\mathrm{ms}}(t)\rangle_t \;\le\; \kappa_{\mathrm{ms}}\mathcal{L}_{\mathrm{ms}}+\kappa_0^{(1)}.\]
By definition, \(\mathcal{A}_{\mathrm{cyc}}(t)=\bigl(\mathrm{MA}_\kappa(\tilde{\mathcal{A}}_{\mathrm{cyc}})\bigr)(t)\) with \(\tilde{\mathcal{A}}_{\mathrm{cyc}}(t)\ge 0\). The term \(|\hat{\boldsymbol{X}}_{\leftarrow f}-\boldsymbol{X}|\) is directly controlled by the time domain SmoothL1 term \(l(\hat{\boldsymbol{X}}_{\leftarrow f},\boldsymbol{X})\) in \(\mathcal{L}_{\mathrm{cyc}}\) via 32 . For \(|\hat{\boldsymbol{X}}-\boldsymbol{X}|\), Lemma 2 gives \(\|\hat{\boldsymbol{X}}-\boldsymbol{X}\|_2 \le \tfrac{1}{\sqrt{A}}\|\hat{\boldsymbol{S}}_{\rightarrow f}-\boldsymbol{S}\|_2\). Standard norm relations convert this to a bound on the mean absolute residual up to a fixed constant, and \(\|\hat{\boldsymbol{S}}_{\rightarrow f}-\boldsymbol{S}\|_2\) is controlled by the spectral SmoothL1 term \(l(\hat{\boldsymbol{S}}_{\rightarrow f},\boldsymbol{S})\) in \(\mathcal{L}_{\mathrm{cyc}}\) via 32 . Hence, \[\alpha_f\langle |\hat{\boldsymbol{X}}_{\leftarrow f}-\boldsymbol{X}|\rangle_t + \alpha_t\langle |\hat{\boldsymbol{X}}-\boldsymbol{X}|\rangle_t \;\le\; \kappa_{\mathrm{cyc}}\mathcal{L}_{\mathrm{cyc}}+\kappa_0^{(2)}.\]
For the cross-path term, using the definition \(c(t)=|\hat{\boldsymbol{X}}_{\mathrm{ms}}(t)-\hat{\boldsymbol{X}}_{\leftarrow f}(t)|\) and applying 32 to \(l(\hat{\boldsymbol{X}}_{\mathrm{ms}},\hat{\boldsymbol{X}}_{\leftarrow f})=\mathcal{L}_{\mathrm{cons}}\) gives, \[\alpha_c\langle c(t)\rangle_t \;\le\; \kappa_{\mathrm{cons}}\mathcal{L}_{\mathrm{cons}}+\kappa_0^{(3)}.\]
Combining the above with the nonnegative gate term yields, \[\bigl\langle \tilde{\mathcal{A}}_{\mathrm{cyc}}(t)\bigr\rangle_t \;\le\; \kappa_{\mathrm{cyc}}\mathcal{L}_{\mathrm{cyc}} + \kappa_{\mathrm{cons}}\mathcal{L}_{\mathrm{cons}} + \kappa_g\,\alpha_g\,\langle g(t)\rangle_t + \kappa_0^{(4)}.\] Applying ?? with \(u(t)=\tilde{\mathcal{A}}_{\mathrm{cyc}}(t)\) yields, \[\langle \mathcal{A}_{\mathrm{cyc}}(t)\rangle_t \;\le\; \rho_\kappa\Bigl( \kappa_{\mathrm{cyc}}\mathcal{L}_{\mathrm{cyc}} + \kappa_{\mathrm{cons}}\mathcal{L}_{\mathrm{cons}} + \kappa_g\,\alpha_g\,\langle g(t)\rangle_t + \kappa_0^{(4)} \Bigr).\] Using \(\mathcal{A}(t)=\alpha_{\mathrm{cyc}}\mathcal{A}_{\mathrm{cyc}}(t)+\alpha_{\mathrm{ms}}\mathcal{A}_{\mathrm{ms}}(t)\), absorbing fixed coefficients into \(\kappa_{\mathrm{ms}},\kappa_{\mathrm{cyc}},\kappa_{\mathrm{cons}}\), and substituting \(\mathcal{L}_{\mathrm{ms}}\le\varepsilon_{\mathrm{ms}}\), \(\mathcal{L}_{\mathrm{cyc}}\le\varepsilon_{\mathrm{cyc}}\), \(\mathcal{L}_{\mathrm{cons}}\le\varepsilon_{\mathrm{cons}}\) gives 26 . Under the stated conditions on \(\Omega\) and nonnegativity of all terms, \[\begin{align} &\bigl\langle \tilde{\mathcal{A}}_{\mathrm{cyc}}(t)\bigr\rangle_{t\in\Omega} \\ &\ge \alpha_t\bigl\langle |\hat{\boldsymbol{X}}(t)-\boldsymbol{X}(t)|\bigr\rangle_{t\in\Omega} + \alpha_f\bigl\langle |\hat{\boldsymbol{X}}_{\leftarrow f}(t)-\boldsymbol{X}(t)|\bigr\rangle_{t\in\Omega} + \alpha_c\langle c(t)\rangle_{t\in\Omega} \\ &\ge \alpha_t\delta_t+\alpha_f\delta_f+\alpha_c\delta_c, \end{align}\] which yields 27 . If the pointwise bounds hold and the averaging window lies in \(\Omega\), then \(\mathcal{A}_{\mathrm{cyc}}(t)=\mathrm{MA}_\kappa(\tilde{\mathcal{A}}_{\mathrm{cyc}})(t)\) preserves the same lower bound. ◻