西班牙语和英语自然语言生成中的可预测性与因果性
Predictability and Causality in Spanish and English Natural Language Generation
AI总结:
本研究比较了英语和西班牙语在因果与非因果语言建模中的表现,发现英语适合因果NLG,西班牙语适合非因果NLG,支持在西班牙语中使用双向transformer模型。
摘要:
近年来,深度学习技术的最新进展推动了自然语言生成(NLG)领域的发展。然而,这些新的数据密集型方法在NLG中引入了依赖于语言的差异,因为主要训练数据集是英语的。此外,大多数神经NLG系统使用仅解码器(因果)transformer语言模型,这些模型在英语上表现良好,但并未考虑其他语言。在本研究中,我们提出一个假设:这些模型可能会在词序较不固定、省略主语或对关系从句有不同附着偏好的目标语言中引入生成偏差,因此对于这些目标语言,其他语言生成策略可能更为理想。本文首先比较了英语和西班牙语的因果与非因果语言建模,这两种语言具有不同的语法结构,分别拥有超过15亿和5亿使用者。为此,我们为两种语言定义了一种新的度量指标——语法类别分布的平均因果和非因果上下文条件熵,作为一种信息论的先验方法。对两种语言的自然文本源(如训练数据)的评估显示,西班牙语的平均非因果条件熵较低,而英语的平均因果条件熵较低。根据这一实验,在给定非因果上下文的情况下,西班牙语比英语更具可预测性。然后,通过将条件相对熵度量应用于文本生成实验,我们得出以下见解:英语在因果NLG中表现最佳,而西班牙语在非因果NLG中表现最佳。这些见解支持了使用双向transformer语言模型进一步研究西班牙语NLG的方向。
英文摘要:
In recent years, the field of Natural Language Generation (NLG) has been boosted by the recent advances in deep learning technologies. Nonetheless, these new data-intensive methods introduce language-dependent disparities in NLG as the main training data sets are in English. Also, most neural NLG systems use decoder-only (causal) transformer language models, which work well for English, but were not designed with other languages in mind. In this work we depart from the hypothesis that they may introduce generation bias in target languages with less rigid word ordering, subject omission, or different attachment preferences for relative clauses, so that for these target languages other language generation strategies may be more desirable. This paper first compares causal and non-causal language modeling for English and Spanish, two languages with different grammatical structures and over 1.5 billion and 0.5 billion speakers, respectively. For this purpose, we define a novel metric of average causal and non-causal context-conditioned entropy of the grammatical category distribution for both languages as an information-theoretic a priori approach. The evaluation of natural text sources (such as training data) in both languages reveals lower average non-causal conditional entropy in Spanish and lower causal conditional entropy in English. According to this experiment, Spanish is more predictable than English given a non-causal context. Then, by applying a conditional relative entropy metric to text generation experiments, we obtain as insights that the best performance is respectively achieved with causal NLG in English, and with non-causal NLG in Spanish. These insights support further research in NLG in Spanish using bidirectional transformer language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。