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

LLM真的能适应领域吗?基于本体学习的视角

Do LLMs Really Adapt to Domains? An Ontology Learning Perspective

University of Mannheim(曼海姆大学);Bosch Center for AI(博世人工智能中心)

Huu Tan Mai, Cuong Xuan Chu, Heiko Paulheim

AI总结:

本文通过使用WordNet合成平行语料库进行受控实验,探究LLM在领域适应中是真正进行语义推理还是仅依赖词汇模式,发现现成LLM倾向利用词义而非推理,但微调能显著提升其在未见领域术语上的本体学习性能。

摘要:

大型语言模型(LLM)在各种应用领域的各种自然语言处理任务中展现出了前所未有的能力。最近的研究表明,LLM可以用于执行词汇语义任务,例如知识库完成(KBC)或本体学习(OL)。然而,其成功是否归因于它们对非结构化或半结构化数据进行推理的能力,还是仅仅因为它们有效地学习了语言模式和词义,目前尚未得到有效验证。在处理特定领域数据时,这个未解决的问题尤为关键,因为该领域的词汇意义及其含义可能与LLM在训练阶段学到的完全不同。本文研究了以下问题:LLM是否真的适应了领域并在结构化知识抽取中保持一致,还是它们仅仅学习了词汇意义而没有进行推理?为了回答这个问题,我们设计了一个受控实验设置,使用WordNet合成平行语料库,包含英文和无意义词汇。我们检查了LLM在两个OL任务(关系抽取和分类发现)中对每个语料库输出的差异。实证结果表明,在适应无意义语料库时,现成的LLM并不一致地对概念之间的语义关系进行推理,而是利用词义及其框架。然而,微调提高了LLM在词汇语义任务上的性能,即使特定领域的术语是任意的且在预训练期间未见过,这暗示了预训练LLM在OL中的适用性。

英文摘要:

Large Language Models (LLMs) have demonstrated unprecedented prowess across various natural language processing tasks in various application domains. Recent studies show that LLMs can be leveraged to perform lexical semantic tasks, such as Knowledge Base Completion (KBC) or Ontology Learning (OL). However, it has not effectively been verified whether their success is due to their ability to reason over unstructured or semi-structured data, or their effective learning of linguistic patterns and senses alone. This unresolved question is particularly crucial when dealing with domain-specific data, where the lexical senses and their meaning can completely differ from what a LLM has learned during its training stage. This paper investigates the following question: Do LLMs really adapt to domains and remain consistent in the extraction of structured knowledge, or do they only learn lexical senses instead of reasoning? To answer this question and, we devise a controlled experiment setup that uses WordNet to synthesize parallel corpora, with English and gibberish terms. We examine the differences in the outputs of LLMs for each corpus in two OL tasks: relation extraction and taxonomy discovery. Empirical results show that, while adapting to the gibberish corpora, off-the-shelf LLMs do not consistently reason over semantic relationships between concepts, and instead leverage senses and their frame. However, fine-tuning improves the performance of LLMs on lexical semantic tasks even when the domain-specific terms are arbitrary and unseen during pre-training, hinting at the applicability of pre-trained LLMs for OL.

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

↑