Abstract
Node embedding techniques are pivotal in graph machine learning but often struggle with network sparsity and a lack of interpretability. We present t-PINE (Tensor-based Predictable and Interpretable Node Embeddings), a framework that models graphs as multi-view tensors. By jointly decomposing an adjacency matrix and a feature-based $K$-nearest neighbors ($K$-NN) matrix, t-PINE captures both explicit structural and implicit semantic relationships. Our evaluation across four real-world datasets demonstrates that t-PINE significantly outperforms state-of-the-art baselines in multi-label classification, achieving up to a 158.6% improvement in Micro-F1 scores while providing a mathematically grounded mechanism for interpreting embedding dimensions.
Introduction
Graph representation learning typically transforms nodes into low-dimensional vectors. However, traditional methods like DeepWalk or node2vec face two primary challenges. First, the sparsity trap: real-world networks often lack direct edges between related nodes, leading models to miss implicit connections. Second, the black-box problem: standard embeddings lack transparency, making it difficult to discern which data source—graph topology or node features—influenced a specific representation. t-PINE addresses these issues by leveraging tensor decomposition to integrate multiple data "views" into a single, interpretable latent space.
Methodology: The t-PINE Framework
The t-PINE approach operates in three distinct phases to generate robust node embeddings.
Step 1: Multi-View Tensor Construction
Rather than representing a graph as a single matrix, t-PINE constructs a 3D tensor $\mathcal{X}$. This tensor consists of two primary layers or "views":
- Adjacency View: Captures explicit structural connections (who is linked to whom).
- $K$-Nearest Neighbors ($K$-NN) View: Derived from node features, this view identifies nodes with similar content, effectively bridging structural gaps in sparse networks.
Step 2: Canonical Polyadic (CP) Decomposition
The framework applies CP decomposition to the tensor $\mathcal{X}$, breaking it down into three factor matrices: $A, B,$ and $C$. Matrices $A$ and $B$ serve as the node embeddings, while matrix $C$ acts as the "interpreter." Matrix $C$ assigns weights to each embedding dimension, indicating its reliance on either the structural or the feature-based view.
Step 3: Joint Optimization
Using an Alternating Least Squares (ALS) approach, the model iteratively refines these matrices. This joint learning process ensures that the resulting embeddings are aware of both local structural patterns and global feature similarities simultaneously.
Experimental Results and Discussion
The authors evaluated t-PINE on four diverse datasets: Wikipedia, WebKB, CiteSeer, and Terrorist.
Performance Gains
t-PINE consistently outperformed baselines such as DeepWalk, node2vec, Walklets, and TADW. The most significant improvement was observed in the CiteSeer dataset, where t-PINE achieved a 158.6% boost in Micro-F1 score over the next best method in sparse labeling conditions (10% training data). This success is attributed to the $K$-NN view, which provides critical context when structural edges are missing.
Interpretability and Dimension Pruning
A unique advantage of t-PINE is the transparency provided by the $C$ matrix. By examining the weights assigned to each dimension, researchers can determine the provenance of specific features.
As shown in the dimension weight analysis, most dimensions are predominantly driven by one view or the other. This allows for dimension pruning: dimensions with low weights across all views can be identified as noise and removed, potentially reducing model complexity without sacrificing accuracy.
Conclusion
t-PINE offers a powerful, interpretable alternative to traditional node embedding methods. By treating graphs as multi-view tensors, it overcomes the limitations of sparse data and provides a clear mathematical path to understanding latent representations. While currently limited to static graphs, future work aims to extend the framework to dynamic networks and incorporate additional views, such as temporal or multi-relational data.
Summary updated