← The collection

No Free Lunch Theorem.

Search hidden binary objectives, then change the family from unrestricted to ordered.

Interactive experimentintuitiveField note ·
INTERACTIVE EXPERIMENT / M34

No Free Lunch Theorem

Search hidden binary objectives, then change the family from unrestricted to ordered.

PLAY & EXPLAIN

Four locations hide zeros and ones. Find the first 1, or exhaust all four. Each objective in the selected family is equally likely. The all-zero objective takes four probes and has no success.

Location 1?Location 2?Location 3?Location 4?
Probes used
0
Outcome
Unresolved
Objectives in family
16
Exact average probes across the entire selected family
Left to rightRight to left
1.8751.875

Equal averages require this uniform unrestricted family and these non-repeating searches. Restricting the family introduces useful structure; this is not a claim that all practical algorithms perform equally.

The equal-average claim depends on uniform weighting of the unrestricted finite objective family; it does not rank real learning or optimisation systems.

THE SHORT VERSION

No Free Lunch Theorem, explained.

No free lunch results show equal average search performance under specific uniform distributions over unrestricted objective functions; useful advantages depend on structure or assumptions.

01 / THE MECHANISM

Why it happens

Two non-repeating search orders inspect four binary locations until finding one or exhausting all four. Across all sixteen equally weighted objectives, mean probes are equal. Restricting to five nondecreasing objectives favours right-to-left search.

No free lunch results show equal average search performance under specific uniform distributions over unrestricted objective functions; useful advantages depend on structure or assumptions.

Read the result

The exact family averages matter more than one hidden objective. Uniformly averaging a different family changes the information available to exploit.

02 / FOLLOW IT THROUGH

A worked example

Add structure to a four-location search

  1. Probe an objective from the sixteen equally likely binary functions using one non-repeating order.

  2. Compare the exact mean probe cost of one point eight seven five for both orders over that unrestricted family.

  3. Restrict to nondecreasing objectives and compare left-to-right average two point eight with right-to-left one point six.

OPTIONAL DEEPER DETAILGo deeper: inside the model

Inside this model

Two non-repeating search orders inspect four binary locations until finding one or exhausting all four. Across all sixteen equally weighted objectives, mean probes are equal. Restricting to five nondecreasing objectives favours right-to-left search.

03 / BEYOND THE EXPERIMENT

Where this idea is useful

A practical use

Match an algorithm to the structure of a workload instead of looking for a universal winner across unspecified tasks.

CHECK YOUR INTUITION

A common misconception

THE TEMPTING CONCLUSION

“No free lunch says algorithm design cannot improve anything.”

THE MORE USEFUL DISTINCTION

The result identifies assumptions under which advantages cancel. Practical tasks are structured, so choosing suitable assumptions can make design valuable.

What this explanation leaves out

  • The equal-average claim depends on uniform weighting of the unrestricted finite objective family; it does not rank real learning or optimisation systems.
ONE MORE QUESTION

Why count four probes when no location contains one?

Exhausting the domain certifies failure and costs four queries. Counting only successful objectives would change the stated comparison.

TAKE THE IDEA WITH YOU

What structure makes your chosen algorithm preferable on the tasks that actually occur?

Associated thinkers

Associated withDavid Wolpert ↗

Associations marked provisional are awaiting source review.

Further reading

Explore the original research or the teaching reference behind this experiment.