Skip to main content
QUICK REVIEW

[Paper Review] Spectral Feature Augmentation for Graph Contrastive Learning and Beyond

Yifei Zhang, Hao Zhu|arXiv (Cornell University)|Dec 2, 2022
Advanced Graph Neural NetworksComputer Science8 citations
TL;DR

This paper proposes Spectral Feature Augmentation (SFA), a novel, efficient method for graph contrastive learning that uses incomplete power iteration to rebalance feature map spectra and inject noise into singular values. By partially equalizing singular values and preserving orthogonal bases, SFA improves alignment of less dominant features, leading to better generalization and state-of-the-art performance on node classification and clustering tasks, outperforming existing augmentation strategies.

ABSTRACT

Although augmentations (e.g., perturbation of graph edges, image crops) boost the efficiency of Contrastive Learning (CL), feature level augmentation is another plausible, complementary yet not well researched strategy. Thus, we present a novel spectral feature argumentation for contrastive learning on graphs (and images). To this end, for each data view, we estimate a low-rank approximation per feature map and subtract that approximation from the map to obtain its complement. This is achieved by the proposed herein incomplete power iteration, a non-standard power iteration regime which enjoys two valuable byproducts (under mere one or two iterations): (i) it partially balances spectrum of the feature map, and (ii) it injects the noise into rebalanced singular values of the feature map (spectral augmentation). For two views, we align these rebalanced feature maps as such an improved alignment step can focus more on less dominant singular values of matrices of both views, whereas the spectral augmentation does not affect the spectral angle alignment (singular vectors are not perturbed). We derive the analytical form for: (i) the incomplete power iteration to capture its spectrum-balancing effect, and (ii) the variance of singular values augmented implicitly by the noise. We also show that the spectral augmentation improves the generalization bound. Experiments on graph/image datasets show that our spectral feature augmentation outperforms baselines, and is complementary with other augmentation strategies and compatible with various contrastive losses.

Motivation & Objective

  • To address the lack of effective feature-level augmentation in contrastive learning for graphs and images.
  • To improve representation learning by balancing the spectrum of feature maps, focusing on less dominant singular values.
  • To develop a plug-and-play method that is compatible with various contrastive losses and data augmentations.
  • To theoretically analyze the spectrum-balancing effect and noise injection in the proposed incomplete power iteration.
  • To demonstrate improved generalization and performance on downstream node-level tasks.

Proposed method

  • Proposes incomplete power iteration—a non-standard regime using only one or two iterations—to estimate low-rank approximations of feature maps.
  • Subtracts the low-rank approximation from the original feature map to obtain its complement, effectively rebalancing the spectrum.
  • Injects noise into the rebalanced singular values through the stochastic nature of the incomplete power iteration.
  • Aligns singular vectors of two views with equal emphasis on all singular values, avoiding dominance by leading singular vectors.
  • Derives analytical forms for the spectrum-balancing effect and the variance of augmented singular values.
  • Integrates SFA as a plug-in layer in GCL pipelines, compatible with InfoNCE and Barlow Twin contrastive losses.

Experimental results

Research questions

  • RQ1Can spectral feature augmentation via incomplete power iteration improve representation learning in graph contrastive learning?
  • RQ2Does rebalancing the spectrum of feature maps lead to better alignment of orthonormal bases in contrastive learning?
  • RQ3How does the noise injected into singular values affect model generalization and performance?
  • RQ4Is the proposed method compatible with existing data augmentations and contrastive loss functions?
  • RQ5What is the theoretical mechanism behind the spectrum-balancing effect of incomplete power iteration?

Key findings

  • Spectral Feature Augmentation outperforms existing baseline methods on node classification and clustering benchmarks across multiple graph and image datasets.
  • The method achieves state-of-the-art performance when combined with standard data augmentations and contrastive losses such as InfoNCE and Barlow Twin.
  • The incomplete power iteration successfully balances the spectrum of feature maps with only one or two iterations, enhancing alignment of less dominant singular vectors.
  • Theoretical analysis confirms that the method implicitly injects noise into singular values while preserving the singular vectors, enabling spectral augmentation without disrupting semantic structure.
  • The generalization bound of the model is improved due to the spectral augmentation, as shown by theoretical derivation.
  • The method is computationally efficient and can be seamlessly integrated as a plug-in layer into existing GNN frameworks with negligible runtime overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.