Related Experiment Video
Updated: May 31, 2025

12:31
In Vivo Modeling of the Morbid Human Genome using Danio rerio
Published on: August 24, 2013
20.6K
Large language model based mutations in genetic improvement
Alexander E I Brownlee1, James Callan2, Karine Even-Mendoza3
1University of Stirling, Scotland, UK.
Summary
Large language models (LLMs) show promise as mutation operators in search-based software engineering (SBSE) for genetic improvement (GI). LLMs generate fewer, but more effective, test-passing code edits compared to traditional methods.
Area of Science:
- Software Engineering
- Artificial Intelligence
Background:
- Large language models (LLMs) are increasingly used in software engineering.
- Combining LLMs with search-based software engineering (SBSE) for genetic improvement (GI) remains under-explored.
Purpose of the Study:
- To evaluate LLMs as mutation operators for GI in SBSE.
- To assess the effectiveness of LLM-generated code edits across different LLMs, prompts, and software projects.
Main Methods:
- Utilized three LLMs and three prompt types across five real-world software projects.
- Employed random sampling and local search for edit generation.
- Conducted a qualitative analysis of LLM-generated code edit failures.
Main Results:
- LLMs produced fewer unique edits than conventional statement GI edits.
- LLM-generated edits compiled and passed tests more frequently (OpenAI: 77%).
- OpenAI and Mistral LLMs showed similar performance in identifying runtime improvements; simpler prompts were more effective.
Conclusions:
- LLMs offer a viable alternative to traditional mutation operators in GI for SBSE.
- While LLMs generate fewer edits, they exhibit higher success rates in producing functional code.
- Common failure modes include formatting inconsistencies, invalid syntax, and refusal to generate solutions, necessitating further research into prompt engineering and model refinement.
More Related Videos
Related Concept Videos
Mutations
79.0K
Overview
79.0K
Mismatch Repair
4.8K
Organisms are capable of detecting and fixing nucleotide mismatches that occur during DNA replication. This sophisticated process requires identifying the new strand and replacing the erroneous bases with correct nucleotides. Mismatch repair is coordinated by many proteins in both prokaryotes and eukaryotes.
The Mutator Protein Family Plays a Key Role in DNA Mismatch Repair
The human genome has more than 3 billion base pairs of DNA per cell. Prior to cell division, that vast amount of genetic...
The Mutator Protein Family Plays a Key Role in DNA Mismatch Repair
The human genome has more than 3 billion base pairs of DNA per cell. Prior to cell division, that vast amount of genetic...
4.8K
Genetic Lingo
100.5K
Overview
100.5K
Mutation, Gene Flow, and Genetic Drift
57.9K
In a population that is not at Hardy-Weinberg equilibrium, the frequency of alleles changes over time. Therefore, any deviations from the five conditions of Hardy-Weinberg equilibrium can alter the genetic variation of a given population. Conditions that change the genetic variability of a population include mutations, natural selection, non-random mating, gene flow, and genetic drift (small population size).
57.9K
Incomplete Dominance
21.2K
Gregor Mendel's work (1822 - 1884) was primarily focused on pea plants. Through his initial experiments, he determined that every gene in a diploid cell has two variants called alleles inherited from each parent. He suggested that amongst these two alleles, one allele is dominant in character and the other recessive. The combination of alleles determines the phenotype of a gene in an organism.
21.2K
Pleiotropy
39.6K
Pleiotropy is the phenomenon in which a single gene impacts multiple, seemingly unrelated phenotypic traits. For example, defects in the SOX10 gene cause Waardenburg Syndrome Type 4, or WS4, which can cause defects in pigmentation, hearing impairments, and an absence of intestinal contractions necessary for elimination. This diversity of phenotypes results from the expression pattern of SOX10 in early embryonic and fetal development. SOX10 is found in neural crest cells that form melanocytes,...
39.6K

