Trust evaluation assesses trust relationships between entities and facilitates decision-making. Machine Learning (ML) shows great potential for trust evaluation owing to its learning capabilities. In recent years, Graph Neural Networks (GNNs), as a new ML paradigm, have demonstrated superiority in dealing with graph data. This has motivated researchers to explore their use in trust evaluation, as trust relationships among entities can be modeled as a graph. However, current trust evaluation methods that employ GNNs fail to fully satisfy the dynamicity nature of trust, overlook the adverse effects of attacks on trust evaluation, and cannot provide convincing explanations on evaluation results. To address these problems, in this paper, we propose TrustGuard, a GNN-based accurate trust evaluation model that supports trust dynamicity, is robust against typical attacks, and provides explanations through visualization. Specifically, TrustGuard is designed with a layered architecture that contains a snapshot input layer, a spatial aggregation layer, a temporal aggregation layer, and a prediction layer. Among them, the spatial aggregation layer can be plugged into a defense mechanism for a robust aggregation of local trust relationships, and the temporal aggregation layer applies an attention mechanism for effective learning of temporal patterns. Extensive experiments on two real-world datasets show that TrustGuard outperforms state-of-the-art GNN-based trust evaluation models with respect to trust prediction across single-timeslot and multi-timeslot, even in the presence of attacks. In particular, TrustGuard can explain its evaluation results by visualizing both spatial and temporal views.
翻译:信任评估用于评估实体间的信任关系并辅助决策制定。机器学习凭借其学习能力在信任评估中展现出巨大潜力。近年来,图神经网络作为一种新兴的机器学习范式,在处理图数据方面表现出优越性,这促使研究者探索其在信任评估中的应用——因为实体间的信任关系可建模为图结构。然而,当前基于图神经网络的信任评估方法未能充分满足信任的动态性特征,忽视了攻击对信任评估的不利影响,且无法对评估结果提供具有说服力的解释。针对上述问题,本文提出TrustGuard——一种支持信任动态性、对典型攻击具有鲁棒性、并通过可视化提供解释的图神经网络精准信任评估模型。具体而言,TrustGuard采用分层架构设计,包含快照输入层、空间聚合层、时间聚合层和预测层。其中空间聚合层可嵌入防御机制以实现局部信任关系的鲁棒聚合,时间聚合层则应用注意力机制有效学习时序模式。在两个真实数据集上的大量实验表明,即使在攻击场景下,TrustGuard在单时隙和多时隙信任预测方面均优于当前最先进的基于图神经网络的信任评估模型。特别地,TrustGuard可通过时空双维度可视化对其评估结果进行解释。