Graph Convolutional Networks (GCN) Explained At High Level (2024)

Last Updated on July 22, 2021 by Editorial Team

Author(s): Ömer Özgür

Deep Learning

Graph Convolutional Networks (GCN) Explained At High Level (1)

In this article, we will understand why graphical data are essential and how they can be processed with graph neural networks, and we will see how they are used in drug repositioning.

Power OfGraphs

Graph Convolutional Networks (GCN) Explained At High Level (2)

The unique capability of graphs enables capturing the structural relations among data and thus allows for harvesting more insights than analyzing data in isolation. Graphs are among the most versatile data structures. They naturally appear in numerous application domains, ranging from social analysis, bioinformatics to computervision.

Here are just some examples:

  • Medical Diagnosis & Electronic Health RecordsModeling
  • Drug discovery and Synthesize chemical compounds
  • Social influence prediction
  • Recommender systems
  • Traffic forecasting

Euclidean data is modeled as being plotted in n-dimensional linear space. For example, image files can be represented in x, y, z coordinates.

Non-Euclidean data don’t have the necessary size or structure. They are in a dynamic structure.

Thereby, a potential solution is to learn the representation of graphs in a low-dimensional Euclidean space, such that the graph properties can be preserved.

Features for Graph NeuralNetworks

1-Adjacency Matrix

Graph Convolutional Networks (GCN) Explained At High Level (3)

An adjacency matrix is a N x N matrix filled with either 0 or 1, where N is the total number of nodes. Adjacency matrices are able to represent the existence of edges the connect the node pairs through the value in the matrices.

Effectively, representing our graph as an adjacency matrix enables us to provide it to the net in the form of a tensor, something our model can workwith.

2- NodeFeatures

Graph Convolutional Networks (GCN) Explained At High Level (4)

This matrix represents the features or attributes of each node. Node features may vary depending on the type of problem you are trying tosolve.

For example, if you are working on an NLP problem, nodes can have one-hot encoding vectors of sentences or have properties that define atoms attached to a molecule, such as the type of atom, the number of charges, and thebonds.

CNN vsGCN

Graph Convolutional Networks (GCN) Explained At High Level (5)

Convolutional neural networks have proven incredibly efficient at extracting complex features, and convolutional layers nowadays represent the backbone of many Deep Learning models. CNN’s have been successful with data of any dimensionality.

What makes CNN so effective is its ability to learn a sequence of filters to extract more complex patterns. With a bit of inventiveness, we can apply these same ideas to graphdata.

Images are implicitly graphs of pixels connected to other pixels, but they always have a fixed structure. Social media networks, molecular structure representations, or addresses on a map are not euclidean.

GCNs perform similar operations where the model learns the features by inspecting neighboring nodes.

Graph Convolutional NetworksBasics

GCNs themselves can be categorized into two powerful algorithms, Spatial Graph Convolutional Networks and Spectral Graph Convolutional Networks.

Spatial Convolution works on a local neighborhood of nodes and understands the properties of a node based on its k local neighbors.

In a spectral graph convolution, we perform an Eigen decomposition of the Laplacian Matrix of the graph. This Eigen decomposition helps us understand the underlying structure of the graph with which we can identify clusters of thisgraph.

Spectral graph convolution is currently less commonly used compared to Spatial graph convolution methods.

Graph Convolutional Networks (GCN) Explained At High Level (6)

GNN also have a unique message-sharing mechanism. They perform some aggregation between neighboring nodes. We can imagine this process as passing a message and updating, where each layer of our GCN takes an aggregate of a neighbor node and passes it to the nextnode.

Graph Convolutional Networks (GCN) Explained At High Level (7)

We can perform many operations with learned node embeddings. For example, we can sum the node vectors and then perform classification usingMLP.

Molecular Machine Learning: Hyperfoods

Graph Convolutional Networks (GCN) Explained At High Level (8)

The food we eat contains thousands of bioactive molecules, some of which are similar to anti-cancer drugs. Modern machine learning techniques can discover and repurpose this molecules.

There is growing evidence that thousands of other molecules from a broad variety of chemical classes such as polyphenols, flavonoids, terpenoids that are abundant in plants and might help prevent and fightdiseases

In this paper, researchers applied Graph Neural Networks to hunt for anti-cancer molecules in food using protein-protein and drug-protein interaction graphs.

Some list of Hyperfoods of discovered by Machine Learning: citrus fruits, cabbage,celery.

Takeaways

  • From knowledge graphs to social networks, graph applications are ubiquitous.
  • GNN’s aim is, learning the representation of graphs in a low-dimensional Euclidean space.
  • Graph convolutional networks have a great expressive power to learn the graph representations and have achieved superior performance in a wide range of tasks and applications.
  • GNC’s are essential in drug discovery.

Graph Convolutional Networks (GCN) Explained At High Level (9)

Graph Convolutional Networks (GCN) Explained At High Level was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.

Published via Towards AI

Graph Convolutional Networks (GCN) Explained At High Level (2024)
Top Articles
Latest Posts
Article information

Author: Mr. See Jast

Last Updated:

Views: 6260

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Mr. See Jast

Birthday: 1999-07-30

Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

Phone: +5023589614038

Job: Chief Executive

Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.