Questions tagged [graphs]

Use for questions related to graph coloring and graph coloring games.

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

ST-GCN: graph convolution operator in Geometry-Aware Interaction Network (GAIN)

I need help implementing the model in this paper: They have adopted spatio-temporal graph convolution operator in ST-GCN [section 3.1.2]. I've found there is popular libraries available for GCN: ...
Kholdarbekov's user avatar
0 votes
0 answers
7 views

Clustering of Graph with Binary Vertex Labels

Consider a graph data structure with unweighted edges, where each vertex has been assigned either 0 or 1. I am wondering if there exists a good way of clustering this graph to detect communities. All ...
Hjaleta's user avatar
4 votes
1 answer
246 views

Relevance of Weisfeiler–Lehman Graph Isomorphism Test limitation for Graph Neural Networks

Graph Neural Networks power is limited by the power of Weisfeiler–Lehman Graph Isomorphism algorithm. Quoting wikipedia: It has been demonstrated that GNNs cannot be more expressive than the ...
Rexcirus's user avatar
  • 1,141
0 votes
0 answers
27 views

How to prove that, for any graph $G$, the tree width of $G$ is $1$, if and only if $G$ is acyclic?

I am studying about CSPs, tree decomposition of a graph and tree width ($\text{TW}(G)$) of a graph - the smallest tree width of a tree decomposition. I encountered the following problem: Prove that ...
Daniel's user avatar
  • 131
0 votes
0 answers
61 views

Understanding relation between parameter sharing and Message Passing in Graph Neural Networks

Ravanbakhsh has clearly stated the relation between equivariance and parameter-sharing in neural networks. What I'm missing though, is where (and how) this relation becomes clear by considering the ...
James Arten's user avatar
1 vote
0 answers
417 views

Does iterative deepening depth-first search expand at most twice as many nodes as breadth-first search?

My understanding is that iterative deepening search is roughly equivalent to breadth-first search, except instead of keeping all visited nodes in memory, we regenerate nodes as needed, trading off ...
xojfqa's user avatar
  • 101
0 votes
1 answer
132 views

Model Suggestion for graph data

I am trying to figure out the right model/algorithm for a graph dataset to develop a machine learning pipeline. I have looked into Graph Neural Network(GNN) but all of the tutorials I found, trained ...
Masudul Hasan Masud's user avatar
1 vote
0 answers
149 views

Best algorithm for the Word Ladder puzzle

What would be the best performing algorithm to solve the Word Ladder problem, in terms of guaranteed finding of the shortest solution in the shortest possible time? Is it BFS, DFS, A*, IDA* or another ...
Bill Kavvas's user avatar
1 vote
1 answer
561 views

What kind of features does each node have as an input graph to a graph neural network?

What kind of features does each node have as an input graph to a graph neural network? For example, we want to do image classification with GNN, what are the features of each pixel? Or if anyone could ...
selin's user avatar
  • 11
0 votes
1 answer
181 views

How to uniquely associate a directed graph with a feedforward neural network?

I want to write an algorithm that returns a unique directed graph (an adjacency matrix) that represents the structure of a given feedforward neural network (FNN). My idea is to deconstruct the FNN ...
GraftCraft's user avatar
1 vote
0 answers
247 views

Why is the Graph Isomorphism Network powerful?

I am reading a paper known as GIN, How powerful are graph neural networks?, Xu et al. 2019 The paper, Lemma 5 and Corollary 6, introduces Graph Isomorphism Network (GIN). In Lemma 5, Moreover, any ...
JAEMTO's user avatar
  • 125
1 vote
0 answers
28 views

What is the reason behind using node embeddings?

I was reading Chapter 3 from the following book (here) on graph representation learning. The chapter is about node embeddings. Question: What is the point of using node embeddings? Do we use them: to ...
Rocky the Owl's user avatar
2 votes
1 answer
906 views

What are examples of node 'features' in graph networks?

Context: I was reading Chapter 3 in the following book (here) about graph representation learning. Before I get to node embeddings, I wanted to make sure that I do understand what is meant by the ...
Rocky the Owl's user avatar
1 vote
2 answers
1k views

Can I extend Graph Convolutional Networks to graphs with weighted edges?

I'm researching spatio-temporal forecasting utilising GCN as a side project, and I am wondering if I can extend it by using a graph with weighted edges instead of a simple adjacency matrix with 1's ...
richieeDS's user avatar
0 votes
0 answers
36 views

Is there any geometrical interpretation on overcoming gradient related problems by adjusting/changing loss function?

There are instances in literature where we need to change loss function in order to escape from gradient problems. Let $L_f$ be a loss function for a model I need to train on. Some times $L_f$ leads ...
hanugm's user avatar
  • 3,612
0 votes
0 answers
42 views

