[Paper Review] On Classes of Functions for which No Free Lunch Results Hold
This paper demonstrates that No Free Lunch (NFL) theorems—asserting equivalent average performance across all algorithms—only hold for function classes closed under permutation of the search space. The authors prove that such classes are extremely rare, with their fraction vanishing exponentially with search space size, and argue that practically relevant problems are unlikely to be closed under permutation, implying NFL does not apply to real-world optimization.
In a recent paper it was shown that No Free Lunch results hold for any subset F of the set of all possible functions from a finite set X to a finite set Y iff F is closed under permutation of X. In this article, we prove that the number of those subsets can be neglected compared to the overall number of possible subsets. Further, we present some arguments why problem classes relevant in practice are not likely to be closed under permutation.
Motivation & Objective
- To determine under what conditions No Free Lunch (NFL) theorems hold for subsets of objective functions.
- To quantify the fraction of function subsets closed under permutation (c.u.p.), which is necessary and sufficient for NFL to hold.
- To argue that real-world optimization problems are unlikely to be closed under permutation, implying NFL does not constrain practical algorithm performance.
- To provide theoretical justification that NFL results are irrelevant for most practical function classes.
Proposed method
- Define a function class F as closed under permutation (c.u.p.) if permuting the input space X maps any function f in F to another function f∘π still in F.
- Use histogram-based classification of functions: functions with the same frequency distribution of output values form basis classes.
- Prove that the number of c.u.p. subsets equals the number of non-empty unions of these basis classes, which is 2^(binomial(|X|+|Y|-1, |X|)) - 1.
- Calculate the fraction of c.u.p. subsets relative to all possible non-empty subsets of F = Y^X, showing it decays exponentially with |X| and |Y|.
- Argue that real-world problems often involve structured search spaces and constraints (e.g., local minima, OBDD complexity), which break permutation closure.
- Use the orbit structure of functions under permutation to show that c.u.p. subsets must be unions of full basis classes, not partial ones.
Experimental results
Research questions
- RQ1For which classes of objective functions do No Free Lunch theorems hold?
- RQ2What fraction of all possible function subsets are closed under permutation (c.u.p.)?
- RQ3Are real-world optimization problems typically closed under permutation of the search space?
- RQ4Can structured constraints in practical problems prevent NFL results from applying?
- RQ5How does the size of the search space and codomain affect the prevalence of c.u.p. function classes?
Key findings
- The number of non-empty subsets of functions closed under permutation is 2^(binomial(|X|+|Y|-1, |X|)) - 1.
- The fraction of c.u.p. subsets among all non-empty subsets of F = Y^X is exponentially small, e.g., less than 10^(-170) for |X|=3, |Y|=2.
- As |X| or |Y| increases, the fraction of c.u.p. subsets decreases rapidly toward zero.
- Real-world problems involving structured search spaces and constraints (e.g., bounded local minima, limited OBDD complexity) are unlikely to be closed under permutation.
- Since NFL theorems only hold for c.u.p. classes, and such classes are negligible in number and rare in practice, NFL does not constrain algorithm performance in real-world settings.
- The result implies that algorithm selection can be meaningful in practice, as performance differences are not averaged out across all functions.
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.