BERTwich: Extending BERT's Capabilities to Model Dialectal and Noisy Text

Aarohi Srivastava, David Chiang
10/31/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Real-world NLP applications often deal with nonstandard text (e.g., dialectal, informal, or misspelled text). However, language models like BERT deteriorate in the face of dialect variation or noise. How do we push BERT's modeling capabilities to encompass nonstandard text? Fine-tuning helps, but it is designed for specializing a model to a task and does not seem to bring about the deeper, more pervasive changes needed to adapt a model to nonstandard language. In this paper, we introduce the novel idea of sandwiching BERT's encoder stack between additional encoder layers trained to perform masked language modeling on noisy text. We find that our approach, paired with recent work on including character-level noise in fine-tuning data, can promote zero-shot transfer to dialectal text, as well as reduce the distance in the embedding space between words and their noisy counterparts.

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{srivastava2023bertwich,
  title  = {BERTwich: Extending BERT's Capabilities to Model Dialectal and Noisy Text},
  author = {Aarohi Srivastava and David Chiang},
  year   = {2023},
  eprint = {2311.00116},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.00116v1}
}

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

Discussion