TL;DR
CreativeBench introduces a rigorous, cognitive-science-grounded framework to evaluate machine creativity in code generation across two dimensions: combinatorial and exploratory. The authors also present EvoRePE, a lightweight, inference-time steering method that internalizes evolutionary search patterns to boost LLM creativity without massive computational overhead.
What Problem Does This Paper Address?
As high-quality web data for pre-training hits a saturation point, AI research is shifting toward self-evolving systems (like AlphaEvolve) that can continuously generate novel, complex artifacts. However, measuring whether a system is genuinely "creative" remains a massive challenge.
Current evaluation methods suffer from three major flaws: they struggle to objectively separate true creativity from mere model hallucination, they lack the task complexity required to prevent models from relying on rote memorization, and they lack automated, quantitatively grounded metrics. This paper aims to bridge these gaps by providing a formal framework and benchmark to measure and enhance machine creativity objectively through executable code.
Methods
Grounded in Margaret Boden’s classic cognitive framework, the paper divides machine creativity into two distinct types:
- Combinatorial Creativity: Combining familiar concepts from different domains in unfamiliar ways.
- Exploratory Creativity: Navigating a structured conceptual space by satisfying multiple hard, negative constraints.
To quantify this, the authors define a unified Creativity Score as the product of Quality and Novelty: $$\text{Creativity} = \text{Quality} \times \text{Novelty}$$
- Quality is measured objectively via functional correctness ($\text{Pass@1}$) in a sandboxed execution environment.
- Novelty is computed by measuring the structural distance (using
CodeXEmbedembeddings) and lexical distance (via character-level 4-grams) between the generated solution and standard baseline solutions.
To enhance creativity without the massive computational cost of running evolutionary algorithms at runtime, the authors introduce EvoRePE (Evolutionary Representation Engineering). EvoRePE applies Principal Component Analysis (PCA) to the internal activation shifts between standard prompts and evolutionarily optimized prompts. This extracts a compact "creativity vector" that can be injected directly into the model's latent space during inference to steer it toward more creative solutions.
Datasets
The authors introduce CreativeBench, a high-difficulty benchmark consisting of 1,859 problems spanning 14 programming domains, automatically generated using a pipeline powered by GPT-4.1 and seeded from AutoCodeBench. It features two primary subsets:
- CreativeBench-Combo (1,308 problems): Created via solution fusion, where the pipeline forces the model to organically merge code components from distinct domains into a single unified task.
- CreativeBench-Explore (551 problems): Created via self-play constraint stacking, where a constraint generator iteratively blocks the solver's previous algorithmic choices (e.g., forbidding
sort()orloops), forcing it to find alternative paths.
Key Insights and Ideas
- Convergence-by-Scaling: As models scale up in size, they become more functionally correct but less divergent. Larger models effectively compress high-frequency training patterns, concentrating their generations toward standard, high-probability modes rather than novel variations.
- Scaling Asymmetry: Scaling significantly boosts combinatorial creativity (as larger models store a richer budget of diverse domain patterns to recombine), but it yields diminishing returns for exploratory creativity, which requires escaping data-induced attractors.
- Reasoning Helps Exploration, Not Combination: Activating a model's reasoning or "thinking" mode (like in Qwen3-Instruct or Llama3.1) dramatically improves exploratory creativity by helping the model navigate complex constraints. However, it provides virtually no benefit for combinatorial tasks, which rely more heavily on knowledge retrieval and composition.
Key Results
- High Benchmark Difficulty: CreativeBench proves highly challenging for state-of-the-art models. Even the strongest model tested, Gemini-3-Pro, achieved $\text{Pass@1}$ rates below 60% on both subsets.
- EvoRePE Performance: EvoRePE successfully internalizes evolutionary trajectories. Adding EvoRePE to Qwen2.5-7B-Instruct on the Combo dataset boosted its overall creativity score from 0.174 to 0.192 when paired with AlphaEvolve, and provided consistent gains even on vanilla zero-shot prompts.
- Human Alignment: Manual verification by human experts confirmed an 89.1% instance validity rate for the dataset and demonstrated a strong correlation (Spearman’s $\rho = 0.78$) between automated creativity rankings and human expert judgments.
Limitations and Future Work
Currently, CreativeBench is limited exclusively to Python code generation. While code allows for strict, sandbox-validated quality metrics, it leaves out other creative modalities. Additionally, because the benchmark is automatically generated by an LLM pipeline, it may inherit subtle generator biases.
The authors suggest that future work should extend this framework to non-executable creative domains—such as storytelling, music composition, visual design, and scientific discovery—by developing domain-specific proxy metrics for quality and structural divergence.
Summary updated