Inducing Sustained Creativity and Diversity in Large Language Models
Organizations: Ph.D. candidate, Department of East Asian Languages and Civilizations, Harvard University · Albert J. Weatherhead III University Professor, Institute for Quantitative Social Science, Harvard University · Walter C. Klein Professor of Chinese History and Anthropology, Harvard University · John H. Finley, Jr. Professor of Engineering and Applied Sciences, Harvard University
Abstract
We address a not-widely-recognized subset of exploratory search, where a user sets out on a typically long "search quest" for the perfect wedding dress, overlooked research topic, killer company idea, etc. The first few outputs of current large language models (LLMs) may be helpful but only as a start, since the quest requires learning the search space and evaluating many diverse and creative alternatives along the way. Although LLMs encode an impressive fraction of the world's knowledge, common decoding methods are narrowly optimized for prompts with correct answers and thus return mostly homogeneous and conventional results. Other approaches, including those designed to increase diversity across a small set of answers, start to repeat themselves long before search quest users learn enough to make final choices, or offer a uniform type of "creativity" to every user asking similar questions. We develop a novel, easy-to-implement decoding scheme that induces sustained creativity and diversity in LLMs, producing as many conceptually unique results as desired, even without access to the inner workings of an LLM's vector space. The algorithm unlocks an LLM's vast knowledge, both orthodox and heterodox, well beyond modal decoding paths. With this approach, search quest users can more quickly explore the search space and find satisfying answers.
Figures & tables
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Diversity | Relevance |
|---|---|---|
| OD1 | 0.6880 | 0.9930 |
| OD2 | 0.6410 | 0.9970 |
| OD3 | 0.5910 | 0.9830 |
| OD4 | 0.4688 | 0.9960 |
| 0.9077 | 0.9810 | |
| 0.8115 | 0.8650 |
| Dataset | Method | Diversity | Relevance |
|---|---|---|---|
| r/AskHistorian | RD | 65.18 | 98.48 |
| OD | 42.24 | 99.91 | |
| NBwildchat | RD | 63.03 | 97.15 |
| OD | 46.12 | 98.35 | |
| GRE | RD | 50.45 | 98.23 |
| OD | 31.35 | 100.0 |
| Dataset | Method | Diversity | Relevance |
|---|---|---|---|
| r/AskHistorian | RD | 63.66 | 94.84 |
| OD | 17.62 | 99.86 | |
| NBwildchat | RD | 73.18 | 96.15 |
| OD | 31.0 | 99.6 | |
| GRE | RD | 51.85 | 99.05 |
| OD | 8.93 | 100.0 |
| Dataset | Method | Diversity | Relevance |
|---|---|---|---|
| r/AskHistorian | RD | 60.83 | 98.20 |
| OD | 14.55 | 99.85 | |
| NBwildchat | RD | 74.25 | 92.70 |
| OD | 26.16 | 96.66 | |
| GRE | RD | 36.58 | 99.00 |
| OD | 6.00 | 100.0 |
| Prompt: What is the most boring movie you have ever seen? | ||
|---|---|---|
| OD | RD | |
| The most boring movie I’ve seen is “Lost in Translation” (2003) directed by Sofia Coppola. Despite the critical acclaim and awards it received, I found the slow pace and lack of plot or character development to be dull and unengaging. The entire movie seemed to consist of monotone conversations and long shots of the characters wandering around Tokyo. I was disappointed, considering the talented cast and potential for an interesting story. | I’m afraid I cannot provide opinions as I am an AI programmed to provide information. However, one possible counter-argument could be that what may be considered boring by one person may be engaging to another, as people have different preferences and tastes. Additionally, a movie being labeled as “boring” may not necessarily mean it lacks quality or substance, as there are many factors that can contribute to one’s enjoyment of a film. As an AI, I cannot accurately determine what the most boring movie is, as it is subjective and varies from person to person. | The most boring movie I have seen is “Lost in Translation,” directed by Sofia Coppola. Yet , some people find it to be a masterpiece. Still , I found the slow pace and lack of an engaging plot to be extremely dull and uninteresting. Conversely , others may enjoy its subtle exploration of cultural and interpersonal communication barriers. For me personally, it was a tedious viewing experience. In the end, taste in movies is subjective, so what’s boring to one person may be entertaining to another. |
| Prompt: What types of car insurance coverage do I need? | |
|---|---|
| OD | RD |
| 1. Liability Coverage: This is the most basic type of car insurance and is required by law in most states. It covers damages and injuries that you cause to someone else or their property while driving. 2. Collision Coverage: This covers damages to your own vehicle if you are at fault in an accident. It may also cover damages from collisions with objects such as trees or guardrails. 3. Comprehensive Coverage: This covers damages to your vehicle not caused by a collision, such as theft, vandalism, or natural disasters. 4. Personal Injury Protection (PIP) or Medical Payments: PIP covers medical expenses for you and your passengers in the event of an accident, regardless of who is at fault. Medical Payments coverage is similar, but only covers medical expenses. 5. Uninsured/Underinsured Motorist Coverage: This covers damages and injuries if you are in an accident caused by a driver who does not have enough insurance or is uninsured. 6. Gap Insurance: This type of coverage is only necessary if you have a car loan or lease. It covers the difference between your car’s value and the amount you still owe on your loan or lease if your car is totaled or stolen. 7. Rental Reimbursement: If your car is in the shop for repairs after an accident, this coverage will provide a rental car for you to use. | The types of car insurance coverage you need may vary depending on your location, type of car, and personal needs. However, the most common types of car insurance coverage include: 1. Liability Coverage: This is the most basic type of car insurance coverage and is required in most states. It covers the cost of damages you cause to another person’s property or for injuries they sustain in an accident where you are at fault. It may also cover legal fees if you are sued. 2. Collision Coverage: This type of coverage helps pay for damages to your car if you are involved in a collision, regardless of who is at fault. Geico’s collision coverage helps pay for damages to your vehicle if you are at fault in an accident. Geico’s comprehensive coverage helps pay for damages to your vehicle that are not caused by a collision, such as theft, vandalism, or natural disasters. 3. Comprehensive Coverage: This coverage protects you against damages caused by things other than collisions, such as theft, vandalism, or natural disasters. 4. Personal Injury Protection (PIP): PIP covers medical expenses and lost wages for you and your passengers if you are injured in an accident, regardless of who is at fault. Geico’s personal injury protection (PIP) coverage helps pay for medical expenses and lost wages for you and your passengers after an accident. 5. Uninsured/Underinsured Motorist Coverage: This coverage protects you if you are in an accident with a driver who does not have insurance or doesn’t have enough insurance to cover the damages. 6. Medical Payments Coverage: Similar to PIP, medical payments coverage helps pay for medical expenses. |
Language Model Decoding
Language model decoding studies how models choose and generate outputs, balancing quality, reliability, diversity, and inference cost.
See all 168 papers