Galapagos: Automated N-Version Programming with LLMs
Not on the map. Why?
Abstract (arXiv)
N-Version Programming is a well-known methodology for developing fault-tolerant systems. It achieves fault detection and correction at runtime by adding diverse redundancy into programs, minimizing fault mode overlap between redundant program variants. In this work, we propose the automated generation of program variants using large language models. We design, develop and evaluate Gal'apagos: a tool for generating program variants using LLMs, validating their correctness and equivalence, and using them to assemble N-Version binaries. We evaluate Gal'apagos by creating N-Version components of real-world C code. Our original results show that Gal'apagos can produce program variants that are proven to be functionally equivalent, even when the variants are written in a different programming language. Our systematic diversity measurement indicates that functionally equivalent variants produced by Gal'apagos, are statically different after compilation, and present diverging internal behavior at runtime. We demonstrate that the variants produced by Gal'apagos can protect C code against real miscompilation bugs which affect the Clang compiler. Overall, our paper shows that producing N-Version software can be drastically automated by advanced usage of practical formal verification and generative language models.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 18 Aug 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmapcited by 40
- 2025Generative AI for Autonomous Driving: Frontiers and Opportunitiescited by 7
- 2026N-Version Programming with Coding Agentscited by 2
- 2026Bootstrapping Coding Agents: The Specification Is the Programcited by 1
- 2026Effectiveness of LLM-based Software Diversity for Reliability Improvement -- an Empirical Studycited by 0
- 2026Effectiveness of LLM-based Software Diversity for Reliability Improvement -- an Empirical Study3 Jul 2026
- 2026N-Version Programming with Coding Agents18 Jun 2026
- 2026Bootstrapping Coding Agents: The Specification Is the Program18 Mar 2026
- 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmap7 Sep 2025
- 2025Generative AI for Autonomous Driving: Frontiers and Opportunities13 May 2025