arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.17819cs.CLcs.AI
收藏

大语言模型的归纳语言推理

Inductive Linguistic Reasoning with Large Language Models

Greenwich High School(格林威治高中);University of Pennsylvania(宾夕法尼亚大学)

Raghav Ramji, Keshav Ramji

AI总结:

本文通过极低资源语言谜题研究大语言模型的抽象多语言推理能力,提出两阶段类比提示方法,有效提升GPT-4o和Llama-3.1-405B-Instruct等模型在modeLing和LINGOLY数据集上的推理性能。

摘要:

评估大语言模型(LLMs)的语言推理能力是一项重要任务,有助于理解其在大规模应用中可能显现的技能差距。在这项工作中,我们通过极低资源语言的语言学谜题视角,研究了此类模型执行抽象多语言推理的能力。由于这些翻译任务涉及基于参考实例的归纳和演绎推理,我们考察了是否可以通过类比提示,从种子样本中自动归纳出多样化的辅助示例。我们采用两阶段过程:首先使用语言模型生成类比样本,随后将其与提供的目标语言样本一起在上下文中应用。我们在modeLing数据集上的结果表明,类比提示能有效激发模型对语言语法相似性的知识,使GPT-4o的性能相比思维链方法提升高达8.1%,Llama-3.1-405B-Instruct提升5.9%。这些增益归因于类比示例,无论这些示例是自我生成的还是由较弱的多语言模型生成的。此外,我们证明我们的方法可推广到语言学奥林匹克竞赛中的其他任务,使用GPT-4o在LINGOLY数据集包含的所有问题类型和难度级别上均实现了显著改进。我们还报告了关于驱动语言推理性能的有趣现象的若干发现,表明此类谜题是新推理方法的有价值基准。

英文摘要:

Evaluating large language models (LLMs) on their linguistic reasoning capabilities is an important task to understand the gaps in their skills that may surface during large-scale adoption. In this work, we investigate the abilities of such models to perform abstract multilingual reasoning through the lens of linguistic puzzles on extremely low-resource languages. As these translation tasks involve inductive and deductive reasoning from reference instances, we examine whether diverse auxiliary demonstrations can be automatically induced from seed exemplars, through analogical prompting. We employ a two-stage procedure, first generating analogical exemplars with a language model, and then applying them in-context along with provided target language exemplars. Our results on the modeLing dataset show that analogical prompting is effective in eliciting models' knowledge of language grammar similarities, boosting the performance of GPT-4o by as much as 8.1% and Llama-3.1-405B-Instruct by 5.9% over chain-of-thought approaches. These gains are attributable to the analogical demonstrations, both when self-generated as well as when produced by weaker multilingual models. Furthermore, we demonstrate that our method generalizes to other tasks present in Linguistics Olympiad competitions, achieving sizable improvements across all problem types and difficulty levels included in the LINGOLY dataset with GPT-4o. We also report several findings about interesting phenomena which drive linguistic reasoning performance, suggesting that such puzzles are a valuable benchmark for new reasoning methods.

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

↑