Novelty search is an evolutionary computation method that replaces the fitness function with a measure of behavioral novelty, so that individuals are selected for doing something new rather than for scoring closer to a predefined goal. Introduced in the late 2000s in work on neuroevolution, it showed that abandoning the objective can sometimes solve deceptive problems faster than objective-driven search.
The method rests on a counterintuitive observation in evolutionary computation: in deceptive fitness landscapes, the stepping stones toward a good solution often look worse by the objective’s own measure. By rewarding behavioral diversity, novelty search explores those stepping stones systematically instead of ignoring them.
How novelty search scores individuals
Novelty search scores each individual by how far its behavior lies from the behaviors already seen. The designer first defines a behavior characterization, a vector that describes what an individual does, such as the final position of a robot in a maze. The algorithm then computes the novelty score as the average distance between that vector and its nearest neighbors.
The neighbors come from two sources: the current population and a novelty archive of past behaviors. An individual enters the archive when its novelty exceeds a threshold or, in some variants, with a small random probability. Because the archive keeps growing, behaviors that were novel early become ordinary later, which pushes the search continually outward into unexplored regions of behavior space.
The table below lists the main parameters and how each one shapes the search.
| Parameter | Typical setting | Effect on search |
|---|---|---|
| Neighbor count k | About 10 to 20 | Larger k smooths scores, smaller k favors local gaps |
| Archive threshold | Adjusted dynamically | Controls how quickly the archive grows |
| Distance metric | Usually Euclidean | Defines what counts as different |
| Behavior descriptor | Domain-specific vector | Determines which differences matter |
| Archive size limit | Unbounded or capped | Trades memory and speed against coverage |
Why deception motivates novelty search
Novelty search exists because objective-based selection fails on deceptive problems, where following the gradient of the fitness function leads into dead ends. A classic illustration is a maze whose exit lies behind a wall: robots that move closest to the goal by straight-line distance become trapped against that wall, and the population suffers premature convergence on a local optimum.
Novelty search avoids this trap because it does not reward proximity to the goal at all. Robots that wander into corridors leading away from the exit are rewarded for being different, and some of those corridors eventually reach the exit. Reported experiments on such mazes and on simulated biped walking found that novelty search solved the task more often than a fitness-driven baseline, although results depend heavily on the domain.
The size of the behavior space is decisive. Novelty search works when the space of meaningful behaviors is relatively small or structured, so that exhaustive exploration eventually reaches good solutions. In vast, unconstrained behavior spaces, pure novelty can wander indefinitely without finding anything useful.
Novelty search compared with related methods
Novelty search belongs to the broader shift from optimizing one objective toward open-ended and diversity-driven search. It is closely related to diversity maintenance techniques such as niching, but differs in that diversity is the sole selection criterion, not a correction added to fitness.
| Approach | Selection signal | Main strength | Main weakness |
|---|---|---|---|
| Objective-based search | Fitness only | Efficient on smooth landscapes | Easily deceived |
| Niching and fitness sharing | Fitness adjusted for crowding | Keeps several optima alive | Still guided by the objective |
| Novelty search | Behavioral novelty only | Escapes deception | Ignores solution quality |
| Novelty with local competition | Novelty plus local fitness rank | Diverse and competent solutions | More tuning required |
| MAP-Elites | Best fitness per behavior cell | Explicit map of high performers | Needs a predefined grid |
The combination of novelty and local quality led directly to the field of quality diversity, in which the goal is a large collection of solutions that are both diverse and high-performing. In practice, many current systems use quality diversity algorithms rather than pure novelty search.
Designing behavior characterizations
The behavior characterization is the most important design choice in novelty search, because it defines which differences the algorithm treats as meaningful. A descriptor that is too coarse collapses distinct strategies into one point, while one that is too detailed makes almost every individual novel, which turns the method into random search.
| Domain | Behavior descriptor | Design risk |
|---|---|---|
| Maze navigation | Final x and y position | Ignores the path taken |
| Legged locomotion | Foot contact pattern over time | High dimensionality |
| Game playing | Distribution of actions or states visited | Sensitive to episode length |
| Image generation | Features from a pretrained network | Inherits the network’s biases |
| Program synthesis | Outputs on a set of test inputs | May reward trivial variations |
Practitioners often align the descriptor with the eventual goal without encoding the goal itself, for example recording where a robot ends up rather than how close it gets to one target. Some recent work learns descriptors automatically with autoencoders, which reduces manual effort but makes the notion of novelty harder to interpret.
Limitations and practical pitfalls
Novelty search has clear limits that restrict its use as a general optimizer. Its success depends on a well-chosen behavior space, its archive increases computational cost, and it provides no guarantee of improvement on the actual objective. Most practitioners therefore treat it as an exploration tool to combine with objective pressure.
- Unbounded behavior spaces let the search drift without producing useful results.
- Nearest-neighbor computation grows costly as the archive expands, often requiring capping or approximate methods.
- Noisy evaluations create false novelty when the same individual behaves differently across runs.
- Pure novelty ignores competence, so the final population may contain no usable solution unless the goal is checked separately.
- Descriptor bias silently excludes strategies that the designer did not anticipate.
A common remedy is minimal criterion novelty search, which rewards novelty only among individuals that meet a basic viability requirement, such as not falling over. Hybrid schemes that blend novelty and fitness scores are also widely used in evolution strategies and reinforcement learning.
In everyday language
Most search methods ask one question: is this answer better than the last one? Novelty search asks a different question: is this answer different from everything tried before?
Imagine looking for the exit of a dark building. Walking toward where you think the exit is can leave you stuck at a wall. A better plan is to explore every new corridor you have not visited. Sooner or later, one corridor leads outside. Novelty search does the same thing with computer solutions. It keeps trying new behaviors, and the good answer often appears along the way.
Seen in the real world
A robotics research group wants a six-legged robot to keep walking after losing a leg. Training one gait for maximum speed produces a single fragile solution. Instead, the team runs a novelty-driven search with a quality criterion in simulation, describing each gait by how often each leg touches the ground.
Over about 20,000 simulated evaluations, the search fills a collection of thousands of distinct gaits, from fast trots to slow crawls. When a leg is damaged on the physical robot, an onboard routine tests a few promising gaits from the collection and selects one that works within minutes. The result is a robot that adapts to damage without retraining from scratch, an outcome that a single objective-driven run would have been unlikely to provide.