In the rapidly evolving landscape of the Social Internet of Things (SIoT), smart objects are no longer isolated; they establish "social" relationships to optimize services and user experiences. However, this open and interconnected environment is vulnerable to malicious nodes that can spread misinformation or launch coordinated attacks. Establishing a foundation of trust—determining which nodes are reliable—is a critical and urgent challenge for the security of SIoT ecosystems.
KGTrust is a novel Graph Neural Network (GNN) framework designed to address this challenge. By integrating structural graph data with rich node semantics and external knowledge, KGTrust provides a more robust and accurate evaluation of trustworthiness than previous state-of-the-art methods.
The Challenges of Trust in SIoT
Trust evaluation in SIoT aims to predict the reliability of a relationship between two nodes (users or objects) that have not yet interacted. While GNNs have become a standard tool for graph-based prediction, existing models often struggle with three major issues:
- Ignoring Semantics: Most models treat nodes as simple identifiers, ignoring the rich textual information available in user comments or object descriptions.
- Data Sparsity: Real-world trust networks are often "thin," meaning most users have only interacted with a tiny fraction of the network, making it difficult for standard GNNs to learn effectively.
- Complex Trust Dynamics: Trust is not a simple undirected connection; it possesses specific mathematical properties that must be modeled.
As illustrated in the figure above, trust is inherently:
- Asymmetric: If user $i$ trusts user $j$, it does not necessarily mean user $j$ trusts user $i$.
- Propagative: Trust can be inferred through a chain; if $i$ trusts $j$ and $j$ trusts $k$, $i$ may develop a degree of trust for $k$.
- Composable: Trust signals from multiple independent paths can be aggregated to form a more certain evaluation of a target node.
The KGTrust Architecture
To overcome these challenges, the authors propose the KGTrust framework, which decomposes the trust evaluation process into three sophisticated layers: Knowledge Enhancement, Heterogeneous Convolution, and Prediction.
1. Knowledge-Enhanced Embedding Layer
Instead of using random initialization, KGTrust captures the "social persona" of nodes. It applies Doc2vec to user comment behaviors and links object descriptions to external Knowledge Graphs, specifically Wikidata5M. By using TransE to extract structured knowledge triples (head-predicate-tail), the model understands the factual context of objects. A type-specific linear transformation then maps these diverse data types into a shared latent space.
2. Heterogeneous Convolutional Layer
This layer acts as the engine of the model, addressing structural sparsity and directional dynamics:
- PPR-Based Neighbor Sampling: Using Personalized PageRank (PPR), the model identifies long-range but highly informative neighbors. This effectively "thickens" the sparse trust graph by allowing nodes to learn from relevant peers beyond their immediate neighborhood.
- Dual-Role Modeling: Every user is assigned two distinct embeddings—one as a trustor (the source of trust) and one as a trustee (the recipient). This explicitly captures the asymmetric nature of trust.
- Hierarchical Attention: The model employs both type-level and node-level attention mechanisms to weigh the importance of different neighbors during the information propagation process.
- Gating Mechanism: A learnable gate adaptively fuses the trustor and trustee representations into a final, comprehensive node embedding.
3. Predictor Layer
The final stage concatenates the learned embeddings of a pair of nodes and passes them through a Multi-Layer Perceptron (MLP). This MLP predicts the final probability of a "trust" or "distrust" relationship between the two entities.
Experimental Evaluation and Results
The model was rigorously tested on three widely used SIoT datasets: FilmTrust, Ciao, and Epinions. For the external knowledge component, object descriptions were aligned with Wikidata5M, a massive graph containing millions of entities and facts.
KGTrust consistently outperformed eight major baselines, including GAT, DeepTrust, and Guardian. On the FilmTrust dataset, it achieved an accuracy of 79.82%, surpassing the best baseline by over 2%. Ablation studies highlighted that removing either the user semantics (Doc2vec) or the external knowledge triples (TransE) led to a significant drop in performance, proving that semantics are indeed the "secret sauce" of the model. Furthermore, KGTrust demonstrated remarkable robustness; even when training data was reduced to 50%, its performance remained stable, while classical GNN methods saw sharp declines.
Conclusion
KGTrust represents a significant leap forward in securing the Social Internet of Things. By combining structural graph learning with deep semantic knowledge and modeling the inherent properties of trust, it provides a reliable framework for evaluating node trustworthiness. While the computational cost of aligning nodes to external KGs is a consideration, the gains in accuracy and robustness make it a compelling solution for modern SIoT applications. Future research will explore incorporating temporal dynamics to capture how trust relationships evolve over time.
Summary updated