DivAlgo: A systematic evaluation of algorithmic diversity for code generation models
We propose the DivAlgo benchmark, a large-scale dataset constituting algorithmically diverse solutions to programming problems.
ProofPaper ↗
Key points
- Code generation models are actively being used in professional and educational settings.
- However, the competence of large language models (LLMs) to generate algorithmically diverse code remains largely unknown.
- We also introduce a lightweight similarity metric to enable large-scale evaluation.
- Our experiments across 24 modern code generation models found that uncontrolled model-generated code is significantly less diverse than human solutions (capturing 31% of human diversity), and even the best diverse code generation strategy could achieve only 70% of human diversity.
Sources (1)
- [1]DivAlgo: A systematic evaluation of algorithmic diversity for code generation modelsarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 13, 08:24 PM
We propose the DivAlgo benchmark, a large-scale dataset constituting algorithmically diverse solutions to programming problems.
Code generation models are actively being used in professional and educational settings.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 13, 2026Tracing Morphology, Semantics, and Divergence in Language Acquisition
- Oct 13, 2026A Few More Tokens Ahead: Reinforcing Parallelism in Diffusion LLMs
- Oct 13, 2026FRACTION: Fraud Explanation Generation via Agentic Graph Context Navigation
- Oct 13, 2026SpecCloak: Probing Harmful Code Generation through Engineering Specifications
- Oct 13, 2026Towards Green AI: Evaluating Energy Efficiency for Quantized LLM Inference
- Oct 12, 2026JustOPD: On-Policy Distillation from Autoregressive to Diffusion Language Models