Papers › HYPRO: A Hybridly Normalized Probabilistic Model for Long-Horizon Prediction of Event Sequences

HYPRO: A Hybridly Normalized Probabilistic Model for Long-Horizon Prediction of Event Sequences

4 Oct 2022arXiv:2210.01753archive 2025-07-28

Siqiao Xue, Xiaoming Shi, james Y zhang, Hongyuan Mei

In this paper, we tackle the important yet under-investigated problem of making long-horizon prediction of event sequences. Existing state-of-the-art models do not perform well at this task due to their autoregressive structure. We propose HYPRO, a hybridly normalized probabilistic model that naturally fits this task: its first part is an autoregressive base model that learns to propose predictions; its second part is an energy function that learns to reweight the proposals such that more realistic predictions end up with higher probabilities. We also propose efficient training and inference algorithms for this model. Experiments on multiple real-world datasets demonstrate that our proposed HYPRO model can significantly outperform previous models at making long-horizon predictions of future events. We also conduct a range of ablation studies to investigate the effectiveness of each component of our proposed methods.

PaperPDFCodeCode Syntology ran

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2210.01753")

Code

Syntology Ran 7 of 24 code samples harvested from 5 repositories linked to this paper; 17 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 6 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 1 ran; community (archive-listed): 11 samples from 2 repositories, 5 ran; found in paper text by Syntology: 6 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

alipay/hypro_tpp officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
ilampard/hypro_tpp officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
ant-research/hypro_tpp mentioned on GitHubpytorch report
ivan-chai/hotpp-benchmark pytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

24 samples harvested; 7 ran; 0 honoured the contract we drafted; 17 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
6ran
17unverified

Licence: 0 of the 24 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 5 repositories linked to this paper, official or community; each sample names its own and says which. “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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

attention alipay/hypro_tpp/hypro_tpp/models/layers.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 8abbfdabbdf5e708 · report
create_dataloader alipay/hypro_tpp/hypro_tpp/preprocess/data_loader.py official repository unverified Apache-2.0 (permissive) · 2148f6ec1007f87b · report
find_alignment_mc alipay/hypro_tpp/hypro_tpp/utils/metrics.py official repository unverified Apache-2.0 (permissive) · 58ff88767659c8e2 · report
load_config alipay/hypro_tpp/hypro_tpp/utils/log.py official repository unverified Apache-2.0 (permissive) · 08a43a55e023ab89 · report
make_config_string alipay/hypro_tpp/hypro_tpp/utils/misc.py official repository unverified Apache-2.0 (permissive) · 3a664d327d5f2e80 · report
time_rmse_np alipay/hypro_tpp/hypro_tpp/utils/metrics.py official repository unverified Apache-2.0 (permissive) · 371695e02ece447c · report
type_acc_np alipay/hypro_tpp/hypro_tpp/utils/metrics.py official repository unverified Apache-2.0 (permissive) · d72eb69e38a09eba · report
BaseModel ant-research/hypro_tpp/hypro_tpp/models/xfmr_nhp_fast.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · bfffdf8e1209b24c · report
EncoderLayer ant-research/hypro_tpp/hypro_tpp/models/xfmr_nhp_fast.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · ad8afbb3cfd7019b · report
MultiHeadAttention ant-research/hypro_tpp/hypro_tpp/models/xfmr_nhp_fast.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 8f782f28d3d8e855 · report
SublayerConnection ant-research/hypro_tpp/hypro_tpp/models/xfmr_nhp_fast.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · d68aa2c5bcfcfed4 · report
XFMRNHPFast ant-research/hypro_tpp/hypro_tpp/models/xfmr_nhp_fast.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 4a7ec9134a46cc23 · report
compute_delta ivan-chai/hotpp-benchmark/hotpp/losses/common.py community (archive-listed) unverified Apache-2.0 (permissive) · d51e14e958836775 · report
eval_embeddings ivan-chai/hotpp-benchmark/hotpp/eval_downstream.py community (archive-listed) unverified Apache-2.0 (permissive) · aeccc4362da3db37 · report
evaluate ivan-chai/hotpp-benchmark/hotpp/evaluate.py community (archive-listed) unverified Apache-2.0 (permissive) · 183f293f3497c300 · report
get_horizon_lengths ivan-chai/hotpp-benchmark/hotpp/info.py community (archive-listed) unverified Apache-2.0 (permissive) · 0d758078e8864fdf · report
parse_result ivan-chai/hotpp-benchmark/hotpp/eval_downstream.py community (archive-listed) unverified Apache-2.0 (permissive) · 7893975b324c3d57 · report
test ivan-chai/hotpp-benchmark/hotpp/evaluate.py community (archive-listed) unverified Apache-2.0 (permissive) · d35314d71442b416 · report
XFMRNHPFast yangalan123/anhp-andtt/anhp/model/xfmr_nhp_fast.py found in paper text by Syntology ran MIT (permissive) · 583f1f767c810249 · report
colored hongyuanmei/neural-hawkes-particle-smoothing/mp_manager/core/color_text.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 1a34b8d0a489e850 · report
device_run hongyuanmei/neural-hawkes-particle-smoothing/mp_manager/core/run_func.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · a84d93385888f3b2 · report
makeHiddenForBound hongyuanmei/neural-hawkes-particle-smoothing/nhps/models/utils.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 502423075a8fcbb0 · report
makeHiddenForLambda hongyuanmei/neural-hawkes-particle-smoothing/nhps/models/utils.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 0de796a888ce97a7 · report
run hongyuanmei/neural-hawkes-particle-smoothing/mp_manager/core/run_func.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 56bd9a8fb615a7cc · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

BASE

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