Abstract
Traditional network analysis often focuses on topological structure, neglecting the intensity of relationships or inherent node properties. This paper introduces a novel metric geometry framework to predict weights in directed networks. We formalize three new network variants—Almost-Weighted Directed Networks (AWDNs), Almost-Weighted Origin Directed Networks (AWODNs), and Almost-Weighted Terminal Directed Networks (AWTDNs)—and define custom distance metrics based on node behavior. By adapting k-Nearest Neighbors (kNN) and Support Vector Machines (SVM) to these metric spaces, we demonstrate high predictive accuracy on social and financial datasets, including Bitcoin OTC and Epinions, without relying on external metadata.
1. Introduction
In network science, research typically emphasizes the topology of connections. However, real-world data is frequently both weighted (representing relationship intensity, such as trust scores) and directed. While link prediction is well-studied, predicting the intensity of those links or the properties of the nodes themselves (e.g., a user's fairness) remains a significant challenge. Existing methods often depend on pre-defined node features. This work addresses the gap by proposing a purely geometric approach that treats the network as a metric space.
2. Methodology
The core innovation lies in applying metric geometry to graph theory, moving beyond simple topological analysis to define distances based on node behavior.
2.1 Network Formalization
The authors define three new types of networks to handle semi-supervised learning scenarios:
- AWDNs (Almost-Weighted Directed Networks): Networks where only a subset of edges has known weights.
- AWODNs/AWTDNs: Networks where only a subset of origin ($O$) or terminal ($T$) vertices has known weights.
2.2 Metrics Modulo Equivalence
A "distance" between nodes is defined based on behavior rather than physical or topological distance. For instance, two origin nodes are considered "close" if they share a similar distribution of neighbor weights within a specific threshold ($h$). This allows the authors to treat "similar" nodes as having zero distance, creating a metric space structure on the graph.
2.3 Modified Algorithms
The researchers adapted two classical machine learning algorithms for these metric spaces:
- Modified kNN: Uses custom graph-based metrics to identify the $k$ most similar nodes and averages their weights for prediction.
- Modified SVM: Employs a "transfer map" to embed graph objects into real numbers based on neighborhood properties, enabling the use of standard SVM kernels (e.g., RBF or linear) for regression.
3. Experimental Setup
The methodology was evaluated on three real-world datasets, with weights scaled to a $[-1, 1]$ interval for consistency:
- Bitcoin OTC: A trust network where users rate reliability (-10 to +10).
- Epinions: A consumer review site where users rate review "helpfulness" (1 to 5).
- WikiSigned: A network of Wikipedia editors representing degrees of trust.
4. Results
Both modified kNN and SVM performed consistently well across all datasets, with SVM generally showing a slight edge in accuracy. Key findings include:
- Origin Weight Prediction: Achieved a Mean Absolute Error (MAE) as low as 0.073 on Bitcoin OTC.
- Terminal Weight Prediction: MAE ranged from 0.087 to 0.193 across datasets.
- Edge Weight Prediction: MAE ranged from 0.158 to 0.278.
The Root Mean Square Error (RMSE) results followed similar trends, indicating that the geometric approach is robust against large outliers in these social networks.
5. Discussion and Conclusion
This research highlights that local neighborhood structure—specifically the weighting of a node's neighbors—carries a significant signal for weight prediction, often negating the need for external metadata. Furthermore, the focus on vertex weighting (reputation or "goodness") provides a foundation for advanced graph embedding and anomaly detection. Future work will address the optimization of the tuning parameter $h$, computational scalability for massive graphs, and the application of these metrics to dynamic, time-evolving networks.
Summary updated