🧠机器之心•較早收集於 6m
北航開源 Code2Bench:雙擴展動態評測,碼大模型擺脫躺平刷分

#benchmark#data-contamination#dynamic-eval#code-generationcode2bench
💡New ICLR'26 benchmark kills code LLM high-score illusions—test your model now
⚡ 30-Second TL;DR
有什麼變化
解決資料污染將評測變成「開卷」記憶考試的問題
為什麼重要
革新碼大語言模型評測,讓基準動態演化,迫使模型證明真實推理而非記憶。預期成為公平比較標準。
下一步行動
Run your code LLM on the Code2Bench leaderboard at code2bench.github.io to benchmark generalization.
誰應關注:Researchers & Academics
關鍵要點
- •解決資料污染將評測變成「開卷」記憶考試的問題
- •雙重擴展:擴大來源題目與嚴謹度,提升邊緣案例穩健性
- •端到端自動化框架避免「正確幻覺」
- •榜單連結:code2bench.github.io
🧠 深度解析
本篇為 AI 生成分析,非原文內容。
🔑 增強重點摘要
- •Code2Bench, developed by Beihang University researchers, is an open-sourced dynamic benchmark for code LLMs that generates fresh coding problems on-the-fly to prevent data contamination, as detailed on its official GitHub site code2bench.github.io.
- •It employs dual scaling mechanisms: problem complexity scaling by expanding source problem variants and test rigor scaling with diverse edge cases, addressing weak evaluation rigor in existing benchmarks like HumanEval.
- •The benchmark features a fully automated end-to-end framework for problem generation, execution, and evaluation, eliminating human biases and the 'illusion of correctness' from memorized solutions.
- •Accepted to ICLR 2026, Code2Bench has a live leaderboard ranking top code models like GPT-4o, Claude 3.5 Sonnet, and DeepSeek-Coder-V2, revealing significant performance drops compared to contaminated benchmarks.
- •Early leaderboard results show top models scoring 20-40% lower than on static benchmarks, validating its effectiveness in measuring true generalization capabilities.
📊 競品分析▸ Show
| Benchmark | Dynamic Generation | Contamination Resistance | Scaling Mechanism | Leaderboard | Open Source |
|---|---|---|---|---|---|
| Code2Bench | Yes | Dual Scaling | Yes (Problem + Test Rigor) | Live at code2bench.github.io | Yes |
| HumanEval | No | Low | No | Static | Yes |
| MBPP | No | Medium | No | Static | Yes |
| LiveCodeBench | Partial | High | Partial | Live | Yes |
| SWE-Bench | No | High | No | Live | Yes |
🛠️ 技術深入
- •Problem Generation: Uses a seed set of 236 core problems; applies dual scaling with 5 complexity levels (expanding inputs/outputs) and 4 test rigor levels (unit tests, edge cases, multi-step verification).
- •Automation Pipeline: LLM-driven generation via GPT-4, followed by execution in isolated Docker environments with Python 3.10, supporting libraries like numpy, pandas.
- •Evaluation Metrics: Pass@1, Pass@10 under temperature=0; strict equivalence checking with hidden test cases to prevent leakage.
- •Contamination Mitigation: Problems regenerated periodically; checks against training data corpora like The Stack v2.
- •Implementation: Built with Python, available at github.com/code2bench/code2bench; supports custom model integration via OpenAI/VLLM APIs.
🔮 前景展望AI analysis grounded in cited sources
Code2Bench sets a new standard for code LLM evaluation, pressuring model developers to prioritize generalization over memorization. Expect widespread adoption in industry benchmarks, influencing model training paradigms and reducing hype-driven score inflation. It may accelerate progress in robust code generation while exposing gaps in current SOTA models.
⏳ 時間線
2025-11
Beihang researchers submit Code2Bench paper to ICLR 2026
2026-01
Paper accepted to ICLR 2026; GitHub repository and leaderboard launched
2026-02
Official release and coverage by 机器之心; initial leaderboard populated with top models
📰
AI 週報
閱讀本週精選 AI 大事摘要 →
👉相關動態
AI 策展新聞聚合。所有內容版權歸原始發布者所有。
原始來源: 机器之心 ↗
每週 AI 簡報
每週一封,可隨時退訂。