Enriching language models with graph-based context information to better understand textual data

May 10, 2023 ยท Entered Twilight ยท ๐Ÿ› Electronics

๐Ÿ’ค TWILIGHT: Eternal Rest
Repo abandoned since publication

Repo contents: .gitignore, .gitmodules, LICENSE, README.md, gc_bert, pubmed, requirements.txt, setup.py

Authors Albert Roethel, Maria Ganzha, Anna Wrรณblewska arXiv ID 2305.11070 Category cs.CL: Computation & Language Cross-listed cs.AI, cs.LG, cs.NE Citations 3 Venue Electronics Repository https://github.com/tryptofanik/gc-bert Last Checked 3 months ago
Abstract
A considerable number of texts encountered daily are somehow connected with each other. For example, Wikipedia articles refer to other articles via hyperlinks, scientific papers relate to others via citations or (co)authors, while tweets relate via users that follow each other or reshare content. Hence, a graph-like structure can represent existing connections and be seen as capturing the "context" of the texts. The question thus arises if extracting and integrating such context information into a language model might help facilitate a better automated understanding of the text. In this study, we experimentally demonstrate that incorporating graph-based contextualization into BERT model enhances its performance on an example of a classification task. Specifically, on Pubmed dataset, we observed a reduction in error from 8.51% to 7.96%, while increasing the number of parameters just by 1.6%. Our source code: https://github.com/tryptofanik/gc-bert
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Computation & Language

๐ŸŒ… ๐ŸŒ… Old Age

Attention Is All You Need

Ashish Vaswani, Noam Shazeer, ... (+6 more)

cs.CL ๐Ÿ› NeurIPS ๐Ÿ“š 166.0K cites 9 years ago