ResearchResearch paperLarge Language Models1 source · Oct 13, 2026

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.

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)

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 13, 2026Tracing Morphology, Semantics, and Divergence in Language Acquisition
  2. Oct 13, 2026A Few More Tokens Ahead: Reinforcing Parallelism in Diffusion LLMs
  3. Oct 13, 2026FRACTION: Fraud Explanation Generation via Agentic Graph Context Navigation
  4. Oct 13, 2026SpecCloak: Probing Harmful Code Generation through Engineering Specifications
  5. Oct 13, 2026Towards Green AI: Evaluating Energy Efficiency for Quantized LLM Inference
  6. Oct 12, 2026JustOPD: On-Policy Distillation from Autoregressive to Diffusion Language Models

Related