arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.03203cs.CLcs.LG
收藏

通过一阶逻辑翻译学习语义结构

Learning Semantic Structure through First-Order-Logic Translation

IRIT(法国图卢兹计算机科学、电子与通信研究所);CNRS(法国国家科学研究中心)

Akshay Chaturvedi, Nicholas Asher

AI总结:

针对Transformer语言模型易混淆谓词与对应宾语的问题,该研究探索问答、一阶逻辑翻译两项任务及提示、微调两种范式,发现大语言模型的一阶逻辑翻译更适合学习谓词论元结构。

摘要:

本文研究基于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.

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

↑