Share from 0:00
0:00
/

"CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratings"

Generated below podcast on this paper with Google's Illuminate.

CodeElo introduces a standardized benchmark that evaluates LLM coding abilities by directly submitting solutions to CodeForces, achieving zero false positives and human-comparable ratings.

-----

https://arxiv.org/abs/2501.01257

πŸ€” Original Problem:

β†’ Existing code benchmarks can't effectively test LLMs' competition-level coding abilities due to hidden test cases, lack of special judge support, and misaligned execution environments.

-----

πŸ› οΈ Solution in this Paper:

β†’ CodeElo compiles recent CodeForces contest problems with detailed metadata like divisions, difficulty ratings, and algorithm tags.

β†’ Solutions are directly submitted to CodeForces platform for evaluation, ensuring zero false positives and full test case coverage.

β†’ Introduces a reliable Elo rating system comparable to human participants but with lower variance.

β†’ Supports special judges for problems without unique correct outputs.

-----

πŸ’‘ Key Insights:

β†’ Models perform better using C++ compared to Python for competition coding

β†’ Models excel at math and implementation problems but struggle with dynamic programming and trees

β†’ Most models default to Python (95% usage) while humans prefer C++ (80% usage)

-----

πŸ“Š Results:

β†’ OpenAI o1-mini achieved best performance with Elo rating of 1578, surpassing 90% of humans

β†’ QwQ-32B-Preview leads open-source models with 1261 rating (60th percentile)

β†’ Most models struggle with basic problems, falling in lowest 20th percentile

Discussion about this video

User's avatar

Ready for more?