mlsanityData to 7 Oct 2026

Effectiveness of LLM-based Software Diversity for Reliability Improvement -- an Empirical Study

arXiv 2607.03174 ↗First posted 3 Jul 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Software diversity has been extensively studied as a means of reducing the risk of common-mode failures. Classic work showed that the central issue is whether failures of diversely redundant components overlap in ways that limit the reliability gains. Traditional software diversity is costly to obtain, since it requires multiple implementations as well as the corresponding validation, maintenance, and deployment effort. Recent advances in Large Language Models (LLMs) may change this. LLMs enable inexpensive code generation: they produce many candidate implementations of the same specification quickly, across different models, decoding settings, and programming languages. This raises a natural question: can LLMs serve as practical generators of software diversity, and how much reliability improvement can that diversity actually provide? In this paper, we extend classical empirical studies of software diversity in human-written programs to LLM-generated code. We study three specifications using both historical human-written programs and large pools of LLM-generated ones evaluated under a common compilation, sandboxing, and exhaustive test suite. We explore LLM diversity along multiple axes, including model family, generation temperature, and programming language. Reliability improvement is evaluated in a 1-out-of-2 configuration across both homogeneous and heterogeneous program populations, including within-LLM pairings and pairings across programming languages and across LLM-generated and human-written programs. The results show that combining LLM-generated programs, especially in heterogeneous settings, can yield reliability gains, although this is partly conditioned by the programming language and generation setting. Taken together, these findings suggest that LLMs provide a scalable source of comparatively low-cost programs whose diversity can be leveraged for reliability improvement.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 30 references that are in the map. First posted on arXiv 3 Jul 2026.

Builds on

14 of 30 references.

References · 14

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2021Measuring Coding Challenge Competence With APPScited by 879
  4. 2023The Impact of AI on Developer Productivity: Evidence from GitHub Copilotcited by 264
  5. 2022Productivity Assessment of Neural Code Completioncited by 97
  6. 2023Towards an Understanding of Large Language Models in Software Engineering Taskscited by 67
  7. 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 59
  8. 2025Evaluating the Diversity and Quality of LLM Generated Contentcited by 51
  9. 2023No Need to Lift a Finger Anymore? Assessing the Quality of Code Generation by ChatGPTcited by 45
  10. 2024A Survey on Evaluating Large Language Models in Code Generation Taskscited by 43
  11. 2024Towards Understanding the Characteristics of Code Generation Errors Made by Large Language Modelscited by 28
  12. 2025How Diversely Can Language Models Solve Problems? Exploring the Algorithmic Diversity of Model-Generated Codecited by 9
2 more
  1. 2024Galapagos: Automated N-Version Programming with LLMscited by 5
  2. 2024Multi-Programming Language Ensemble for Code Generation in Large Language Modelcited by 3

Built on by

Not cited yet.