arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.12753cs.CL
收藏

基于层次Transformer的代码混合语言语义理解

A Comprehensive Understanding of Code-mixed Language Semantics using Hierarchical Transformer

IIIT-Delhi(德里印度理工学院)

Ayan Sengupta, Tharun Suresh, Md Shad Akhtar, Tanmoy Chakraborty

摘要:

语码混用作为一种流行于多语言社区的文本交际模式,已成为网络社会媒体中的一个重要研究课题。由于数据的稀缺性和缺乏鲁棒的语言不变的表示学习技术,混合语言的语义和形态学习仍然是一个关键的挑战。任何形态丰富的语言都可以从字符、子词和词级嵌入中受益,帮助学习有意义的相关性。在本文中,我们探讨了一个层次化的基于转换器的架构(HIT),学习代码混合语言的语义。HIT由多头自我注意和外积注意组成,可以同时理解语码混合文本的语义和句法结构。我们评估了6种印度语言(孟加拉语,古吉拉特语,印地语,泰米尔语,泰卢固语和马拉雅拉姆语)和西班牙语在17个数据集上的9个NLP任务所提出的方法。HIT模型在所有任务中的表现都优于最先进的代码混合表示学习和多语言语言模型。我们使用基于掩码语言建模的预训练、零样本学习和迁移学习方法进一步证明了HIT架构的可推广性。我们的实证结果表明,预训练目标显着提高下游任务的性能。

英文摘要:

Being a popular mode of text-based communication in multilingual communities, code-mixing in online social media has became an important subject to study. Learning the semantics and morphology of code-mixed language remains a key challenge, due to scarcity of data and unavailability of robust and language-invariant representation learning technique. Any morphologically-rich language can benefit from character, subword, and word-level embeddings, aiding in learning meaningful correlations. In this paper, we explore a hierarchical transformer-based architecture (HIT) to learn the semantics of code-mixed languages. HIT consists of multi-headed self-attention and outer product attention components to simultaneously comprehend the semantic and syntactic structures of code-mixed texts. We evaluate the proposed method across 6 Indian languages (Bengali, Gujarati, Hindi, Tamil, Telugu and Malayalam) and Spanish for 9 NLP tasks on 17 datasets. The HIT model outperforms state-of-the-art code-mixed representation learning and multilingual language models in all tasks. We further demonstrate the generalizability of the HIT architecture using masked language modeling-based pre-training, zero-shot learning, and transfer learning approaches. Our empirical results show that the pre-training objectives significantly improve the performance on downstream tasks.

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

↑