Forward Learning of Graph Neural Networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Park, Namyong, Wang, Xing, Simoulin, Antoine, Yang, Shuai, Yang, Grey, Rossi, Ryan, Trivedi, Puja, Ahmed, Nesreen
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917638739853312
author Park, Namyong
Wang, Xing
Simoulin, Antoine
Yang, Shuai
Yang, Grey
Rossi, Ryan
Trivedi, Puja
Ahmed, Nesreen
author_facet Park, Namyong
Wang, Xing
Simoulin, Antoine
Yang, Shuai
Yang, Grey
Rossi, Ryan
Trivedi, Puja
Ahmed, Nesreen
contents Graph neural networks (GNNs) have achieved remarkable success across a wide range of applications, such as recommendation, drug discovery, and question answering. Behind the success of GNNs lies the backpropagation (BP) algorithm, which is the de facto standard for training deep neural networks (NNs). However, despite its effectiveness, BP imposes several constraints, which are not only biologically implausible, but also limit the scalability, parallelism, and flexibility in learning NNs. Examples of such constraints include storage of neural activities computed in the forward pass for use in the subsequent backward pass, and the dependence of parameter updates on non-local signals. To address these limitations, the forward-forward algorithm (FF) was recently proposed as an alternative to BP in the image classification domain, which trains NNs by performing two forward passes over positive and negative data. Inspired by this advance, we propose ForwardGNN in this work, a new forward learning procedure for GNNs, which avoids the constraints imposed by BP via an effective layer-wise local forward training. ForwardGNN extends the original FF to deal with graph data and GNNs, and makes it possible to operate without generating negative inputs (hence no longer forward-forward). Further, ForwardGNN enables each layer to learn from both the bottom-up and top-down signals without relying on the backpropagation of errors. Extensive experiments on real-world datasets show the effectiveness and generality of the proposed forward graph learning framework. We release our code at https://github.com/facebookresearch/forwardgnn.
format Preprint
id arxiv_https___arxiv_org_abs_2403_11004
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Forward Learning of Graph Neural Networks
Park, Namyong
Wang, Xing
Simoulin, Antoine
Yang, Shuai
Yang, Grey
Rossi, Ryan
Trivedi, Puja
Ahmed, Nesreen
Machine Learning
Social and Information Networks
Graph neural networks (GNNs) have achieved remarkable success across a wide range of applications, such as recommendation, drug discovery, and question answering. Behind the success of GNNs lies the backpropagation (BP) algorithm, which is the de facto standard for training deep neural networks (NNs). However, despite its effectiveness, BP imposes several constraints, which are not only biologically implausible, but also limit the scalability, parallelism, and flexibility in learning NNs. Examples of such constraints include storage of neural activities computed in the forward pass for use in the subsequent backward pass, and the dependence of parameter updates on non-local signals. To address these limitations, the forward-forward algorithm (FF) was recently proposed as an alternative to BP in the image classification domain, which trains NNs by performing two forward passes over positive and negative data. Inspired by this advance, we propose ForwardGNN in this work, a new forward learning procedure for GNNs, which avoids the constraints imposed by BP via an effective layer-wise local forward training. ForwardGNN extends the original FF to deal with graph data and GNNs, and makes it possible to operate without generating negative inputs (hence no longer forward-forward). Further, ForwardGNN enables each layer to learn from both the bottom-up and top-down signals without relying on the backpropagation of errors. Extensive experiments on real-world datasets show the effectiveness and generality of the proposed forward graph learning framework. We release our code at https://github.com/facebookresearch/forwardgnn.
title Forward Learning of Graph Neural Networks
topic Machine Learning
Social and Information Networks
url https://arxiv.org/abs/2403.11004