Source-linked AI summary

Batch Virtual Adversarial Training for Graph Convolutional Networks

Zhijie Deng, Yinpeng Dong, Jun Zhu

arXiv:1902.09192v2cs.LGcs.AIstat.ML

TL;DR

Graph neural networks smooth representations between neighboring nodes, but classifier-output smoothness under local perturbations is not addressed by that mechanism. BVAT introduces sample-based and optimization-based perturbation methods for GCNs, and the paper reports state-of-the-art results across four node-classification datasets.

  • Problem

    Graph neural networks smooth neighboring-node representations but do not account for classifier-output smoothness under local perturbations, a form of smoothing associated with improved generalization.

    Source: §1 · p. 1
  • Method

    BVAT uses sample-based perturbations for separated nodes or optimization-based perturbations for all nodes to account for graph connectivity and smooth classifier outputs.

    Source: §1 · p. 1, §3.2 · p. 3
  • Results

    BVAT outperforms current state-of-the-art methods by a large margin in semi-supervised node classification, with experiments covering Cora, Citeseer, Pubmed, and Nell.

    Source: §1 · p. 2, §5 · p. 5
  • Takeaways & Limitations

    The authors conclude that BVAT smooths graph-based classifiers and is suitable for aggregator-based graph neural networks.

    Source: §5 · pp. 4–5

Abstract

from arXiv · show

We present batch virtual adversarial training (BVAT), a novel regularization method for graph convolutional networks (GCNs). BVAT addresses the shortcoming of GCNs that do not consider the smoothness of the model's output distribution against local perturbations around the input. We propose two algorithms, sample-based BVAT and optimization-based BVAT, which are suitable to promote the smoothness of the model for graph-structured data by either finding virtual adversarial perturbations for a subset of nodes far from each other or generating virtual adversarial perturbations for all nodes with an optimization process. Extensive experiments on three citation network datasets Cora, Citeseer and Pubmed and a knowledge graph dataset Nell validate the effectiveness of the proposed method, which establishes state-of-the-art results in the semi-supervised node classification tasks.

1. Introduction

Graph neural networks smooth representations across neighboring nodes, but the output distributions of their classifiers may remain non-smooth under local input perturbations. BVAT addresses this gap with two GCN methods that account for graph connectivity, and is reported to achieve state-of-the-art results on four node-classification datasets.

1. Introduction

  • Unlike neighborhood aggregation, which smooths representations between connected nodes, these graph methods do not account for classifier-output smoothness under local perturbations.Prior work reports that smoothing classifier outputs against local perturbations can improve generalization, especially in semi-supervised learning.Source: §1 · p. 1
  • In graph-based VAT, overlapping receptive fields can make perturbations accumulate, so a node’s resulting perturbation may not be its worst-case virtual adversarial perturbation.The paper links this overlap to reduced effectiveness in smoothing model outputs and pushing decision boundaries away from real data instances.Source: §1 · p. 1
  • S-BVAT generates perturbations for a subset of separated nodes, while O-BVAT generates perturbations for all nodes.For S-BVAT, selected nodes have non-overlapping receptive fields; O-BVAT optimizes all-node perturbations together.Source: §1 · pp. 1–2, Figure 1 · p. 2
  • BVAT establishes state-of-the-art results on Cora, Citeseer, Pubmed, and Nell with tolerable additional computation complexity.The evaluation covers three citation datasets and one knowledge graph dataset.Source: §1 · p. 2

2. Related Work

Prior work on graph-based node representations spans spectral and non-spectral approaches, alongside regularization for semi-supervised learning. BVAT is distinguished from graph adversarial attacks and graph partition networks by its focus on semi-supervised node classification and output-distribution smoothness.

