Introduction
Modern AI optimization often faces a fundamental trade-off between performance and variety. Standard Reinforcement Learning from Human Feedback (RLHF), while effective for aligning models with average human preferences, frequently suffers from "mode collapse." In this state, a model identifies a single high-reward solution and repeats it, sacrificing the creativity and exploration necessary for complex tasks.
Conversely, Quality Diversity (QD) algorithms are designed to discover a broad archive of high-performing, diverse solutions. However, traditional QD requires engineers to manually define "diversity metrics"—mathematical descriptors of how solutions differ. In open-ended domains like generative art or robotics, these metrics are notoriously difficult to hand-craft. This paper introduces Quality Diversity through Human Feedback (QDHF), a framework that bridges this gap by learning diversity metrics directly from human intuition.
The QDHF Framework
QDHF operates as a closed-loop system that iteratively refines its understanding of diversity as it explores the solution space. The methodology consists of three primary components:
- Diversity Characterization: Complex data (such as robot trajectories or images) are projected into a compact latent space using a feature extractor.
- Aligning with Intuition via Contrastive Learning: To ensure the latent space reflects human-perceived similarity, the system employs contrastive learning. An evaluator is presented with triplets of solutions and asked to judge which pair is more similar. A triplet loss function then adjusts the latent representations so that semantically similar items are clustered together while distinct items are pushed apart.
- Progressive Optimization: Unlike static metric learning, QDHF uses a progressive training strategy. As the QD algorithm discovers novel, higher-quality solutions, the diversity metric is continuously fine-tuned, ensuring the definition of "difference" evolves alongside the search.
Experimental Evaluation
The researchers evaluated QDHF across robotics, reinforcement learning, and generative modeling. In robotics tasks involving a 10-degree-of-freedom arm, QDHF significantly outperformed unsupervised discovery methods like AURORA. Specifically, QDHF achieved a QD score of 72.5, nearly matching the "Oracle" performance (74.8) which utilized hand-coded ground-truth metrics, whereas unsupervised baselines hovered between 38 and 53.
In the realm of generative modeling, QDHF was applied to text-to-image generation using Stable Diffusion v2.1. In a blind user study, images generated via QDHF were preferred 58.4% of the time over standard outputs. Crucially, users perceived the QDHF results as significantly more diverse (66.7% vs. 24.8% for the baseline).
Key Insights and Discussion
A central finding of the study is that diversity is subjective. Mathematical variance (captured by methods like PCA) often fails to align with what humans find "interestingly different." By utilizing an information bottleneck—forcing representations into a low-dimensional space—QDHF discards noise and retains essential semantic features.
Furthermore, the framework helps mitigate "attribute leakage" in compositional prompts. By pushing for diversity, the model explores various ways to arrange objects, eventually discovering the correct configurations that a standard greedy search might overlook.
While QDHF currently requires substantial feedback, future work aims to replace human evaluators with sophisticated AI preference models and implement "strategic feedback" to identify the most informative triplets, further increasing the efficiency of the learning process.
Summary updated