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

情感分类中的文本长度自适应

Text Length Adaptation in Sentiment Classification

University of Edinburgh(爱丁堡大学);Samsung Electronics(三星电子);Yonsei University(延世大学)

Reinald Kim Amplayo, Seonjae Lim, Seung-won Hwang

摘要:

文本分类器能否很好地推广文本长度不同的数据集?例如,当短评论被情感标记时,这些可以转移到预测长评论的情感(即,短到长转移),或反之亦然?虽然无监督的迁移学习已经被很好地研究了跨域/语言迁移任务,但交叉长度迁移(CLT)尚未被探索。一个原因是假设长度差异在分类中是平凡可转移的。我们发现,它不是,因为短/长文本不同的上下文丰富性和词的强度。我们设计了来自不同领域和语言的新基准数据集,并表明来自类似任务的现有模型无法应对跨文本长度传输的独特挑战。我们引入了一个强大的基线模型BaggedCNN,它将长文本视为包含短文本的袋子。我们提出了一种最先进的CLT模型,称为长度传输网络(LeTraNets),它使用多种训练机制为短文本和长文本引入了双向编码方案。我们测试了我们的模型,发现现有模型的性能比BaggedCNN基线差,而LeTraNets的性能优于所有模型。

英文摘要:

Can a text classifier generalize well for datasets where the text length is different? For example, when short reviews are sentiment-labeled, can these transfer to predict the sentiment of long reviews (i.e., short to long transfer), or vice versa? While unsupervised transfer learning has been well-studied for cross domain/lingual transfer tasks, Cross Length Transfer (CLT) has not yet been explored. One reason is the assumption that length difference is trivially transferable in classification. We show that it is not, because short/long texts differ in context richness and word intensity. We devise new benchmark datasets from diverse domains and languages, and show that existing models from similar tasks cannot deal with the unique challenge of transferring across text lengths. We introduce a strong baseline model called BaggedCNN that treats long texts as bags containing short texts. We propose a state-of-the-art CLT model called Length Transfer Networks (LeTraNets) that introduces a two-way encoding scheme for short and long texts using multiple training mechanisms. We test our models and find that existing models perform worse than the BaggedCNN baseline, while LeTraNets outperforms all models.

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

↑