Submitted by Low-Mood3229 t3_10h5nfx in MachineLearning
axm92 t1_j5b2ug8 wrote
Reply to comment by dancingnightly in [R] Is there a way to combine a knowledge graph and other types of data for ML purposes? by Low-Mood3229
I’m not sure if I understand you, but you can generate these graphs over long documents, and then run a GNN.
For creating graphs over long documents, one trick I’ve used in my past papers is to create a graph per 3 paragraphs, and then merge these graphs (by fusing similar nodes).
dancingnightly t1_j5c31u6 wrote
Oh ok. Thank you for taking the time to explain. I see that this graph approach isn't for extending beyond the existing context of RoBERTa/similar transformer models, but rather enhancing performance.
I was hoping graphs could capture relational information (in a way compatible with transformer embeddings) within the document at far parts between it essentially (like: for each doc.ents, connect in a fully connected graph), sounds like this dynamic graph size/structure per document input wouldn't work with the transformer embeddings for now though.
therentedmule t1_j5di936 wrote
Right. Perhaps you can look at Longformer.
Viewing a single comment thread. View all comments