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

MIR-Bench:你的大语言模型能否通过多示例上下文推理识别复杂模式?

MIR-Bench: Can Your LLM Recognize Complicated Patterns via Many-Shot In-Context Reasoning?

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Kai Yan, Zhan Ling, Kang Liu, Yifan Yang, Ting-Han Fan, Lingfeng Shen, Zhengyin Du, Jiecao Chen

AI总结:

MIR-Bench是首个多示例上下文推理基准,通过多样数据格式的输入输出示例评估LLM模式识别能力,并揭示缩放效应、鲁棒性、归纳与转导推理等关键发现。

摘要:

从示例中识别模式并将其应用于新示例的能力是一般智能的基本能力,受到心理学和人工智能研究者的广泛研究。已有许多基准被提出用于衡量大语言模型(LLMs)的这种能力;然而,它们侧重于少示例(通常<10)设置,缺乏对从长上下文中聚合大量信息的评估。另一方面,大语言模型不断增长的上下文长度催生了多示例上下文学习(ICL)的新范式,该范式通过数百到数千个示例处理新任务,无需昂贵且低效的微调。然而,多示例评估通常侧重于分类,而流行的长上下文LLM任务如大海捞针(NIAH)很少需要整合大量信息的复杂智能。为了解决这两个领域的问题,我们提出了MIR-Bench,这是首个用于模式识别的多示例上下文推理基准,要求LLM通过来自具有多样数据格式的底层函数的输入-输出示例来预测输出。基于MIR-Bench,我们研究了许多多示例上下文推理的新问题,并获得了许多有见地的发现,包括缩放效应、鲁棒性、归纳推理与转导推理、检索增强生成(RAG)、用于归纳推理的编码、跨领域泛化性等。

英文摘要:

The ability to recognize patterns from examples and apply them to new ones is a primal ability for general intelligence, and is widely studied by psychology and AI researchers. Many benchmarks have been proposed to measure such ability for Large Language Models (LLMs); however, they focus on few-shot (usually <10) setting and lack evaluation for aggregating many pieces of information from long contexts. On the other hand, the ever-growing context length of LLMs have brought forth the novel paradigm of many-shot In-Context Learning (ICL), which addresses new tasks with hundreds to thousands of examples without expensive and inefficient fine-tuning. However, many-shot evaluations often focus on classification, and popular long-context LLM tasks such as Needle-In-A-Haystack (NIAH) seldom require complicated intelligence for integrating many pieces of information. To fix the issues from both worlds, we propose MIR-Bench, the first many-shot in-context reasoning benchmark for pattern recognition that asks LLM to predict output via input-output examples from underlying functions with diverse data format. Based on MIR-Bench, we study many novel problems for many-shot in-context reasoning, and acquired many insightful findings including scaling effect, robustness, inductive vs. transductive reasoning, retrieval Augmented Generation (RAG), coding for inductive reasoning, cross-domain generalizability, etc.

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

↑