ArticleslgStudy

science

Golem (ILP)

Golem (ILP) is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Golem (ILP) rather than just read about it. In short: Golem is an inductive logic programming algorithm developed by Stephen Muggleton and Cao Feng in 1990. It uses the technique of relative least general generalisation proposed by Gordon Plotkin, leading to a bottom-up search through the subsumption lattice.

Golem (ILP) — main illustration
Golem (ILP) — illustration

Key takeaways

  • Golem (ILP) belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Golem (ILP) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Golem (ILP) from memory before moving on to harder problems.

Reference excerpt

Golem is an inductive logic programming algorithm developed by Stephen Muggleton and Cao Feng in 1990. It uses the technique of relative least general generalisation proposed by Gordon Plotkin, leading to a bottom-up search through the subsumption lattice. In 1992, shortly after its introduction, Golem was considered the only inductive logic programming system capable of scaling to tens of thousands of examples.

Description Golem takes as input a definite program B as background knowledge together with sets of positive and negative examples, denoted E + {\textstyle E^{+}} and E − {\textstyle E^{-}} respectively. The overall idea is to construct the least general generalisation of E + {\textstyle E^{+}} with respect to the background knowledge. However, if B is not merely a finite set of ground atoms, then this relative least general generalisation may not exist. Therefore, rather than using B directly, Golem uses the set B h {\textstyle B^{h}} of all ground atoms that can be resolved from B in at most h resolution steps. An additional difficulty is that if E − {\textstyle E^{-}} is non-empty, the least general generalisation of E + {\textstyle E^{+}} may entail a negative example. In this case, Golem generalises different subsets of E + {\textstyle E^{+}} separately to obtain a program of several clauses. Golem also employs some restrictions on the hypothesis space, ensuring that relative least general generalisations are polynomial in the number of training examples. Golem demands that all variables in the head of a clause also appears in a literal of the clause body; that the number of substitutions needed to instantiate existentially quantified variables introduced in a literal is bounded; and that the depth of the chain of substitutions needed to instantiate such a variable is also bounded.

Example

The following example about learning definitions of family relations uses the abbreviations

par: parent, fem: female, dau: daughter, g: George, h: Helen, m: Mary, t: Tom, n: Nancy, and e: Eve. It starts from the background knowledge (cf. picture)

par ( h , m ) ∧ par ( h , t ) ∧ par ( g , m ) ∧ par ( t , e ) ∧ par ( n , e ) ∧ fem ( h ) ∧ fem ( m ) ∧ fem ( n ) ∧ fem ( e ) {\displaystyle {\textit {par}}(h,m)\land {\textit {par}}(h,t)\land {\textit {par}}(g,m)\land {\textit {par}}(t,e)\land {\textit {par}}(n,e)\land {\textit {fem}}(h)\land {\textit {fem}}(m)\land {\textit {fem}}(n)\land {\textit {fem}}(e)} , the positive examples

dau ( m , h ) ∧ dau ( e , t ) {\displaystyle {\textit {dau}}(m,h)\land {\textit {dau}}(e,t)} , and the trivial proposition true to denote the absence of negative examples. The relative least general generalisation is now computed as follows to obtain a definition of the daughter relation.

Relativise each positive example literal with the complete background knowledge:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Golem (ILP)

Start with the simplest possible case. Write down what Golem (ILP) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Golem (ILP) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Golem (ILP) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Golem (ILP)

In research
Golem (ILP) appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Golem (ILP) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Golem (ILP) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Inductive logic programming, so understanding it makes those chapters shorter.
In everyday life
Look for Golem (ILP) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Golem (ILP)” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Golem (ILP) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Golem (ILP) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Golem (ILP) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Golem (ILP) in simple terms?

Golem is an inductive logic programming algorithm developed by Stephen Muggleton and Cao Feng in 1990. It uses the technique of relative least general generalisation proposed by Gordon Plotkin, leading to a bottom-up search through the subsumption lattice.

Why does Golem (ILP) matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Golem (ILP)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Golem (ILP).

Tags

  • Inductive logic programming

Keep exploring