Learning the Past from the Future: Retrospective Reconstruction in Temporal Interaction Networks
Organizations: Department of Information Technology, United Institute of Technology, Coimbatore, India
Abstract
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.
Figures & tables
| Protocol | Construction | Role |
|---|---|---|
| Exhaustive | Every destination in the historical universe | Primary for tgbl-wiki , not feasible for tgbl-comment |
| Historical-random | 100 negatives: up to 50 past destinations of the query source, with the remainder sampled uniformly | Primary for tgbl-comment , matched comparison across datasets |
| Degree-matched | 100 negatives from the same past in-degree bin as the true destination, with four bins fitted on training episodes | Sensitivity analysis |
| Dataset | Protocol | Past MRR | Past + 24 h | Gain 1 h | Gain 6 h | Gain, 24 h [95% interval] |
|---|---|---|---|---|---|---|
| tgbl-wiki | exhaustive | 0.599 | 0.639 | +0.015 | +0.029 | +0.039 [0.022, 0.058] |
| tgbl-wiki | hist.-random | 0.617 | 0.663 | +0.018 | +0.040 | +0.046 [0.029, 0.064] |
| tgbl-comment | hist.-random | 0.485 | 0.593 | +0.050 | +0.096 | +0.108 [0.098, 0.118] |
| Model family | tgbl-wiki exhaustive | tgbl-wiki hist.-random | tgbl-comment hist.-random |
|---|---|---|---|
| Pair heuristic (later count replaces past count) | |||
| Popularity heuristic | |||
| Logistic regression, 6 activity features | |||
| Logistic regression, 26 features |
Temporal Link Prediction
Temporal link prediction forecasts which relationships will form or recur as networks and knowledge graphs change over time.
See all 61 papers