Can predicate invention compensate for incomplete background - - PowerPoint PPT Presentation

can predicate invention compensate for incomplete
SMART_READER_LITE
LIVE PREVIEW

Can predicate invention compensate for incomplete background - - PowerPoint PPT Presentation

Can predicate invention compensate for incomplete background knowledge? Andrew Cropper and Stephen H. Muggleton Imperial College London Incomplete background knowledge missing values missing predicates Necessary predicate invention %


slide-1
SLIDE 1

Can predicate invention compensate for incomplete background knowledge?

Andrew Cropper and Stephen H. Muggleton Imperial College London

slide-2
SLIDE 2

Incomplete background knowledge

  • missing values
  • missing

predicates

slide-3
SLIDE 3

Necessary predicate invention

% background knowledge parent(amy,amelia) ← parent(gavin,amelia) ← % examples father(gavin,amelia) ← ← father(amy,amelia) % hypothesis

slide-4
SLIDE 4

Necessary predicate invention

% background knowledge parent(amy,amelia) ← parent(gavin,amelia) ← % examples father(gavin,amelia) ← ← father(amy,amelia) % hypothesis father(X,Y) ← parent(X,Y), p1(X). p1(gavin) ←

slide-5
SLIDE 5

% background knowledge parent(ann,amy) ← parent(john,amy) ← parent(amy,amelia) ← parent(amy,bob) ← % examples grandparent(ann, amelia) ← grandparent(ann, bob) ← grandparent(john, amelia) ← grandparent(john, bob) ← % hypothesis mother(ann, amy) ← father(john, amy) ← mother(amy, amelia) ← mother(amy, bob) ←

Necessary predicate invention

slide-6
SLIDE 6

% background knowledge parent(ann,amy) ← parent(john,amy) ← parent(amy,amelia) ← parent(amy,bob) ← % examples grandparent(ann, amelia) ← grandparent(ann, bob) ← grandparent(john, amelia) ← grandparent(john, bob) ← % hypothesis grandparent(X,Y) ← parent(X,Z), parent(Z,Y) mother(ann, amy) ← father(john, amy) ← mother(amy, amelia) ← mother(amy, bob) ←

Useful predicate invention

slide-7
SLIDE 7

% background knowledge mother(ann, amy) ← father(john, amy) ← mother(amy, amelia) ← mother(amy, bob) ← % hypothesis % examples grandparent(ann, amelia) ← grandparent(ann, bob) ← grandparent(john, amelia) ← grandparent(john, bob) ←

Useful predicate invention

slide-8
SLIDE 8

% background knowledge mother(ann, amy) ← father(john, amy) ← mother(amy, amelia) ← mother(amy, bob) ← % hypothesis grandparent(X,Y) ← mother(X,Z), mother(Z,Y) grandparent(X,Y) ← mother(X,Z), father(Z,Y) grandparent(X,Y) ← father(X,Z), father(Z,Y) grandparent(X,Y) ← father(X,Z), mother(Z,Y) % examples grandparent(ann, amelia) ← grandparent(ann, bob) ← grandparent(john, amelia) ← grandparent(john, bob) ←

Useful predicate invention

slide-9
SLIDE 9

% background knowledge mother(ann, amy) ← father(john, amy) ← mother(amy, amelia) ← mother(amy, bob) ← % hypothesis grandparent(X,Y) ← p1(X,Z), p1(Z,Y) p1(X,Y) ← mother(X,Y) p1(X,Y) ← father(X,Y) % examples grandparent(ann, amelia) ← grandparent(ann, bob) ← grandparent(john, amelia) ← grandparent(john, bob) ←

Useful predicate invention

slide-10
SLIDE 10

Meta-interpretive learning

Prolog meta-interpreter prove(true). prove((Atom,Atoms)):- prove(Atom), prove(Atoms). prove(Atom):- clause(Atom,Body), prove(Body). MIL meta-interpreter prove([],G,G). prove([Atom|Atoms],G1,G2):- call(Atom), prove(Atoms,G1,G2). prove([Atom|Atoms],G1,G2):- metarule(Name,MetaSub,(Atom:-Body)), abduce(Name,MetaSub,G1,G3), prove(Body,G3,G4). prove(Atoms,G4,G2).

* S.H. Muggleton, D. Lin, and A. Tamaddoni-Nezhad. Meta-interpretive learning of higher-

  • rder dyadic datalog: Predicate invention revisited. Machine Learning, 100(1):49-73, 2015.
slide-11
SLIDE 11

gggparent(A,B):- father(A,C), father(C,D), father(D,B). gggparent(A,B):- father(A,C), father(C,D), mother(D,B). gggparent(A,B):- father(A,C), mother(C,D), father(D,B). gggparent(A,B):- father(A,C), mother(C,D), mother(D,B). gggparent(A,B):- mother(A,C), mother(C,D), mother(D,B). gggparent(A,B):- mother(A,C), mother(C,D), father(D,B). gggparent(A,B):- mother(A,C), father(C,D), mother(D,B). gggparent(A,B):- mother(A,C), father(C,D), father(D,B).

Learning great-great-grandparent (gggparent) relation in MIL without predicate invention

slide-12
SLIDE 12

gggparent(A,B):- p2(A,C), p2(C,B). p2(A,B):- p1(A,C), p1(C,B). p1(A,B):- father(A,B). p1(A,B):- mother(A,B). p2 is invented grandparent relation p1 is invented parent relation

Learning great-great-grandparent (gggparent) relation in MIL with predicate invention

slide-13
SLIDE 13

Experiments - Hinton’s kinship

slide-14
SLIDE 14

Experiments - custom kinship dataset

slide-15
SLIDE 15

Initial state Final state

1 2 3 1 2 3 1 2 3 1 2 3

[pos(robot,1/1),pos(ball,1/1)] [pos(robot,3/3),pos(ball,3/3)]

Learning robot plans

slide-16
SLIDE 16

Plan learned with MIL

p1 move(A,B):- p3(A,C),drop(C,B). p3(A,B):- grab(A,C), p2(C,B). p2(A,B):- p1(A,C),p1(C,B). p1(A,B):- forward(A,C),right(C,B).

slide-17
SLIDE 17

Robot moving a ball - missing actions

left/2 right/2 forwards/2 backwards/2 grab/2 drop/2

slide-18
SLIDE 18

move(A,B):- grab(A,C), p4(C,B). p4(A,B):- p3(B,C). p3(A,B):- p2(A,C), p1(C,B). p2(A,B):- grab(A,C), p1(C,B). p1(A,B):- left(A,C), back(C,B). p1

Plan learned with MIL

slide-19
SLIDE 19

Conclusions

  • Predicate invention can compensate for incomplete

background information

  • Metagol (an MIL implementation) supports predicate invention
  • Suggests motivation to purposely predicates to improve

efficiency, analogous to dimensionality reduction Future work

  • Naming invented predicates
  • Automate removal of redundant background predicates
slide-20
SLIDE 20

Related work Missing data (feature based ML)

  • Ghahramani & Jordan (1995)
  • Marlin (2006)

Incomplete background knowledge

  • Srinivasan, et al.,(1995)
  • Muggleton(2011)

Effect of missing predicates

  • Liu and Zhong (1999)

Compensating for incomplete background knowledge

  • Dzeroski (1993)

Dimensionality reduction

  • Furnkranz (1997)
slide-21
SLIDE 21

Thank you