question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question about the adjacent matrix

See original GitHub issue

Hi~

In your abstract, you said “In this work, we propose Attention Guided Graph Convolutional Networks (AGGCNs), a novel model which directly takes full dependency trees as inputs”, but I don’s see how do you make use of the dependency tree.

According to Equation (2), seems you just construct the $\tilde{A}$ by using the input embeddings, so where do you make use of the original adjacency matrix $A$?

In your code, I still cannot confirm how do you make use of $A$, which is adj in your code, right? https://github.com/Cartus/AGGCN_TACRED/blob/master/model/aggcn.py#L175

Could you please show me the details? And by the way, that is the matrix $V$ in your Equation (2)? I can not find the definition of $V$ neither.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Cartuscommented, Sep 24, 2019

Hi @liuyijiang1994 ,

Thanks for the question. Actually they are basically the same. I read a paper few weeks ago. The paper discusses about the GNNs and Transformer model, which might be useful. They also have a nice summary of these works including different GNNs and different self-attention methods.

Contextualized Non-local Neural Networks for Sequence Learning https://arxiv.org/abs/1811.08600#

1reaction
speedcell4commented, Aug 16, 2019

@TranVanHien Sorry, I can not, I realized I can never figure out these complicated experiment settings and then I decided to give up doing relation extraction task two months ago

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data Structure Questions and Answers – Adjacency Matrix
This set of Data Structure Multiple Choice Questions & Answers (MCQs) focuses on “Adjacency Matrix”. 1. The number of elements in the adjacency...
Read more >
Adjacency Matrices
Question: Which vertices are connected by a two-edge sequence? How many different two-edge sequences connect each pair of vertices?
Read more >
Newest 'adjacency-matrix' Questions - Math Stack Exchange
An adjacency matrix is a square matrix used to represent a finite graph. The elements of the matrix indicate whether pairs of vertices...
Read more >
7.4. An Adjacency Matrix - Open Book Project
The adjacency matrix is a good implementation for a graph when the number of edges is large. But what do we mean by...
Read more >
Adjacency Matrix - Definition, Properties, Theorems, Graphs ...
The adjacency matrix is a connection matrix containing rows and columns used to represent a simple labelled graph. Learn how to create it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found