2. Related Work

  • Graph representation learning for semi-supervised and unsupervised learning has developed along spectral and non-spectral directions.The passage lists examples including graph convolutional and neighborhood-aggregation methods.Source: §2 · p. 2
  • VAT has succeeded in varied domains, but its straightforward graph-model application is less effective because node predictions are interrelated.BVAT is proposed to address this limitation.Source: §2 · p. 2
  • Graph adversarial attacks consider connectivity to generate perturbations, whereas BVAT targets semi-supervised node classification rather than attacks.Graph partition networks also split graphs into disjoint subgraphs, but to improve information propagation efficiency rather than output-distribution smoothness.Source: §2 · p. 2

3. Batch Virtual Adversarial Training

The section explains why directly applying virtual adversarial training (VAT) to GCNs is less effective, then introduces BVAT to account for node connectivity. Its sample-based and optimization-based variants reduce perturbation interaction through different strategies.

3.1. Virtual Adversarial Training for Graph Convolutional Networks

  • VAT trains a classifier to remain smooth against local worst-case virtual adversarial perturbations, using local distributional smoothness (LDS) as a regularizer.The prediction distributions are compared using KL divergence.Source: §3.1 · p. 2
  • A direct GCN extension averages LDS across nodes, but overlapping receptive fields accumulate perturbations and can violate the perturbation norm bound.The overall loss also includes labeled-node cross-entropy and conditional entropy, whose coefficient encourages one-hot predictions.Source: §3.1 · pp. 2–3

3.2. Batch Virtual Adversarial Training

  • BVAT uses graph connectivity to reduce perturbation interaction, either by sampling distant nodes or optimizing perturbations across all nodes.Both approaches fit batch gradient descent and add tolerable computation complexity.Source: §3.2 · p. 3
  • S-BVAT samples B nodes with pairwise shortest-path distance at least 2K, keeping their K-layer receptive fields disjoint.It averages LDS over the sampled nodes as an approximate all-node regularizer; one-step power iteration is reported sufficient for high performance.Source: §3.2 · p. 3
  • O-BVAT optimizes a perturbation matrix for all nodes to maximize average LDS while penalizing its Frobenius norm.The norm penalty keeps the perturbation small, and Adam optimizes the matrix for T iterations.Source: §3.2 · p. 3

4. Experiments

BVAT improves semi-supervised node classification across four benchmarks, with O-BVAT establishing state-of-the-art results. Its perturbations more often approach the worst-case direction than VAT, while BVAT-trained models show greater smoothness in that direction.

4.1. Effectiveness of BVAT

  • S-BVAT and O-BVAT achieve higher Rvadv than VAT, while O-BVAT’s Rvadv converges at about 10 steps.For S-BVAT and VAT, Rvadv jumps from T = 0 to T = 1, with little further increase at larger T.Source: §4.1 · p. 4, Figure 2 · p. 4
  • Models trained with S-BVAT or O-BVAT have lower Rvadv than vanilla GCNs, indicating greater robustness to adversarial perturbations and smoother input-space behavior.Source: §4.1 · p. 4, Figure 2 · p. 4

4. Experiments

  • The experiments compare VAT and BVAT variants with state-of-the-art methods on four benchmarks, reporting averages over 10 runs with different random seeds.Source: §4.2 · p. 4

4.2. Semi-supervised Node Classification

  • All BVAT variants outperform vanilla GCNs and random-perturbation GCNs across four datasets; O-BVAT establishes state-of-the-art results.The evaluation covers Cora, Citeseer, Pubmed, and Nell.Source: §4.2 · p. 4, Table 1 · p. 4

5. Conclusion

The conclusion presents BVAT as a way to smooth graph-based classifiers’ output distributions, with sample-based and optimization-based algorithms. Experiments support its effectiveness in semi-supervised node classification, with performance exceeding current state-of-the-art methods by a large margin.

  • BVAT algorithms smooth the output distribution of graph-based classifiers.Source: §5 · p. 4
  • The conclusion identifies sample-based and optimization-based virtual adversarial training as BVAT’s two algorithms.Source: §5 · p. 5
  • Experiments demonstrate BVAT’s effectiveness in semi-supervised node classification, and the paper reports results exceeding current state-of-the-art methods by a large margin.Source: §5 · p. 5

