arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.12938cs.LGcs.AIcs.CL
收藏

利用大语言模型的不一致性提升Pass@k性能

Leveraging LLM Inconsistency to Boost Pass@k Performance

Pattern Labs

Uri Dalal, Meirav Segal, Zvika Ben-Haim, Dan Lahav, Omer Nevo

AI总结:

针对大语言模型输入微小变化时性能不一致的问题,提出名为Variator的智能体生成任务变体以提升Pass@k性能,经理论和APPS数据集实验验证有效,且适用于未来模型。

摘要:

大语言模型(LLMs)在众多领域展现出出色能力,但在输入发生微小变化时会表现出性能不一致的问题。本文并未将此视为缺陷,而是提出了一种利用模型不一致性提升Pass@k性能的新方法。具体而言,我们设计了一个名为“Variator(变体生成器)”的智能体,它能为给定任务生成k个变体,并为每个变体提交一个候选解决方案。我们的变体生成方法具有任务无关性,且兼容自由形式输入,因此可应用于广泛领域。我们通过不一致性效应的概率模型从理论上验证了该智能体的有效性,并在APPS数据集上通过实验证明其性能优于基线模型。此外,我们证实即使在前沿推理模型中,不一致性在编码和网络安全领域依然存在,这表明我们的方法对未来的模型世代仍可能具有实用价值。

英文摘要:

Large language models (LLMs) achieve impressive abilities in numerous domains, but exhibit inconsistent performance in response to minor input changes. Rather than view this as a drawback, in this paper we introduce a novel method for leveraging models' inconsistency to boost Pass@k performance. Specifically, we present a "Variator" agent that generates k variants of a given task and submits one candidate solution for each one. Our variant generation approach is applicable to a wide range of domains as it is task agnostic and compatible with free-form inputs. We demonstrate the efficacy of our agent theoretically using a probabilistic model of the inconsistency effect, and show empirically that it outperforms the baseline on the APPS dataset. Furthermore, we establish that inconsistency persists even in frontier reasoning models across coding and cybersecurity domains, suggesting our method is likely to remain relevant for future model generations.

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

↑