Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Graph Convolutional Networks (GCN) Explained At High Level
Latest

Graph Convolutional Networks (GCN) Explained At High Level

Last Updated on July 22, 2021 by Editorial Team

Author(s): Γ–mer Γ–zgΓΌr

Deep Learning

Photo by NASA onΒ Unsplash

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 OfΒ Graphs

Image ByΒ Author

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 computerΒ vision.

Here are just some examples:

  • Medical Diagnosis & Electronic Health RecordsΒ Modeling
  • 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 NeuralΒ Networks

1-Adjacency Matrix

From

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 workΒ with.

2- NodeΒ Features

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

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 theΒ bonds.

CNN vsΒ GCN

From

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 graphΒ data.

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 NetworksΒ Basics

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 thisΒ graph.

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

From

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 nextΒ node.

From

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

Molecular Machine LearningΒ : Hyperfoods

From

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 fightΒ diseases

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 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

Feedback ↓