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 dynamic nature of trust, overlook the adverse effects of trust-related attacks, and cannot provide convincing explanations on evaluation results. To address these problems, 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 adopts a defense mechanism to robustly aggregate local trust, 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 addition, TrustGuard can explain its evaluation results by visualizing both spatial and temporal views.
翻译:信任评估旨在衡量实体间的信任关系以辅助决策。机器学习因其出色的学习能力在信任评估领域展现出巨大潜力。近年来,图神经网络作为机器学习的新范式,在处理图数据方面展现出优越性。由于实体间的信任关系可建模为图结构,研究者开始探索其在信任评估中的应用。然而,现有基于图神经网络的信任评估方法未能充分满足信任的动态性特征,忽视信任相关攻击的负面影响,且无法对评估结果提供令人信服的解释。针对上述问题,我们提出TrustGuard——一种基于图神经网络的精准信任评估模型,该模型支持信任动态性、对典型攻击具有鲁棒性,并能通过可视化提供解释。具体而言,TrustGuard采用分层架构设计,包含快照输入层、空间聚合层、时间聚合层和预测层。其中,空间聚合层采用防御机制实现局部信任的鲁棒聚合,时间聚合层则应用注意力机制有效学习时序模式。在两组真实数据集上的大量实验表明,即便存在攻击的情况下,TrustGuard在单时段和多时段信任预测任务中均优于现有最先进的基于图神经网络的信任评估模型。此外,TrustGuard通过空间视图与时间视图的可视化,能够动态解释其评估结果。