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

多领域情感分类中通过屏蔽非共享学习共享

Learning to Share by Masking the Non-shared for Multi-domain Sentiment Classification

Harbin Institute of Technology(哈尔滨工业大学)

Jianhua Yuan, Yanyan Zhao, Bing Qin, Ting Liu

摘要:

多领域情感分类处理的情况下,标记的数据存在多个领域,但不足以训练有效的情感分类器,跨域工作。因此,充分利用跨领域共享的情感知识对于现实世界的应用至关重要。虽然许多现有的工作试图在高维空间中提取域不变的特征,这些模型未能明确区分共享和私有的文本级别的功能,这在一定程度上缺乏可解释性。基于从文本中删除领域相关的标记将有助于提高其领域不变性的假设,我们首先将原始句子转换为领域不可知的。为此,我们提出了BertMasker网络,它明确地从文本中屏蔽领域相关的词,从这些领域不可知的文本中学习领域不变的情感特征,并使用这些被屏蔽的词来形成领域感知的句子表示。在一个广泛采用的多领域情感分类数据集上的实证实验表明,我们提出的模型在多领域情感分类和跨领域设置上都是有效的,准确率分别提高了0.94%和1.8%。进一步的分析表明,去除那些与领域相关和情感无关的标记会降低文本的领域区分度,导致基于BERT的领域分类器性能下降12%以上。

英文摘要:

Multi-domain sentiment classification deals with the scenario where labeled data exists for multiple domains but insufficient for training effective sentiment classifiers that work across domains. Thus, fully exploiting sentiment knowledge shared across domains is crucial for real world applications. While many existing works try to extract domain-invariant features in high-dimensional space, such models fail to explicitly distinguish between shared and private features at text-level, which to some extent lacks interpretablity. Based on the assumption that removing domain-related tokens from texts would help improve their domain-invariance, we instead first transform original sentences to be domain-agnostic. To this end, we propose the BertMasker network which explicitly masks domain-related words from texts, learns domain-invariant sentiment features from these domain-agnostic texts, and uses those masked words to form domain-aware sentence representations. Empirical experiments on a well-adopted multiple domain sentiment classification dataset demonstrate the effectiveness of our proposed model on both multi-domain sentiment classification and cross-domain settings, by increasing the accuracy by 0.94% and 1.8% respectively. Further analysis on masking proves that removing those domain-related and sentiment irrelevant tokens decreases texts' domain distinction, resulting in the performance degradation of a BERT-based domain classifier by over 12%.

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

↑