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

LogiGAN:通过对抗性预训练学习逻辑推理

LogiGAN: Learning Logical Reasoning via Adversarial Pre-training

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Sun Yat-Sen University(中山大学);Microsoft Research Asia(微软亚洲研究院)

Xinyu Pi, Wanjun Zhong, Yan Gao, Nan Duan, Jian-Guang Lou

摘要:

我们提出了LogiGAN,一个无监督的对抗性预训练框架,用于提高语言模型的逻辑推理能力。在利用检测算法自动识别海量文本中的逻辑推理现象的基础上,通过训练语言模型来预测被屏蔽的逻辑语句。受人类学习中反思思维的促进作用的启发,我们用一个对抗性的生成器-验证器架构来模拟学习-思维过程,以辅助逻辑学习。Logi GAN实现了一种新的顺序GAN方法,该方法(a)通过利用Generator作为具有与Verifier达成评分共识的学习目标的并行级生成似然评分器来规避顺序GAN的不可微挑战;(b)对于具有任意目标长度的大规模预训练在计算上是可行的。使用LogiGAN预训练的基础和大规模语言模型在12个需要一般推理能力的数据集上表现出明显的性能改善,揭示了逻辑在广泛推理中的基础作用,以及LogiGAN的有效性。对LogiGAN组件的消融研究揭示了语言和逻辑能力之间的相对正交性,并表明反思性思维的促进作用也可能推广到机器学习。

英文摘要:

We present LogiGAN, an unsupervised adversarial pre-training framework for improving logical reasoning abilities of language models. Upon automatic identifying logical reasoning phenomena in massive text corpus via detection heuristics, we train language models to predict the masked-out logical statements. Inspired by the facilitation effect of reflective thinking in human learning, we analogically simulate the learning-thinking process with an adversarial Generator-Verifier architecture to assist logic learning. LogiGAN implements a novel sequential GAN approach that (a) circumvents the non-differentiable challenge of the sequential GAN by leveraging the Generator as a sentence-level generative likelihood scorer with a learning objective of reaching scoring consensus with the Verifier; (b) is computationally feasible for large-scale pre-training with arbitrary target length. Both base and large size language models pre-trained with LogiGAN demonstrate obvious performance improvement on 12 datasets requiring general reasoning abilities, revealing the fundamental role of logic in broad reasoning, as well as the effectiveness of LogiGAN. Ablation studies on LogiGAN components reveal the relative orthogonality between linguistic and logic abilities and suggest that reflective thinking's facilitation effect might also generalize to machine learning.

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

↑