[Paper Review] Quality-Diversity through AI Feedback
This paper introduces Quality-Diversity through AI Feedback (QDAIF), an evolutionary algorithm that uses large language models (LLMs) to autonomously generate and evaluate diverse, high-quality creative texts—such as stories, poems, and opinion pieces—without hand-designed metrics. By leveraging LLMs to provide AI feedback on quality and diversity, QDAIF significantly outperforms non-QD baselines in covering the design space with high-quality, varied outputs, validated by human evaluation showing strong alignment with human judgments.
In many text-generation problems, users may prefer not only a single response, but a diverse range of high-quality outputs from which to choose. Quality-diversity (QD) search algorithms aim at such outcomes, by continually improving and diversifying a population of candidates. However, the applicability of QD to qualitative domains, like creative writing, has been limited by the difficulty of algorithmically specifying measures of quality and diversity. Interestingly, recent developments in language models (LMs) have enabled guiding search through AI feedback, wherein LMs are prompted in natural language to evaluate qualitative aspects of text. Leveraging this development, we introduce Quality-Diversity through AI Feedback (QDAIF), wherein an evolutionary algorithm applies LMs to both generate variation and evaluate the quality and diversity of candidate text. When assessed on creative writing domains, QDAIF covers more of a specified search space with high-quality samples than do non-QD controls. Further, human evaluation of QDAIF-generated creative texts validates reasonable agreement between AI and human evaluation. Our results thus highlight the potential of AI feedback to guide open-ended search for creative and original solutions, providing a recipe that seemingly generalizes to many domains and modalities. In this way, QDAIF is a step towards AI systems that can independently search, diversify, evaluate, and improve, which are among the core skills underlying human society's capacity for innovation.
Motivation & Objective
- To address the challenge of generating diverse, high-quality creative text outputs in qualitative domains where algorithmic specification of quality and diversity is difficult.
- To explore whether large language models (LLMs) can serve as autonomous evaluators for both quality and diversity in open-ended text generation.
- To develop a method that enables AI-driven, self-directed search and innovation in creative domains without reliance on human-labeled metrics.
- To validate that AI-generated feedback aligns with human evaluation in assessing creative text quality and diversity.
- To demonstrate that QDAIF can generalize across multiple creative writing modalities, including stories, poetry, and opinion writing.
Proposed method
- QDAIF combines evolutionary algorithms with LLMs to iteratively generate and evaluate text candidates based on quality and diversity.
- It uses LLMs to provide natural language feedback on both the quality (e.g., coherence, engagement) and diversity (e.g., genre, tone, character types) of generated texts.
- The method maintains a population of text candidates in a quality-diversity archive, where each is scored using LLM-based evaluations across multiple dimensions.
- Variation is introduced through prompt engineering and LLM-based text generation, with new candidates evolved via mutation and selection based on LLM feedback.
- The algorithm uses a novelty search mechanism guided by LLM-annotated diversity scores to explore underrepresented regions of the design space.
- It avoids model fine-tuning by relying solely on zero-shot or few-shot prompting of LLMs for evaluation, enabling broad applicability.
Experimental results
Research questions
- RQ1Can LLMs effectively evaluate subjective aspects of text quality and diversity in creative writing without fine-tuning?
- RQ2Does QDAIF generate a more diverse and higher-quality set of creative texts compared to quality-only or non-QD baselines?
- RQ3How well does AI-generated feedback align with human judgments of quality and diversity in creative text outputs?
- RQ4Can QDAIF discover novel, high-quality creative outputs across multiple genres and modalities without explicit human-designed metrics?
- RQ5To what extent can LLMs autonomously guide evolutionary search in open-ended, qualitative domains?
Key findings
- QDAIF significantly outperforms the LMX-Near baseline in covering the design space with high-quality, diverse creative outputs, particularly in generating stories with varied genres and character arcs.
- In the stories domain, QDAIF generated a story about a spy and a politician with a happy ending (fitness 0.995, diversity 0.986), while the baseline produced a lower-quality story missing key narrative elements.
- Human evaluation showed strong agreement between AI feedback and human judgments, with correlation indicating that AI feedback is grounded and reliable for guiding search.
- QDAIF discovered a broader range of narrative styles and themes—such as romance, horror, and political intrigue—compared to quality-only baselines that converged on a narrow set of outputs.
- The method achieved high diversity scores (e.g., 0.996 in poetry) and fitness scores (e.g., 0.995 in stories), demonstrating effective exploration of the design space.
- In zero-shot and seeded initialization settings, QDAIF maintained high-quality outputs even when initial prompts were limited, showing robustness to initialization variance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.