analiza aiqbench
This paper introduces a benchmark and lightweight similarity metric for measuring algorithmic diversity in LLM-generated code. Its headline result is that uncontrolled model output captures only about 31% of human solution diversity, and even the best diversity-steering strategy reaches about 70%. For AI readers, the practical concern is that homogenized code from models could narrow programmers' problem-solving approaches over time, so evaluation beyond functional correctness matters. The metric's validity and the benchmark's coverage across languages and problem types will determine how far these numbers generalize.
DivAlgo: A systematic evaluation of algorithmic diversity for code generation models
arXiv:2610.19157v1 Announce Type: cross Abstract: 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 diversity. Moreover, while it was possible to steer the models to generate solutions based on human strategies, they were unable to reproduce the diversity of the human solutions. These findings indicate the limitations of code generation models in capturing the algorithmic diversity humans exhibit, and that overexposure to model-generated code can narrow programmers' algorithmic vocabulary.
Abstract: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 diversity. Moreover, while it was possible to steer the models to generate solutions based on human strategies, they were unable to reproduce the diversity of the human solutions. These findings indicate the limitations of code generation models in capturing the algorithmic diversity humans exhibit, and that overexposure to model-generated code can narrow programmers' algorithmic vocabulary.
Software Engineering (cs.SE); Computation and Language (cs.CL)
arXiv:2610.19157 [cs.SE]
(or arXiv:2610.19157v1 [cs.SE] for this version)
https://doi.org/10.48550/arXiv.2610.19157 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Text integral sub licența deschisă a publicației · 246 cuvinte
Subiecte conexe
Building and evaluating model diffing agents
AI Alignment Forum · 12 iun. 2026

Reflection’s Beam model hits 501 billion parameters
Quantum Zeitgeist · 5 oct. 2026

Promptimus: Improving already good LLM prompts with zero manual engineering
Amazon Science · 14 mai 2026

The University of Osaka Team Designs Autonomous Framework for Variational Quantum Circuit Design
Quantum Zeitgeist · 15 iun. 2026