Digital Red Queen: Adversarial Program Evolution in Core War with LLMs

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Kumar, Akarsh, Bahlous-Boldi, Ryan, Sharma, Prafull, Isola, Phillip, Risi, Sebastian, Tang, Yujin, Ha, David
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866918275021012992
author Kumar, Akarsh
Bahlous-Boldi, Ryan
Sharma, Prafull
Isola, Phillip
Risi, Sebastian
Tang, Yujin
Ha, David
author_facet Kumar, Akarsh
Bahlous-Boldi, Ryan
Sharma, Prafull
Isola, Phillip
Risi, Sebastian
Tang, Yujin
Ha, David
contents Large language models (LLMs) are increasingly being used to evolve solutions to problems in many domains, in a process inspired by biological evolution. However, unlike biological evolution, most LLM-evolution frameworks are formulated as static optimization problems, overlooking the open-ended adversarial dynamics that characterize real-world evolutionary processes. Here, we study Digital Red Queen (DRQ), a simple self-play algorithm that embraces these so-called "Red Queen" dynamics via continual adaptation to a changing objective. DRQ uses an LLM to evolve assembly-like programs, called warriors, which compete against each other for control of a virtual machine in the game of Core War, a Turing-complete environment studied in artificial life and connected to cybersecurity. In each round of DRQ, the model evolves a new warrior to defeat all previous ones, producing a sequence of adapted warriors. Over many rounds, we observe that warriors become increasingly general (relative to a set of held-out human warriors). Interestingly, warriors also become less behaviorally diverse across independent runs, indicating a convergence pressure toward a general-purpose behavioral strategy, much like convergent evolution in nature. This result highlights a potential value of shifting from static objectives to dynamic Red Queen objectives. Our work positions Core War as a rich, controllable sandbox for studying adversarial adaptation in artificial systems and for evaluating LLM-based evolution methods. More broadly, the simplicity and effectiveness of DRQ suggest that similarly minimal self-play approaches could prove useful in other more practical multi-agent adversarial domains, like real-world cybersecurity or combating drug resistance.
format Preprint
id arxiv_https___arxiv_org_abs_2601_03335
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Digital Red Queen: Adversarial Program Evolution in Core War with LLMs
Kumar, Akarsh
Bahlous-Boldi, Ryan
Sharma, Prafull
Isola, Phillip
Risi, Sebastian
Tang, Yujin
Ha, David
Artificial Intelligence
Neural and Evolutionary Computing
Large language models (LLMs) are increasingly being used to evolve solutions to problems in many domains, in a process inspired by biological evolution. However, unlike biological evolution, most LLM-evolution frameworks are formulated as static optimization problems, overlooking the open-ended adversarial dynamics that characterize real-world evolutionary processes. Here, we study Digital Red Queen (DRQ), a simple self-play algorithm that embraces these so-called "Red Queen" dynamics via continual adaptation to a changing objective. DRQ uses an LLM to evolve assembly-like programs, called warriors, which compete against each other for control of a virtual machine in the game of Core War, a Turing-complete environment studied in artificial life and connected to cybersecurity. In each round of DRQ, the model evolves a new warrior to defeat all previous ones, producing a sequence of adapted warriors. Over many rounds, we observe that warriors become increasingly general (relative to a set of held-out human warriors). Interestingly, warriors also become less behaviorally diverse across independent runs, indicating a convergence pressure toward a general-purpose behavioral strategy, much like convergent evolution in nature. This result highlights a potential value of shifting from static objectives to dynamic Red Queen objectives. Our work positions Core War as a rich, controllable sandbox for studying adversarial adaptation in artificial systems and for evaluating LLM-based evolution methods. More broadly, the simplicity and effectiveness of DRQ suggest that similarly minimal self-play approaches could prove useful in other more practical multi-agent adversarial domains, like real-world cybersecurity or combating drug resistance.
title Digital Red Queen: Adversarial Program Evolution in Core War with LLMs
topic Artificial Intelligence
Neural and Evolutionary Computing
url https://arxiv.org/abs/2601.03335