Papers › PeakFocus: Bridging Peak Localization and Intensity Regression via a Unified...

PeakFocus: Bridging Peak Localization and Intensity Regression via a Unified Multi-Scale Framework for Electricity Load Forecasting

20 May 2026arXiv:2605.21550added by Syntology

Wangzhi Yu, Peng Zhu, Qing Zhao, Yiwen Jiang, Dawei Cheng

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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.

PaperPDFCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 34 code samples harvested from 2 repositories linked to this paper: 28 ran (of which 10 constructed an object rather than computing a result; 22 with no instrument failure: 2 honoured, 4 violated, 16 with no contract checked; 6 where Syntology's instrument failed) · 6 unverified. Where Syntology's instrument failed: 6 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 34 samples from 2 repositories, 28 ran (22 with no instrument failure; 6 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

TongjiFinLab/PeakFocus found in paper text by SyntologySyntology: 13 samples, 10 ran (0 instrument-failed) · 3 unverified report
erdogant/findpeaks found in paper text by SyntologySyntology: 21 samples, 18 ran (6 instrument-failed) · 3 unverified report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

34 samples harvested: 28 ran (of which 10 constructed an object rather than computing a result; 22 with no instrument failure: 2 honoured, 4 violated, 16 with no contract checked; 6 where Syntology's instrument failed) · 6 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · honoured contract
4ran · violated contract
6ran; the contract check could not run
16ran
6unverified

Licence: 21 of the 34 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 6 samples that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

TongjiFinLab/PeakFocus found in paper text by Syntology 13 samples, 10 ran (0 instrument-failed) · 3 unverified
CovariateBridgeEncoder models/proposed_model.py ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · ce091d8435d716e2 · report fixture: returned CovariateBridgeEncoder · level recorded 2026-09-22
DataEmbedding in 9 papers models/proposed_model.py ran · metamorphic tier: deterministic MIT (permissive) · c33c8191c5dcdf84 · report fixture: returned DataEmbedding · level recorded 2026-09-22
EndogenousPatchEmbedding models/proposed_model.py ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 2de54542000f739f · report fixture: returned EndogenousPatchEmbedding · level recorded 2026-09-22
GatedWeatherFusion models/proposed_model.py ran · metamorphic tier: deterministic MIT (permissive) · 7b66518cb7e8ba8a · report fixture: returned GatedWeatherFusion · level recorded 2026-09-22
Location_Aware_Decoder models/proposed_model.py ran · metamorphic tier: deterministic MIT (permissive) · 76a30369171acc7a · report fixture: returned Location_Aware_Decoder · level recorded 2026-09-22
Location_Aware_Decoder_Layer models/proposed_model.py ran · metamorphic tier: deterministic MIT (permissive) · f015fe0ed3992820 · report fixture: returned Location_Aware_Decoder_Layer · level recorded 2026-09-22
MultiLayerPerceptron in 6 papers models/proposed_model.py ran · metamorphic tier: deterministic MIT (permissive) · 7e0f17b51b06577b · report fixture: returned MultiLayerPerceptron · level recorded 2026-09-22
Multi_Scale_Mixing_Peak_Locator models/proposed_model.py ran · metamorphic tier: deterministic MIT (permissive) · f3fd0ba7ecb9de47 · report fixture: returned Multi_Scale_Mixing_Peak_Locator · level recorded 2026-09-22
Simple_Head models/proposed_model.py ran · metamorphic tier: deterministic MIT (permissive) · f39c197a1412ef7c · report fixture: returned Simple_Head · level recorded 2026-09-22
TimeFeatureEmbedding models/proposed_model.py ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 9ed33707ea2f71de · report fixture: returned TimeFeatureEmbedding · level recorded 2026-09-22
CovariateBridgeEncoderLayer models/proposed_model.py unverified MIT (permissive) · 8eeba834f632bd8d · report
Model in 227 papers models/proposed_model.py unverified MIT (permissive) · a5412fb1b0408c3a · report
TimeXerCovariateBridge models/proposed_model.py unverified MIT (permissive) · 5af62acb6d11344f · report
erdogant/findpeaks found in paper text by Syntology 21 samples, 18 ran (6 instrument-failed) · 3 unverified
calculate_all_Mi findpeaks/filters/frost.py ran · violated contract licence not identified · pointer only · 17aa9a572ba3f4b0 · report fixture: signature window_flat:ndarray/1/float, factor_A:float/0/float, window:ndarray/2/float · returned ndarray · level recorded 2026-09-24
calculate_local_weight_matrix findpeaks/filters/frost.py ran; the contract check could not run (RAISES) fingerprinted licence not identified · pointer only · af8a3d073f9b8cd2 · report fixture: signature window:ndarray/2/float, factor_A:float/0/float · returned ndarray · level recorded 2026-09-24
compute_coef_var findpeaks/filters/frost.py ran licence not identified · pointer only · 35044b76e3773b6a · report fixture: signature image:ndarray/2/float, x_start:int/0/int, x_end:int/0/int, y_start:int/0/int, y_end:int/0/int · returned float32 · level recorded 2026-09-24
convert_verbose_to_old findpeaks/findpeaks.py ran · honoured contract fingerprinted licence not identified · pointer only · 589d6e88341881c9 · report fixture: signature verbose:str/0/str · returned int · level recorded 2026-09-24
interpolate_line1d findpeaks/interpolate.py ran licence not identified · pointer only · a19d56265f4189e4 · report fixture: signature X:ndarray/1/float, n:int/0/int, method:int/0/int, showfig:bool/0/bool · returned ndarray · level recorded 2026-09-24
interpolate_line2d findpeaks/interpolate.py ran licence not identified · pointer only · 0d0ca7c8a7074254 · report fixture: signature xs:ndarray/1/float, ys:ndarray/1/float, interpol:int/0/int, window:int/0/int · returned tuple · level recorded 2026-09-24
interpolate_nans findpeaks/interpolate.py ran; the contract check could not run (RAISES) licence not identified · pointer only · 3c4950f33e115af2 · report fixture: signature X:ndarray/1/float, method:str/0/str, replace_value_to_nan:NoneType/0/? · returned ndarray · level recorded 2026-09-24
is_url in 30 papers findpeaks/findpeaks.py ran · violated contract licence not identified · pointer only · cf9328100ebbd5ed · report fixture: signature url:str/0/str · returned bool · level recorded 2026-09-24
kuan_filter findpeaks/filters/kuan.py ran; the contract check could not run (RAISES) licence not identified · pointer only · 9dfc6b4f9dde716a · report fixture: signature img:ndarray/2/float, win_size:int/0/int, cu:float/0/float · returned ndarray · level recorded 2026-09-24
lee_enhanced_filter findpeaks/filters/lee_enhanced.py ran licence not identified · pointer only · f1324565a011e980 · report fixture: signature img:ndarray/2/float, win_size:int/0/int, k:float/0/float, cu:float/0/float, cmax:float/0/float · returned ndarray · level recorded 2026-09-24
lee_filter findpeaks/filters/lee.py ran; the contract check could not run (RAISES) licence not identified · pointer only · 3cc789ceceb9a57e · report fixture: signature img:ndarray/2/float, win_size:int/0/int, cu:float/0/float · returned ndarray · level recorded 2026-09-24
mean_filter findpeaks/filters/mean.py ran; the contract check could not run (RAISES) fingerprinted licence not identified · pointer only · 9572a19a39649452 · report fixture: signature img:ndarray/2/float, win_size:int/0/int · returned ndarray · level recorded 2026-09-24
peakdetect findpeaks/peakdetect.py ran licence not identified · pointer only · a79ebcc4f3a442a1 · report fixture: signature y_axis:list/1/float, x_axis:list/1/float, lookahead:int/0/int, delta:int/0/int · returned list · level recorded 2026-09-24
resize in 108 papers
census: 10 implementations from 14 papers, 5 distinct outputs across 2 buckets, one shared input per bucket
findpeaks/stats.py ran · violated contract fingerprinted licence not identified · pointer only · 2d4dfe47b6dd14f1 · report fixture: signature X:ndarray/3/int, size:tuple/1/int · returned ndarray · level recorded 2026-09-24
scale in 38 papers findpeaks/stats.py ran · violated contract fingerprinted licence not identified · pointer only · d187808ffd4fcfd3 · report fixture: signature X:ndarray/3/float · returned ndarray · level recorded 2026-09-24
togray findpeaks/stats.py ran · honoured contract fingerprinted licence not identified · pointer only · b0d0eec902c636b3 · report fixture: signature X:ndarray/3/int · returned ndarray · level recorded 2026-09-24
weighting findpeaks/filters/kuan.py ran; the contract check could not run (RAISES) fingerprinted licence not identified · pointer only · 7669ef18158dd5da · report fixture: signature window:ndarray/1/float, cu:float/0/float · returned float64 · level recorded 2026-09-24
weighting findpeaks/filters/lee_enhanced.py ran licence not identified · pointer only · 17bfb489594a5fbd · report fixture: signature pix_value:float/0/float, window:ndarray/1/float, k:float/0/float, cu:float/0/float, cmax:float/0/float · returned float · level recorded 2026-09-24
peakdetect_fft findpeaks/peakdetect.py unverified licence not identified · pointer only · fb0fd6ef8c4f7c29 · report
peakdetect_parabola findpeaks/peakdetect.py unverified licence not identified · pointer only · 82d4b81cad7bc285 · report
ptTar findpeaks/filters/lee_sigma.py unverified licence not identified · pointer only · 95fddf1afb56a629 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for PeakFocus (graph method: PeakFocus). 21 bricks; individually on a fixture: 17 ran (of which 16 constructed an object rather than computing a result; 17 with no instrument failure: 0 honoured, 0 violated, 17 with no contract checked; 0 where Syntology's instrument failed) · 4 unverified. The assembly has not been run end-to-end.

  1. Model entry · level 0 · unverified · a5412fb1b0408c3a
  2. AttentionLayer helper · level 1 · ran · c72bedae1c2e5af8
  3. DataEmbedding helper · level 1 · ran · c33c8191c5dcdf84
  4. FullAttention helper · level 0 · unverified · 322f02572bafb2ab
  5. GatedWeatherFusion model · level 1 · ran · 7b66518cb7e8ba8a
  6. Location_Aware_Decoder model · level 1 · ran · 76a30369171acc7a
  7. Location_Aware_Decoder_Layer model · level 1 · ran · f015fe0ed3992820
  8. MultiLayerPerceptron model · level 1 · ran · 7e0f17b51b06577b
  9. Multi_Scale_Mixing_Peak_Locator model · level 1 · ran · f3fd0ba7ecb9de47
  10. Simple_Head model · level 1 · ran · f39c197a1412ef7c
  11. TemporalEmbedding helper · level 1 · ran · f42ba6fda711db0d
  12. TimeFeatureEmbedding helper · level 1 · ran · 9ed33707ea2f71de
  13. TimeXerCovariateBridge helper · level 0 · unverified · 5af62acb6d11344f
  14. PositionalEmbedding helper · level 1 · ran · 5da1d16a64cf53ce
  15. TokenEmbedding helper · level 1 · ran · 588a4a8475ed63a0
  16. TriangularCausalMask helper · level 1 · ran · a297b58f69588d02
  17. FixedEmbedding helper · level 1 · ran · 921d4aae41f22f16
  18. CovariateBridgeEncoder helper · level 1 · ran · ce091d8435d716e2
  19. CovariateBridgeEncoderLayer helper · level 0 · unverified · 8eeba834f632bd8d
  20. DataEmbedding_inverted helper · level 1 · ran · be84117eca7bbea4
  21. EndogenousPatchEmbedding helper · level 1 · ran · 2de54542000f739f

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2605.21550") returns these assemblies with each brick's role and wiring (how to connect).

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.21550, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

Placed on leaderboards by Syntology Syntology

Syntology's extractor, the model Claude Sonnet 4.5, judged this paper's tables to report on 1 leaderboard (a model's judgement, not a result) and has not placed the paper on it: Multivariate Time Series Forecasting · Electricity (refused by a rule: the row label the model quoted is not the row's label). What is not shown.

Syntology has checked 8,886 of the 18,637 papers on this site that are newer than the archive (for 3,717 of them no archive leaderboard matched the paper's tables, so there was nothing further to check); 733 were read and have nothing to place (arXiv has no HTML version of the paper, or that version has no tables), 41 could not be read (the extractor's reply could not be parsed), and results from the other 8,977 appear after they are checked.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections