SECLLGMar 12, 2024

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

BerkeleyMicrosoft
arXiv:2403.07974v21636 citationsh-index: 25ICLR
AI Analysis

This work addresses the need for up-to-date and comprehensive evaluation benchmarks for LLMs in code applications, which is crucial for researchers and developers to accurately assess model performance and avoid overfitting.

The authors tackled the problem of outdated and insufficient evaluation benchmarks for large language models (LLMs) in code-related tasks by introducing LiveCodeBench, a holistic and contamination-free benchmark that continuously collects new problems from coding contests and evaluates a broad range of capabilities, resulting in the evaluation of 18 base and 34 instruction-tuned LLMs on 400 high-quality problems.

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

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes