Evolvability (computer science)

From HandWiki

The term evolvability is used for a recent framework of computational learning introduced by Leslie Valiant in his paper of the same name and described below. The aim of this theory is to model biological evolution and categorize which types of mechanisms are evolvable. Evolution is an extension of PAC learning and learning from statistical queries.

General framework

Let [math]\displaystyle{ F_n\, }[/math] and [math]\displaystyle{ R_n\, }[/math] be collections of functions on [math]\displaystyle{ n\, }[/math] variables. Given an ideal function [math]\displaystyle{ f \in F_n }[/math], the goal is to find by local search a representation [math]\displaystyle{ r \in R_n }[/math] that closely approximates [math]\displaystyle{ f\, }[/math]. This closeness is measured by the performance [math]\displaystyle{ \operatorname{Perf}(f,r) }[/math] of [math]\displaystyle{ r\, }[/math] with respect to [math]\displaystyle{ f\, }[/math].

As is the case in the biological world, there is a difference between genotype and phenotype. In general, there can be multiple representations (genotypes) that correspond to the same function (phenotype). That is, for some [math]\displaystyle{ r,r' \in R_n }[/math], with [math]\displaystyle{ r \neq r'\, }[/math], still [math]\displaystyle{ r(x) = r'(x)\, }[/math] for all [math]\displaystyle{ x \in X_n }[/math]. However, this need not be the case. The goal then, is to find a representation that closely matches the phenotype of the ideal function, and the spirit of the local search is to allow only small changes in the genotype. Let the neighborhood [math]\displaystyle{ N(r)\, }[/math] of a representation [math]\displaystyle{ r\, }[/math] be the set of possible mutations of [math]\displaystyle{ r\, }[/math].

For simplicity, consider Boolean functions on [math]\displaystyle{ X_n = \{-1,1\}^n\, }[/math], and let [math]\displaystyle{ D_n\, }[/math] be a probability distribution on [math]\displaystyle{ X_n\, }[/math]. Define the performance in terms of this. Specifically,

[math]\displaystyle{ \operatorname{Perf}(f,r) = \sum_{x \in X_n} f(x) r(x) D_n(x). }[/math]

Note that [math]\displaystyle{ \operatorname{Perf}(f,r) = \operatorname{Prob}(f(x)=r(x)) - \operatorname{Prob}(f(x) \neq r(x)). }[/math] In general, for non-Boolean functions, the performance will not correspond directly to the probability that the functions agree, although it will have some relationship.

Throughout an organism's life, it will only experience a limited number of environments, so its performance cannot be determined exactly. The empirical performance is defined by [math]\displaystyle{ \operatorname{Perf}_s(f,r) = \frac{1}{s} \sum_{x \in S} f(x)r(x), }[/math] where [math]\displaystyle{ S\, }[/math] is a multiset of [math]\displaystyle{ s\, }[/math] independent selections from [math]\displaystyle{ X_n\, }[/math] according to [math]\displaystyle{ D_n\, }[/math]. If [math]\displaystyle{ s\, }[/math] is large enough, evidently [math]\displaystyle{ \operatorname{Perf}_s(f,r) }[/math] will be close to the actual performance [math]\displaystyle{ \operatorname{Perf}(f,r) }[/math].

Given an ideal function [math]\displaystyle{ f \in F_n }[/math], initial representation [math]\displaystyle{ r \in R_n }[/math], sample size [math]\displaystyle{ s\, }[/math], and tolerance [math]\displaystyle{ t\, }[/math], the mutator [math]\displaystyle{ \operatorname{Mut}(f,r,s,t) }[/math] is a random variable defined as follows. Each [math]\displaystyle{ r' \in N(r) }[/math] is classified as beneficial, neutral, or deleterious, depending on its empirical performance. Specifically,

  • [math]\displaystyle{ r'\, }[/math] is a beneficial mutation if [math]\displaystyle{ \operatorname{Perf}_s(f,r') - \operatorname{Perf}_s(f,r) \geq t }[/math];
  • [math]\displaystyle{ r'\, }[/math] is a neutral mutation if [math]\displaystyle{ -t \lt \operatorname{Perf}_s(f,r') - \operatorname{Perf}_s(f,r) \lt t }[/math];
  • [math]\displaystyle{ r'\, }[/math] is a deleterious mutation if [math]\displaystyle{ \operatorname{Perf}_s(f,r') - \operatorname{Perf}_s(f,r) \leq -t }[/math].

