Questions tagged [graph-neural-network]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Graph Neural Networks for Segmented Images - Which Nodes do I connect?

I'm facing an interesting problem involving medical images. We are set out to test an hypothesis if certain objects in an image affect the diagnosis of a patient. I would love to hear any comments ...
user avatar
0 votes
0 answers
13 views

Model stalls and learning slows down after the first epochs

I have an issue with a model that I'm working on, I cannot show you the model architecture because it's basically confidential research. The model includes Graph convolutional networks and Transformer ...
user avatar
1 vote
0 answers
5 views

How to convert ECG Data to Graphical Data so that it can be used in GNNs?

I am trying to predict arrythmia using GCNN but the problem i am facing is that the data is in tabular format screenshot attached below. Upon reading i found out that there needs to nodes and edges ...
user avatar
0 votes
0 answers
8 views

Can I use low dimensional node features in graph convolutional networks?

I am trying to understand how GCNs work. For example, the well known GraphSAGE algorithm considers a graph $G$ with node features $x_i$ of dimension $n$. Then it propagates the node features over the ...
user avatar
0 votes
1 answer
55 views

Incorporating structural information in a Transformer?

For a Neural Machine Translation (NMT) task, my input data has relational information. This relation could be modelled using a graphical structure. So one approach could be to use Graph Neural Network ...
user avatar
3 votes
3 answers
145 views

How to perform inductive train/test split for GraphSAGE classification

Let's say I have a network that consists of a single weakly connected component. From various papers I've seen that if you want to use inductive GNNs like GraphSAGE, it is advisable to split your ...
user avatar
0 votes
0 answers
20 views

Facing problem on X-axis and Y-axis in VS Code

Helow everyone. I am facing a problem on x axis and y axis. when i got the output then the output plot look like as,, The problem is output plot do not show the x-axis label and y axis label. Please ...
user avatar
  • 1
0 votes
0 answers
13 views

How to find union of nodes in rdflib knowledge graph

Little background on Work : I am working with ontologies and for my usecase I have to apply random walk on the ontology nodes/entities. In order to do the same I have written one function - that given ...
user avatar
  • 141
0 votes
0 answers
16 views

How to correct a validation loss in a regression problem?

I've developed a graph neural network using PyTorch Geometric. My model looks like: ...
user avatar
0 votes
0 answers
32 views

Why is "Hidden State" at Node in Graph Neural Network Considered "Compressed" Representation?

I am reading article on Graph Neural Network (GNN) and it is mentioned: The memory stores the states of all the nodes, acting as a compressed representation of the node’s past interactions. Why is ...
user avatar
  • 135
0 votes
0 answers
13 views

Graph Classification via Random Forest

This is my first post here, just a brief presentation: my name is Gianmarco, I’m Medicinal Chemistry undergraduate student who is preparing his dissertation, my idea would be to create a classifier ...
user avatar
1 vote
0 answers
11 views

How to define a graph in GNN? [closed]

I am new to graph neural network (GNN). Without knowing a graph in advance, how can we possibly form an adjacency matrix? Assume there are 3 nodes (vertices): A, B, & C. There are could be many ...
user avatar
  • 126
0 votes
0 answers
9 views

In the node2vec model derivation, what does it mean for node representations to be "Symmetric in Feature Space"?

