LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
<|reference_start|>LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code: Large Language Models (LLMs) applied to code-related applications have emerged as a prominent field, attracting significant interest from both academia and industry. However, as new and improved LLMs are developed, existing evaluation benchmarks (e.g., HumanEval, MBPP) are no longer sufficient for assessing their capabilities. In this work, we propose LiveCodeBench, a comprehensive and contamination-free evaluation of LLMs for code, which continuously collects new problems over time from contests across three competition platforms, namely LeetCode, AtCoder, and CodeForces. Notably, our benchmark also focuses on a broader range of code related capabilities, such as self-repair, code execution, and test output prediction, beyond just code generation. Currently, LiveCodeBench hosts four hundred high-quality coding problems that were published between May 2023 and May 2024. We have evaluated 18 base LLMs and 34 instruction-tuned LLMs on LiveCodeBench. We present empirical findings on contamination, holistic performance comparisons, potential overfitting in existing benchmarks as well as individual model comparisons. We will release all prompts and model completions for further community analysis, along with a general toolkit for adding new scenarios and model<|reference_end|>
@article{jain2024livecodebench:,
    title={LiveCodeBench: Holistic and Contamination Free Evaluation of Large
  Language Models for Code},
    author={Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang,
  Sida Wang, Armando Solar-Lezama, Koushik Sen, Ion Stoica},
    journal={arXiv preprint arXiv:2403.07974},
    year={2024},
    archivePrefix={arXiv},
    eprint={2403.07974},
    primaryClass={cs.SE cs.CL cs.LG}
}