Linguistic Knowledge in Data Augmentation for Natural Language Processing: An Example on Chinese Question Matching

Zhengxiang Wang
11/29/2021
cs.CL

Official code: jaaack-wang/linguistic-knowledge-in-DA-for-NLP (3 stars, Jupyter Notebook, last commit 2022-09-05).

Abstract

To investigate the role of linguistic knowledge in data augmentation (DA) for Natural Language Processing (NLP), we designed two adapted DA programs and applied them to LCQMC (a Large-scale Chinese Question Matching Corpus) for a binary Chinese question matching classification task. The two DA programs produce augmented texts by five simple text editing operations (or DA techniques), largely irrespective of language generation rules, but one is enhanced with a pre-trained n-gram language model to fuse it with prior linguistic knowledge.

Show full abstract

We then trained four neural network models (BOW, CNN, LSTM, and GRU) and a pre-trained model (ERNIE-Gram) on the LCQMCs train sets of varying size as well as the related augmented train sets produced by the two DA programs. The results show that there are no significant performance differences between the models trained on the two types of augmented train sets, both when the five DA techniques are applied together or separately. Moreover, due to the inability of the five DA techniques to make strictly paraphrastic augmented texts, the results indicate the need of sufficient amounts of training examples for the classification models trained on them to mediate the negative impact of false matching augmented text pairs and improve performance, a limitation of random text editing perturbations used as a DA approach. Similar results were also obtained for English.

View on arXivView PDF

Code Implementations(1)

Source Code, data, and results for my paper titled Linguistic Knowledge in Data Augmentation for Natural Language Processing: An Example on Chinese Question Matching.

30Jupyter Notebook, PythonNov 16, 20214 years ago
data-augmentationnlpquestion-matchingtext-augmentationtext-matching

Similar Papers

Cite this paper

@article{wang2021linguistic,
  title  = {Linguistic Knowledge in Data Augmentation for Natural Language Processing: An Example on Chinese Question Matching},
  author = {Zhengxiang Wang},
  year   = {2021},
  eprint = {2111.14709},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.14709}
}

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

Discussion