Incorrect node expansion in game board with A* search

I have the following game board below, and we're using A* search to find the optimal path from the agent to the key. There are 8 directions. Up, down, left, right have a cost of 1, and diagonal ...
Manny's user avatar
  • 21
1 vote
0 answers
52 views

How to use unmodified input in neural network?

My question may be a bit hard to explain... My neural network learns a categorical distribution, which serves as an index. This index will look up the value (= action_mean) in Input 2. From this ...
thsolyt's user avatar
  • 31
1 vote
1 answer
281 views

How does a GCN handle new input graphs?

Quick questions to see whether I understand GCNs correctly. Is it correct that, if I have trained a GCN, it can take arbitrary graphs as input, assuming the feature size is the same? I can't seem to ...
Nikita Makarov's user avatar
2 votes
1 answer
149 views

What exactly is the eigenspace of a graph (in spectral clustering)?

When we find the eigenvectors of a graph (say in the context of spectral clustering), what exactly is the vector space involved here? Of what vector space (or eigenspace) are we finding the ...
Manish Kausik Hari Baskar's user avatar
0 votes
2 answers
720 views

What is Precision@K for link prediction in graph embedding meaning?

I am trying to re-implement the SDNE algorithm for graph embedding by PyTorch. I get stuck at some issues about evaluation metric Precision@K. precision@k is a metric which gives equal weight to the ...
Truong Hoang's user avatar
1 vote
0 answers
90 views

How to learn how to select a subgraph via reinforcement learning?

I have the following problem. I am given a graph with a lot (>30000) nodes. Nodes are associated with a low (<10)-dimensional feature vector, and edges are associated with a low (<10)-...
lightning's user avatar
  • 111
1 vote
0 answers
134 views

Applications of polar decomposition in Machine Learning

Assume there exists a new and very efficient algorithm for calculating the polar decomposition of a matrix $A=UP$, where $U$ is a unitary matrix and $P$ is a positive-semidefinite Hermitian matrix. ...
Samuel's user avatar
  • 11
3 votes
1 answer
209 views

How can I learn a graph given nodes with features in a supervised fashion?

I have a dataset and want to be able to construct a graph from it in a supervised fashion. Let's assume I have a dataset with N nodes, each node has e.g. 10 features. Out of these N nodes, I want to ...
basti123's user avatar
1 vote
0 answers
69 views

Model for supervised sequence classification task

The Problem I am currently working on a sequence classification problem I try to solve with machine learning. The target variable is the current state of a system. This target variable is following a ...
DoKi's user avatar
  • 31
1 vote
0 answers
95 views

How to update edge features in a graph using a loss function?

Given a directed, edge attributed graph G, where the edge attribute is a probability value, and a particular node N (with binary features f1 and f2) in G, the algorithm that I want to implement is as ...
dia's user avatar
  • 11
2 votes
0 answers
74 views

Suitable deep learning algorithms for spatial / geometric data

