arXiv:2610.33171cs.SIOct 2026

Manuscript Offprint

arXiv:2610.33171

Learning the Past from the Future: Retrospective Reconstruction in Temporal Interaction Networks

Amarnath R

Amarnath R 1^{1}

1^{1}Department of Information Technology, United Institute of Technology, Coimbatore, India

Temporal link prediction uses past interactions to predict future links. In practice, interaction records from web and mobile applications can contain gaps caused by logging failures, API limits or lost records, even when later events remain available. To our knowledge, the extent to which later events help recover interactions within such gaps has not been measured directly for this ranking task. We study retrospective reconstruction using the tgbl-wiki and tgbl-comment datasets. We hide a two-hour window, use its interactions as ground truth, and rank the directed pairs active within it. We compare count-based heuristics and logistic regression models using past information alone or together with 1, 6 or 24 hours of later events. Target pairs and candidate lists remain fixed across conditions, so differences in ranking performance cannot be attributed to changes in candidate selection. With 24 hours of later events, the 26-feature logistic regression improves mean reciprocal rank (MRR) by 0.039 on tgbl-wiki under exhaustive ranking, 0.046 under historical-random ranking, and 0.108 on tgbl-comment under historical-random ranking. The 26-feature logistic regression benefits from adding later features to past features, whereas replacing the past pair count with the later pair count reduces MRR by 0.157 on tgbl-wiki under exhaustive ranking. A control removing later interactions from query sources to historically observed destinations reduces the MRR gain by 59% on tgbl-wiki and 10% on tgbl-comment. Because this control removes more than repeated target pairs, these reductions cannot be attributed to pair recurrence alone. Later events improve the ranking of hidden interactions on both datasets, including tgbl-comment, where only 6.4% of target pairs reappeared within 24 hours.

Keywords: retrospective reconstruction, later events, directed interaction pairs, logistic regression, fixed candidate lists, temporal interaction networks

Date: October 23, 2026

Correspondence: amarnathresearch@gmail.com

ORCID: 0000-0003-3513-8969

1 Introduction

Temporal link prediction uses past events to predict future links, assuming that the recorded history is mostly available [1–3]. In practice, interaction records from web and mobile applications, such as Wikipedia, Reddit, Twitter/X and messaging apps, may be incomplete because of logging failures, API limits, crawler errors, or lost or deleted records. As a result, some interactions may be missing even when records from before and after the affected period remain available. These gaps can affect the analysis of network activity and the reliability of predictions based on interaction history. When later records are available, they may provide useful information about interactions from the missing period. However, conventional temporal link prediction evaluates how well past observations predict future links, not whether later events can help reconstruct earlier interactions.

To our knowledge, previous work has not directly evaluated how much events recorded after a missing interval improve the ranking of directed interaction pairs that were active during that interval, with the target pairs and candidate lists held fixed across information conditions. Previous studies have addressed missing links and events using temporal patterns and network structure [4–7], and temporal knowledge graph completion has used information from both before and after a query time to infer missing facts [8–10], but we did not find this specific comparison reported in the studies reviewed here. This study measures that improvement using graph-derived features, count-based heuristics and logistic regression models, while keeping target pairs and candidate lists fixed across conditions, so that differences in ranking performance are not caused by changes in candidate selection.

Evaluating retrospective reconstruction requires a dataset in which the interactions hidden during the experiment remain available as ground truth. We therefore conduct experiments on two temporal interaction datasets from the Temporal Graph Benchmark [3], tgbl-wiki and tgbl-comment, which contain Wikipedia edit events and Reddit reply events, respectively. In each dataset, we intentionally hide a two-hour window and rank the directed pairs that were active during that window. The two datasets differ in how often these pairs appear again, as 43.0% of them reappear within 24 hours in tgbl-wiki but only 6.4% in tgbl-comment. The models use either the history available before the window or that history together with the events from the following 1, 6 or 24 hours. We also run removal and destination-shuffling controls to examine how changes to the later events affect the results.

This study makes three contributions. First, we set up retrospective reconstruction as a ranking task with fixed candidate lists. Second, we show that with 24 hours of later events, mean reciprocal rank (MRR) improves under every candidate protocol tested. The gains range from 0.022 to 0.046 on tgbl-wiki across degree-matched, exhaustive and historical-random ranking, and from 0.108 to 0.134 on tgbl-comment across historical-random and degree-matched ranking. Third, we find that removing later interactions from query sources to historically observed destinations reduces the historical-random gain by 59% on tgbl-wiki but only by 10% on tgbl-comment. Because this control also removes interactions other than repeated target pairs, these reductions cannot be attributed to repeated pairs alone.