A. Algorithms for BVAT

The appendix outlines S-BVAT’s subset-based procedure and O-BVAT’s optimization over perturbations at all nodes. Both algorithms return a gradient with respect to the model weights at the current weights.

  • S-BVAT repeatedly selects random nodes and removes their neighborhoods through 2K hops from the candidate pool, yielding a subset of separable nodes.Source: A. Algorithms for BVAT · p. 7
  • For each selected node, S-BVAT initializes and normalizes a perturbation, then calculates it using the gradient of LDS with respect to the perturbation.Source: A. Algorithms for BVAT · p. 7
  • O-BVAT initializes perturbations for all nodes with Gaussian noise, performs T Adam gradient-ascent iterations, and returns the model-weight gradient.Source: A. Algorithms for BVAT · p. 7

B. Experimental Setup

Experiments use three citation networks and the knowledge graph Nell with established train, validation, and test splits. Nell’s large sparse feature matrix requires sparse virtual adversarial perturbations, and the study matches GCN settings while tuning BVAT hyperparameters.

  • The evaluation uses Cora, Citeseer, Pubmed, and Nell with the same train, validation, and test splits as prior work; dataset statistics are summarized in Table 2.Source: B. Experimental Setup · p. 7, Table 2 · p. 7
  • Nell’s 65,755 × 61,278 sparse feature matrix exceeds the stated GPU memory when densified, so BVAT constructs sparse perturbations for it.Source: B. Experimental Setup · p. 7
  • The setup matches GCN architecture and training settings; S-BVAT uses B = 100 and T = 1, while O-BVAT uses Adam at learning rate 0.001 for T = 10.Perturbation sizes and γ vary by dataset, and α and β are tuned because dataset label rates, feature sizes, and edge counts differ.Source: B. Experimental Setup · p. 7

C. Ablation study of ϵ and α

The ablations find S-BVAT validation performance insensitive to a broad range of perturbation sizes and show high performance across a broad range of α values. The authors attribute a crucial smoothing and performance role to virtual adversarial perturbations, with conditional entropy as extra regularization for semi-supervised classification.

C. Ablation study of ϵ and α

  • Pubmed and Nell use ϵ = 0.003 because their input features have smaller norms.This contrasts with ϵ = 0.03 for Cora and Citeseer.Source: C. Ablation study of ϵ and α · p. 7
  • S-BVAT validation performance on Cora and Citeseer is insensitive to ϵ from 0.01 to 0.1.The study selects ϵ = 0.03 for both datasets.Source: C. Ablation study of ϵ and α · p. 7, Figure 3 · p. 8
  • S-BVAT and O-BVAT maintain high performance on Cora as α varies from 0 to 1.5.The authors conclude virtual adversarial perturbations play a crucial role in smoothing the output distribution and improving performance, while conditional entropy is extra regularization for semi-supervised classification.Source: C. Ablation study of ϵ and α · p. 7, Figure 3 · p. 8

D. Computation Complexity Analysis

BVAT adds computation by calculating input-feature gradients without updating the GCN classifier parameters. The reported per-epoch costs are higher than vanilla GCN, but the authors consider the additional cost acceptable given BVAT's classification performance.

D. Computation Complexity Analysis

  • 0.0355154, 0.03946125, and 0.1064431 seconds per epoch are reported for GCN, GCN with S-BVAT, and GCN with O-BVAT, respectively.Measurements were averaged on Cora using a GTX 1080Ti.Source: D. Computation Complexity Analysis · p. 8
  • S-BVAT adds two forward propagations and one back propagation, while O-BVAT adds T + 1 forward and T back propagations, with T = 10.The added gradients are for the LDS loss with respect to input features, without updating classifier parameters.Source: D. Computation Complexity Analysis · p. 8
  • The authors consider BVAT's additional computation cost acceptable because its classification performance is noticeably better than GCN's.O-BVAT takes less than 3× the time of GCN in the reported comparison.Source: D. Computation Complexity Analysis · p. 8
Loading 1902.09192v2…