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

大型语言模型在不利用捷径的情况下能否进行潜在的多跳推理?

Do Large Language Models Perform Latent Multi-Hop Reasoning without Exploiting Shortcuts?

Google DeepMind(谷歌DeepMind);UCL(伦敦大学学院);Google Research(谷歌研究);Tel Aviv University(特拉维夫大学)

Sohee Yang, Nora Kassner, Elena Gribovskaya, Sebastian Riedel, Mor Geva

AI总结:

研究LLMs在不利用捷径时进行潜在多跳推理的能力,构建无捷径数据集SOCRATES,发现其推理能力因查询类型而异,且潜在与显式推理间存在显著差距。

摘要:

我们评估了大型语言模型(LLMs)在潜在地回忆和组合事实以回答多跳查询方面的表现,例如“在斯嘉丽·约翰逊出生的那一年,夏季奥运会在哪个国家举办”。此类评估中的一个主要挑战是,LLMs可能通过在相同的训练序列中遇到头实体“斯嘉丽·约翰逊”和答案实体“美国”而形成了捷径,或者仅仅基于基于频率的先验来猜测答案。为了防止捷径,我们排除了头实体和答案实体可能在训练期间共同出现的测试查询。通过仔细选择关系和事实,并系统地删除模型可能猜测答案或利用部分匹配的情况,我们构建了一个评估数据集SOCRATES(无捷径潜在推理)。我们观察到,LLMs在不利用捷径的情况下展现出了有前景的潜在多跳推理能力,但仅限于某些类型的查询。对于需要潜在回忆国家作为中间答案的查询,最佳模型达到了80%的潜在可组合性,但对于回忆年份,这一比例降至仅5%。与思维链的比较突显了模型潜在推理与显式推理能力之间的显著差距。分析表明,在具有较高潜在可组合性的查询中,中间答案的潜在表示被构建的频率更高,并展示了在预训练期间潜在多跳推理的涌现。

英文摘要:

We evaluate how well Large Language Models (LLMs) latently recall and compose facts to answer multi-hop queries like "In the year Scarlett Johansson was born, the Summer Olympics were hosted in the country of". One major challenge in such evaluation is that LLMs may have developed shortcuts by encountering the head entity "Scarlett Johansson" and the answer entity "United States" in the same training sequences or merely guess the answer based on frequency-based priors. To prevent shortcuts, we exclude test queries where the head and answer entities might have co-appeared during training. Through careful selection of relations and facts and systematic removal of cases where models might guess answers or exploit partial matches, we construct an evaluation dataset SOCRATES (ShOrtCut-fRee lATent rEaSoning). We observe that LLMs demonstrate promising latent multi-hop reasoning abilities without exploiting shortcuts, but only for certain types of queries. For queries requiring latent recall of countries as the intermediate answer, the best models achieve 80% latent composability, but this drops to just 5% for the recall of years. Comparisons with Chain-of-Thought highlight a significant gap between the ability of models to reason latently versus explicitly. Analysis reveals that latent representations of the intermediate answer are constructed more often in queries with higher latent composability, and shows the emergence of latent multi-hop reasoning during pretraining.

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

↑