The recurring problems every representation scheme has to face.
π Where this lives: the issues in this topic are why ontology projects overrun. Deciding whether "engine" is a part of "car" or a separate entity with a relation, whether a discontinued product still exists, and how to say "usually" are not philosophical diversions β they are the decisions that determine whether the knowledge base can answer the questions it was built for. Every large schema project rediscovers them. Search "ontology design decisions granularity partonomy".
The four approaches
Four broad approaches to knowledge representation, in increasing
expressiveness:
1. SIMPLE RELATIONAL KNOWLEDGE
Attributes and values in tables, as in the previous topic.
β trivial to store and query
β almost no inferential capability
2. INHERITABLE KNOWLEDGE
A class hierarchy with property inheritance β semantic nets
and frames.
β compact: shared properties stored once
β inheritance is a genuine inference mechanism
β weak at anything other than taxonomic reasoning; cannot
express disjunction, negation or quantification cleanly
3. INFERENTIAL KNOWLEDGE
Formal logic β propositional and first-order predicate logic
β with sound inference procedures.
β precise semantics, provable conclusions
β can express quantification, negation, disjunction
β everything must be certain; hard to represent defaults and
likelihood
β inference can be intractable or undecidable
4. PROCEDURAL KNOWLEDGE
Knowledge encoded as procedures β production rules, or code.
IF the patient has a fever AND a rash
THEN consider measles with certainty 0.7
β directly executable, and efficient
β naturally expresses heuristics and how-to knowledge
β knowledge is embedded in control flow, so it is harder to
inspect, modify and reuse than declarative knowledge
THE DECLARATIVE vs PROCEDURAL TENSION runs through all of KR and
gets its own topic in ACtE0904. In one line: DECLARATIVE
knowledge says WHAT IS TRUE and is easy to modify and reason
about; PROCEDURAL knowledge says HOW TO DO IT and is efficient
but opaque.
The issues in knowledge representation
FIVE STANDARD ISSUES that any representation scheme must address.
These are the examinable list.
1. IMPORTANT ATTRIBUTES
Are there attributes that occur in so many kinds of object
that they deserve special treatment?
THE ANSWER: yes β `instance` and `isa`, which support
class membership and class inclusion, and hence inheritance.
Almost every representation scheme provides them explicitly,
because inheritance is the most-used inference.
2. RELATIONSHIPS AMONG ATTRIBUTES
Attributes are not independent, and four relationships
between them recur:
INVERSES if A is the parent of B, then B is the
child of A. Store once and derive the
other, or store both and risk them
disagreeing.
EXISTENCE IN AN ISA HIERARCHY
attributes themselves form hierarchies:
`height` is a kind of `physical
measurement`, so a query about
measurements should find heights.
TECHNIQUES FOR REASONING ABOUT VALUES
constraints on values: a height must be
positive; an age must be less than the age
of a parent. Reasoning uses these to
detect errors and to infer bounds.
SINGLE-VALUED ATTRIBUTES
some attributes take exactly one value β
a person has one date of birth. Knowing
this permits the system to REPLACE rather
than accumulate values, and to detect a
contradiction when two are asserted.
3. CHOOSING THE GRANULARITY OF REPRESENTATION
At what level of detail should knowledge be represented?
THE TRADE-OFF, made concrete:
COARSE: spotted(John, Sue)
β compact, but you cannot ask what John spotted her
WITH, or WHEN
FINE: a `spotting` event with agent, object,
instrument, time and location slots
β answers more questions, and requires far more
knowledge to be entered and far more inference to use
WORKED: "John spotted Sue."
To answer "did John see Sue?" a fine-grained
representation must know that spotting is a kind of
seeing, so the granularity decision determines what
inference rules are needed. THERE IS NO UNIVERSALLY RIGHT
LEVEL β it depends on the questions the system must
answer, which is why the requirements must precede the
ontology.
4. REPRESENTING SETS OF OBJECTS
Two ways, with different consequences:
EXTENSIONALLY list the members: {Ram, Sita, Gita}
INTENSIONALLY give a rule: {x : student(x) β§ year(x)=3}
THE IMPORTANT REASON TO REPRESENT SETS AT ALL: some
properties belong to the SET rather than to its members.
"There are 26 million people in Nepal" β no individual
person has the property of being 26 million.
"The average height is 5-6" β no individual is the
average.
CONFUSING SET PROPERTIES WITH MEMBER PROPERTIES is a real
modelling error, and it is the reason inheritance must not
pass every property downward.
5. FINDING THE RIGHT STRUCTURES AS NEEDED
Given a large knowledge base, how do you find the relevant
part? Three sub-problems:
Β· how to select an initial structure to consider β an
INDEXING problem
Β· how to fill in the details from the current situation
Β· how to find a BETTER structure if the chosen one turns
out not to fit
Β· what to do if no structure fits at all
THIS IS THE INFERENTIAL EFFICIENCY PROPERTY from the previous
topic, seen as a concrete engineering problem. A knowledge
base of a million facts is useless without indexing, however
adequate its logic.
A SIXTH ISSUE, often listed: HANDLING UNCERTAINTY AND DEFAULTS.
Most real knowledge is qualified β "usually", "probably",
"unless" β and classical logic has no room for it. The options:
DEFAULT REASONING and non-monotonic logic
CERTAINTY FACTORS (as in MYCIN)
FUZZY LOGIC (degrees of truth, ACtE0905)
PROBABILITY and Bayesian networks (later in this section)
Of these, probability has the firmest foundations, which is
why the field moved toward it.
The frame problem, and choosing a scheme
THE FRAME PROBLEM β the deepest issue in this topic, and worth
understanding rather than memorising.
When an action occurs, MOST OF THE WORLD DOES NOT CHANGE. Moving
a block does not alter the colour of the walls, the day of the
week, or the positions of the other blocks. But a logical
representation must SAY SO, because nothing is implicit in
logic.
THE SIZE OF THE PROBLEM: with n facts and m actions, stating
what does NOT change requires up to nΓm FRAME AXIOMS β
statements of the form "if P was true and action A occurs and A
is not about P, then P remains true".
WORKED: a modest blocks world with 20 facts and 5 actions
needs up to 100 frame axioms to say nothing happened, on top
of the 5 axioms saying what did. THE BOOKKEEPING DOMINATES THE
CONTENT.
THE STANDARD RESPONSES:
STRIPS-STYLE REPRESENTATION: state only what an action ADDS
and DELETES, and assume everything else persists. This is
the STRIPS ASSUMPTION, and it is what makes automated
planning practical.
SUCCESSOR-STATE AXIOMS: for each fluent, state exactly the
conditions under which it becomes true or false.
NON-MONOTONIC LOGIC: assume persistence by default.
RELATED PROBLEMS with the same flavour:
THE QUALIFICATION PROBLEM no action's preconditions can be
completely enumerated. "Turning the key starts the car" β
unless the battery is flat, the tank is empty, the
starter has failed, there is a potato in the exhaustβ¦
The list has no natural end.
THE RAMIFICATION PROBLEM the indirect consequences of an
action. Moving a block moves whatever is on it, and
stating every such consequence is as hopeless as stating
every precondition.
WHY THESE MATTER BEYOND AI: they are the reason common-sense
reasoning resisted symbolic AI for decades. Humans handle them
effortlessly and cannot say how, which is the Moravec paradox
from the AI concepts topic appearing in logical form.
CHOOSING A REPRESENTATION β the practical decision procedure:
WHAT THE KNOWLEDGE IS LIKE USE
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
a taxonomy with inherited a semantic net or frames
properties
procedures and heuristics production rules
facts requiring provable propositional or
conclusions first-order logic
quantified statements over FIRST-ORDER logic
many objects (propositional cannot)
uncertain or statistical Bayesian networks
knowledge
vague, graded predicates fuzzy logic
("tall", "warm")
knowledge learned from data a learned model β no
explicit representation
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
AND THE ANSWER MOST REAL SYSTEMS GIVE: SEVERAL AT ONCE. A
medical system may hold a disease taxonomy as a hierarchy, its
diagnostic knowledge as rules, its uncertainty as
probabilities, and its image interpretation as a neural network.
THE QUESTION IS NOT "WHICH FORMALISM" BUT "WHICH FORMALISM FOR
WHICH KIND OF KNOWLEDGE", and the four properties of the
previous topic are the criteria for each choice.
The set-versus-member distinction is a small point with real consequences: "there are 26 million people in Nepal" is a property of the set, not of any person in it. Inheritance that passes every property downward will happily conclude that Ram is 26 million, which is why representations must distinguish the two.
π Go further: the granularity issue has a well-developed answer in upper ontologies β general-purpose frameworks like SUMO, DOLCE and BFO that fix the top-level distinctions (object versus process, continuant versus occurrent, physical versus abstract) so that domain ontologies can hang beneath them and interoperate. The biomedical world takes this furthest: the Gene Ontology and its relatives are built on shared upper-level commitments precisely so that facts from different laboratories can be combined. It is the reference-architecture idea from software engineering, applied to meaning. Search "upper ontology BFO interoperability biomedical".
π‘ Exam angle: list the four approaches β relational, inheritable, inferential, procedural β with an advantage and a limitation of each. The core question is the issues in knowledge representation: important attributes (instance and isa), relationships among attributes (inverses, isa hierarchies of attributes, value constraints, single-valued attributes), granularity, representing sets (extensional versus intensional, and set-versus-member properties), and finding the right structure. Explain the frame problem with why frame axioms multiply, and name the qualification and ramification problems. Be ready to justify a choice of representation for a described kind of knowledge.
Syllabus points
Approaches to KR
Issues in KR
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.