EUVIMEDEUVIMED entdecken
Crossref

Language Model Crossover: Variation through Few-Shot Prompting

Elliot Meyerson, Mark J. Nelson, Herbie Bradley, Adam Gaier, Arash Moradi, Amy K. Hoover, Joel Lehman

ACM Transactions on Evolutionary Learning and Optimization · 31.12.2024 · 4 (4) · 1-40

DOI: 10.1145/3694791 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Evolutionary Learning and Optimization, online erschienen am 28.11.2024. Verfasst von Elliot Meyerson und 6 weiteren Autor:innen. Die Arbeit wurde bisher 77-mal zitiert (Crossref) und nennt 138 Literaturangaben. Gefördert von: National Science Foundation.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

This article pursues the insight that language models naturally enable an intelligent variation operator similar in spirit to evolutionary crossover. In particular, language models of sufficient scale demonstrate in-context learning, i.e., they can learn from associations between a small number of input patterns to generate outputs incorporating such associations (also called few-shot prompting). This ability can be leveraged to form a simple but powerful variation operator, i.e., to prompt a language model with a few text-based genotypes (such as code, plain-text sentences, or equations), and to parse its corresponding output as those genotypes’ offspring. The promise of such language model crossover (which is simple to implement and can leverage many different open source language models) is that it enables a simple mechanism to evolve semantically rich text representations (with few domain-specific tweaks), and naturally benefits from current progress in language models. Experiments in this article highlight the versatility of language-model crossover, through evolving binary bit-strings, sentences, equations, text-to-image prompts, and Python code. The conclusion is that language model crossover is a flexible and effective method for evolving genomes representable as text.

Förderung

  • National Science Foundation

Zitieren

APA

Meyerson, E., Nelson, M. J., Bradley, H., Gaier, A., Moradi, A., Hoover, A. K., & Lehman, J. (2024). Language Model Crossover: Variation through Few-Shot Prompting. ACM Transactions on Evolutionary Learning and Optimization, 4(4), 1-40. https://doi.org/10.1145/3694791

Vancouver

Meyerson E, Nelson MJ, Bradley H, Gaier A, Moradi A, Hoover AK, et al. Language Model Crossover: Variation through Few-Shot Prompting. ACM Transactions on Evolutionary Learning and Optimization. 2024;4(4):1-40. doi:10.1145/3694791

BibTeX
@article{Meyerson2024,
  author = {Meyerson, Elliot and Nelson, Mark J. and Bradley, Herbie and Gaier, Adam and Moradi, Arash and Hoover, Amy K. and Lehman, Joel},
  title = {Language Model Crossover: Variation through Few-Shot Prompting},
  journal = {ACM Transactions on Evolutionary Learning and Optimization},
  year = {2024},
  volume = {4},
  number = {4},
  pages = {1--40},
  doi = {10.1145/3694791}
}
Kostenlos starten →