If there are any beneficial mutations, then [math]\displaystyle{ \operatorname{Mut}(f,r,s,t) }[/math] is equal to one of these at random. If there are no beneficial mutations, then [math]\displaystyle{ \operatorname{Mut}(f,r,s,t) }[/math] is equal to a random neutral mutation. In light of the similarity to biology, [math]\displaystyle{ r\, }[/math] itself is required to be available as a mutation, so there will always be at least one neutral mutation.

The intention of this definition is that at each stage of evolution, all possible mutations of the current genome are tested in the environment. Out of the ones who thrive, or at least survive, one is chosen to be the candidate for the next stage. Given [math]\displaystyle{ r_0 \in R_n }[/math], we define the sequence [math]\displaystyle{ r_0,r_1,r_2,\ldots }[/math] by [math]\displaystyle{ r_{i+1} = \operatorname{Mut}(f,r_i,s,t) }[/math]. Thus [math]\displaystyle{ r_g\, }[/math] is a random variable representing what [math]\displaystyle{ r_0\, }[/math] has evolved to after [math]\displaystyle{ g\, }[/math] generations.

Let [math]\displaystyle{ F\, }[/math] be a class of functions, [math]\displaystyle{ R\, }[/math] be a class of representations, and [math]\displaystyle{ D\, }[/math] a class of distributions on [math]\displaystyle{ X\, }[/math]. We say that [math]\displaystyle{ F\, }[/math] is evolvable by [math]\displaystyle{ R\, }[/math] over [math]\displaystyle{ D\, }[/math] if there exists polynomials [math]\displaystyle{ p(\cdot,\cdot) }[/math], [math]\displaystyle{ s(\cdot,\cdot) }[/math], [math]\displaystyle{ t(\cdot,\cdot) }[/math], and [math]\displaystyle{ g(\cdot,\cdot) }[/math] such that for all [math]\displaystyle{ n\, }[/math] and all [math]\displaystyle{ \epsilon \gt 0\, }[/math], for all ideal functions [math]\displaystyle{ f \in F_n }[/math] and representations [math]\displaystyle{ r_0 \in R_n }[/math], with probability at least [math]\displaystyle{ 1 - \epsilon\, }[/math],

[math]\displaystyle{ \operatorname{Perf}(f,r_{g(n,1/\epsilon)}) \geq 1-\epsilon, }[/math]

where the sizes of neighborhoods [math]\displaystyle{ N(r)\, }[/math] for [math]\displaystyle{ r \in R_n\, }[/math] are at most [math]\displaystyle{ p(n,1/\epsilon)\, }[/math], the sample size is [math]\displaystyle{ s(n,1/\epsilon)\, }[/math], the tolerance is [math]\displaystyle{ t(1/n,\epsilon)\, }[/math], and the generation size is [math]\displaystyle{ g(n,1/\epsilon)\, }[/math].

[math]\displaystyle{ F\, }[/math] is evolvable over [math]\displaystyle{ D\, }[/math] if it is evolvable by some [math]\displaystyle{ R\, }[/math] over [math]\displaystyle{ D\, }[/math].

[math]\displaystyle{ F\, }[/math] is evolvable if it is evolvable over all distributions [math]\displaystyle{ D\, }[/math].

Results

The class of conjunctions and the class of disjunctions are evolvable over the uniform distribution for short conjunctions and disjunctions, respectively.

The class of parity functions (which evaluate to the parity of the number of true literals in a given subset of literals) are not evolvable, even for the uniform distribution.

Evolvability implies PAC learnability.

References

  1. Valiant, L. G. (2006), Evolvability, ECCC TR06-120 .