arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.18155cs.CL
收藏

通过词语听觉信息提升语码混合文本处理

Elevating Code-mixed Text Handling through Auditory Information of Words

Indian Institute of Technology Patna(印度理工学院巴特那分校)

Mamta, Zishan Ahmad, Asif Ekbal

AI总结:

本文提出利用SOUNDEX听觉信息的SAMLM预训练语言模型方法,通过融合语音特征提升语码混合文本分类性能和对对抗攻击的鲁棒性。

摘要:

随着语码混合数据日益普及,对此类数据进行更好处理的需求不断增加。语码混合数据带来了诸多挑战,例如拼写变体、多语言、不同文字系统以及资源匮乏等问题。当前的语言模型在有效处理语码混合数据方面面临困难,因为它们主要关注词语的语义表示,而忽略了听觉语音特征。这导致其在处理语码混合文本中的拼写变体时遇到困难。在本文中,我们提出了一种有效的方法,利用来自SOUNDEX的词语听觉信息来创建用于处理语码混合文本数据的语言模型。我们的方法包括一个基于掩码语言建模的预训练步骤,该步骤包含SOUNDEX表示(SAMLM),以及一种向预训练模型提供输入数据的新方法。通过在多种不同语言的语码混合数据集上进行情感分类、冒犯性分类和攻击性分类任务的实验,我们证明我们新颖的语言建模方法(SAMLM)能够提高语码混合分类任务对对抗攻击的鲁棒性。此外,我们基于SAMLM的方法在语码混合任务上也取得了优于流行基线方法的分类结果。我们使用可解释性技术SHAP(SHapley Additive exPlanations)来解释通过SAMLM融入的听觉特征如何帮助模型有效处理语码混合文本,并提高对对抗攻击的鲁棒性。源代码已在https://github.com/20118/DefenseWithPhonetics和https://www.iitp.ac.in/~ai-nlp-ml/resources.html#Phonetics上公开。

英文摘要:

With the growing popularity of code-mixed data, there is an increasing need for better handling of this type of data, which poses a number of challenges, such as dealing with spelling variations, multiple languages, different scripts, and a lack of resources. Current language models face difficulty in effectively handling code-mixed data as they primarily focus on the semantic representation of words and ignore the auditory phonetic features. This leads to difficulties in handling spelling variations in code-mixed text. In this paper, we propose an effective approach for creating language models for handling code-mixed textual data using auditory information of words from SOUNDEX. Our approach includes a pre-training step based on masked-language-modelling, which includes SOUNDEX representations (SAMLM) and a new method of providing input data to the pre-trained model. Through experimentation on various code-mixed datasets (of different languages) for sentiment, offensive and aggression classification tasks, we establish that our novel language modeling approach (SAMLM) results in improved robustness towards adversarial attacks on code-mixed classification tasks. Additionally, our SAMLM based approach also results in better classification results over the popular baselines for code-mixed tasks. We use the explainability technique, SHAP (SHapley Additive exPlanations) to explain how the auditory features incorporated through SAMLM assist the model to handle the code-mixed text effectively and increase robustness against adversarial attacks \footnote{Source code has been made available on \url{https://github.com/20118/DefenseWithPhonetics}, \url{https://www.iitp.ac.in/~ai-nlp-ml/resources.html\#Phonetics}}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