[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-327694-105":59,"doc-detail-327694-en":131,"doc-similar-327694":163},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","effectiveness-of-llm-based-software-diversity-for-reliability-improvement-an-empirical-study","Effectiveness of LLM-based Software Diversity for Reliability Improvement - an Empirical Study","","Software diversity reduces the risk of common-mode failures, but classical studies show that reliability gains depend on how failures of diversely redundant components overlap. Traditional diversity is expensive because it requires multiple implementations plus validation, maintenance, and deployment. Large language models (LLMs) can generate many candidate implementations cheaply across models, decoding settings, and languages. The study extends empirical software-diversity experiments to LLM-generated code using common compilation and exhaustive tests.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/effectiveness-of-llm-based-software-diversity-for-reliability-improvement-an-empirical-study/327694/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/effectiveness-of-llm-based-software-diversity-for-reliability-improvement-an-empirical-study/327694.png","ImageObject",300,407,{"name":92,"@type":93},"Liam","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-22","2026-09-21",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",18,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What problem does the paper address about software diversity?","Question",{"text":113,"@type":114},"It investigates whether reliability gains from diverse redundancy hold when failures of different components overlap, limiting effectiveness.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How do LLMs change the cost and scale of producing software diversity?",{"text":118,"@type":114},"LLMs enable inexpensive code generation, producing many candidate implementations quickly across different models, decoding settings, and programming languages.",{"name":120,"@type":111,"acceptedAnswer":121},"What empirical approach is used to evaluate reliability improvement?",{"text":122,"@type":114},"The study compares historical human-written programs with large pools of LLM-generated ones under a common compilation, sandboxing, and exhaustive test suite, using 1-out-of-2 configurations including homogeneous and heterogeneous populations.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},327694,1790279161,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":41,"preview_page_count":19,"preview_urls":146},8796095461564,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Effectiveness of LLM-based Software Diversity for Reliability Improvement – an Empirical Study  \nGabriel Almeida∗ , Ilir Gashi†, Vladimir Stankovic†, Joo R. Campos∗  \n∗ University of Coimbra, CISUC/LASI  \nDepartment of Informatics Engineering Coimbra, Portugal [gabrielalmeida@student.dei.uc.pt](gabrielalmeida@student.dei.uc.pt), [jrcampos@dei.uc.pt](jrcampos@dei.uc.pt)  \n†Centre for Software Reliability  \nDepartment of Computer Science City St George’s, University of London London, United Kingdom [ilir.gashi.1@citystgeorges.ac.uk](ilir.gashi.1@citystgeorges.ac.uk), [vladimir.stankovic.1@citystgeorges.ac.uk](vladimir.stankovic.1@citystgeorges.ac.uk)  \narXiv :2607 .03 174v 1 [ cs . SE] 3 Jul 2026  \nAbstract—Software diversity has been extensively studied asa 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 advancesin 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-LLMpairings 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.  \nIndex Terms—Software Reliability, Diverse Redundancy, Empirical Evaluation  \nI. INTRODUCTION  \nSoftware diversity has long been studied as a means of reducing the risk of common-mode failures in software-based systems. The underlying idea is central to N-Version Programming (NVP): instead of relying on a single implementation, multiple independently developed programs of the same specification are combined in a fault-tolerant configuration, with the expectation that coincident failures will be sufficiently rare to improve overall dependability. This idea has been especially compelling in dependable and safety-critical systems, where the basic concepts of dependability emphasize reliability and  \nsafety in the presence of faults, and where redundancy is already a foundational architectural principle, from majorityvoted schemes such as triple modular redundancy to faulttolerant avionics and flight-control architectures that rely on replicated and, in some cases, diverse channels to preserve critical functionality under fault conditions [1]–[3] . In this context, NVP can be understood as the software-level counterpart of established fault-tolerant design practice, aiming to reduce the impact of residual faults through multiple independently developed implementations of the same specification [4]–[8] .  \nClassic work, however, showed that the effec","cbCaiaePuA9QqFHv","https://ap.wps.com/l/cbCaiaePuA9QqFHv","pdf",4861299,12,"English","# Abstract\n# I. INTRODUCTION","[{\"question\":\"What problem does the paper address about software diversity?\",\"answer\":\"It investigates whether reliability gains from diverse redundancy hold when failures of different components overlap, limiting effectiveness.\"},{\"question\":\"How do LLMs change the cost and scale of producing software diversity?\",\"answer\":\"LLMs enable inexpensive code generation, producing many candidate implementations quickly across different models, decoding settings, and programming languages.\"},{\"question\":\"What empirical approach is used to evaluate reliability improvement?\",\"answer\":\"The study compares historical human-written programs with large pools of LLM-generated ones under a common compilation, sandboxing, and exhaustive test suite, using 1-out-of-2 configurations including homogeneous and heterogeneous populations.\"}]","Effectiveness of LLM-based Software Diversity for Reliability Improvement - an Empirical Study | PDF",1789977840,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/086698234e24fde4643c1e6d6618a6f6.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d70ee3213fc4a5bfcd62f81cc5f80158.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/e6722f1ed59d5271a81cc76bb6603bda.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/11c1b9daf62dc3dc84dfcc6c3d71505c.webp",980,1268,{"list":164,"token":66},[165,172,178,185,192,199,206,212,218,224],{"doc_id":166,"doc_title":167,"file_type":138,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":40,"create_tm":171},117618,"Provably Reliable Machine Learning Systems - Dissertation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834566558/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112179&Signature=DOJifvpQVeJ%2BogEbmSO%2BfeGYU1w%3D","provably-reliable-machine-learning-systems-dissertation",21,1785677308,{"doc_id":173,"doc_title":174,"file_type":138,"home_preview_img_url":175,"slug":176,"view_count":31,"category_name":40,"create_tm":177},86548,"GPU Tile Sim A Tile-Centric GPU Simulation Framework for LLM Hardware-Software Co-Design","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809426534/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112179&Signature=qHUROYpXRR256cDD7Nan5lXQxCg%3D","gpu-tile-sim-a-tile-centric-gpu-simulation-framework-for-llm-hardware-software-co-design",1784212562,{"doc_id":179,"doc_title":180,"file_type":138,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":40,"create_tm":184},81742,"SWE-Router: Routing in Multi-turn Agentic Software Engineering Tasks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808476384/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112179&Signature=RTrbbMO2rzcv%2B7WtrDOBvtMAQKc%3D","swe-router-routing-in-multi-turn-agentic-software-engineering-tasks",42,1784175768,{"doc_id":186,"doc_title":187,"file_type":138,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":40,"create_tm":191},293699,"Multi-Personality Generation of LLMs at Decoding-time","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229904081921/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112179&Signature=j%2BgNswthnwmn0SkckvNCPwHUOvQ%3D","multi-personality-generation-of-llms-at-decoding-time",14,1789667715,{"doc_id":193,"doc_title":194,"file_type":138,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":40,"create_tm":198},84281,"Functional and Secure Code Generation with Task Vectors","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809158527/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112179&Signature=E0XWyjF3hBNIp79M72FsGqb2EyU%3D","functional-and-secure-code-generation-with-task-vectors",24,1784194565,{"doc_id":200,"doc_title":201,"file_type":138,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":40,"create_tm":205},84222,"TF-Engram: A Train-Free Engram with SSD-Backed Memory for Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809151816/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112179&Signature=HnnJeo4GVl5OyxsArIreBSV6NCc%3D","tf-engram-a-train-free-engram-with-ssd-backed-memory-for-large-language-models",31,1784194130,{"doc_id":207,"doc_title":208,"file_type":138,"home_preview_img_url":209,"slug":210,"view_count":197,"category_name":40,"create_tm":211},289683,"We’re Different, We’re the Same - Creative Homogeneity Across LLMs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903424843/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112179&Signature=sTlQxBVjvoJnsdja2vGSti7CiOM%3D","were-different-were-the-same-creative-homogeneity-across-llms",1789636312,{"doc_id":213,"doc_title":214,"file_type":138,"home_preview_img_url":215,"slug":216,"view_count":204,"category_name":40,"create_tm":217},82667,"WattGPU Predicting Inference Power and Latency on Unseen GPUs and LLMs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808776114/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112179&Signature=QA8j3uRbgw%2Bt7b%2BfijhfAf69H%2B0%3D","wattgpu-predicting-inference-power-and-latency-on-unseen-gpus-and-llms",1784182167,{"doc_id":219,"doc_title":220,"file_type":138,"home_preview_img_url":221,"slug":222,"view_count":44,"category_name":40,"create_tm":223},655626,"UML Class Diagram Evaluation and Repair Strategies based on LLMs - Preprint","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974775571/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112179&Signature=JirdiHpXMnHPpPWXJl17jJ648fU%3D","uml-class-diagram-evaluation-and-repair-strategies-based-on-llms-preprint",1792962909,{"doc_id":225,"doc_title":226,"file_type":138,"home_preview_img_url":227,"slug":228,"view_count":34,"category_name":40,"create_tm":229},516488,"4Hammer - board-game reinforcement learning environment - Abstract and overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229937487264/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112179&Signature=fvrv7GE2W3UI5pjbLD9Ck0wa3Rs%3D","4hammer-board-game-reinforcement-learning-environment-abstract-and-overview",1791331327]