DILBERT: Customized Pre-Training for Domain Adaptation withCategory Shift, with an Application to Aspect Extraction

Entony Lekhtman, Yftah Ziser, Roi Reichart
9/1/2021
cs.CL

Official code: tonylekhtman/DILBERT (11 stars, Python, last commit 2022-02-08).

Abstract

The rise of pre-trained language models has yielded substantial progress in the vast majority of Natural Language Processing (NLP) tasks. However, a generic approach towards the pre-training procedure can naturally be sub-optimal in some cases.

Show full abstract

Particularly, fine-tuning a pre-trained language model on a source domain and then applying it to a different target domain, results in a sharp performance decline of the eventual classifier for many source-target domain pairs. Moreover, in some NLP tasks, the output categories substantially differ between domains, making adaptation even more challenging. This, for example, happens in the task of aspect extraction, where the aspects of interest of reviews of, e.g., restaurants or electronic devices may be very different. This paper presents a new fine-tuning scheme for BERT, which aims to address the above challenges. We name this scheme DILBERT: Domain Invariant Learning with BERT, and customize it for aspect extraction in the unsupervised domain adaptation setting. DILBERT harnesses the categorical information of both the source and the target domains to guide the pre-training process towards a more domain and category invariant representation, thus closing the gap between the domains. We show that DILBERT yields substantial improvements over state-of-the-art baselines while using a fraction of the unlabeled data, particularly in more challenging domain adaptation setups.

View on arXivView PDF

Code Implementations(1)

111PythonSep 1, 20214 years ago

Similar Papers

Cite this paper

@article{lekhtman2021dilbert,
  title  = {DILBERT: Customized Pre-Training for Domain Adaptation withCategory Shift, with an Application to Aspect Extraction},
  author = {Entony Lekhtman and Yftah Ziser and Roi Reichart},
  year   = {2021},
  eprint = {2109.00571},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.00571}
}

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

Discussion