本文研究基于Transformer的语言模型能否从简单句子中提取谓词论元结构。我们首先发现,语言模型有时会混淆哪些谓词适用于哪些宾语。为缓解这一问题,我们探索了两项任务:问答(Q/A)和一阶逻辑(FOL,first order logic)翻译,以及两种范式:提示(prompting)和微调。在FOL翻译任务中,我们在用于衡量泛化能力的合成数据集上微调了数个大语言模型。针对Q/A任务,我们微调了BERT、RoBERTa等编码器模型,并对大语言模型使用提示方法。结果表明,大语言模型的FOL翻译更适合学习谓词论元结构。
英文摘要:
In this paper, we study whether transformer-based language models can extract predicate argument structure from simple sentences. We firstly show that language models sometimes confuse which predicates apply to which objects. To mitigate this, we explore two tasks: question answering (Q/A), and first order logic (FOL) translation, and two regimes, prompting and finetuning. In FOL translation, we finetune several large language models on synthetic datasets designed to gauge their generalization abilities. For Q/A, we finetune encoder models like BERT and RoBERTa and use prompting for LLMs. The results show that FOL translation for LLMs is better suited to learn predicate argument structure.
Grammar-Forced Translation of Natural Language to Temporal Logic using LLMs
Department of Electrical and Computer Engineering, University of Florida, Gainesville, Florida(电子与计算机工程系,佛罗里达大学,盖恩斯维尔,佛罗里达);Knight Foundation School of Computing and Information Sciences, Florida International University, Miami, Florida(骑士基金会计算与信息科学学院,佛罗里达国际大学,迈阿密,佛罗里达)
The Impact of Syntactic and Semantic Proximity on Machine Translation with Back-Translation
Laboratoire de Sciences Cognitives et Psycholinguistique(认知科学与心理语言学实验室);École Normale Supérieure(巴黎高等师范学院);PSL University(巴黎文理研究大学);University of Washington(华盛顿大学)