25.02.2013 Views

A Framework for Evaluating Early-Stage Human - of Marcus Hutter

A Framework for Evaluating Early-Stage Human - of Marcus Hutter

A Framework for Evaluating Early-Stage Human - of Marcus Hutter

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Solar System Ruther<strong>for</strong>d Atom<br />

α1 : mass(sun) > mass(planet)<br />

α2 : ∀t : distance(sun, planet, t) > 0<br />

α3 : gravity(sun, planet) > 0<br />

α4 : ∀x∀y : gravity(x, y) > 0<br />

→ attracts(x, y)<br />

α5 : ∀x∀y∀t : attracts(x, y) ∧<br />

distance(x, y, t) > 0 ∧<br />

mass(x) > mass(y)<br />

→ revolves arround(y, x)<br />

Generalized Theory<br />

γ1 : mass(A) > mass(B)<br />

γ2 : ∀t : distance(A, B, t) > 0<br />

γ3 : F (A, B) > 0<br />

γ4 : ∀x∀y : F (x, y) > 0 → attracts(x, y)<br />

β1 : mass(nucleus) > mass(electron)<br />

β2 : ∀t : distance(nucleus, electron, t) > 0<br />

β3 : coulomb(nucleus, electron) > 0<br />

β4 : ∀x∀y : coulomb(x, y) > 0<br />

→ attracts(x, y)<br />

Table 3: A <strong>for</strong>malization <strong>of</strong> the Ruther<strong>for</strong>d analogy with obvious analogous structures (Krumnack et al., 2008)<br />

1970). Anti-unification is the dual constructions <strong>of</strong> unification:<br />

if input terms t1 and t2 are given, the output is a generalized<br />

term t such that <strong>for</strong> substitutions Θ1 and Θ2 it holds:<br />

t1 = tΘ1 and t2 = tΘ2. It is well-known that <strong>for</strong> first-order<br />

anti-unification a generalization always exists, there are at<br />

most finitely many generalizations, and there exists a unique<br />

least generalization (Plotkin, 1970).<br />

In order to apply the idea <strong>of</strong> anti-unification to analogies,<br />

it is necessary to extend the anti-unification framework in<br />

several respects. We will use the Ruther<strong>for</strong>d analogy <strong>for</strong>malized<br />

in Table 3 as a simple example <strong>for</strong> motivating HDTP:<br />

1. Not only terms but also <strong>for</strong>mulas (theories) need to be<br />

anti-unified.<br />

2. Whereas the generalization <strong>of</strong> α1 and β1 to γ1 uses only<br />

first-order variables, the anti-unification <strong>of</strong> α3 and β3<br />

requires the introduction <strong>of</strong> second-order variables (Table<br />

3).<br />

3. In order to productively generate the conclusion that electrons<br />

revolve around the nucleus, it is necessary to project<br />

α5 to the source domain and generate a <strong>for</strong>mula γ5 in<br />

T hG with<br />

∃A∃B∀t : attracts(A, B) ∧ distance(A, B, t) > 0 ∧<br />

mass(A) > mass(B) → revolves arround(B, A)<br />

In the following, we mention some properties <strong>of</strong> the extensions<br />

mentioned in the above list. The generalization <strong>of</strong><br />

term anti-unification to the anti-unification <strong>of</strong> <strong>for</strong>mulas is<br />

rather straight<strong>for</strong>ward and will be omitted here. 3 A crucial<br />

point is the fact that not only first-order but also secondorder<br />

generalizations need to computed, corresponding to<br />

the introduction <strong>of</strong> second-order variables. If two terms<br />

t1 = f(a, b) and t2 = g(a, b) are given, a natural secondorder<br />

generalization would be F (a, b) (where F is a function<br />

variable) with substitutions Θ1 = {F ← f} and<br />

Θ2 = {F ← g}. Then: t1 = f(a, b) = F (a, b)Θ1<br />

and t2 = g(a, b) = F (a, b)Θ2. It is known that unrestricted<br />

second-order anti-unifications can lead to infinitely<br />

many anti-instances (Hasker, 1995). In (Krumnack et al.,<br />

3 Cf. (Krumnack et al., 2008) <strong>for</strong> more in<strong>for</strong>mation.<br />

45<br />

2007), it is shown that a restricted <strong>for</strong>m <strong>of</strong> higher-order antiunification<br />

resolves this computability problem and is appropriate<br />

<strong>for</strong> analogy making.<br />

Definition 1 Restricted higher-order anti-unification is<br />

based on the following set <strong>of</strong> basic substitutions (Vn denotes<br />

an infinite set <strong>of</strong> variables <strong>of</strong> arity n ∈ N):<br />

′<br />

F,F • A renaming ρ replaces a variable F ∈ Vn by another<br />

variable F ′ ∈ Vn <strong>of</strong> the same argument structure:<br />

F (t1, . . . , tn)<br />

ρF,F ′<br />

−−−→ F ′ (t1, . . . , tn).<br />

• A fixation φ V c replaces a variable F ∈ Vn by a function<br />

symbol f ∈ Cn <strong>of</strong> the same argument structure:<br />

F (t1, . . . , tn) φF<br />

f<br />

−−→ f(t1, . . . , tn).<br />

′<br />

F,F<br />

• An argument insertion ιV,i with 0 ≤ i ≤ n, F ∈ Vn,<br />

G ∈ Vk with k ≤ n − i, and F ′ ∈ Vn−k+1 is defined by<br />

F (t1, . . . , tn)<br />

F,F<br />

′<br />

ιV,i −−−→<br />

F ′ (t1, . . . , ti−1, G(ti, . . . , ti+k−1), ti+k, . . . , tn).<br />

′<br />

F,F • A permutation πα with F, F ′ ∈ Vn and bijective α :<br />

{1, . . . , n} → {1, . . . , n} rearranges the arguments <strong>of</strong> a<br />

term:<br />

F (t1, . . . , tn)<br />

πF,F ′<br />

α<br />

−−−→ F ′ (t α(1), . . . , t α(n)).<br />

As basic substitutions one can rename a second-variable,<br />

instantiate a variable, insert an argument, or permute arguments.<br />

Finite compositions <strong>of</strong> these basic substitutions are<br />

allowed. It can be shown that every first-order substitution<br />

can be coded with restricted higher-order substitution<br />

and that there are at most finitely many anti-instances in the<br />

higher-order case (Krumnack et al., 2007).<br />

A last point concerns the transfer <strong>of</strong> knowledge from the<br />

source to the target domain. In the Ruther<strong>for</strong>d example, this<br />

is the projection <strong>of</strong> α5 to the target domain governed by the<br />

analogical relation computed so far. Such projections allow<br />

to creatively introduce new concepts on the target side. The<br />

importance <strong>of</strong> these transfers <strong>for</strong> modeling creativity and<br />

productivity cannot be overestimated.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!