The main derivation of the probabilistic model in Node2Vec goes as follows (paper available on ArXiv: https://arxiv.org/pdf/1607.00653.pdf): We formulate feature learning in networks as a maximum ...
user avatar
  • 101
1 vote
0 answers
14 views

Are GNNs/GCNs viable for graphs with no node features, with only the unique node IDs? Are they different from DeepWalk at that point?

I started to dig into GNNs for the first time and I have trouble understanding its advantages over NLP inspired embedding methods like DeepWalk and node2vec. Do GNNs only shine with node features? Or ...
user avatar
1 vote
0 answers
31 views

AI algorithm model that outputs a list of unknown length [closed]

I have a dataset with the following x columns: date time is_weekend is_holiday start_intersection end_intersection The output is a list of intersections, that connect start_intersection with ...
user avatar
0 votes
0 answers
10 views

Graph convolution with global information

Is it possible to add global information in addition to node information using Spektral or Pythorch? For instance, information of nodes such as relative position and atomic mass give a molecular ...
user avatar
0 votes
0 answers
43 views

Multivariate time series data forecasting using Graph Neural networks

I am using the article "Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networks" code "https://github.com/nnzhan/MTGNN" to train my data sets having ...
user avatar
1 vote
0 answers
10 views

Node embeddings and densely connected graphs

I have a dataset of users and their interests (represented by categories) and I’m trying to embed the graph which results from connecting users if they have a common interest, so I’ll add an edge for ...
user avatar
0 votes
0 answers
38 views

Memory problem when running Tensorflow with Flask and Docker

I've trained a Tensorflow object detection model and want to deploy it with Flask. My problem is that with every new request the memory used by docker container rises by ~100mb, which is not freed ...
user avatar
0 votes
0 answers
48 views

What level prediction (node- or graph-level) is appropriate for my graph network problem?

I have experience in neural networks and just started exploring if graph NN is appropriate for my problem. So, I have an undirected graph with nodes separated within a specified distance, say d, being ...
user avatar
  • 1
1 vote
1 answer
434 views

How train - test split works for Graph Neural Networks

I have recently started studying GNN's. I have covered GCN and GraphSage so far. But I am confused regarding the process when testing occurs. Now suppose in the graph above I am using the nodes as ...
user avatar
0 votes
0 answers
25 views

Relation between random walk, DeepWalk and Neighbour Aggregation in GNN?

What is the relation between random walk, DeepWalk and Neighbour Aggregation in GNN? Please provide compare and contrast for all these 3 pairs. Thank you.
user avatar
  • 359
1 vote
0 answers
19 views

How to define similarity between nodes in original graph?

While there has been a lot of talk in how to define the similarity between nodes in the embedding space, but I don't seem to come across any talking about defining the similarity between nodes in the ...
user avatar
  • 359
0 votes
0 answers
18 views

Can transformers be used to solve for a number of independent polynomial inequalities or polynomial equations?

I'm interested in solving constraint satisfaction problems involving polynomial functions of real variables using transformers. The papers available only deal with boolean SATs in CNF format e.g., ...
user avatar
  • 1
1 vote
0 answers
36 views

How to create a graph network (Networkx) from the solution of Ordinary differential equations?

I have a list of Nodes. Suppose, N =["1","2","3","4"] # there can be different number of nodes And I have solved the ...
user avatar
0 votes
0 answers
11 views

Recommendation of any package for implementing Graph neural network?

I started to read about GNN (graph neural network) since last week from literatures but did not find any good tutorial on how and where to implement. I see many packages like pytorch, tensorflow, ...
user avatar
1 vote
2 answers
189 views

Graph Neural Network fails at generalizing on unseen graph topologies

I'm using PytorchGeometric to train a graph convolutional network for regression over nodes problem (the graph models physical phenomena in the network of sensors; the network of sensors is actually ...
user avatar
  • 11
1 vote
0 answers
13 views

How to construct a graph using Neural Structured Learning framework?

My dataset (both features and label) consists of continuous variables. Dimension of features is (12,). The number of samples are of 7th order of magnitude (about 11 ...
user avatar
1 vote
0 answers
37 views

Applying network diffusion to a graph created with the igraph library in R

I have created a graph using the igraph library. ...
user avatar
0 votes
0 answers
47 views

Validation accuracy does not increase for binary classification using GNN

I am trying to perform graph classification with GINConv model of GNN. I have tried everything from varying dropouts to weight decay (for L2 regularization), learning rate (1e-6 to 1e-3), batch ...
user avatar
-1 votes
2 answers
25 views

Optimisation of neural networks

Do neural networks get optimized by trial and error, by data scientists, or is there some way of optimizing values through accurate mathematical equations?
user avatar
3 votes
1 answer
676 views

What are latent representations?

I am reading some research papers about graph convolutional neural networks and I have seen the term "latent representations" used a lot. For instance, "the model was able to learn ...
user avatar
0 votes
1 answer
47 views

Understanding Node Embeddings

I have only just started to look into graph neural networks and I am a little confused on the node embedding process. Here is my understanding, please let me know if i misunderstood: Given unlabelled ...
user avatar
  • 111
0 votes
2 answers
21 views

Spectral Networks and Deep Locally Connected Networks on Graphs

I’m reading the paper Spectral Networks and Deep Locally Connected Networks on Graphs and I’m having a hard time understanding the notation shown in the picture below (the scribbles are mine): ...
user avatar
1 vote
0 answers
51 views

Dying gradient issue in Graph Neural Networks

I am using Pytorch-Geometric library to implement a Graph Convolutional Layer(GCN) followed by few linear layers for a prediction task. But after training on graphs with np. of nodes being 10K and no. ...
user avatar
  • 11
1 vote
1 answer
40 views

What is a good approach for embedding both textual and spatial features for document classification?

I am working on a document classifier that can perform the classification based on the document structure as well. My plan is to get the word embedding as well as the word coordinates and somehow ...
user avatar
1 vote
0 answers
30 views

(Graph Convolutional Network (GCN) based recommender system maintenance issue [closed]

I have built an item-item recommender model using (Graph Convolutional Network (GCN) for an E-commerce website. Could you please help me with the maintenance of the model. How often should I retrain ...
user avatar
  • 21
0 votes
0 answers
78 views

Unstable Training when combining Graph Neural Networks for Graph Classification Tasks

I have been combining Graph Convolutional Layers and Graph Pooling layers to define a neural network architecture for Graph Classification tasks. Specifically, using the Graph Convolutional Layer ...
user avatar
  • 21
1 vote
0 answers
22 views

Machine learning on graphs

I'm looking for some method/model to help me with my current problem: I have a geometry, consisting of points, and eges. For each point I take information about itself and its neighbours. For now I ...
user avatar
  • 23
3 votes
0 answers
24 views

Force Matching in Coarse Grained Molecular Dynamics with Jax - Forces do not match when neglecting energy loss

I am currently exploring force matching approaches for molecular dynamic simulations. As I am still in an exploration state, I'd tried investigated Force Matching Neural Network Colab Notebook ...
user avatar
1 vote
1 answer
81 views

From Labels to Graph: what machine learning approaches to use?

Imagine a world where we have places (e.g., cities, restaurants, national parks, etc.) but no roads connecting them. Our objective is to build roads connecting any two places while going through some ...
user avatar
  • 111
1 vote
1 answer
390 views

What are the differences between Knowledge Graph Embeddings (KGE) and Graph Neural Network (GNN)

From page 3 of this paper Knowledge Graph Embeddings and Explainable AI, they mentioned as below: Note that knowledge graph embeddings are different from Graph Neural Networks (GNNs). KG embedding ...
user avatar
  • 216
2 votes
1 answer
75 views

Knowledge Graph as an input to a neural network

I want to create a neural network that takes as an input a knolwedge subgraph(different types of nodes and different types of edges) to predict some properties. For instance an input in the graph can ...
user avatar
3 votes
2 answers
112 views

Isn't graph embedding a step back from non-euclidean space?

As I understand, we use graph embedding to make a euclidean representation of non-euclidean structure - graph. Does it mean that conceptually we just take a step back to, may be, more complex, but ...
user avatar
  • 31
1 vote
1 answer
160 views

How does graph classification work with graph neural networks

I am reading the paper The Graph Neural Network Model by Scarselli et al. I understand how node classification works. I am having trouble understanding how graph classification works however. In ...
user avatar
2 votes
1 answer
896 views

What is difference between transductive and inductive in GNN?

It seems in GNN(graph neural network), in transductive situation, we input the whole graph and we mask the label of valid data and predict the label for the valid data. But is seems in inductive ...
user avatar
  • 561