Cross-Domain Aspect Extraction using Transformers Augmented with Knowledge Graphs

Phillip Howard, Arden Ma, Vasudev Lal, Ana Paula Simoes, Daniel Korat +3 more
10/18/2022
cs.CLcs.AI
transformer-attention

Official code: IntelLabs/nlp-architect (2,929 stars, Python, Apache-2.0, PyTorch, last commit 2022-11-07).

Abstract

The extraction of aspect terms is a critical step in fine-grained sentiment analysis of text. Existing approaches for this task have yielded impressive results when the training and testing data are from the same domain.

Show full abstract

However, these methods show a drastic decrease in performance when applied to cross-domain settings where the domain of the testing data differs from that of the training data. To address this lack of extensibility and robustness, we propose a novel approach for automatically constructing domain-specific knowledge graphs that contain information relevant to the identification of aspect terms. We introduce a methodology for injecting information from these knowledge graphs into Transformer models, including two alternative mechanisms for knowledge insertion: via query enrichment and via manipulation of attention patterns. We demonstrate state-of-the-art performance on benchmark datasets for cross-domain aspect term extraction using our approach and investigate how the amount of external knowledge available to the Transformer impacts model performance.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

A model library for exploring state-of-the-art deep learning topologies and techniques for optimizing Natural Language Processing neural networks

2,929437Python, Jupyter NotebookMay 17, 20184 years agoApache-2.0
bertdeep-learningdeeplearningdynetnlp+5 more

Similar Papers

Cite this paper

@article{howard2022crossdomain,
  title  = {Cross-Domain Aspect Extraction using Transformers Augmented with Knowledge Graphs},
  author = {Phillip Howard and Arden Ma and Vasudev Lal and Ana Paula Simoes and Daniel Korat and Oren Pereg and Moshe Wasserblat and Gadi Singer},
  year   = {2022},
  eprint = {2210.10144},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.10144}
}

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/2210.10144.svg)](https://codeofpaper.com/paper/2210.10144)

Discussion