Progressive Sentiment Analysis for Code-Switched Text Data

Sudhanshu Ranjan, Dheeraj Mekala, Jingbo Shang
10/25/2022
cs.CL

Official code: s1998/progressiveTrainCodeSwitch (2 stars, Python, last commit 2022-12-06).

Abstract

Multilingual transformer language models have recently attracted much attention from researchers and are used in cross-lingual transfer learning for many NLP tasks such as text classification and named entity recognition. However, similar methods for transfer learning from monolingual text to code-switched text have not been extensively explored mainly due to the following challenges: (1) Code-switched corpus, unlike monolingual corpus, consists of more than one language and existing methods can't be applied efficiently, (2) Code-switched corpus is usually made of resource-rich and low-resource languages and upon using multilingual pre-trained language models, the final model might bias towards resource-rich language.

Show full abstract

In this paper, we focus on code-switched sentiment analysis where we have a labelled resource-rich language dataset and unlabelled code-switched data. We propose a framework that takes the distinction between resource-rich and low-resource language into account. Instead of training on the entire code-switched corpus at once, we create buckets based on the fraction of words in the resource-rich language and progressively train from resource-rich language dominated samples to low-resource language dominated samples. Extensive experiments across multiple language pairs demonstrate that progressive training helps low-resource language dominated samples.

View on arXivView PDF

Code Implementations(1)

Code for the Findings of EMNLP 2022 paper "Progressive Sentiment Analysis for Code-Switched Text Data"

20PythonMay 25, 20223 years ago

Similar Papers

Cite this paper

@article{ranjan2022progressive,
  title  = {Progressive Sentiment Analysis for Code-Switched Text Data},
  author = {Sudhanshu Ranjan and Dheeraj Mekala and Jingbo Shang},
  year   = {2022},
  eprint = {2210.14380},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.14380}
}

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

Discussion