Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2508.01203

帮助 | 高级搜索

计算机科学 > 人工智能

arXiv:2508.01203 (cs)
[提交于 2025年8月2日 ]

标题: 重要性采样就是你需要的一切:通过重用现有基准来预测大型语言模型在新基准上的表现

标题: Importance Sampling is All You Need: Predict LLM's performance on new benchmark by reusing existing benchmark

Authors:Junjie Shi, Wei Ma, Shi Ying, Lingxiao Jiang, Yang liu, Bo Du
摘要: 随着大型语言模型的快速发展,代码生成已成为评估LLM能力的关键基准。 然而,现有的基准测试面临两个主要挑战:(1) 构建高质量测试套件和参考解决方案的成本不断上升,以及(2) 数据污染风险增加,这削弱了基于基准的评估的可靠性。 在本文中,我们提出了BIS,一种以提示为中心的评估框架,能够在无需真实答案的情况下预测LLM在代码生成任务中的性能。 BIS不是执行生成的代码,而是仅通过分析提示分布来估计性能指标。 该方法基于重要性抽样理论,并使用重要性加权自动编码器实现,我们的方法对现有标注基准中的样本进行重新加权,以估计在新未见过的基准上的性能。 为了稳定估计,我们引入了权重截断策略,并计算拟合分布上的边缘期望。 BIS作为一种补充工具,在资源受限的情况下支持基准开发和验证,为提示选择和污染评估提供可操作且快速的反馈。 我们进行了广泛的实验,涉及4个CodeLlama模型和9个不同的基准测试,共8000个评估点。 我们的框架在代码正确性评分上的平均绝对预测误差为1.1%,最佳和最差情况下的误差分别为0.3%和1.9%。 它在其他指标上也表现良好,pass@1的平均绝对误差为2.15%。 这些结果证明了BIS的可靠性和广泛适用性,可以显著降低在与代码相关的任务中对LLM进行基准测试的成本和努力。
摘要: With the rapid advancement of large language models , code generation has become a key benchmark for evaluating LLM capabilities. However, existing benchmarks face two major challenges: (1) the escalating cost of constructing high-quality test suites and reference solutions, and (2) the increasing risk of data contamination, which undermines the reliability of benchmark-based evaluations. In this paper, we propose BIS, a prompt-centric evaluation framework that enables ground-truth-free prediction of LLM performance on code generation tasks. Rather than executing generated code, BIS estimates performance metrics by analyzing the prompt distribution alone. Built on importance sampling theory and implemented using Importance Weighted Autoencoders, our method reweights samples from existing annotated benchmarks to estimate performance on new, unseen benchmarks. To stabilize the estimation, we introduce weight truncation strategies and compute marginal expectations across the fitted distributions. BIS serves as a complementary tool that supports benchmark development and validation under constrained resources, offering actionable and quick feedback for prompt selection and contamination assessment. We conduct extensive experiments involving 8,000 evaluation points across 4 CodeLlama models and 9 diverse benchmarks. Our framework achieves an average absolute prediction error of 1.1% for code correctness scores, with best- and worst-case errors of 0.3% and 1.9%, respectively. It also generalizes well to other metrics, attaining average absolute errors of 2.15% for pass@1. These results demonstrate the reliability and broad applicability of BIS, which can significantly reduce the cost and effort of benchmarking LLMs in code-related tasks.
主题: 人工智能 (cs.AI)
引用方式: arXiv:2508.01203 [cs.AI]
  (或者 arXiv:2508.01203v1 [cs.AI] 对于此版本)
  https://doi.org/10.48550/arXiv.2508.01203
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Junjie Shi [查看电子邮件]
[v1] 星期六, 2025 年 8 月 2 日 05:34:05 UTC (399 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • TeX 源代码
许可图标 查看许可
当前浏览上下文:
cs
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-08
切换浏览方式为:
cs.AI

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号