I have a task of classifying spatial data from a geographic information system. More precisely, I need a way to filter out unnecessary line segments from the CAD system before loading into the GIS (...
Oleg Bizin's user avatar
3 votes
0 answers
1k views

Can the degree and minimum remaining values heuristics be used in conjunction?

I am currently studying constraint satisfaction problems and have come across two heuristics for variable selection. The minimum remaining values(MRV) heuristic and the degree heuristic. The MRV ...
calveeen's user avatar
  • 1,251
4 votes
1 answer
143 views

How to solve the problem of variable-sized AST as input for a (convolutional) neural network model?

In my work I have a given source code for a module. From this module I generate an AST, whose size is dependent on the size of the module (e.g. more source code -> bigger AST). I want to train a ...
Michael Kročka's user avatar
2 votes
1 answer
99 views

What is the difference between graph semi-supervised learning and normal semi-supervised learning?

Whenever I look for papers involving semi-supervised learning, I always find some that talk about graph semi-supervised learning (e.g. A Unified Framework for Data Poisoning Attack to Graph-based Semi-...
boomselector's user avatar
2 votes
0 answers
20 views

Improving graph decoder network

I have been using a network to generate graphs. The architecture that I have been using is the following: In this figure, $D_1$ is the signal generator and $D_2$ is the graph topology generator, ...
Blade's user avatar
  • 151
2 votes
0 answers
119 views

Why does the ELBO come to a steady state and the latent space shrinks?

I'm trying to train a VAE using a graph dataset. However, my latent space shrinks epoch by epoch. Meanwhile, my ELBO plot comes to a steady state after a few epochs. I tried to play around with ...
Blade's user avatar
  • 151
7 votes
3 answers
2k views

Is there an open-source implementation for graph convolution networks for weighted graphs?

Currently, I'm using a Python library, StellarGraph, to implement GCN. And I now have a situation where I have graphs with weighted edges. Unfortunately, StellarGraph doesn't support those graphs I'm ...
port trum's user avatar
4 votes
1 answer
419 views

What are the exact meaning of "lower-order structure" and "higher-order structure" in this paper?

I recently read a paper on community detection in networks. In the paper EdMot: An Edge Enhancement Approach for Motif-aware Community Detection, the authors consider the "lower-order structure" of ...
hichewness's user avatar
2 votes
1 answer
272 views

Does GraphSage use hard attention?

I was reading the recent paper Graph Representation Learning via Hard and Channel-Wise Attention Networks, where the authors claim that there is no hard attention operator for graph data. From my ...
razvanc92's user avatar
  • 1,118
1 vote
0 answers
31 views

What are the advantages of time-varying graph CNNs compared to fixed graph?

As I wrote in the title, what are the advantages of time-varying graph CNNs compared to fixed graph? For example, in CORA, which is a graph of citation relations of papers frequently used in graph CNN,...
unsmoother's user avatar
2 votes
1 answer
251 views

Is there a neural network method for time-varying directed graphs?

I want to study NN for time-varying directed graphs. However, as this field has developed relatively recently, it is difficult to find new ways. So the question is, is there any NN that can handle ...
unsmoother's user avatar
2 votes
0 answers
33 views

Random graph as input in geometric deep learning on time-varying graph

I want to create a framework that allows GDL to be applied to time-varying graphs. I came up with the Erdos-renyi model as an example of a time-varying graphs. GDL for graphs takes node information ...
unsmoother's user avatar
1 vote
2 answers
400 views

What are the differences between network analysis and geometric deep learning on graphs?

Both of them deal with data of graph structure like a network community. Is there a big difference there?
unsmoother's user avatar
3 votes
0 answers
42 views

What are the benefits of using the state information that maintains the graph structure?

When you applying a graph structured data to the graph convolution network, what are the benefits of using the state information that maintains the graph structure?
unsmoother's user avatar
4 votes
2 answers
931 views

Are there neural networks that accept graphs or trees as inputs?

As far I know, the RNN accepts a sequence as input and can produce as a sequence as output. Are there neural networks that accept graphs or trees as inputs, so that to represent the relationships ...
user8426627's user avatar
1 vote
0 answers
36 views

Write Constraint Satisfaction Formulation for problem

Given $F_1,F_2,..,F_n$ as set of final exams of subjects taken by students $S_1,..,S_k$ in h slots such that no student takes two exams in a single slot.Here the objective is to maximize the number of ...
ten do's user avatar
  • 145
4 votes
2 answers
271 views

What is the proof that the branch and bound algorithm always finds optimal path in a graph?

I've been studying Branch and Bound's graph algorithm and I hear it always finds the optimal path because it uses previously found solutions to find others However, I haven't been able to find a ...
Gooby's user avatar
  • 351
3 votes
1 answer
912 views

How to solve peg solitaire with a graph search?

Problem I've been reading research papers on how to solve a peg solitaire using graph search, but all the papers kind of assume you know how to do the reduction(polynomial time conversion) from the ...
Gooby's user avatar
  • 351
18 votes
3 answers
5k views

What is geometric deep learning?

What is geometric deep learning (GDL)? Here are a few sub-questions How is it different from deep learning? Why do we need GDL? What are some applications of GDL?
nbro's user avatar
  • 39.6k
1 vote
0 answers
99 views

How to create meaningful multiple object detection evaluation comparison graph?

I have got multi-class object detector. One model accuracy evaluation of detection consists of: mAP, FP, FN, TP for each class divided to two graphs and looks like this (I've used this repo for ...
kocica's user avatar
  • 213
10 votes
2 answers
2k views

What benefits can be got by applying Graph Convolutional Neural Network instead of ordinary CNN?

What benefits can we got by applying Graph Convolutional Neural Network instead of ordinary CNN? I mean if we can solve a problem by CNN, what is the reason should we convert to Graph Convolutional ...
piratesailor's user avatar
1 vote
0 answers
39 views

How to visualize/interpret text prediction model results?

I am using LSTM model to predict the next xml markup from an input seed. I have trained my model on 1500 xml files. Each xml file is generated randomly. I am wondering if there is a way to visualize ...
Emna Jaoua's user avatar
6 votes
2 answers
502 views

Neural network for data visualization

At my work, we're currently doing some research into data visualisation for highly interconnected data, basically graphs. We've been implementing all sorts of different layouts and trying to see which ...
tiansivive's user avatar
5 votes
2 answers
2k views

Machine learning with graph as input and output

In my application, I have inputs and outputs that could be represented as graphs. I have a number of acceptable pairs of input and output graphs. I want to use these to train a model. I am looking ...
Suresh's user avatar
  • 159