TL;DR
Real-world temporal graphs, like blockchain transaction networks, quickly become massive and computationally overwhelming over time. This paper introduces TRicci, a framework that applies a novel temporal extension of Forman-Ricci curvature to prune up to 80% of graph edges as a lightweight preprocessing step. Remarkably, TRicci slashes downstream training and inference times by over 55% while preserving roughly 98% of the original graph's predictive performance.
What Problem Does This Paper Address?
Dynamic networks—such as financial transaction logs, social media platforms, and recommender systems—evolve continuously. As interactions accumulate, these graphs become dense, noisy, and computationally expensive to process. Training Graph Neural Networks (GNNs) or sequential models on them requires repeatedly processing evolving edge sets, which drains memory and runtime.
While graph sparsification methods exist to trim the fat, most are designed for static graphs. They rely purely on topology or node degrees, or they require expensive end-to-end optimization alongside the machine learning model. These approaches miss crucial temporal context: when an interaction happened, its weight, and how it competes with nearby interactions over time.
Methods
The authors introduce TRicci, which adapts classical discrete geometry—specifically Forman-Ricci curvature—for directed, weighted, temporal graphs.
As shown in the architecture overview (Figure 1), the framework operates in three main stages:
- Snapshot Partitioning: The continuous edge stream is divided into discrete-time snapshots to prevent future data leakage and ensure localized computation.
- Temporal Curvature Scoring: For each edge within a snapshot, TRicci computes an importance score based on a "support-minus-penalty" principle. Support is derived from log-smoothed endpoint activity. The penalty comes from a temporal decay kernel that measures local competition from outgoing alternative or continuation edges. Edges that occur closer in time to the target edge contribute more heavily to this penalty.
- Task-Guided Selection: Edges are ranked and binned by their curvature scores. A validation step determines the optimal curvature range to retain for the downstream task (defaulting to the highest-curvature edges).
Datasets
The framework was evaluated across 12 dynamic networks:
- 9 Blockchain Token-Transfer Networks from GraphPulse (including ADX, BAG, BEPRO, GLM, and HOICHI), where nodes represent wallet addresses and edges represent token transfers.
- 3 Temporal Graph Benchmark (TGB) datasets:
TGBL-COIN(cryptocurrency transfers),TGBL-REVIEW(product reviews), andTGBL-COMMENT(user comment interactions).
Key Insights and Ideas
- The Pareto Principle of Curvature: The authors discovered a Pareto-style concentration of information in dynamic networks. The top 20% highest-curvature edges retain almost all the downstream predictive power of the entire network.
- Curvature as Uniqueness: High curvature indicates that an edge has strong endpoint support and lacks immediate temporal alternatives. Conversely, low-curvature edges exist in crowded temporal neighborhoods where multiple similar interactions happen around the same time, making them structurally and temporally redundant (Figure 2).
- Time-Aware Competition: Local competition isn't just structural; it is highly time-dependent. An alternative transaction occurring 5 minutes later is a much stronger competitor (and indicator of redundancy) than one occurring 5 days later. TRicci’s temporal decay kernel successfully captures this nuance.
Key Results
- Massive Compression, Minimal Loss: At an 80% edge-deletion rate, TRicci preserved 97.7% of the full-graph ROC-AUC on average across three graph-level tasks (predicting network activity growth, participation expansion, and influential node turnover).
- Significant Speedups: Pruning the graphs led to an average 55.94% reduction in end-to-end runtime, encompassing sparsification, feature extraction, and model training/inference.
- Outperforming the Competition: TRicci consistently beat state-of-the-art static and structural sparsifiers (such as MoG, TEDDY, and SEM), which only averaged around 88-89% performance preservation under the same edge budget.
Limitations and Future Work
- Fixed Windows: The current approach relies on fixed snapshot lengths ($\Delta$), which might not capture multi-scale temporal dynamics perfectly.
- Continuous-Time Extension: TRicci is currently snapshot-based. Extending this geometric curvature approach directly to continuous-time dynamic graphs (CTDGs) without partitioning the time stream remains an open challenge.
- Thresholding: The framework uses equal-frequency binning; exploring adaptive, task-specific curvature thresholds could yield even cleaner subgraphs.
Summary updated