PerturbScore: Connecting Discrete and Continuous Perturbations in NLP

Linyang Li, Ke Ren, Yunfan Shao, Pengyu Wang, Xipeng Qiu
10/13/2023
10 citations
cs.CL

Official code: renke999/PerturbScore (7 stars, Python, last commit 2023-10-17).

Abstract

With the rapid development of neural network applications in NLP, model robustness problem is gaining more attention. Different from computer vision, the discrete nature of texts makes it more challenging to explore robustness in NLP.

Show full abstract

Therefore, in this paper, we aim to connect discrete perturbations with continuous perturbations, therefore we can use such connections as a bridge to help understand discrete perturbations in NLP models. Specifically, we first explore how to connect and measure the correlation between discrete perturbations and continuous perturbations. Then we design a regression task as a PerturbScore to learn the correlation automatically. Through experimental results, we find that we can build a connection between discrete and continuous perturbations and use the proposed PerturbScore to learn such correlation, surpassing previous methods used in discrete perturbation measuring. Further, the proposed PerturbScore can be well generalized to different datasets, perturbation methods, indicating that we can use it as a powerful tool to study model robustness in NLP.

View on arXivView PDF

Code Implementations(1)

Repo for EMNLP2023 PerturbScore: Connecting Discrete and Continuous Perturbations in NLP

70Python, Jupyter NotebookOct 10, 20233 years ago

Similar Papers

Cite this paper

@article{li2023perturbscore,
  title  = {PerturbScore: Connecting Discrete and Continuous Perturbations in NLP},
  author = {Linyang Li and Ke Ren and Yunfan Shao and Pengyu Wang and Xipeng Qiu},
  year   = {2023},
  eprint = {2310.08889},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.08889v1}
}

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

Discussion