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

Albert Roethel, Maria Ganzha, Anna Wróblewska
5/10/2023
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

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

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{roethel2023enriching,
  title  = {Enriching language models with graph-based context information to better understand textual data},
  author = {Albert Roethel and Maria Ganzha and Anna Wróblewska},
  year   = {2023},
  eprint = {2305.11070},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.11070v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.11070.svg)](https://codeofpaper.com/paper/2305.11070)

Discussion