It has become cognitive inertia to employ cross-entropy loss function in classification related tasks. In the untargeted attacks on graph structure, the gradients derived from the attack objective are the attacker's basis for evaluating a perturbation scheme. Previous methods use negative cross-entropy loss as the attack objective in attacking node-level classification models. However, the suitability of the cross-entropy function for constructing the untargeted attack objective has yet been discussed in previous works. This paper argues about the previous unreasonable attack objective from the perspective of budget allocation. We demonstrate theoretically and empirically that negative cross-entropy tends to produce more significant gradients from nodes with lower confidence in the labeled classes, even if the predicted classes of these nodes have been misled. To free up these inefficient attack budgets, we propose a simple attack model for untargeted attacks on graph structure based on a novel attack objective which generates unweighted gradients on graph structures that are not affected by the node confidence. By conducting experiments in gray-box poisoning attack scenarios, we demonstrate that a reasonable budget allocation can significantly improve the effectiveness of gradient-based edge perturbations without any extra hyper-parameter.
翻译:已经认知到在分类相关任务中采取交叉熵损失函数成为了一种惯性。在图结构的未定向攻击中,攻击者从攻击目标中得出的梯度是评价扰动方案的基础。之前的方法使用负交叉熵损失作为攻击目标来攻击基于节点的分类模型。然而,之前的工作中还没有讨论究竟使用交叉熵函数来构建未定向攻击目标是否合适。本文从预算分配的角度论证了之前不合理的攻击目标。我们理论上和实验上证明,即使这些节点的预测类别已被误导,使用负交叉熵往往会产生更大的梯度,这些梯度来自于标记类别置信度较低的节点。为了释放出这些低效的攻击预算,我们提出了一种基于新型攻击目标的简单攻击模型,该攻击目标在图结构上生成的未加权的梯度不会受节点置信度的影响。通过在灰盒毒化攻击场景下的实验验证,我们证明了合理的预算分配可以显著提高基于梯度扰动的边缘的攻击效果,而不需要额外的超参数。