Sign inGet started
Paper · arXiv

DivAlgo: A systematic evaluation of algorithmic diversity for code generation models

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 propose the DivAlgo benchmark, a large-scale dataset constituting algorithmically diverse solutions to programming problems. 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 d...

AuthorsAnubhav Jangra, Smaranda Muresan
Primary categorycs.SE
Published13 October 2026
Last updated at source13 October 2026
cs.SEcs.CL
Embed this entry
<iframe src="https://silytics.si/embed/item/11a3f34e-f0b3-4d95-a9e1-ddccc664cb3a" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 15 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.