避免的主题:降低文本分类中的潜在混淆
Topics to Avoid: Demoting Latent Confounds in Text Classification
摘要:
尽管在许多文本分类任务上表现令人印象深刻,但深度神经网络倾向于学习特定于训练数据的频繁表面模式,并且并不总是很好地泛化。在这项工作中,我们观察到这种限制与母语识别的任务。我们发现,在测试集上表现良好的标准文本分类器最终会学习到与预测任务混淆的主题特征(例如,如果输入文本提到瑞典,则分类器预测作者的母语是瑞典语)。我们提出了一种方法,表示潜在的主题混淆和模型,“unlearns”混淆功能,通过预测输入文本的标签和混淆,但我们训练的两个预测相反的交替方式学习的文本表示,预测正确的标签,但不太倾向于使用信息的混淆。我们表明,该模型更好地概括和学习功能,是指示的写作风格,而不是内容。
英文摘要:
Despite impressive performance on many text classification tasks, deep neural networks tend to learn frequent superficial patterns that are specific to the training data and do not always generalize well. In this work, we observe this limitation with respect to the task of native language identification. We find that standard text classifiers which perform well on the test set end up learning topical features which are confounds of the prediction task (e.g., if the input text mentions Sweden, the classifier predicts that the author's native language is Swedish). We propose a method that represents the latent topical confounds and a model which "unlearns" confounding features by predicting both the label of the input text and the confound; but we train the two predictors adversarially in an alternating fashion to learn a text representation that predicts the correct label but is less prone to using information about the confound. We show that this model generalizes better and learns features that are indicative of the writing style rather than the content.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。