Existing techniques for certifying the robustness of models for discrete data either work only for a small class of models or are general at the expense of efficiency or tightness. Moreover, they do not account for sparsity in the input which, as our findings show, is often essential for obtaining non-trivial guarantees. We propose a model-agnostic certificate based on the randomized smoothing framework which subsumes earlier work and is tight, efficient, and sparsity-aware. Its computational complexity does not depend on the number of discrete categories or the dimension of the input (e.g. the graph size), making it highly scalable. We show the effectiveness of our approach on a wide variety of models, datasets, and tasks -- specifically highlighting its use for Graph Neural Networks. So far, obtaining provable guarantees for GNNs has been difficult due to the discrete and non-i.i.d. nature of graph data. Our method can certify any GNN and handles perturbations to both the graph structure and the node attributes.
翻译:用于验证离散数据模型是否稳健的现有技术要么只对小类模型有效,要么一般以效率或紧凑性为代价。此外,这些技术并不说明输入中的宽度,正如我们的调查结果显示,这种宽度对于获得非三重保证往往至关重要。我们建议基于随机的平滑框架的模型――不可知性证书,这种框架可以分解先前的工作,并且是紧凑、高效和宽度的。其计算复杂性并不取决于离散类别的数目或输入的尺寸(如图形大小),因此高度可伸缩。我们展示了我们在各种模型、数据集和任务上的做法的有效性 -- -- 具体强调其在图形神经网络中的用途。迄今为止,由于图形数据的离散性和非.i.d.性质,为GNN提供可变的保证一直很困难。我们的方法可以验证任何GNN,并处理对图形结构和节点属性的触动性。</s>