paper-with-me

홈 › Papers

Fast Graph Sharpness-Aware Minimization for Enhancing and Accelerating Few-Shot Node Classification

2024-10-22 · Yihong Luo, Yuhan Chen, Siya Qiu, Yiwei Wang, Chen Zhang, Yan Zhou, Xiaochun Cao, Jing Tang

Graph Neural Networks (GNNs) have shown superior performance in node classification. However, GNNs perform poorly in the Few-Shot Node Classification (FSNC) task that requires robust generalization to make accurate predictions for unseen classes with limited labels. To tackle the challenge, we propose the integration of Sharpness-Aware Minimization (SAM)--a technique designed to enhance model generalization by finding a flat minimum of the loss landscape--into GNN training. The standard SAM approach, however, consists of two forward-backward steps in each training iteration, doubling the computational cost compared to the base optimizer (e.g., Adam). To mitigate this drawback, we introduce a novel algorithm, Fast Graph Sharpness-Aware Minimization (FGSAM), that integrates the rapid training of Multi-Layer Perceptrons (MLPs) with the superior performance of GNNs. Specifically, we utilize GNNs for parameter perturbation while employing MLPs to minimize the perturbed loss so that we can find a flat minimum with good generalization more efficiently. Moreover, our method reutilizes the gradient from the perturbation phase to incorporate graph topology into the minimization process at almost zero additional cost. To further enhance training efficiency, we develop FGSAM+ that executes exact perturbations periodically. Extensive experiments demonstrate that our proposed algorithm outperforms the standard SAM with lower computational costs in FSNC tasks. In particular, our FGSAM+ as a SAM variant offers a faster optimization than the base optimizer in most cases. In addition to FSNC, our proposed methods also demonstrate competitive performance in the standard node classification task for heterophilic graphs, highlighting the broad applicability. The code is available at https://github.com/draym28/FGSAM_NeurIPS24.

📄 PDF Abstract BibTeX arXiv:2410.16845

Code (1)

draym28/fgsam_neurips24 공식 구현 pytorch

Tasks

Node Classification

Methods 이 논문이 사용한 방법론

SAM 설명 없음
Sharpness-Aware Minimization Sharpness-Aware Minimization, or SAM, is a procedure that improves model generalization by simultaneously minimizing loss value and loss sharpness. SAM functions by…
BASE 설명 없음

Similar Papers 제목 키워드 기반

RSAM: Learning on manifolds with Riemannian Sharpness-aware Minimization

2023-09-29 · Tuan Truong, Hoang-Phi Nguyen, Tung Pham, Minh-Tuan Tran 외

Nowadays, understanding the geometry of the loss landscape shows promise in enhancing a model's generalization ability. In this work, we draw upon prior works that apply geometric principles to optimization and present a…

Contrastive Learningimage-classificationImage Classification

VASSO: Variance Suppression for Sharpness-Aware Minimization

2025-09-02 · Bingcong Li, Yilang Zhang, Georgios B. Giannakis arxiv

Sharpness-aware minimization (SAM) has well-documented merits in enhancing generalization of deep neural network models. Accounting for sharpness in the loss function geometry, where neighborhoods of `flat minima' height…

Enhancing Sharpness-Aware Minimization by Learning Perturbation Radius

2024-08-15 · Xuehao Wang, Weisen Jiang, Shuai Fu, Yu Zhang

Sharpness-aware minimization (SAM) is to improve model generalization by searching for flat minima in the loss landscape. The SAM update consists of one step for computing the perturbation and the other for computing the…

Bilevel Optimization

Model Generalization: A Sharpness Aware Optimization Perspective

2022-08-14 · Jozef Marus Coldenhoff, Chengkun Li, Yurui Zhu

Sharpness-Aware Minimization (SAM) and adaptive sharpness-aware minimization (ASAM) aim to improve the model generalization. And in this project, we proposed three experiments to valid their generalization from the sharp…

modelvalid

Training Diagonal Linear Networks with Stochastic Sharpness-Aware Minimization

2025-03-14 · Gabriel Clara, Sophie Langer, Johannes Schmidt-Hieber

We analyze the landscape and training dynamics of diagonal linear networks in a linear regression task, with the network parameters being perturbed by small isotropic normal noise. The addition of such noise may be inter…