Use of Prompt-Based Learning for Code-Mixed and Code-Switched Text Classification

Author:

Udawatta Pasindu1,Udayangana Indunil1,Gamage Chathulanka1,Shekhar Ravi2,Ranathunga Surangika3

Affiliation:

1. University of Moratuwa

2. University of Essex

3. Massey University

Abstract

Abstract Code-mixing and code-switching (CMCS) are prevalent phenomena observed in social media conversations and various other modes of communication. When developing Natural Language Processing (NLP) systems such as sentiment analysers and hate-speech detectors that operate on this social media data, CMCS text poses challenges. Recent studies have demonstrated that prompt-based learning of pre-trained language models (PLMs) outperforms full fine-tuning of PLMs across various NLP tasks. Despite the growing interest in CMCS text classification, the effectiveness of prompt-based learning for the task remains unexplored. Our study endeavours to bridge this gap by examining the impact of prompt-based learning on CMCS text classification. We discern that the performance in CMCS text classification is significantly influenced by the inclusion of multiple scripts and the intensity of code-mixing. In response, we introduce a novel method, Dynamic+AdapterPrompt, which employs distinct models for each script, integrated with adapters. While DynamicPrompt captures the script-specific representation of CMCS text, AdapterPrompt emphasizes capturing the task-oriented functionality. Our experiments span across Sinhala-English, Kannada-English, and Hindi-English datasets, encompassing sentiment classification, hate-speech detection, and humour detection tasks. The outcomes indicate that our proposed method outperforms strong fine-tuning baselines and basic prompting strategies.

Publisher

Research Square Platform LLC

Reference43 articles.

1. Joshi, Pratik and Santy, Sebastin and Budhiraja, Amar and Bali, Kalika and Choudhury, Monojit (2020) The State and Fate of Linguistic Diversity and Inclusion in the {NLP} World. Association for Computational Linguistics, Online, 6282--6293, 10.18653/v1/2020.acl-main.560, https://aclanthology.org/2020.acl-main.560, July

2. Karimi Mahabadi, Rabeeh and Zettlemoyer, Luke and Henderson, James and Mathias, Lambert and Saeidi, Marzieh and Stoyanov, Veselin and Yazdani, Majid (2022) Prompt-free and Efficient Few-shot Learning with Language Models. Association for Computational Linguistics, Dublin, Ireland, 3638--3652, 10.18653/v1/2022.acl-long.254, https://aclanthology.org/2022.acl-long.254, May, Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)

3. Huang, Lianzhe and Ma, Shuming and Zhang, Dongdong and Wei, Furu and Wang, Houfeng (2022) Zero-shot Cross-lingual Transfer of Prompt-based Tuning with a Unified Multilingual Prompt. Association for Computational Linguistics, Abu Dhabi, United Arab Emirates, 11488--11497, https://aclanthology.org/2022.emnlp-main.790, December, Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing

4. Liu, Pengfei and Yuan, Weizhe and Fu, Jinlan and Jiang, Zhengbao and Hayashi, Hiroaki and Neubig, Graham (2023) Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing. ACM Comput. Surv. 55

5. (9) https://doi.org/10.1145/3560815, Pre-trained language models, prompting, 35, 195, jan, https://doi.org/10.1145/3560815, 0360-0300, New York, NY, USA, Association for Computing Machinery, September 2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3