LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code

By Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, Ion Stoica. 2024

1,848 citations recorded by the source corpus.

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

Subfields: Information Systems, Software, Large Language Models, Evaluation & Benchmarks, Code Generation & Program Synthesis

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Information Systems

  1. Yinlin Deng
  2. Chun Xia
  3. Lingming Zhang
  4. Ling-Ming Zhang
  5. Soren Dunn
  6. Joseph E. Gonzalez
  7. Maosong Sun
  8. Ben Feuer

In Software

  1. Yinlin Deng
  2. Chun Xia
  3. Lingming Zhang
  4. Ling-Ming Zhang
  5. Soren Dunn
  6. Naman Jain
  7. Yann LeCun
  8. Jingren Zhou

In Large Language Models

  1. Maosong Sun
  2. Ion Stoica
  3. Zhengxiao Du
  4. Naman Jain
  5. Lingming Zhang
  6. Chun Xia
  7. Junyang Lin
  8. Damai Dai

In Evaluation & Benchmarks

  1. Niklas Muennighoff
  2. Maosong Sun
  3. W. Tam
  4. Ravid Shwartz-Ziv
  5. Fei Huang
  6. Zhihong Shao
  7. Yuan Yao
  8. Chun Xia

In Code Generation & Program Synthesis

  1. Chun Xia
  2. Zhilin Yang
  3. Lingming Zhang
  4. Daya Guo
  5. Joseph E. Gonzalez

Citations in the corpus