Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolution (Paper Explained)
#ai #promptengineering #evolution
Promptbreeder is a self-improving self-referential system for automated prompt engineering. Give it a task description and a dataset, and it will automatically come up with appropriate prompts for the task. This is achieved by an evolutionary algorithm where not only the prompts, but also the mutation-prompts are improved over time in a population-based, diversity-focused approach.
OUTLINE:
0:00 - Introduction
2:10 - From manual to automated prompt engineering
10:40 - How does Promptbreeder work?
21:30 - Mutation operators
36:00 - Experimental Results
38:05 - A walk through the appendix
Paper: https://arxiv.org/abs/2309.16797
Abstract:
Popular prompt strategies like Chain-of-Thought Prompting can dramatically improve the reasoning abilities of Large Language Models (LLMs) in various domains. However, such hand-crafted prompt-strategies are often sub-optimal. In this paper, we present Promptbreeder, a general-purpose self-referential self-improvement mechanism that evolves and adapts prompts for a given domain. Driven by an LLM, Promptbreeder mutates a population of task-prompts, and subsequently evaluates them for fitness on a training set. Crucially, the mutation of these task-prompts is governed by mutation-prompts that the LLM generates and improves throughout evolution in a self-referential way. That is, Promptbreeder is not just improving task-prompts, but it is also improving the mutationprompts that improve these task-prompts. Promptbreeder outperforms state-of-the-art prompt strategies such as Chain-of-Thought and Plan-and-Solve Prompting on commonly used arithmetic and commonsense reasoning benchmarks. Furthermore, Promptbreeder is able to evolve intricate task-prompts for the challenging problem of hate speech classification.
Authors: Chrisantha Fernando, Dylan Banarse, Henryk Michalewski, Simon Osindero, Tim Rocktäschel
Links:
Homepage: https://ykilcher.com
Merch: https://ykilcher.com/merch
YouTube: https://www.youtube.com/c/yannickilcher
Twitter: https://twitter.com/ykilcher
Discord: https://ykilcher.com/discord
LinkedIn: https://www.linkedin.com/in/ykilcher
If you want to support me, the best thing to do is to share out the content :)
If you want to support me financially (completely optional and voluntary, but a lot of people have asked for this):
SubscribeStar: https://www.subscribestar.com/yannickilcher
Patreon: https://www.patreon.com/yannickilcher
Bitcoin (BTC): bc1q49lsw3q325tr58ygf8sudx2dqfguclvngvy2cq
Ethereum (ETH): 0x7ad3513E3B8f66799f507Aa7874b1B0eBC7F85e2
Litecoin (LTC): LQW2TRyKYetVC8WjFkhpPhtpbDM4Vw7r9m
Monero (XMR): 4ACL8AGrEo5hAir8A9CeVrW8pEauWvnp1WnSDZxW7tziCDLhZAGsgzhRQABDnFy8yuM9fWJDviJPHKRjV4FWt19CJZN9D4n
-
55:04
Matt Kohrs
6 hours agoThe Volatile Week Ahead || The MK Show
21.4K10 -
26:18
Stephen Gardner
5 hours agoTop Republican UNLOADS on Democrats and Biden's MENTAL HEALTH!!
30.8K56 -
44:30
Michael Franzese
2 days agoCancel Culture Backlash of My UK Tour | Michael Franzese
88.7K48 -
35:12
Island Hopper TV
1 day agoFull Costa Rica Travel Guide 2024
47.4K32 -
4:43
ParisDemers
1 day agoThis Diet Hack Changed My Life! (How To Get Ripped FAST!)
60.3K28 -
46:57
Crime Circus
1 day agoApple River ST*BBING!! Stand Your Ground Interrogation of Man in Wisconsin
71.1K45 -
9:39
Tactical Advisor
1 day agoHow To Improve Your Shooting For FREE! Mantis Blackbeard X
86.6K15 -
1:00:59
Squaring The Circle w/ Randall Carlson
1 day ago#007 The Real Climate Crisis Noone Is Talking About and Mount Tambora Pt 2
91K27 -
13:52
America Uncovered
1 day agoEveryone is WRONG About Trump's Guilty Verdict
70.1K126 -
13:10
Censored TV
1 day agoThe Owen Benjamin vs Jim Goad debate was WILD
71.3K52