PeakFocus: Bridging Peak Localization and Intensity Regression via a Unified Multi-Scale Framework for Electricity Load Forecasting
Summary
PeakFocus proposes a unified multi-scale framework for electricity load peak forecasting that jointly handles peak timing localization and intensity regression, addressing limitations of existing two-stage methods.
View Cached Full Text
Cached at: 05/22/26, 08:48 AM
# PeakFocus: Bridging Peak Localization and Intensity Regression via a Unified Multi-Scale Framework for Electricity Load Forecasting
Source: [https://arxiv.org/html/2605.21550](https://arxiv.org/html/2605.21550)
###### Abstract
Electricity load peak forecasting \(ELPF\), simultaneously predicting peak timing and intensity, is a prerequisite for effective grid scheduling and risk management\. However, existing methods face three limitations\. First, they adopt a two\-stage predict\-then\-locate paradigm, which severs the link between temporal localization and intensity regression\. Second, they still struggle with the multi\-scale representation conflict, leading to peak misjudgment and timing misalignment\. Third, the lack of explicit peak timing context during intensity regression causes intensity smoothing because predictions are dominated by global smoothing trends\. To address these limitations, we propose PeakFocus, a unified framework for ELPF\. \(i\) A Unified Peak\-Aware Pipeline \(UPAP\) utilizes a triple hybrid loss to jointly supervise temporal localization and intensity regression, alongside a tolerance\-based evaluation protocol\. \(ii\) A Multi\-Scale Mixing Peak Locator \(MSM\-PL\) exploits coarse\-grained features to mitigate peak misjudgment caused by local fluctuations, and injects them into fine\-grained features via a cascade mechanism to resolve timing misalignment\. \(iii\) A Location\-Aware Decoder \(LAD\) injects peak timing context into the intensity regression process, providing explicit guidance to counteract intensity smoothing and improve peak intensity estimation\. Extensive experiments on the public Electricity \(ELC\) dataset and our industrial\-scale World Large\-scale Electricity Load \(WLEL\) dataset show that PeakFocus outperforms baselines in both timing precision and intensity estimation\. Code and model implementation are available at[https://github\.com/TongjiFinLab/PeakFocus](https://github.com/TongjiFinLab/PeakFocus)\.
## IIntroduction
In industrial power grids, effective resource management relies heavily on forecasting electricity load demand\. Within such load signals, peaks are rare structural events sparsely embedded within otherwise smooth temporal patterns, which makes their accurate forecasting fundamentally different from learning dominant trends\. Within this scope, accurate peak forecasting is of central operational importance, as it must estimate both the timing and the intensity of the next load peak\. Accurate timing informs grid operators when to bring reserves online and dispatch supplementary generation, while accurate intensity determines how much reserve capacity is required to safely accommodate the upcoming demand surge\. Yet traditional deep time\-series models such as Transformers\[[1](https://arxiv.org/html/2605.21550#bib.bib1),[2](https://arxiv.org/html/2605.21550#bib.bib2)\]and Multi\-Layer Perceptrons \(MLPs\)\[[3](https://arxiv.org/html/2605.21550#bib.bib3),[4](https://arxiv.org/html/2605.21550#bib.bib4)\]are trained with global reconstruction losses\[[5](https://arxiv.org/html/2605.21550#bib.bib5)\]that minimize average error, biasing predictions toward overly smooth trends\[[6](https://arxiv.org/html/2605.21550#bib.bib6)\]that flatten extreme values and miss the very peaks that matter\. Electricity Load Peak Forecasting \(ELPF\)\[[7](https://arxiv.org/html/2605.21550#bib.bib7),[8](https://arxiv.org/html/2605.21550#bib.bib8)\]has therefore emerged as a specialized task targeting critical peak events\.
Figure 1:An illustration of limitations in PatchTST for ELPF under practical forecasting scenarios\. \(a\) Timing Misalignment and \(b\) Peak Misjudgment show the multi\-scale representation conflict, where coarse\-grained features lack temporal resolution \(causing shifts\) while fine\-grained features are easily affected by local fluctuations \(leading to false positives\)\. \(c\) Intensity Smoothing shows the underestimation caused by the lack of explicit peak timing context, where the intensity decoder lacks this context and is pulled toward global smoothing trends\.Existing ELPF methods have clear structural limitations\[[9](https://arxiv.org/html/2605.21550#bib.bib9)\]\. First, when applying TSF models, they typically rely on a two\-stage predict\-then\-locate paradigm\. This separation breaks the link between temporal localization and intensity regression, preventing the model from learning their relationship effectively\. Some end\-to\-end methods have been proposed\[[10](https://arxiv.org/html/2605.21550#bib.bib10),[11](https://arxiv.org/html/2605.21550#bib.bib11)\]to bridge this gap\. Second, they still struggle with the multi\-scale representation conflict\. Coarse\-grained features lack temporal resolution, resulting in timing misalignment \(Figure[1](https://arxiv.org/html/2605.21550#S1.F1)a\), while fine\-grained features are affected by local fluctuations, leading to peak misjudgment \(Figure[1](https://arxiv.org/html/2605.21550#S1.F1)b\)\. Third, intensity regression suffers from a lack of explicit peak timing context\. Even in unified frameworks, the decoder operates without this signal and predictions are pulled toward global smoothing trends \(Figure[1](https://arxiv.org/html/2605.21550#S1.F1)c\), often leading to peak underestimation\. This makes reliable temporal localization and accurate intensity estimation particularly challenging in real\-world grid\-scale forecasting deployment\.
To address these limitations, we propose PeakFocus, a unified framework for ELPF that jointly models temporal localization and intensity regression\. To bridge their separation, the Unified Peak\-Aware Pipeline \(UPAP\) introduces a triple hybrid objective that couples temporal localization and intensity regression during training\. To resolve the multi\-scale representation conflict, the Multi\-Scale Mixing Peak Locator \(MSM\-PL\) leverages coarse\-grained information to suppress local fluctuations and propagates it to fine\-grained features through a top\-down cascade for accurate temporal alignment\. To reduce intensity smoothing, the Location\-Aware Decoder \(LAD\) injects peak timing context into regression, enabling more accurate intensity estimation in practical grid settings without being dominated by global smoothing trends\. Together, these components form a unified framework that jointly addresses the three structural bottlenecks identified above\. This coupling not only sharpens timing precision but also tightens intensity estimation\. Building on this coordinated design, our key contributions summarized as follows:
- •Unified End\-to\-End Framework Bridging Localization and Regression\.We propose a fundamental paradigm shift from conventional global reconstruction to sparse extreme value optimization\. By bridging temporal localization and numerical regression, our framework unifies peak timing localization and intensity regression\. This methodology enables the direct learning of critical peak signals typically suppressed by standard global objectives\.
- •Multi\-Scale Peak\-Aware Architectural Modules\.We design specialized components to tackle intrinsic structural conflicts\. Specifically, the MSM\-PL resolves the trade\-off between misjudgment and misalignment via multi\-scale mixing, while the LAD employs context injection to overcome the intensity smoothing dilemma\.
- •Tolerance\-Aware Evaluation Protocol with an Industrial\-Grid Benchmark\.We establish a unified, tolerance\-aware evaluation protocol to jointly assess both localization accuracy and intensity regression error metrics\. PeakFocus is validated on the publicELCbenchmark and our industrial\-scaleWLELdataset \(2021–2025, real regional grid\), with consistent gains across both\.
## IIPreliminaries and Problem Definition
### II\-APeak Definition
We characterize peak events based on local optimality and structural prominence\. Given the ground\-truth load intensity series𝐘i\_true∈ℝH×1\\mathbf\{Y\}\_\{i\\\_\\mathrm\{true\}\}\\in\\mathbb\{R\}^\{H\\times 1\}over a forecasting horizon ofHHtime steps, the corresponding peak indicator series𝐘t\_true∈\{0,1\}H×1\\mathbf\{Y\}\_\{t\\\_\\mathrm\{true\}\}\\in\\\{0,1\\\}^\{H\\times 1\}is generated offline by the standard peak detector from the open\-source Python libraryfindpeaks111[https://github\.com/erdogant/findpeaks](https://github.com/erdogant/findpeaks)\. Formally, a time stepttis labeled as a peak \(𝐘t\_true\[t\]=1\\mathbf\{Y\}\_\{t\\\_\\mathrm\{true\}\}\[t\]=1\) only when two conditions are jointly satisfied under a sensitivity thresholdη\\etaand a lookahead windowℓ\\ell: \(i\) the signal atttis a local maximum from which the subsequent values drop by at leastη\\eta, and \(ii\) no larger value appears within the followingℓ\\ellsteps\. A symmetric rise of at leastη\\etaabove a local minimum marks the transition back from valley tracking\. This hysteresis\-style rule suppresses spurious local fluctuations while preserving structurally prominent peaks\.
### II\-BELPF Task Formulation
The goal of ELPF is to jointly anticipate the timing and intensity of peak events\. Formally, given a historical univariate load series𝐗1:T∈ℝT×1\\mathbf\{X\}\_\{1:T\}\\in\\mathbb\{R\}^\{T\\times 1\}of lengthTTtogether with timestamp features𝐌1:T\+H\\mathbf\{M\}\_\{1:T\+H\}spanning both the historical and forecasting windows, the model learns a mappingℱθ\\mathcal\{F\}\_\{\\theta\}parameterized byθ\\thetathat produces two aligned outputs over a forecasting horizon ofHHtime steps:
\[𝐘i\_pred,𝐘t\_pred\]=ℱθ\(𝐗1:T,𝐌1:T\+H\),\[\\mathbf\{Y\}\_\{i\\\_\\mathrm\{pred\}\},\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\}\]=\\mathcal\{F\}\_\{\\theta\}\(\\mathbf\{X\}\_\{1:T\},\\mathbf\{M\}\_\{1:T\+H\}\),\(1\)where𝐘i\_pred∈ℝH×1\\mathbf\{Y\}\_\{i\\\_\\mathrm\{pred\}\}\\in\\mathbb\{R\}^\{H\\times 1\}is the predicted intensity sequence and𝐘t\_pred∈\[0,1\]H×1\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\}\\in\[0,1\]^\{H\\times 1\}collects the per\-step peak occurrence probabilities\.
## IIIMethodology
As illustrated in Figure[2](https://arxiv.org/html/2605.21550#S3.F2), PeakFocus is designed as a dual\-head architecture underpinned by a shared backbone\. The process begins with the Encoder \(Section[III\-A](https://arxiv.org/html/2605.21550#S3.SS1)\), which applies Reversible Instance Normalization \(RevIN\) followed by data embedding to raw inputs𝐗1:T\\mathbf\{X\}\_\{1:T\}and temporal features𝐌1:T\\mathbf\{M\}\_\{1:T\}, constructing a horizon\-aligned context\. To simultaneously capture both timing and intensity, the architecture branches into two specialized streams\. First, the MSM\-PL \(Section[III\-B](https://arxiv.org/html/2605.21550#S3.SS2)\) injects coarse\-grained semantics into fine\-grained features, producing the peak hidden state𝐇pl\\mathbf\{H\}\_\{\\mathrm\{pl\}\}and timing probabilities𝐘t\_pred\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\}\. Leveraging this context, the LAD \(Section[III\-C](https://arxiv.org/html/2605.21550#S3.SS3)\) explicitly conditions the intensity regression𝐘i\_pred\\mathbf\{Y\}\_\{i\\\_\\mathrm\{pred\}\}on𝐇pl\\mathbf\{H\}\_\{\\mathrm\{pl\}\}via location\-aware cross\-attention to prevent intensity smoothing\. Finally, the entire framework is optimized end\-to\-end via the UPAP \(Section[III\-D](https://arxiv.org/html/2605.21550#S3.SS4)\) using a triple hybrid objective under consistent tolerance\-aware semantics\.
Figure 2:The proposed PeakFocus architecture\. An encoder extracts input features\. MSM\-PL resolves localization conflicts via multi\-scale mixing, outputting peak states𝐇pl\\mathbf\{H\}\_\{\\mathrm\{pl\}\}and timing𝐘t\_pred\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\}\. LAD prevents intensity smoothing by conditioning regression𝐘i\_pred\\mathbf\{Y\}\_\{i\\\_\\mathrm\{pred\}\}on𝐇pl\\mathbf\{H\}\_\{\\mathrm\{pl\}\}via Context Gate Fusion\. UPAP ensures robust optimization via a Triple Hybrid Objective \(ℒtotal\\mathcal\{L\}\_\{\\mathrm\{total\}\}\) under tolerance\-aware event\-level semantics and soft peak supervision\.### III\-ANormalization and Encoder
As illustrated in Figure[2](https://arxiv.org/html/2605.21550#S3.F2), we first apply RevIN normalization\[[12](https://arxiv.org/html/2605.21550#bib.bib12)\]to the input𝐗1:T∈ℝT×1\\mathbf\{X\}\_\{1:T\}\\in\\mathbb\{R\}^\{T\\times 1\}to obtain the corresponding zero\-mean unit\-variance normalized series:
𝐗norm,1:T=RevIN\(𝐗1:T\)\\mathbf\{X\}\_\{\\mathrm\{norm\},1:T\}=\\operatorname\{RevIN\}\(\\mathbf\{X\}\_\{1:T\}\)\(2\)
The input data for the encoder𝐗en\_in\\mathbf\{X\}\_\{\\mathrm\{en\\\_in\}\}are generated by the Data Embedding Layer\[[1](https://arxiv.org/html/2605.21550#bib.bib1)\], including value projection, positional encoding, and temporal features:
𝐗en\_in=ℰval\(𝐗norm,1:T\)\+ℰpos\+ℰtime\(𝐌1:T\)\\mathbf\{X\}\_\{\\mathrm\{en\\\_in\}\}=\\mathcal\{E\}\_\{\\mathrm\{val\}\}\(\\mathbf\{X\}\_\{\\mathrm\{norm\},1:T\}\)\+\\mathcal\{E\}\_\{\\mathrm\{pos\}\}\+\\mathcal\{E\}\_\{\\mathrm\{time\}\}\(\\mathbf\{M\}\_\{1:T\}\)\(3\)whereℰval\(⋅\)\\mathcal\{E\}\_\{\\mathrm\{val\}\}\(\\cdot\)is the 1D convolutional value embedding,ℰpos\\mathcal\{E\}\_\{\\mathrm\{pos\}\}the fixed positional encoding, andℰtime\(⋅\)\\mathcal\{E\}\_\{\\mathrm\{time\}\}\(\\cdot\)the timestamp embedding applied to𝐌1:T\\mathbf\{M\}\_\{1:T\}\.
A residual MLP backbonefencf\_\{\\mathrm\{enc\}\}\[[13](https://arxiv.org/html/2605.21550#bib.bib13)\]of latent dimensiondd, followed by a learnable projectionΠ\\Pi, then produces the horizon\-aligned context𝐗en\_out\\mathbf\{X\}\_\{\\mathrm\{en\\\_out\}\}:
𝐙hist\\displaystyle\\mathbf\{Z\}\_\{\\mathrm\{hist\}\}=fenc\(𝐗en\_in\)∈ℝT×d\\displaystyle=f\_\{\\mathrm\{enc\}\}\(\\mathbf\{X\}\_\{\\mathrm\{en\\\_in\}\}\)\\in\\mathbb\{R\}^\{T\\times d\}\(4\)𝐗en\_out\\displaystyle\\mathbf\{X\}\_\{\\mathrm\{en\\\_out\}\}=Π\(𝐙hist\)∈ℝH×d\\displaystyle=\\Pi\(\\mathbf\{Z\}\_\{\\mathrm\{hist\}\}\)\\in\\mathbb\{R\}^\{H\\times d\}\(5\)
### III\-BMulti\-Scale Mixing Peak Locator \(MSM\-PL\)
MSM\-PL is designed to resolve the intrinsic trade\-off between peak misjudgment and timing misalignment\. We incorporate future temporal information into the peak branch by injecting time features into the shared context\[[4](https://arxiv.org/html/2605.21550#bib.bib4)\], followed by layer normalization\[[14](https://arxiv.org/html/2605.21550#bib.bib14)\]to stabilize the feature distribution\. Note that unlike the temporal embedding in the encoder \(Eq\.[3](https://arxiv.org/html/2605.21550#S3.E3)\), which encodes historical time context𝐌1:T\\mathbf\{M\}\_\{1:T\}, the injection here introduces future time features𝐌T\+1:T\+H\\mathbf\{M\}\_\{T\+1:T\+H\}to provide positional awareness of the forecasting horizon\. This design enables the peak locator to distinguish periodic patterns, which is critical for accurate peak timing\. The peak\-branch input𝐇inp∈ℝH×d\\mathbf\{H\}\_\{\\mathrm\{in\}\}^\{p\}\\in\\mathbb\{R\}^\{H\\times d\}is computed as:
𝐇inp=LayerNorm\(𝐗en\_out\+ℰtime\(𝐌T\+1:T\+H\)\)\\mathbf\{H\}\_\{\\mathrm\{in\}\}^\{p\}=\\operatorname\{LayerNorm\}\\left\(\\mathbf\{X\}\_\{\\mathrm\{en\\\_out\}\}\+\\mathcal\{E\}\_\{\\mathrm\{time\}\}\(\\mathbf\{M\}\_\{T\+1:T\+H\}\)\\right\)\(6\)
To mitigate misjudgments caused by local fluctuations, we employ a hierarchical architecture comprising a bottom\-up pyramid and a top\-down cascade, drawing on the multi\-scale feature fusion paradigm established in computer vision\[[15](https://arxiv.org/html/2605.21550#bib.bib15),[16](https://arxiv.org/html/2605.21550#bib.bib16)\]\. Inspired by\[[2](https://arxiv.org/html/2605.21550#bib.bib2)\], we construct aKK\-layer hierarchy of coarse\-grained features through iterative downsampling, whereKKdenotes the pyramid depth\. LetAvgPoolκ,s\(⋅\)\\operatorname\{AvgPool\}\_\{\\kappa,s\}\(\\cdot\)denote the average pooling operation parameterized by kernel sizeκ\\kappaand stridess\(we usessto avoid conflict with the sigmoid functionσ\(⋅\)\\sigma\(\\cdot\)used later\)\. The pyramid generation is formally defined as the following recursion:
𝐒\(0\)=𝐇inp𝐒\(k\)=AvgPoolκ\(k\),s\(k\)\(𝐒\(k−1\)\)\\mathbf\{S\}^\{\(0\)\}=\\mathbf\{H\}\_\{\\mathrm\{in\}\}^\{p\}\\qquad\\mathbf\{S\}^\{\(k\)\}=\\operatorname\{AvgPool\}\_\{\\kappa^\{\(k\)\},s^\{\(k\)\}\}\(\\mathbf\{S\}^\{\(k\-1\)\}\)\(7\)To leverage these robust semantics for precise alignment, we fuse the coarse representations back into finer scales\. This is achieved via a cascade injection mechanism based on a convolutional layerψk\(⋅\)\\psi\_\{k\}\(\\cdot\)\(with kernel sizeκc\\kappa\_\{c\}\) and an average interpolation upsampling operator𝒰k\(⋅\)\\mathcal\{U\}\_\{k\}\(\\cdot\)\. The cascade generation is performed recursively fork=K−1,…,0k=K\-1,\\dots,0as:
𝐅\(K\)\\displaystyle\\mathbf\{F\}^\{\(K\)\}=ψK\(𝐒\(K\)\)\\displaystyle=\\psi\_\{K\}\(\\mathbf\{S\}^\{\(K\)\}\)\(8\)𝐅\(k\)\\displaystyle\\mathbf\{F\}^\{\(k\)\}=ψk\(𝐒\(k\)\)\+𝒰k\(𝐅\(k\+1\)\)\\displaystyle=\\psi\_\{k\}\(\\mathbf\{S\}^\{\(k\)\}\)\+\\mathcal\{U\}\_\{k\}\(\\mathbf\{F\}^\{\(k\+1\)\}\)\(9\)The cascade injection mechanism performs top\-down hierarchical fusion: the coarsest scale𝐅\(K\)\\mathbf\{F\}^\{\(K\)\}suppresses local fluctuations to capture global semantics; each subsequent finer scale integrates its local features with the upsampled coarser representation, providing structural transition and precise temporal alignment\. The resulting finest fused feature𝐅\(0\)\\mathbf\{F\}^\{\(0\)\}constitutes the peak hidden state𝐇pl∈ℝH×d\\mathbf\{H\}\_\{\\mathrm\{pl\}\}\\in\\mathbb\{R\}^\{H\\times d\}, serving as context for the downstream decoder\. We obtain the peak timing probability𝐘t\_pred\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\}by projecting this representation through a linear classifier parameterized by weight𝐖p∈ℝd×1\\mathbf\{W\}\_\{p\}\\in\\mathbb\{R\}^\{d\\times 1\}and bias𝐛p∈ℝ\\mathbf\{b\}\_\{p\}\\in\\mathbb\{R\}, followed by the sigmoid activation functionσ\(⋅\)\\sigma\(\\cdot\):
𝐘t\_pred=σ\(𝐇pl𝐖p\+𝐛p\)∈\[0,1\]H×1\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\}=\\sigma\(\\mathbf\{H\}\_\{\\mathrm\{pl\}\}\\mathbf\{W\}\_\{p\}\+\\mathbf\{b\}\_\{p\}\)\\in\[0,1\]^\{H\\times 1\}\(10\)
### III\-CLocation\-Aware Decoder \(LAD\)
To counteract the intensity smoothing dilemma, the LAD explicitly conditions the regression process on the peak hidden state𝐇pl\\mathbf\{H\}\_\{\\mathrm\{pl\}\}via a location\-aware cross\-attention mechanism\. We first construct decoder queries𝐗de\_in\\mathbf\{X\}\_\{\\mathrm\{de\\\_in\}\}by embedding normalized values with positional encoding:
𝐗de\_in=ℰval\(𝐗dec\)\+ℰpos∈ℝH×d\\mathbf\{X\}\_\{\\mathrm\{de\\\_in\}\}=\\mathcal\{E\}\_\{\\mathrm\{val\}\}\(\\mathbf\{X\}\_\{\\mathrm\{dec\}\}\)\+\\mathcal\{E\}\_\{\\mathrm\{pos\}\}\\in\\mathbb\{R\}^\{H\\times d\}\(11\)where𝐗dec∈ℝH×C\\mathbf\{X\}\_\{\\mathrm\{dec\}\}\\in\\mathbb\{R\}^\{H\\times C\}denotes the raw decoder input values, constructed by concatenating the lastLlabelL\_\{\\mathrm\{label\}\}values of the input series with a zero\-padded placeholder for the forecasting horizon, following the standard encoder\-decoder paradigm\[[1](https://arxiv.org/html/2605.21550#bib.bib1)\]\.ℰpos\\mathcal\{E\}\_\{\\mathrm\{pos\}\}provides the localized context\. Simultaneously, to inject peak timing context into the shared horizon representation, we employ a Context Gate Fusion mechanism to modulate𝐗en\_out\\mathbf\{X\}\_\{\\mathrm\{en\\\_out\}\}using the peak hidden state𝐇pl\\mathbf\{H\}\_\{\\mathrm\{pl\}\}, where⊙\\odotdenotes element\-wise multiplication:
𝐆=tanh\(𝐇pl\)⊙σ\(𝐗en\_out\)\\mathbf\{G\}=\\tanh\(\\mathbf\{H\}\_\{\\mathrm\{pl\}\}\)\\odot\\sigma\(\\mathbf\{X\}\_\{\\mathrm\{en\\\_out\}\}\)\(12\)Here,tanh\(𝐇pl\)\\tanh\(\\mathbf\{H\}\_\{\\mathrm\{pl\}\}\)extracts timing\-aware features where values near±1\\pm 1indicate strong peak/non\-peak signals, whileσ\(𝐗en\_out\)\\sigma\(\\mathbf\{X\}\_\{\\mathrm\{en\\\_out\}\}\)provides a soft gating mechanism with values in\(0,1\)\(0,1\)\. The element\-wise product selectively amplifies encoder features at peak\-relevant timesteps while preserving trend information elsewhere, acting as a conditional modulation that allows the decoder to dynamically adjust its prediction strategy according to the injected peak timing context\.
A multi\-head cross\-attention mechanism then guides intensity decoding\[[17](https://arxiv.org/html/2605.21550#bib.bib17)\], with𝐗de\_in\\mathbf\{X\}\_\{\\mathrm\{de\\\_in\}\}as the Query and the gated context𝐆\\mathbf\{G\}as both Key and Value\. For each headh∈\{1,…,Ha\}h\\in\\\{1,\\dots,H\_\{a\}\\\}, we compute queries, keys, and values through per\-head projections:
𝐐\(h\)\\displaystyle\\mathbf\{Q\}^\{\(h\)\}=𝐗de\_in𝐖Q\(h\)\\displaystyle=\\mathbf\{X\}\_\{\\mathrm\{de\\\_in\}\}\\mathbf\{W\}^\{\(h\)\}\_\{Q\}\(13\)𝐊\(h\)\\displaystyle\\mathbf\{K\}^\{\(h\)\}=𝐆𝐖K\(h\)\\displaystyle=\\mathbf\{G\}\\mathbf\{W\}^\{\(h\)\}\_\{K\}\(14\)𝐕\(h\)\\displaystyle\\mathbf\{V\}^\{\(h\)\}=𝐆𝐖V\(h\)\\displaystyle=\\mathbf\{G\}\\mathbf\{W\}^\{\(h\)\}\_\{V\}\(15\)where𝐖Q\(h\),𝐖K\(h\),𝐖V\(h\)∈ℝd×dh\\mathbf\{W\}^\{\(h\)\}\_\{Q\},\\mathbf\{W\}^\{\(h\)\}\_\{K\},\\mathbf\{W\}^\{\(h\)\}\_\{V\}\\in\\mathbb\{R\}^\{d\\times d\_\{h\}\}\. Then, the aggregated attention output𝐎attn\\mathbf\{O\}\_\{\\mathrm\{attn\}\}is obtained by concatenating all head outputs and projecting them afterward:
𝐎\(h\)\\displaystyle\\mathbf\{O\}^\{\(h\)\}=softmax\(𝐐\(h\)\(𝐊\(h\)\)⊤dh\)𝐕\(h\)\\displaystyle=\\operatorname\{softmax\}\\\!\\left\(\\frac\{\\mathbf\{Q\}^\{\(h\)\}\(\\mathbf\{K\}^\{\(h\)\}\)^\{\\top\}\}\{\\sqrt\{d\_\{h\}\}\}\\right\)\\mathbf\{V\}^\{\(h\)\}\(16\)𝐎attn\\displaystyle\\mathbf\{O\}\_\{\\mathrm\{attn\}\}=Concat\(𝐎\(1\),…,𝐎\(Ha\)\)𝐖O\\displaystyle=\\operatorname\{Concat\}\(\\mathbf\{O\}^\{\(1\)\},\\dots,\\mathbf\{O\}^\{\(H\_\{a\}\)\}\)\\mathbf\{W\}\_\{O\}\(17\)
Following the decoder layer, the attention output is processed through a residual connection, normalization, and a Feed\-Forward Network \(FFN\)\[[17](https://arxiv.org/html/2605.21550#bib.bib17)\]:
𝐙\\displaystyle\\mathbf\{Z\}=LayerNorm\(𝐗de\_in\+𝐎attn\)\\displaystyle=\\operatorname\{LayerNorm\}\(\\mathbf\{X\}\_\{\\mathrm\{de\\\_in\}\}\+\\mathbf\{O\}\_\{\\mathrm\{attn\}\}\)\(18\)𝐇dec\\displaystyle\\mathbf\{H\}\_\{\\mathrm\{dec\}\}=LayerNorm\(𝐙\+FFN\(𝐙\)\)\\displaystyle=\\operatorname\{LayerNorm\}\(\\mathbf\{Z\}\+\\operatorname\{FFN\}\(\\mathbf\{Z\}\)\)\(19\)whereFFN\(⋅\)\\operatorname\{FFN\}\(\\cdot\)consists of 1D convolutions with ReLU activation\. Finally, the decoder output is projected to the normalized intensity space and then inverted via RevIN, yielding the final peak\-intensity forecast𝐘i\_pred\\mathbf\{Y\}\_\{i\\\_\\mathrm\{pred\}\}over the forecasting horizon:
𝐘~i\_pred\\displaystyle\\tilde\{\\mathbf\{Y\}\}\_\{i\\\_\\mathrm\{pred\}\}=Proj\(𝐇dec\)\\displaystyle=\\operatorname\{Proj\}\(\\mathbf\{H\}\_\{\\mathrm\{dec\}\}\)\(20\)𝐘i\_pred\\displaystyle\\mathbf\{Y\}\_\{i\\\_\\mathrm\{pred\}\}=DeNorm\(𝐘~i\_pred\)∈ℝH×1\\displaystyle=\\operatorname\{DeNorm\}\(\\tilde\{\\mathbf\{Y\}\}\_\{i\\\_\\mathrm\{pred\}\}\)\\in\\mathbb\{R\}^\{H\\times 1\}\(21\)
### III\-DUnified Peak\-Aware Pipeline \(UPAP\)
Triple Hybrid Loss Function\.PeakFocus is trained end\-to\-end using a triple hybrid objective:
ℒtotal=λ1ℒGlobal\+λ2ℒInt\+λ3ℒLoc\\mathcal\{L\}\_\{\\mathrm\{total\}\}=\\lambda\_\{1\}\\mathcal\{L\}\_\{\\mathrm\{Global\}\}\+\\lambda\_\{2\}\\mathcal\{L\}\_\{\\mathrm\{Int\}\}\+\\lambda\_\{3\}\\mathcal\{L\}\_\{\\mathrm\{Loc\}\}\(22\)
To ensure general trend consistency and guarantee basic forecasting capability, we first employ the standard Mean Squared Error \(MSE\) loss on the global view:
ℒGlobal=MSE\(𝐘i\_pred,𝐘i\_true\)\\mathcal\{L\}\_\{\\mathrm\{Global\}\}=\\operatorname\{MSE\}\\\!\\left\(\\mathbf\{Y\}\_\{i\\\_\\mathrm\{pred\}\},\\;\\mathbf\{Y\}\_\{i\\\_\\mathrm\{true\}\}\\right\)\(23\)
To mitigate peak sparsity and introduce tolerance awareness for the subsequent peak\-specific objectives, analogous to how focal loss\[[18](https://arxiv.org/html/2605.21550#bib.bib18)\]reweights rare classes in detection and density\-based weighting addresses imbalanced regression\[[19](https://arxiv.org/html/2605.21550#bib.bib19)\], we construct a soft weight mask𝒲∈\[0,1\]H×1\\mathcal\{W\}\\in\[0,1\]^\{H\\times 1\}based on the ground\-truth peak indices𝒫=\{k∣pk=1\}\\mathcal\{P\}=\\\{k\\mid p\_\{k\}=1\\\}\. Specifically, the mask values are generated using a truncated Gaussian kernel\[[20](https://arxiv.org/html/2605.21550#bib.bib20)\], as shown below:
𝒲=maxk∈𝒫exp\(−\(t−k\)22γ2\)𝕀\(\|t−k\|≤δ\)\\mathcal\{W\}=\\max\_\{k\\in\\mathcal\{P\}\}\\exp\\\!\\left\(\-\\frac\{\(t\-k\)^\{2\}\}\{2\\gamma^\{2\}\}\\right\)\\,\\mathbb\{I\}\(\|t\-k\|\\leq\\delta\)\(24\)
Leveraging this mask, we define a peak\-aware intensity objective to explicitly guide the model in capturing peak intensity\. By scaling the gradients with the squared mask𝒲2\\mathcal\{W\}^\{2\}, this objective prioritizes high\-confidence peak regions and imposes a strict focus on the peak apexes, complementing the trend supervision provided byℒGlobal\\mathcal\{L\}\_\{\\mathrm\{Global\}\}:
ℒInt=MSE\(𝐘i\_pred⊙𝒲,𝐘i\_true⊙𝒲\)\\mathcal\{L\}\_\{\\mathrm\{Int\}\}=\\operatorname\{MSE\}\\\!\\left\(\\mathbf\{Y\}\_\{i\\\_\\mathrm\{pred\}\}\\odot\\mathcal\{W\},\\;\\mathbf\{Y\}\_\{i\\\_\\mathrm\{true\}\}\\odot\\mathcal\{W\}\\right\)\(25\)
Finally, we apply the same masking strategy to the temporal dimension for robust localization\. Specifically, treating𝒲\\mathcal\{W\}as the soft label for peak probability, we employ the Binary Cross\-Entropy \(BCE\) loss to provide spatially continuous supervision and ensure effective learning, as shown below:
ℒLoc=BCE\(𝐘t\_pred,𝒲\)\\mathcal\{L\}\_\{\\mathrm\{Loc\}\}=\\operatorname\{BCE\}\\\!\\left\(\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\},\\;\\mathcal\{W\}\\right\)\(26\)
Tolerance\-based Evaluation Protocol\.Distinct from the soft\-target training strategy, accurate assessment of peak forecasting requires mapping continuous probability outputs to discrete events\. To achieve this, we establish a Tolerance\-based Condense\-and\-Match Protocol to rigorously evaluate both localization and intensity performance\.
Condense\-and\-Match Mechanism\.Inspired by the tolerance\-based event\-matching tradition established in complex event processing\[[21](https://arxiv.org/html/2605.21550#bib.bib21)\], our protocol operates in two stages\. To bridge continuous probabilities and discrete metrics, we first threshold𝐘t\_pred\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\}atτ\\tauand condense each contiguous high\-probability segment to a single representative indext^\\hat\{t\}given by its local maximum, producing the candidate set𝒫^\\hat\{\\mathcal\{P\}\}\. We then enumerate all candidate pairs between𝒫^\\hat\{\\mathcal\{P\}\}and the ground\-truth peak set𝒫\\mathcal\{P\}that satisfy\|t−t^\|≤δ\|t\-\\hat\{t\}\|\\leq\\delta, sort them by temporal distance, and greedily accept unmatched pairs to enforce a strict one\-to\-one correspondence\. Only successfully matched pairsℳ=\{\(t,t^\)∣\|t−t^\|≤δ\}\\mathcal\{M\}=\\\{\(t,\\hat\{t\}\)\\mid\|t\-\\hat\{t\}\|\\leq\\delta\\\}are used for subsequent intensity error calculation\. Algorithm[1](https://arxiv.org/html/2605.21550#alg1)summarizes the full two\-stage protocol used in our evaluation\.
Algorithm 1Tolerance\-based Condense\-and\-Match Protocol1:Input:
𝐘t\_pred∈\[0,1\]H\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\}\\in\[0,1\]^\{H\}, threshold
τ\\tau, tolerance
δ\\delta, and ground\-truth peaks
𝒫\\mathcal\{P\}\.
2:Threshold
𝐘t\_pred\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\}at
τ\\tauand split the resulting binary sequence into contiguous positive clusters\.
3:Condense each cluster to one representative
t^\\hat\{t\}by taking the local maximum of
𝐘t\_pred\\mathbf\{Y\}\_\{t\\\_\\mathrm\{pred\}\}, yielding
𝒫^\\hat\{\\mathcal\{P\}\}\.
4:Construct candidate pairs within the matching tolerance window
𝒞=\{\(t,t^,\|t−t^\|\)∣t∈𝒫,t^∈𝒫^,\|t−t^\|≤δ\}\\mathcal\{C\}=\\\{\(t,\\hat\{t\},\|t\-\\hat\{t\}\|\)\\mid t\\in\\mathcal\{P\},\\hat\{t\}\\in\\hat\{\\mathcal\{P\}\},\|t\-\\hat\{t\}\|\\leq\\delta\\\}\.
5:Sort
𝒞\\mathcal\{C\}by distance and greedily accept a pair only when both
ttand
t^\\hat\{t\}are still unmatched\.
6:Return
ℳ\\mathcal\{M\}together with
TP=\|ℳ\|\\mathrm\{TP\}=\|\\mathcal\{M\}\|,
FP=\|𝒫^\|−TP\\mathrm\{FP\}=\|\\hat\{\\mathcal\{P\}\}\|\-\\mathrm\{TP\}, and
FN=\|𝒫\|−TP\\mathrm\{FN\}=\|\\mathcal\{P\}\|\-\\mathrm\{TP\}\.
Peak Timing Metrics\.To evaluate localization precision, we report standard classification metrics derived from the matching results \(i\.e\., unmatched items denote False Positives or False Negatives against the ground\-truth peak set\):
Precision\\displaystyle\\mathrm\{Precision\}=TPTP\+FP\\displaystyle=\\frac\{\\mathrm\{TP\}\}\{\\mathrm\{TP\}\+\\mathrm\{FP\}\}\(27\)Recall\\displaystyle\\mathrm\{Recall\}=TPTP\+FN\\displaystyle=\\frac\{\\mathrm\{TP\}\}\{\\mathrm\{TP\}\+\\mathrm\{FN\}\}\(28\)ℱ1\\displaystyle\\mathcal\{F\}\_\{1\}=2⋅Precision⋅RecallPrecision\+Recall\\displaystyle=\\frac\{2\\cdot\\mathrm\{Precision\}\\cdot\\mathrm\{Recall\}\}\{\\mathrm\{Precision\}\+\\mathrm\{Recall\}\}\(29\)
Peak Intensity Error\.We assess regression quality exclusively on the matched setℳ\\mathcal\{M\}\(i\.e\., the True Positive pairs\)\. This design ensures that intensity errors are computed only between semantically aligned peak events, decoupling intensity estimation performance from localization failures\. We define True\-Positive Mean Squared Error \(TP\-MSE\) and True\-Positive Mean Absolute Error \(TP\-MAE\) on matched peak events as:
TP\-MSE\\displaystyle\\mathrm\{TP\\text\{\-\}MSE\}=1\|ℳ\|∑\(t,t^\)∈ℳ\(\(𝐘i\_pred\)t^−\(𝐘i\_true\)t\)2\\displaystyle=\\frac\{1\}\{\|\\mathcal\{M\}\|\}\\sum\_\{\\mathclap\{\(t,\\hat\{t\}\)\\in\\mathcal\{M\}\}\}\\left\(\(\\mathbf\{Y\}\_\{i\\\_\\mathrm\{pred\}\}\)\_\{\\hat\{t\}\}\-\(\\mathbf\{Y\}\_\{i\\\_\\mathrm\{true\}\}\)\_\{t\}\\right\)^\{2\}\(30\)TP\-MAE\\displaystyle\\mathrm\{TP\\text\{\-\}MAE\}=1\|ℳ\|∑\(t,t^\)∈ℳ\|\(𝐘i\_pred\)t^−\(𝐘i\_true\)t\|\\displaystyle=\\frac\{1\}\{\|\\mathcal\{M\}\|\}\\sum\_\{\\mathclap\{\(t,\\hat\{t\}\)\\in\\mathcal\{M\}\}\}\\left\|\(\\mathbf\{Y\}\_\{i\\\_\\mathrm\{pred\}\}\)\_\{\\hat\{t\}\}\-\(\\mathbf\{Y\}\_\{i\\\_\\mathrm\{true\}\}\)\_\{t\}\\right\|\(31\)
Balanced Metrics\.To provide a comprehensive assessment, we report the Balanced Composite Score \(BCS\) and Peak\-Intensity Magnification \(PIM\), which combine the unmasked TP\-MSE with the localizationℱ1\\mathcal\{F\}\_\{1\}:
BCS\\displaystyle\\mathrm\{BCS\}=α\(1−ℱ1\)\+\(1−α\)\(1−11\+TP\-MSE\)\\displaystyle=\\alpha\(1\-\\mathcal\{F\}\_\{1\}\)\+\(1\-\\alpha\)\\left\(1\-\\frac\{1\}\{1\+\\mathrm\{TP\\text\{\-\}MSE\}\}\\right\)\(32\)PIM\\displaystyle\\mathrm\{PIM\}=1\+TP\-MSEℱ1\+ϵ\\displaystyle=\\frac\{1\+\\mathrm\{TP\\text\{\-\}MSE\}\}\{\\mathcal\{F\}\_\{1\}\+\\epsilon\}\(33\)
## IVExperiments
TABLE I:Main results onWLELandELCdatasets across different horizons \(HH\)\. We report Recall, Precision,ℱ1\\mathcal\{F\}\_\{1\}for peak timing accuracy \(↑\\uparrowhigher is better\), and TP\-MSE, TP\-MAE for peak intensity error \(↓\\downarrowlower is better\)\. BCS and PIM denote balanced metrics\. We additionally integrate global metrics \(MSE, Mean Absolute Error \(MAE\),R2R^\{2\}\) into the same unified table\. Bold indicates the best performance, andunderlinedindicates the second best within each dataset\-horizon block\.### IV\-AExperimental Setup
Datasets\.We evaluate PeakFocus on two complementary real\-world hourly load datasets, summarized in Table[II](https://arxiv.org/html/2605.21550#S4.T2)\. Both datasets are univariate load series; ground\-truth peaks are obtained offline using the detector defined in Section[II\-A](https://arxiv.org/html/2605.21550#S2.SS1)with the lookaheadℓ\\elllisted in Table[III](https://arxiv.org/html/2605.21550#S4.T3)\.
\(1\)ELC\[[1](https://arxiv.org/html/2605.21550#bib.bib1)\]: A widely\-used public benchmark adopted in the standard preprocessed Electricity Load Diagrams version released by Informer, containing 26,304 consecutive hourly records, with 1,429 structural peaks \(5\.43% of timestamps\)\. The series captures aggregated consumer\-level consumption with irregular usage patterns and stronger high\-frequency local fluctuations\. Following the chronological split convention adopted by prior TSF benchmarks\[[1](https://arxiv.org/html/2605.21550#bib.bib1),[22](https://arxiv.org/html/2605.21550#bib.bib22)\], the series is partitioned into contiguous training, validation, and test windows along the temporal axis without overlap or shuffling\.
\(2\)WLEL: World Large\-scale Electricity Load is an industrial\-scale hourly electricity load dataset collected from a real regional grid, spanning 2021\-01\-01 to 2025\-09\-25 \(41,476 consecutive hourly records, 2,944 structural peaks, 7\.10% of timestamps\)\. Compared with consumer\-level benchmarks, it exhibits clear daily/weekly periodicity and seasonal modulation typical of grid\-aggregated load\. The training window covers 2021\-01 to 2023\-08\. The validation window \(2023\-09–2024\-08\) spans a complete annual cycle for stable model selection, and the test window \(2024\-09–2025\-09\) covers a full subsequent year for long\-term forward\-deployment robustness assessment\. This dataset is constructed under a research collaboration between our team and a large\-scale industrial partner in the power sector, providing genuine grid\-aggregated load measurements from an in\-operation industrial deployment; under a confidentiality agreement, the raw load series cannot be publicly released, but all preprocessing configurations and peak\-detection hyperparameters \(Table[III](https://arxiv.org/html/2605.21550#S4.T3)\) are fully disclosed to ensure reproducibility of the experimental protocol on equivalent industrial deployments\.
TABLE II:Statistics of the two evaluation datasets\.Baselines\.We evaluate PeakFocus against two categories of state\-of\-the\-art \(SOTA\) models: TSF models and ELPF models\. The TSF baselines include Transformer\[[17](https://arxiv.org/html/2605.21550#bib.bib17)\], Informer\[[1](https://arxiv.org/html/2605.21550#bib.bib1)\], PatchTST\[[22](https://arxiv.org/html/2605.21550#bib.bib22)\], SegRNN\[[23](https://arxiv.org/html/2605.21550#bib.bib23)\], CycleNet\[[24](https://arxiv.org/html/2605.21550#bib.bib24)\], STID\[[13](https://arxiv.org/html/2605.21550#bib.bib13)\], and TimeMixer\[[3](https://arxiv.org/html/2605.21550#bib.bib3)\]\. To ensure a fair comparison, these TSF models are adapted to our UPAP framework, incorporating dual\-head outputs and the triple hybrid loss \(Eq\.[22](https://arxiv.org/html/2605.21550#S3.E22)\)\. For the ELPF baseline, we select Seq2Peak\[[10](https://arxiv.org/html/2605.21550#bib.bib10)\], which augments the Transformer backbone by incorporating a parameter\-free max\-pooling decoder to extract peak\-hour series and employs a hybrid loss function to jointly optimize for both global reconstruction and peak intensity\. Furthermore, we validate the universal effectiveness of our optimization strategy by comparing the vanilla versions of these TSF models against their UPAP\-enhanced counterparts, which we report in the Generality Analysis \(Section[IV\-D](https://arxiv.org/html/2605.21550#S4.SS4)\) of the ablation study\.
- •Transformer\[[17](https://arxiv.org/html/2605.21550#bib.bib17)\]uses vanilla self\-attention to map historical tokens to future tokens\.
- •Informer\[[1](https://arxiv.org/html/2605.21550#bib.bib1)\]uses ProbSparse sparse attention to reduce quadratic cost and decode the full horizon in one pass\.
- •PatchTST\[[22](https://arxiv.org/html/2605.21550#bib.bib22)\]uses non\-overlapping patches with channel\-independent processing to extract local patterns\.
- •SegRNN\[[23](https://arxiv.org/html/2605.21550#bib.bib23)\]uses a segment\-level recurrent unit to shorten recurrence depth on long horizons\.
- •CycleNet\[[24](https://arxiv.org/html/2605.21550#bib.bib24)\]uses a learnable cycle component and forecasts only the residual\.
- •STID\[[13](https://arxiv.org/html/2605.21550#bib.bib13)\]uses multi\-scale decomposition with linear mixing of trend and seasonal parts\.
- •TimeMixer\[[3](https://arxiv.org/html/2605.21550#bib.bib3)\]uses multi\-scale decomposition with linear mixing of trend and seasonal parts\.
- •Seq2Peak\[[10](https://arxiv.org/html/2605.21550#bib.bib10)\]uses a Transformer backbone with a max\-pooling decoder to extract peak\-hour series and optimize global reconstruction and peak intensity\.
### IV\-BImplementation Details
We implement PeakFocus using PyTorch and conduct all experiments on a single NVIDIA A100 GPU\. To ensure statistical reliability, all experiments are repeated 5 times with different random seeds, and we report the mean and standard deviation\. The model is optimized using the Adam optimizer with an initial learning rate of10−310^\{\-3\}\. The training process runs for a maximum of 20 epochs with a batch size of 128, employing early stopping with a patience of 5 epochs\. For the triple hybrid objective in Eq\.[22](https://arxiv.org/html/2605.21550#S3.E22), we set the loss weights toλ1=0\.2\\lambda\_\{1\}=0\.2for global MSE,λ2=0\.4\\lambda\_\{2\}=0\.4for TP\-MSE, andλ3=0\.4\\lambda\_\{3\}=0\.4for localization BCE\. PeakFocus uses a latent dimensiondmodel=256d\_\{\\text\{model\}\}=256, a 2\-layer residual MLP backbone, a dual\-scale MSM\-PL pyramid \(K=2K=2\), pooling configurations\(κ\(1\),s\(1\)\)=\(3,2\)\(\\kappa^\{\(1\)\},s^\{\(1\)\}\)=\(3,2\)and\(κ\(2\),s\(2\)\)=\(5,2\)\(\\kappa^\{\(2\)\},s^\{\(2\)\}\)=\(5,2\), and 1D convolutional feature extractors with kernel sizeκc=3\\kappa\_\{c\}=3and GELU activation\. The LAD uses a feed\-forward dimensiondff=256d\_\{\\text\{ff\}\}=256with ReLU activation\. Table[III](https://arxiv.org/html/2605.21550#S4.T3)summarizes the main hyperparameter settings used in all experiments\.
TABLE III:Main\-text hyperparameter settings for PeakFocus\.
### IV\-CMain Results Analysis
Table[I](https://arxiv.org/html/2605.21550#S4.T1)presents the unified comparison across all baselines and both forecasting horizons, reporting peak\-event quality, intensity error, and global\-reconstruction accuracy under a single evaluation protocol for direct cross\-method comparison\.
Peak Forecasting Quality\.On WLEL, PeakFocus consistently achieves the best peak timing \(ℱ1\\mathcal\{F\}\_\{1\}\) and intensity estimation \(TP\-MSE, BCS\) at both horizons, outperforming the strongest baseline by approximately 7% inℱ1\\mathcal\{F\}\_\{1\}and 15% in TP\-MSE\. This validates the core design: UPAP, MSM\-PL, and LAD together address the three bottlenecks identified in Section[I](https://arxiv.org/html/2605.21550#S1)\. Seq2Peak, which adopts a fixed max\-pooling surrogate for peak localization, lags significantly behind, confirming that structurally defined peaks require learnable localization rather than heuristic aggregation\.
Cross\-Dataset Generalization\.PeakFocus is positioned as an ELPF\-specific framework rather than a general\-purpose TSF model, so we prioritize peak\-event metrics \(ℱ1\\mathcal\{F\}\_\{1\}, TP\-MSE, BCS, PIM\) over global reconstruction\. The two datasets here represent two complementary regimes: WLEL captures grid\-aggregated load with strong daily and seasonal periodicity, where peaks emerge as well\-shaped structural events; ELC captures consumer\-level demand with substantially more high\-frequency noise and irregular individual usage patterns, where peaks are less regular and more easily masked by local fluctuations\. Across both datasets and both horizons \(HH=336 andHH=720\), PeakFocus achieves the bestℱ1\\mathcal\{F\}\_\{1\}, Recall, and Precision; in contrast, competitive baselines exhibit clearly largerℱ1\\mathcal\{F\}\_\{1\}fluctuations once the regime shifts from the structured WLEL to the noisier ELC at the same horizon\. This suggests that the peak\-aware design generalizes across regimes rather than being tied to dataset\-specific patterns\.
Global Reconstruction and the ELC Trade\-off\.On WLEL, the triple hybrid objective improves rather than harms global metrics: PeakFocus attains the best MSE, MAE, andR2R^\{2\}in addition to all peak metrics, leading on every reported indicator\. On ELC, dedicated global\-fit models such as TimeMixer and STID achieve lower MSE and MAE than PeakFocus\. Our work targets a complementary problem, predicting when and how high the next peak occurs, which directly informs reserve scheduling and overload\-risk mitigation; the corresponding peak\-event metrics are the primary indicators in our setting, and PeakFocus consistently leads on them across both datasets\. In the deployment\-relevant grid\-aggregated regime of WLEL, peak\-aware training and global reconstruction reinforce each other; on the noisier consumer\-level ELC, the two objectives are harder to optimize jointly, which further motivates ELPF as a separate task complementary to general\-purpose TSF\.
Efficiency Analysis\.As shown in Figure[3](https://arxiv.org/html/2605.21550#S4.F3), we provide a holistic quality–efficiency comparison on WLEL \(HH=336\) across five axes\. PeakFocus leads all three quality axes \(ℱ1\\mathcal\{F\}\_\{1\}, MSE, BCS\) with only 1\.12M parameters, while lightweight models such as CycleNet \(114K\) and TimeMixer \(116K\) are more parameter\-efficient but substantially weaker in peak\-event quality\. This suggests that the gain of PeakFocus does not come from simply increasing model capacity, but from allocating a still\-compact model budget to peak\-aware localization and regression modules that better match the sparse\-event nature of ELPF to meet an accuracy\-efficiency balance\.
Figure 3:Efficiency radar on WLEL \(HH=336\)\. Five axes compare quality \(ℱ1\\mathcal\{F\}\_\{1\}, MSE, BCS\) and efficiency \(\#Params, inference latency\)\. PeakFocus leads all quality axes while remaining competitive on both parameter count and inference latency\.
### IV\-DAblation Study
Figure 4:Ablation study on WLEL and ELC \(HH=336\)\. Five variants: PeakFocus \(full\); w/o MSM\-PL \(linear layer replacing pyramid\); w/o LAD \(no peak timing injection\); w/o UPAP \(standard MSE only\); Hard mask \(binary mask replacing soft Gaussian\)\. Metrics:ℱ1↑\\mathcal\{F\}\_\{1\}\\uparrow, BCS↓\\downarrow, TP\-MSE↓\\downarrow; values averaged over 5 seeds\.We perform component analysis to validate each proposed module\. Figure[4](https://arxiv.org/html/2605.21550#S4.F4)summarizes the ablation results on both datasets, Figure[5](https://arxiv.org/html/2605.21550#S4.F5)examines the cross\-backbone generality of UPAP, and Figure[6](https://arxiv.org/html/2605.21550#S4.F6)examines parameter sensitivity\.
Observation 1: Multi\-Scale Cascade Is Essential for Peak Localization\.We validate the core design of MSM\-PL from two complementary perspectives\. First, as shown in Figure[4](https://arxiv.org/html/2605.21550#S4.F4), completely replacing MSM\-PL with a simple linear layer \(w/o MSM\-PL\) causesℱ1\\mathcal\{F\}\_\{1\}to drop by∼\\sim13% on WLEL with a pronounced decline in Precision, confirming that single\-scale processing cannot suppress local fluctuations\. Second, as shown in Figure[6](https://arxiv.org/html/2605.21550#S4.F6)\(a\), varying the cascade depthKKreveals a progressive improvement:KK=0 \(no cascade\) yields the lowestℱ1\\mathcal\{F\}\_\{1\}on both datasets, as the model lacks the coarse\-grained semantics needed to filter local fluctuations; increasingKKto 2 enables the top\-down cascade to inject multi\-scale features and substantially improves both timing precision and balanced accuracy;KK=3 yields only marginal additional gains\. Together, these results corroborate the multi\-scale representation conflict identified in Section[I](https://arxiv.org/html/2605.21550#S1): the hierarchical coarse\-to\-fine cascade is indispensable for mitigating misjudgment and resolving temporal misalignment, and a dual\-scale pyramid \(KK=2\) achieves the best accuracy–capacity trade\-off consistently\.
Observation 2: Explicit Timing Context Improves Intensity\.As shown in Figure[4](https://arxiv.org/html/2605.21550#S4.F4), removing the peak hidden state injection \(w/o LAD\) preserves localizationℱ1\\mathcal\{F\}\_\{1\}but notably increases TP\-MSE on both datasets\. This validates the intensity smoothing hypothesis from Section[I](https://arxiv.org/html/2605.21550#S1): without explicit peak timing context, the decoder lacks awareness of where peaks occur and consequently underestimates their intensity under the pull of global smoothing trends from the MSE objective\.
Observation 3: Unified Optimization Bridges Localization and Regression\.As shown in Figure[4](https://arxiv.org/html/2605.21550#S4.F4), removing the triple hybrid objective \(w/o UPAP\) causes the most severe degradation among all variants, withℱ1\\mathcal\{F\}\_\{1\}dropping by over 40% on WLEL and BCS nearly doubling\. This directly addresses the paradigm disconnect motivation: standard MSE optimization is dominated by non\-peak data, causing the model to neglect sparse extreme events\. UPAP counteracts this bias through synchronized timing–intensity supervision\.
UPAP is also model\-agnostic\. As shown in Figure[5](https://arxiv.org/html/2605.21550#S4.F5), applying UPAP consistently improvesℱ1\\mathcal\{F\}\_\{1\}across all seven backbones on WLEL, with the largest gains on weaker vanilla models\. On the more volatile ELC, most backbones still benefit, though models with strong inherent periodicity modeling \(e\.g\., CycleNet\) show degradation, since CycleNet’s explicit cycle encoding already captures periodic patterns well, and the additional peak\-timing gradient may disturb this stable periodic modeling rather than provide extra useful information\.
Figure 5:Cross\-backbone generality of UPAP on WLEL and ELC \(HH=336\)\. Each grouped bar compares the vanilla baseline \(Vanilla, gray\) against the same backbone enhanced with \+UPAP \(red\) onℱ1↑\\mathcal\{F\}\_\{1\}\\uparrow\. On WLEL, \+UPAP consistently improves all seven baselines\. On ELC, most backbones benefit, though CycleNet and Transformer show slight degradation on more volatile consumer\-level data, revealing a dataset\-dependent trade\-off on volatile consumer\-level data that is worth further investigation\.Observation 4: Soft Gaussian Masks Provide Stable Supervision\.Replacing the soft Gaussian mask with a hard binary mask degradesℱ1\\mathcal\{F\}\_\{1\}and BCS on WLEL, and causes complete collapse on ELC \(ℱ1≈0\\mathcal\{F\}\_\{1\}\\approx 0\)\. The soft mask provides tolerance\-aware gradient smoothing around peak positions, which is critical for robust learning when peak timing annotations contain inherent uncertainty, particularly on more volatile consumer\-level data\. This underscores the importance of tolerance\-aware supervision for sparse peaks\.
Figure 6:Parameter sensitivity on WLEL \(top\) and ELC \(bottom\)\. \(a\) MSM\-PL depthKK\. \(b\) Loss configuration\(λ1,λ2,λ3\)\(\\lambda\_\{1\},\\lambda\_\{2\},\\lambda\_\{3\}\): C1=\(0\.2,0\.4,0\.4\), C2=\(0\.2,0\.6,0\.2\), C3=\(0\.33,0\.33,0\.33\), C4=\(0\.6,0\.2,0\.2\)\. \(c\) Hidden dimensiondmodeld\_\{\\text\{model\}\}\. \(d\) Encoder layerselayerse\_\{\\text\{layers\}\}\. \(e\) FFN dimensiondffd\_\{\\text\{ff\}\}\. All curves are averaged over five runs with different random seeds for robustness assessment\.Observation 5: Robustness to Architectural Hyperparameters\.We examine four structural hyperparameters to assess the stability of PeakFocus under different internal configurations\. As shown in Figure[6](https://arxiv.org/html/2605.21550#S4.F6)\(b\)–\(e\): \(i\) all four loss weight configurations yield comparableℱ1\\mathcal\{F\}\_\{1\}and BCS, indicating that the triple hybrid objective is insensitive to the specific weighting scheme; \(ii\)dmodeld\_\{\\text\{model\}\}improves from 64 to the default 256 and then plateaus, withdmodeld\_\{\\text\{model\}\}=512 even degradingℱ1\\mathcal\{F\}\_\{1\}on ELC by∼\\sim6%, suggesting that PeakFocus does not rely on large model capacity; \(iii\) varyingelayerse\_\{\\text\{layers\}\}from 1 to 3 ordffd\_\{\\text\{ff\}\}across \{128, 256, 512\} produces negligible changes on both datasets\. These results demonstrate that PeakFocus is robust to moderate architectural variations, and the default configuration \(dmodeld\_\{\\text\{model\}\}=256,elayerse\_\{\\text\{layers\}\}=1,dffd\_\{\\text\{ff\}\}=256\) is a stable and effective choice\.
### IV\-EQualitative Visualization
Figure 7:Internal mechanism visualization on WLEL \(HH=336\)\. From top to bottom: \(1\) Ground truth vs\. PeakFocus prediction with MSM\-PL peaks \(green stars\); \(2\) Aggregated LAD cross\-attention per timestep, concentrated at peaks; \(3\) Attention heatmap \(query×\\timeskey\) with bright vertical bands of peak\-relevant attention; \(4\) MSM\-PL peak probability with detection threshold \(dashed\)\. The alignment of peak probability, attention, and intensity prediction confirms the localization\-to\-regression pipeline inside the proposed framework and improves interpretability for peak\-aware load forecasting decisions\.\(a\)PatchTST: Timing Misalignment \+ Intensity Smoothing
\(b\)PeakFocus: Precise Localization \+ Faithful Intensity
Figure 8:Qualitative comparison on the WLEL dataset \(HH=336\)\. \(a\) PatchTST suffers from both timing misalignment \(TP=7, FP=6, FN=6\) and systematic intensity smoothing, where peak intensities are underestimated by an average of 0\.80 due to the global MSE objective diluting sparse peak signals\. \(b\) PeakFocus achieves near\-perfect localization \(TP=12, FP=1, FN=1\) and faithfully tracks peak intensities with lower TP\-MSE, demonstrating that the joint localization–regression design simultaneously resolves both bottlenecks\. Green stars: True Positives; red crosses: False Positives; blue triangles: False Negatives\.We conduct a qualitative comparison between PeakFocus and PatchTST on a representative WLEL test sample to visually verify how the proposed modules jointly address the localization and intensity bottlenecks identified in Section[I](https://arxiv.org/html/2605.21550#S1)\.
Localization and Intensity Analysis \(Figure[8](https://arxiv.org/html/2605.21550#S4.F8)\)\.As shown in Figure[8](https://arxiv.org/html/2605.21550#S4.F8)a, PatchTST exhibits both timing misalignment and intensity smoothing simultaneously\. On the localization side, it achieves only 7 True Positives against 6 False Positives and 6 False Negatives, indicating that the model frequently misjudges non\-peak fluctuations as peaks while missing genuine structural peaks\. On the intensity side, PatchTST systematically underestimates peak intensities by an average of 0\.80, producing a flattened trajectory that fails to capture extreme load surges, which is a direct consequence of the global MSE objective diluting sparse peak signals toward the mean trend\. In contrast, Figure[8](https://arxiv.org/html/2605.21550#S4.F8)b demonstrates that PeakFocus simultaneously resolves both bottlenecks\. The MSM\-PL achieves near\-perfect localization \(TP=12, FP=1, FN=1\) by leveraging the hierarchical pyramid to suppress local fluctuations and the cascade injection to preserve temporal alignment\. Meanwhile, the LAD faithfully tracks peak intensities with lower TP\-MSE, because it explicitly conditions regression on the peak timing context, counteracting intensity smoothing\. This joint improvement validates that coupling localization and regression in a unified framework enables each component to reinforce the other\.
Analysis of Internal Attention Mechanism \(Figure[7](https://arxiv.org/html/2605.21550#S4.F7)\)\.To further verify how LAD leverages peak timing context, we visualize the internal states of a representative WLEL sample \(HH=336\) in Figure[7](https://arxiv.org/html/2605.21550#S4.F7)\. The top panel shows the ground truth and PeakFocus prediction with MSM\-PL detected peaks \(green stars\)\. The second panel displays the aggregated attention received by each timestep in the LAD cross\-attention layer: attention clearly concentrates at peak positions, confirming that the decoder selectively focuses on peak\-relevant moments\. The attention heatmap \(third panel\) further reveals that queries across all timesteps predominantly attend to key positions near detected peaks, forming distinct vertical activation bands\. The bottom panel shows the peak probability output from MSM\-PL, which exhibits sharp spikes well\-aligned with true peak locations\. This cross\-panel consistency also indicates that the attention weights are not diffuse correlations alone, but are anchored by explicit locator outputs that guide regression toward operationally critical peak hours\. This visualization demonstrates that MSM\-PL provides reliable timing signals and LAD effectively translates them into targeted intensity estimation, validating the design rationale of our two\-stage localization\-to\-regression pipeline\.
## VRelated Works
### V\-ATime Series Forecasting \(TSF\)
TSF plays a pivotal role in various domains, evolving from Recurrent Neural Networks \(RNNs\) to MLPs and Transformers\[[25](https://arxiv.org/html/2605.21550#bib.bib25),[26](https://arxiv.org/html/2605.21550#bib.bib26)\]\. RNN\-based approaches, SegRNN\[[23](https://arxiv.org/html/2605.21550#bib.bib23)\]utilizes recurrent units for efficient long\-term modeling, while P\-sLSTM\[[27](https://arxiv.org/html/2605.21550#bib.bib27)\]improves upon Long Short\-Term Memory \(LSTM\) by incorporating patching and channel independence\. Meanwhile, MLP\-based models, including DLinear\[[28](https://arxiv.org/html/2605.21550#bib.bib28)\], STID\[[13](https://arxiv.org/html/2605.21550#bib.bib13)\], N\-BEATS\[[29](https://arxiv.org/html/2605.21550#bib.bib29)\], and TimeMixer\[[3](https://arxiv.org/html/2605.21550#bib.bib3)\], achieve strong performance via simple spatial\-temporal decomposition\. Transformers like Informer\[[1](https://arxiv.org/html/2605.21550#bib.bib1)\]and Autoformer\[[2](https://arxiv.org/html/2605.21550#bib.bib2)\]reduce complexity using sparse attention, FEDformer\[[30](https://arxiv.org/html/2605.21550#bib.bib30)\]leverages frequency\-domain decomposition, whereas PatchTST\[[22](https://arxiv.org/html/2605.21550#bib.bib22)\]and iTransformer\[[31](https://arxiv.org/html/2605.21550#bib.bib31)\]improve results through patch\-based tokenization and inverted attention\. TimesNet\[[32](https://arxiv.org/html/2605.21550#bib.bib32)\]further captures intra\-period and inter\-period variations by reshaping 1D series into 2D tensors, Pyraformer\[[33](https://arxiv.org/html/2605.21550#bib.bib33)\]introduces pyramidal attention for multi\-resolution temporal patterns, and SCINet\[[34](https://arxiv.org/html/2605.21550#bib.bib34)\]extracts hierarchical temporal dependencies through recursive sample convolutions\. These backbones aggregate short\-range and long\-range context for the dominant trend, but no module preserves an explicit signal of where extreme values occur, so local maxima are still collapsed during decoding\. Within the data\-engineering community, MAGNN\[[35](https://arxiv.org/html/2605.21550#bib.bib35)\]exploits a multi\-scale pyramid graph network to preserve inter\-variable dependencies across time scales, BasicTS\+\[[36](https://arxiv.org/html/2605.21550#bib.bib36)\]delivers a unified benchmarking infrastructure that exposes dataset heterogeneity as a first\-class dimension, and TimeKD\[[37](https://arxiv.org/html/2605.21550#bib.bib37)\]performs calibrated language\-model distillation for efficient multivariate forecasting, together reflecting the rising interest in deployable time series data management\. Recent work targets deployment\-oriented forecasting\[[38](https://arxiv.org/html/2605.21550#bib.bib38),[39](https://arxiv.org/html/2605.21550#bib.bib39),[40](https://arxiv.org/html/2605.21550#bib.bib40)\]and rare\-deviation isolation in time series\[[41](https://arxiv.org/html/2605.21550#bib.bib41)\], objectives close in spirit to peak detection\. However, these general TSF models are often suboptimal for the rigorous demands of ELPF\. Since peaks constitute sparse tail events in the load distribution, standard objectives drive models to learn a conservative representation biased towards the mean to minimize aggregate penalty\. Consequently, critical sharp spikes are effectively treated as negligible fluctuations and smoothed out\[[42](https://arxiv.org/html/2605.21550#bib.bib42)\]\. Even multi\-scale models like TimeMixer\[[3](https://arxiv.org/html/2605.21550#bib.bib3)\]and AMD\[[4](https://arxiv.org/html/2605.21550#bib.bib4)\]prioritize global trend decomposition, lacking the fine\-grained resolution required for precise peak timing\. These limitations motivate task\-specific designs that supervise peak timing and intensity jointly to learn the pattern\.
### V\-BElectricity load peak forecasting \(ELPF\)
Methodologies have shifted from heuristic two\-stage predict\-then\-locate paradigms to unified end\-to\-end frameworks\[[7](https://arxiv.org/html/2605.21550#bib.bib7),[9](https://arxiv.org/html/2605.21550#bib.bib9)\], where conventional pipelines treat detection as post\-processing and optimize features for average error rather than peak discrimination\. Recent end\-to\-end approaches bridge this gap: Seq2Peak\[[10](https://arxiv.org/html/2605.21550#bib.bib10)\]uses a max\-pooling decoder, and Seq2LPP\[[11](https://arxiv.org/html/2605.21550#bib.bib11)\]adds weather\-guided attention\. Hu et al\.\[[43](https://arxiv.org/html/2605.21550#bib.bib43)\]transfers peak\-load patterns across regional grids via meta\-learning, but still optimizes a global regression loss rather than supervising peak events directly\. However, defining peaks as fixed\-interval maxima reduces ELPF to downsampling and fails to capture structural peaks from local topology\. Existing methods also struggle with the multi\-scale representation conflict and insufficiently condition intensity regression on peak timing context, leading to intensity smoothing\. These limitations indicate that existing ELPF studies have moved toward end\-to\-end modeling in form, but not yet in event semantics: peaks remain weakly represented, loosely aligned, and insufficiently injected into downstream intensity estimation\. PeakFocus addresses this gap by treating peak timing as a learning signal and propagating it into the intensity decoder\.
## VIConclusion
PeakFocus bridges temporal localization and intensity regression in ELPF via a unified end\-to\-end framework: MSM\-PL resolves peak misjudgment and timing misalignment through hierarchical multi\-scale fusion, and LAD prevents intensity smoothing by conditioning regression on explicit peak timing context\. By coupling timing supervision and intensity estimation in a single optimization, the framework addresses peak misjudgment, timing misalignment, and intensity smoothing in concert rather than in isolation\. Experiments on the public ELC benchmark and the industrial\-scale WLEL dataset confirm a new state of the art across timing, intensity, and balanced metrics\. Beyond the proposed model, the Tolerance\-based Condense\-and\-Match Protocol offers a reusable evaluation methodology for sparse structural\-event forecasting\. Future work includes capacity scaling on longer industrial deployments, probabilistic peak forecasting, and integration with live grid telemetry for real\-time scheduling\.
## AI\-Generated Content Acknowledgment
AI\-assisted language tools \(e\.g\., ChatGPT\) were employed solely for grammar correction and wording adjustment\. All the research ideas, experimental design, and reported results were independently produced and verified by authors\.
## References
- \[1\]H\. Zhou, S\. Zhang, J\. Peng, S\. Zhang, J\. Li, H\. Xiong, and W\. Zhang, “Informer: Beyond efficient transformer for long sequence time\-series forecasting,” in*AAAI*, vol\. 35, 2021, pp\. 11 106–11 115\.
- \[2\]H\. Wu, J\. Xu, J\. Wang, and M\. Long, “Autoformer: Decomposition transformers with auto\-correlation for long\-term series forecasting,” in*NeurIPS*, vol\. 34, 2021, pp\. 22 419–22 430\.
- \[3\]S\. Wang, H\. Wu, X\. Shi, T\. Hu, H\. Luo, L\. Ma, J\. Y\. Zhang, and J\. Zhou, “TimeMixer: Decomposable multiscale mixing for time series forecasting,” in*ICLR*, 2024\.
- \[4\]Y\. Hu, P\. Liu, P\. Zhu, D\. Cheng, and T\. Dai, “Adaptive multi\-scale decomposition framework for time series forecasting,” in*AAAI*, vol\. 39, 2025, pp\. 17 359–17 367\.
- \[5\]Y\. Wang, H\. Wu, J\. Dong, Y\. Liu, C\. Wang, M\. Long, and J\. Wang, “Deep time series models: A comprehensive survey and benchmark,”*arXiv preprint arXiv:2407\.13278*, 2024\.
- \[6\]K\. Benidis, S\. S\. Rangapuram, V\. Flunkert, Y\. Wang, D\. Maddix, C\. Turkmen, J\. Gasthaus, M\. Bohlke\-Schneider, D\. Salinas, L\. Stella, F\.\-X\. Aubet, L\. Callot, and T\. Januschowski, “Deep learning for time series forecasting: Tutorial and literature survey,”*ACM Comput\. Surv\.*, vol\. 55, no\. 6, pp\. 1–36, 2022\.
- \[7\]Y\. Amara\-Ouali, M\. Fasiolo, Y\. Goude, and H\. Yan, “Daily peak electrical load forecasting with a multi\-resolution approach,”*Int\. J\. Forecast\.*, vol\. 39, no\. 3, pp\. 1272–1286, 2023\.
- \[8\]S\. Huang, T\. Zhang, Z\. Zhang, X\. Wang, L\. Wang, and X\. Wang, “MetaEformer: Unveiling and leveraging meta\-patterns for complex and dynamic systems load forecasting,” in*KDD*, 2025, pp\. 991–1002\.
- \[9\]S\. Dai, F\. Meng, H\. Dai, Q\. Wang, and X\. Chen, “Electrical peak demand forecasting \- A review,”*arXiv preprint arXiv:2108\.01393*, 2021\.
- \[10\]Z\. Zhang, X\. Wang, J\. Xie, H\. Zhang, and Y\. Gu, “Unlocking the potential of deep learning in peak\-hour series forecasting,” in*CIKM*, 2023, pp\. 4415–4419\.
- \[11\]N\. Zhu, Y\. Wang, K\. Yuan, Y\. Pan, and K\. Zhang, “Enhancing wind power forecasting at local peak points: A novel Seq2LPP model,”*IEEE Trans\. Ind\. Informat\.*, 2025, early Access\.
- \[12\]T\. Kim, J\. Kim, Y\. Tae, C\. Park, J\.\-H\. Choi, and J\. Choo, “Reversible instance normalization for accurate time\-series forecasting against distribution shift,” in*ICLR*, 2021\.
- \[13\]Z\. Shao, Z\. Zhang, F\. Wang, and Y\. Xu, “Spatial\-temporal identity: A simple yet effective baseline for multivariate time series forecasting,” in*CIKM*, 2022, pp\. 4455–4459\.
- \[14\]X\. Wu, A\. Ajorlou, Y\. Wang, S\. Jegelka, and A\. Jadbabaie, “On the role of attention masks and LayerNorm in Transformers,” in*NeurIPS*, vol\. 37, 2024, pp\. 14 774–14 809\.
- \[15\]T\.\-Y\. Lin, P\. Dollár, R\. Girshick, K\. He, B\. Hariharan, and S\. Belongie, “Feature pyramid networks for object detection,” in*CVPR*, 2017, pp\. 2117–2125\.
- \[16\]O\. Ronneberger, P\. Fischer, and T\. Brox, “U\-Net: Convolutional networks for biomedical image segmentation,” in*MICCAI*, 2015, pp\. 234–241\.
- \[17\]A\. Vaswani, N\. Shazeer, N\. Parmar, J\. Uszkoreit, L\. Jones, A\. N\. Gomez, Ł\. Kaiser, and I\. Polosukhin, “Attention is all you need,” in*NeurIPS*, vol\. 30, 2017\.
- \[18\]T\.\-Y\. Lin, P\. Goyal, R\. Girshick, K\. He, and P\. Dollár, “Focal loss for dense object detection,” in*ICCV*, 2017, pp\. 2980–2988\.
- \[19\]M\. Steininger, K\. Kobs, P\. Davidson, A\. Krause, and A\. Hotho, “Density\-based weighting for imbalanced regression,”*Mach\. Learn\.*, vol\. 110, pp\. 2187–2211, 2021\.
- \[20\]F\. Tobar, T\. D\. Bui, and R\. E\. Turner, “Learning stationary time series using Gaussian processes with nonparametric kernels,” in*NeurIPS*, vol\. 28, 2015\.
- \[21\]N\. Giatrakos, E\. Alevizos, A\. Artikis, A\. Deligiannakis, and M\. N\. Garofalakis, “Complex event recognition in the big data era: a survey,”*VLDB J\.*, vol\. 29, no\. 1, pp\. 313–352, 2020\.
- \[22\]Y\. Nie, N\. H\. Nguyen, P\. Sinthong, and J\. Kalagnanam, “A time series is worth 64 words: Long\-term forecasting with transformers,” in*ICLR*, 2023\.
- \[23\]S\. Lin, W\. Lin, W\. Wu, F\. Zhao, R\. Mo, and H\. Zhang, “SegRNN: Segment recurrent neural network for long\-term time series forecasting,”*IEEE IoT J\.*, vol\. 13, no\. 5, pp\. 9861–9871, 2026\.
- \[24\]S\. Lin, W\. Lin, X\. Hu, W\. Wu, R\. Mo, and H\. Zhong, “CycleNet: Enhancing time series forecasting through modeling periodic patterns,” in*NeurIPS*, vol\. 37, 2024, pp\. 106 315–106 345\.
- \[25\]W\. Yu, D\. Cheng, L\. Zhu, and C\. Jiang, “Large language models for time series analysis: Methodologies, applications, and emerging challenges,”*TechRxiv*, 2026\.
- \[26\]K\. Zhu, C\. Zhao, and B\. Huang, “Breaking information granularity heterogeneity: A mutual information\-inspired causal discovery framework for multi\-rate time series,”*IEEE TKDE*, 2025\.
- \[27\]Y\. Kong, Z\. Wang, Y\. Nie, T\. Zhou, S\. Zohren, Y\. Liang, P\. Sun, and Q\. Wen, “Unlocking the power of LSTM for long term time series forecasting,” in*AAAI*, vol\. 39, 2025, pp\. 11 968–11 976\.
- \[28\]A\. Zeng, M\. Chen, L\. Zhang, and Q\. Xu, “Are Transformers effective for time series forecasting?” in*AAAI*, vol\. 37, 2023, pp\. 11 121–11 128\.
- \[29\]B\. N\. Oreshkin, D\. Carpov, N\. Chapados, and Y\. Bengio, “N\-BEATS: Neural basis expansion analysis for interpretable time series forecasting,” in*ICLR*, 2020\.
- \[30\]T\. Zhou, Z\. Ma, Q\. Wen, X\. Wang, L\. Sun, and R\. Jin, “FEDformer: Frequency enhanced decomposed transformer for long\-term series forecasting,” in*ICML*, 2022, pp\. 27 268–27 286\.
- \[31\]Y\. Liu, T\. Hu, H\. Zhang, H\. Wu, S\. Wang, L\. Ma, and M\. Long, “iTransformer: Inverted transformers are effective for time series forecasting,” in*ICLR*, 2024\.
- \[32\]H\. Wu, T\. Hu, Y\. Liu, H\. Zhou, J\. Wang, and M\. Long, “TimesNet: Temporal 2D\-variation modeling for general time series analysis,” in*ICLR*, 2023\.
- \[33\]S\. Liu, H\. Yu, C\. Liao, J\. Li, W\. Lin, A\. X\. Liu, and S\. Dustdar, “Pyraformer: Low\-complexity pyramidal attention for long\-range time series modeling and forecasting,” in*ICLR*, 2022\.
- \[34\]M\. Liu, A\. Zeng, M\. Chen, Z\. Xu, Q\. Lai, L\. Ma, and Q\. Xu, “SCINet: Time series modeling and forecasting with sample convolution and interaction,” in*NeurIPS*, vol\. 35, 2022, pp\. 5816–5828\.
- \[35\]L\. Chen, D\. Chen, Z\. Shang, B\. Wu, C\. Zheng, B\. Wen, and W\. Zhang, “Multi\-scale adaptive graph neural network for multivariate time series forecasting,”*IEEE TKDE*, vol\. 35, no\. 10, pp\. 10 748–10 761, 2023\.
- \[36\]Z\. Shao, F\. Wang, Y\. Xu, W\. Wei, C\. Yu, Z\. Zhang, D\. Yao, T\. Sun, G\. Jin, X\. Cao, G\. Cong, C\. S\. Jensen, and X\. Cheng, “Exploring progress in multivariate time series forecasting: Comprehensive benchmarking and heterogeneity analysis,”*IEEE TKDE*, vol\. 37, no\. 1, pp\. 291–305, 2024\.
- \[37\]C\. Liu, H\. Miao, Q\. Xu, S\. Zhou, C\. Long, Y\. Zhao, Z\. Li, and R\. Zhao, “Efficient multivariate time series forecasting via calibrated language models with privileged knowledge distillation,” in*ICDE*, 2025, pp\. 3165–3178\.
- \[38\]R\.\-G\. Cirstea, B\. Yang, C\. Guo, T\. Kieu, and S\. Pan, “Towards spatio\-temporal aware traffic time series forecasting,” in*ICDE*, 2022, pp\. 2900–2913\.
- \[39\]H\. Miao, Y\. Zhao, C\. Guo, B\. Yang, K\. Zheng, F\. Huang, J\. Xie, and C\. S\. Jensen, “A unified replay\-based continuous learning framework for spatio\-temporal prediction on streaming data,” in*ICDE*, 2024, pp\. 1050–1062\.
- \[40\]K\. Zhao, C\. Guo, Y\. Cheng, P\. Han, M\. Chen, and B\. Yang, “Multi\-step spatio\-temporal forecasting with decoupled dynamic graphs,” in*ICDE*, 2024, pp\. 3142–3155\.
- \[41\]T\. Kieu, B\. Yang, C\. Guo, R\.\-G\. Cirstea, Y\. Zhao, Y\. Song, and C\. S\. Jensen, “Robust and explainable autoencoders for unsupervised time series outlier detection,” in*ICDE*, 2022, pp\. 1342–1354\.
- \[42\]Y\. Hu, G\. Zhang, P\. Liu, D\. Lan, N\. Li, D\. Cheng, T\. Dai, S\.\-T\. Xia, and S\. Pan, “TimeFilter: Patch\-specific spatial\-temporal graph filtration for time series forecasting,” in*ICML*, 2025\.
- \[43\]J\. Hu, Y\. Liu, C\. Guo, B\. Yang, and C\. S\. Jensen, “Meta\-learning for cross\-region electricity load forecasting under distribution shift,” in*ICDE*, 2025, pp\. 2018–2031\.Similar Articles
Towards Continuous Power Forecasting: Practical Continual Learning for Real-World Energy Systems in Nonstationary Time Series
This paper proposes Continuous Power Forecasting, treating power forecasting as a continual learning problem to handle nonstationary conditions. It evaluates six CL approaches on real-world datasets, showing benefits in adaptation and mitigating catastrophic forgetting.
PARA-PV: Physics-Aware Retrieval-Augmented PV Prediction Based on Frozen Foundation Model and Distribution Shift Correction
Introduces PARA-PV, a physics-aware retrieval-augmented framework for photovoltaic power forecasting that uses a frozen Chronos time-series foundation model and distribution shift correction to improve accuracy and handle peak, ramping, and low-power conditions.
Peak-Detector: Explainable Peak Detection via Instruction-Tuned Large Language Models in Physiological Sign
Introduces Peak-Detector, a framework that uses instruction-tuned large language models for robust, cross-modal, and explainable peak detection in physiological signals like ECG, PPG, BCG, and BSG. The method transforms time-series data into a condensed 'peak-representation' format and is optimized via supervised fine-tuning followed by reinforcement learning with a multi-objective reward.
PESD-TSF: A Period-Aware and Explicit Structured Decomposition Framework for Long-Term Time Series Forecasting
Proposes PESD-TSF, a physics-inspired structured decomposition framework for long-term time series forecasting that addresses periodic perception degradation, trend-noise entanglement, and loss of cross-variable dependencies via multiplicative periodic gating, multi-scale structured encoder, and cross-scale collaborative attention.
A Granularity-Aware EEG Feature Framework for Psychopathology Dimension Prediction
This paper presents a granularity-aware EEG feature framework that organizes multi-scale descriptors into global, regional, and channel levels to predict dimensional psychopathology. Using the HBN cohort, it shows that tree-based models and granularity-balanced feature selection yield modest improvements, suggesting multi-scale EEG features contain weak but detectable signals for pediatric mental health.