Domain Abstraction and Limited Reasoning
Proceedings of the Tenth International Joint Conference on Artificial Intelligence. Reasoning. Pages 997-1002.
© 1987 International Joint Conferences on Artificial Intelligence
Abstract
We are investigating the possibility of constructing meaningful a.nd computationally efficient approximate reasoning methods for the first order logic . In particular, we study a situation when only certain aspects of the domain a.re of interest to the user. This is reflected by an equivalence relation defined on the domain of the knowledge base. The whole mechanism is called domain abstraction and is demonstrated to lead to significant computational advantages. The domain abstraction discussed in the paper is only a very special case of the more general notion of abstraction which is discussed shortly here and is a. subject of the currently ongoing research.
- Fagin,R and Halpern,J . Belief, Awarness and Limited Reasoning. ln Proceedings of JJ(' A I 85. 1985.
- Jerry R.Hobbs. Granularity. In Proceedings of JJCAI 85. 1985.
- lmielinski, T. Abstraction in Query Processing. December. 1985.
- lmielinski,T. Relative Knowledge in the Distributed Database. In ProcF --iings of the ACM Symposium on PrinciLie . • of Database Systems. 1987.
- Kurt Konoldge. A Computational Theory of Belief )nlr05?teliOIJ . In Proceedings of JJCAJ 85. 1985.
- Lakemeyer,G. Steps Forwards a First Order Logic of Explicit and Implicit Belief. In Prot;eedings of the Conference on Theoretical Aspects of Reasoning about Knowledge. 1986.
- Patel-Schneider 85]
- Peter F. Patei-Schneider. A Decidable First Order Logic for Knowledge Representation. In Proceedings of JJCAI 1985. 1985. IJCAI
- lmlelinksl
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
I Abstract
We are investigating the possibility of constructing meaningful a.nd computationally efficient approximate reasoning methods for the first order logic . In particular, we study a situation when only certain aspects of the domain a.re of interest to the user. This is reflected by an equivalence relation defined on the domain of the knowledge base. The whole mechanism is called domain abstraction and is demonstrated to lead to significant computational advantages. The domain abstraction discussed in the paper is only a very special case of the more general notion of abstraction which is discussed shortly here and is a. subject of the currently ongoing research.
II INTRODUCTION
In this paper we a.re interested in providing a. basis for meaningful reasoning with low complexity. Such reasoning will be called limited to indicate that it is weaker than the general first order logic proof methods. Recently many authors have tried to develop different logic systems, which would have better complexity properties than the classical propositional or predicate logic [Patel-Schneider 85], [La.kemeyer 86], [Konolidge 85] a.nd in a way [Fagin 85]. Here, we take a. different approach by developing approximate methods of reasoning within the same logic.
Approximate methods a.re widely accepted in numerical computations. Unfortunately automated reasoning, which is computationally a.t least as expensive as numerical computing does not have a. proper notion of approximation a.nd has still to follow the ambitious "All or nothing" approach. The main problem is lack of the proper notion of error , without which it is difficult to provide a.ny meaning to Rn approximation.
In this paper we demonstrate a notion of error which is sufficiently general to cover both automated reasoning and numerical computations. The following example illustrates the point:
Example 1
Suppose we want to compute a. volume of a. certain cube A. Assume that we round up the measurements of A, sa.y to the closest integer in meters. If we
. Ru<arcb oupport<d by NSF grant DCR 85·04140
Domain Abstraction and Limited Reasoning
Tomasz lmielinski'
Department of Computer Science Rutgers University and Polish Arackmy of Science
calculate now, sa.y, the volume of A our result will pe biased with error, sa.y 1 m 3 ·
Let us now take a look a.t this simple example from the more general point of view. Let the measurements of A form a. knowledge base a.nd let Volume(A,x), where A is our cube a.nd x stands for volume be a. querv. (We could also have other queries asking for the diameter of A, total area. of faces, etc.) The process of rounding up the measurements of A can be now viewed as replacement of the original . knowledge base by a. new one, less precise but presumably easier to deal with. The price of this simplification is paid in the loss of precision - we will not compute a "true" volume of the cube anymore but some other value. This new, approximate value will share certain properties with the real answer. Indeed, let the answer to our query be represented in the form of atomic formula Volume(A, 124 m 3 ) . Although this formula. ma.y not necessarly be true, the formula tP = 3x (123 ~ x ~ 125) 1\ Volume(A,x) will be true (Si~ce our error is equal to 1 m 3 ) · In other words tP form a. property of the real answer, which is preserved by the approximate answer. In fact a.ll formulas of the form tP' = 3x (a ~ x ~b) AVolume(A,x), where a ~ 123 and b ~ 125 will be preserved. On the other hand the preservation is not gura.nteed if 123 ~ a or b ~ 125. For instance the formula tP" = 3x (123.9 ~ x ~ 124.1)) " Volume(A,x) will not necessa.rly be preserved (i.e it is true for our approximate answer, but could be false for the real answer). I
Our notion of error is motivated by this example - it will be the set of a.ll formulas (notice that error is a. set) which are not preserved by the approximate answer. In our case tP" belongs to the error, while tP does not .
This notion of an error will be called local error since it is related to a particular query. We define also ·a. global error resulting from the replacement of our knowledge base by the "rounded up" one. The global . error will be simply a. set of a.Jl queries, which are not qura.nteed to be answered correctly by the "rounded up" knowledge base. In the Example 1 we could imagine the whole variety of queries, asking for a. diameter, total area. of faces, color of a cube etc (assuming the proper data is in the knowledge base) . Some of these queries will be answered correctly, because the "round up" does not affect them. Therefore, while the global error will divide queries into two categories (correctly answered, incorrectly answered), the local error will indicate "how far" each individual answer (for each individual query) is from the real answer. Needless to say the local error will be empty for queries, which are answered correctly, that is which are not in the global error set .
This paper is intended to serve as a "case study" for the notions introduced above, for a very special type of approximate reasoning method, called domain abstraction. Under domain abstraction only certain aspects of the domain will be of interest to the user. Instead of domain constants, he will deal with equivalence classes of them. In consequence he will deal with "rounded up" knowledge base, similar to the numerical one just described.
Important observations about the fundamental role of abstraction in approximate reasoning were made by Hobbs in [Hobbs 85]. The notion of abstraction is also studied in [Imielinski 85]. Here we concentrate on the domain abstraction (to be defined in the next section) by discussing it's computational benefits and (global) errors.
The paper is divided into two parts. In the first part of the paper , in section three, four and five we define formally the notion of abstraction and discuss the issues of query processing and the error of domain abstraction. Finally, we briefly discuss applications of domain abstraction in the limited reasoning.
III BASIC NOTIONS
By the Knowledge base, denoted by KB (or DB) we understand any finite collections of formulas of some first order language L. We also use the term database specially when the KB is a collection of atomic formulas corresponding to the relational database.
By the query we mean any open formula of L, and by the answer to a query the set of all substitutions of domain constants for variables such that· the resulting closed. formula is a logical consequence of
KB.
By the domain of the knowledge base we mean the set of all objects occurring in the KB.
By the equivalence relation on the set D we mean a binary relation on D which is reflexive, symmetric and transitive. Equivalence relation is selective on the subset D 0 of D iff for any element aED 0 the equivalence class of a: [a] = {a}.
IV DOMAIN ABSTRACTION
Let D be the domain of our Knowledge base and let R be an equivalence relation on D. Let L be the first order language of the knowledge base. We can extend R in the natural way to models of L. Two models, m and m' will be R-equivalent iff for any atomic formula Ra 1 ..· a 0 which is true in m (m') there is an atomic formula Rb 1 ··· b 0 which is true in m' (m), such that
a 1 Rb 1 for i=l, ... n.
The equivalence relation R can be given one of the
following interpretations:
- It may correspond to the relevant features of the external world which are of interest · to the user
- It may be used by the system to hide certain features of the external world from the user
- It may correspond to the error with which data is entered into the database. As a consequence we do not entirely believe what is stated in the database, but take it with "the grain of salt" , which is reflected by equivalence relation R.
All these interpretations have similar consequences: i.e the user 's view of external world is even more incomplete that the view of the knowledge base. The "noise" is introduced on the interface between the user and knowledge base. However , there is an important difference between these two approaches: In the first approach the choice of abstracted interpretation is made by user, while in the second interpretation the choice is made by administrator of a system. This distinction will have further cons~uences later in the paper.
Let KB be a knowledge base and let R he the eauivalence relation on the set of models of KB. The equivalence relation R determines a new, weaker, semantic consequence relation I=R on L.
KB FR u iff for any model m E M(KB) u is true not only in m but also in all models which are R equivalent to R.
This definition corresponds to the truth definition for the necessity operator in the Kripke model with R as its access relations. This is studied in more detail in the paper [Imielinski 87]. Intuitively, the external user whose information is filtered out by the relation R cannot distinguish between two models which are equivalent, therefore all models which are equivalent to models of KB are, for this user "as good" as models of KB. Obviously some of the formulas of KB will be lost if they are not "filtered out" through R.
The above definition could be interpreted also in the different way, as abstraction of . KB. Indeed, our user no longer sees the knowledge base KB but rather some logically weaker set of formulas corresponding to his, less precise now, set of possible worlds namely:
M(KB,R) = {m: There is m' such that m'Rm and m'EM(KB)} .
Clearly any formula u is a S!!mantic consequence of '
KB in the new sense iff it is true in each model from M(KB,R) .
The equivalence relation R which is defined on the domain of knowledge base induces equivalence relation on the name constants of the knowledge base language L. The equivalence classes of this relation will be denoted by [a] where "a" is a name constant.
The key question, which we are going to investigate, is whether FR is computationally more attractive than standard I=? We are also interested in estimating the "error" if the reasoning is performed in the abstracted knowledge base instead of the original one.
Example 2
Let our knowledge base have a form of a very long disjunction, say of the form:
Let us assume that the user's equivalence relation R is defined in such a way on the domain of the knowledge base that all elem~nts a, .. . a 0 belong to the same equivalence class, say [a] and all elements bl' .. . b. belong to the other equivalence class, say [b]. In such case the resulting knowledge base can be viewed simply as the atomic formula: P[a][b] . One can visualize very long disjunctions reducing its size to very short, if not atomic formulas , after applying this kind of abstraction. There are therefore obvious computational benefits of this technique here. I
We use here two different languages: the abstracted language L. and the basic language L. The abstracted language is the first order language with name constants {[a]:aeD}. The formulas of La are interpreted either as second order formulas (if we allow quantification on equivalence classes} or as first order formulas of some extension of L.
Second Order Interpretation of L.
The second. order interpretation of the formula u of L. will be denoted by uu (where "u~ stands for "unaware", which will be clear later on}. The satisfiability relation for this interpretation will be defined on the basis of the quotient models which is equal to the set of all equivalence classes (with respect to R} of models of KB. Notice that quotient models are simply built as relations defined on equivalence classes [a] of domain constants aeD. We will say the uu is true in KB iff it is true in each quotient model of KB.
This interpretation corresponds to the situation when the external user is unaware of the fact that he is using any abstracted language. In fact he treats or equivalence constants as if they .were names of singular objects. He is simply unaware of the fact that they are really unary predicates.
Firat order Interpretation of La
In this interpretation denoted by u a the user is aware of "cheating" and he treats all the constants of the language as unary predicates. Formally let L' be the language L extended by unary predicates u 1 , ... ,u. corresponding to the equivalence classes of R on the name constants of L. Any formula of La can be t ranslated into the formula of L by replacing all constants [a] by existential quantifiers range restricted to the unary predicate [a](x} corresponding to [a] . All quantifiers in L. are treated as ranging over the objects of the domain D.
Example 3
The atomic formula P([a],[b]} will be translated to
the formula:
3 [a](x} ll[b](y} IIP(x,y), where [a](x} and [b](x} are x,y unary predicates corresponding to equivalence classes [a] and [b] (i.e. [a] (x} is true iff x is in the equivalence class [a]}.
Example 4
Let KB be a knowledge base storing all direct flight connections in the United States. One natural abstraction which can be considered is provided by the equivalence relation putting all cities which are in the same state into the same equivalence class. The abstracted language L. is going to use names of the states instead of using the names of the cities. In the second order interpretation the user will not be "aware" that states are really predicates. Let us now consider the query u: Give me all direct or indirect connections with one stop over from New York to Seattle. According to the second order interpretation uu the user will get some erroneous connections. For example, if there is a flight from New York to LA and the flight from San Francisco to Seatt le then this will be printed as connection because LA and San Francisco are in the same state ! Therefore, instead of the real answer to the query we will get some approximation of it which is complete but not sound (i.e we get more tuples than necessary) . In the same time this approximation will give us a correct information about which connections are not possible. On the other hand take now the first order interpretation u a· This will be a very conservative interpretation, which in fact will lead to a subset of the real answer, i.e to the approximation which is sound but not complete. Indeed, even if there is a flight from NY to Seattle with one stopover in San Francisco it will not be printed out, since there are other models in M(KB,R} in which the place of arrival of the flight from NY is different from the place of departure of the flight to Seattle. In other words, even if the knowledge base contain formulas Connected(NewYork State,California} and Connected(California, Washington} no matching between two occurrences of California will occur (since the user is aware that there may be many cities there. These two approximations differ in their treatment of equivalence classes. in the former approach equivalence classes are always unifiable with themselves, in the latter one they are never unifiable with themselves.
I
Let us now investigate the basic questions related to the very notion of abstraction: How good this approximation is? Does it lead to computational
benefits ? .
We will approach these questions by investigating
first the following problems:
.. Actually it it a pou ibility operator in the Kripke model with acceu
relation R defined u domain equivalence relation defined on models
- Given a theory KB how to construct theory [KB]R, called first order R-reconstruction in L· such that M([KB]R) = M(KB,R)?
- The same question but with regards to a theory [KB]R' in L. , called second order R-reconstruction on L. such that or that the set of models of [KB]R' is equal to the set of quotient models of KB.
- What is the error between KB and [KB]R, i.e. for which formulas KB and KBR give different answers?
The first · two questions will be investigated in the next two subsections. The last question is a subject of section 5.
IV.l. Firat order R-reconatructiona of the knowledge base KB
We will assume here that our knowledge base is a set of positive (no negation) formulas. Later we discuss deductive (with implication) databases.
Here we are interested in representing the set of all formulas of the language L · which are true in all models of M(KB,R) . For a formula ¢ we would like to establish a new formula [¢]R, or shortly [¢] if R is clear from the context, such that:
It easy to check that [ J behaves like a possibility operator · ·. Therefore:
but
Therefore we cannot generate [T]R on the formula by formula basis. Instead we first transform T to the disjunctive normal form and treat each disjunct separately. For each individual disjunct U we form a set of formulas [UJR by the following procedure:
- First rename all variables in U in such a way that ,no variable occur twice in U. We add proper equality conditions to reflect the fact that several different occurrences of the same variable were renamed differently. As the result we get the set of literals and the set of equalities.
- Replace each individual constant "a" occurring in any of the literals by the variable with range restricted ~xistential quantification over unary predicate [a](x) , corresponding to the equivalence class generated by a. [U]R will be formed by ignoring all equality conditions and making a conjunction of all literals possibly with such a range restricted existential quantification.
Therefore, in general only single literal formulas of D
will be preserved by abstraction.
Example 5
Let our knowledge base have the following form:
It is clear that, if we know nothing about abstraction relation R, the first order reconstruction of this knowledge base will have a form:
Indeed, after renaming all occurrences of the variable x in the original formula KB by three different variables: x, u and w and adding proper equality conditions (x=u=w) we get three different literals which after replacement by unary predicates corresponding to equivalence classes will lead to [KB] displayed above.
However , in case we know that R is selective on tl, e second attribute of the relation we will get
i.e. the original formula in the knowledge base will be preserved modulo substitution of name constants by unary predicates.
If we know more about the equivalence relation R then we loose less information in the reconstruction of the knowledge base KB and more formulas will be preserved. In particular if we distinguish subsets of the domain D as tvpea or domains of attributes then we can make some separate assumptions about the behavior of equivalence relation R for individual types. The important special case occurs when R is selective on domains of certain attributes . In such a case we cannot ignore equality conditions between variables ranging on this attribute (called selective variables) and the construction of [U]R is more complex. We should now, in the final step of construction of [UJR, take a conjunction of all literals with all these equality conditions which hold between selective variables. More knowledge about the equivalence relation R may however lead to more complex reasoning: Let our knowledge base KB = { Pe 1 b 1 , Pe2b2, Pe 3 b2} and let the equivalence classes of R have a form {bl'b2}, {ei},{e2},{e3}.
If we reconstruct our knowledge base according to the above domain abstraction we will get the following set of formulas:
P(epB);P(e 2 ,B);P(e3,B), where "B" is the equivalence class containing b 1 and b2.
Without knowing the equivalence relation R the answer to the above query would be "false" since no two different occurrences of B could be equal for sure. Suppose, however, that we know cardinalities of equivalence classes of R. In this case the answer to our query will still be true. Indeed, since B has exactly two elements ,and there are three occurrences of B in the database, therefore at least two of these occurrences have to be equal.
In general these kind of "combinatorial" inferences about equality are much harder to perform that even the standard first order derivations (i.e derivations when we assume that the equivalence relation is selective). We can conclude the above considerations in the following:
"Ignorance" Principle
Abstraction is computationally beneficial if we either don't know anything about the cardinality of equivalence classes or we know that there are singular (i.e contain one element)
IV.2. Second Order R-reconstruction
The second order reconstruction is much simpler than the one described above. We simply take each formula of the knowledge base KB and map all constants into their equivalence classes. Some of the terms will collapse into one (for example in the case of disjunctions) and in the result we will always obtain a simpler theory. These is in fact a pure language abstraction.
Example 6
If we take the formula from the above example we will get the following second order reconstruction
where [a], [b], [c] are new name constants for equivalence classes.
I
It is easy to see that both transformations lead to the proper R-reconstructions of the knowledge base both in the first order and in the second order case.
V GLOBAL ERROR OF THE
APPROXIMATION
Here we will evaluate the error which arises from assuming the R-reconstruction . of the KB instead of KB itself. We want to characterize the set 'of formulas of L' which are preserved under domain abstraction. Let DL be the set of constants of the language L' and let U L be the set of unary predicates in L' corresponding to equivalence classes. Without loss of generality we assume that all our predicates are untyped, i.e., all database constants can occur on all positions of the predicates. We will construct a sub language La' as follows:
- For any database predicate p and unary predicates ul' ... u 0 where each ui is either a predicate corresponding to equivalence class or a universal domain predicate D(x)'" ,the formulas of the form:
··· D(x) is true iff x belongs to the domain D of the knowldgebase
3x 1 ... 3xn u 1 (x 1 ) /\ .. . U 0 (x 0 )p(xl' ... x 0 ) are in L 0 '
- If A and B are in L 0 ' then so are A/\B AvB and ~A
- Nothing else is in La'
Given database KB and equivalence relation R by extended database we will mean the database KB extended by the unary predicates corresponding to the equivalence classes.
Lemma 4
The set of all formulas preserved by domain abstraction R is equal to the set of all formulas of La' which are consequences of the extended database. In other words the difference between the KB and its R reconstruction can only be detected by the formulas out of La'· .
I
Notice that the language La' is in principle a propositional language generated by quantificational atomic formulas. Disallowing arbitrary existential quantification is the consequence of the fact that there are no free variables in the formulas of La'.
In a similar way we can obtain the estimation of ~rror in terms of the abstracted language La.
V.l. Domain Abstraction and Approximations
The above considerations provided an error for the semantic consequence relation F d' For the queries belonging to the "error set" domain abstraction is not expected to give correct values: What will be the relation of the answers to queries computed according to the first order and sec<md order interpretation? Let o be a query, R be an equivalence relation and let o KB denote an answer to this query in the knowledge base KB, while oa denote the R-answer returned to o treated as first order interpretation and o u the R-answer returned due to the second order int r rpretation. We have the following lemma:
Lemma 5
For any knowledge base KB, any abstraction R and any query o
That is o a is a sound but not always complete approximation, while ou (The second order interpretation) is complete but not always sound approximation, i.e. in general it will return more tuples then necessary. If, however o belongs to La' then both answers will coincide with oKB'
I
The analysis of local error would tell us "how close" are these approximations to the real answer oKB' We will do . it in the full version of the paper.
In the next section we will discuss the influence of domain abstraction on deduction process.
VI R-resolution
Here we would like to consider simple deductive database built from atomic facts and universally quantified Horn formulas without function symbols. Let DB denote the set of atomic facts of this database and let E denote the set of Horn rules. In database theory, given a query Q we can either look at the database as a single theory T or modify the query Q to the form QE in such a way that QE can be directly evaluated on DB forgetting about the formulas from E. These two ways are equivalent, although the first one treats rules as a part of the database while the second one in treats them as a part of query. In abstracted database these two ways are no longer equivalent. The incorporation of rules into the query leads to a much less costly evaluation which we will call R-resolution. In H.-resolution (R, from the equivalence relation R) all formulas before being transformed to clausal forms have all variables renamed, so no variable occurs twice, and proper equality conditions are added. Then all formulas and negation of the query are transformed to the clausal form and standard resolution is performed with one slight modification of great computational consequences: all equality conditions imposed between two variables fail. This condition can be weaken again, if some additional conditions are imposed on equivalence relation R (selectivness of R. on some suhdomains, etc). In general. in this approach. the query Q in the presence of deductive rules E is treated as QE . By the R-answer to Q we will understand the answer to QE computed from the H. reconstruction of the DB (the set of atomic facts).
Example 7
Let E be the following set of rules:
Pxy11 Qyz - Wxyz
W 0 xyz-Wxyz, where P, Q and W 0 are predicates whose extensions are stored in the database and W is a derived predicate. Let our query have a form {xyz:Wxyz}. In order to answer this query we can either treat the whole database (both facts and the above rules) as one theory, or modify a query Q to the form QE = W 0 xyz v (Pxy 11 Qyz). These two ways are equivalent, unless domain abstraction is applied. With domain abstraction and no knowledge about selectivness of R., the second disjunct of QE will fail (unification will fail). If we treat the database as a single theory, including rules, then the H. reconstruction of it will lead to the different result and in fact will not be computationally attractive (effectively, it will require computing a fixpoint of the database before the H.-reconstruction, which could be very expensive) I
The general failure of unification, in case we know nothing about R. makes H.-resolution very easy. Even, if we have some partial knowledge about selectivity of R., H.-resolution will still be easier than the standard resolution. A short analysis is provided in the next section:
VI.l. Complexity of Ab·tracted Rea1oning
There are two major computational advantages of
abstraction: The H.-reconstruction of the theory T is simpler than T itself and the reasonfng is much less demanding because of the limited unification. In this way we obtain substantial computational improvements, which will be illustrated for two types of theories: Horn theories without functions and Horn Theories with function symbols.
Horn Theorie1 without function 1ymbol1
For a Knowledge base intensions in the form of sets of Horn Clauses without function symbols any query could be processed in time which is a polynomial function of the size of the database [Vardi 82]. We will demonstrate here that under domain abstraction a very large class of queries can be processed in time which is a linear function of the database size. Let us first define the notions of a proper query and of a proper rule.
Definition
By the proper query Q we mean a query such that in any conjunct of Q 'with more then one database literal involved (i.e when the predicate is the database predicate) there is an equality literal (x=y), where x
occurs in 1 1 and y occurs in 1 2 .1
By a proper rule we mean a universally quantified body or, if it has more than one literal, for any literal
Horn rule, which either has a single literal in it's I in the body there is some other literal I' such that I and I' share the same variable.
This definitions eliminates expensive and rather rare "cartesian product" like conjunctions of the form R(x,y)11S(u,w). It still contains a very large family of practical queries and rules.. We have now the following easy fact:
Fact 1
Let E be a knowledge base intension built from proper Horn Clauses without function symbols and let Q be a proper query then the R-answer to a query Q can be generated in time which is linear with respect
to the database size.
Proof
As we have pointed out before "pure" equality conditions of the form (x=y) are always evaluated to "False" under abstraction. Therefore, if such conditions occur in conjuncts the whole such conjuncts will be evaluated to false. Hence, the only parts of the query which will "get through" will be single literals and disjunctions or existential quantifications of them. Such' queries however can be clearly processed in the linear time with respect to the size of the database. I
More interesting situation occurs, when R. is partially selective. We will discuss it in more detail in the full version of the paper.
We will now discuss a situation when the function symbols are present:
Function Symbola and Abatraction
It is well known that the processing is undecidable in the function symbols are . present in domain abstraction h~lp to make tractable? problem of query general case when the database. Cim this problem more
In the same way as before we will distinguish two different interpretations, first and second order. Under the first order interpretation, when nothing is known about the equivalence relation, unification will still fail uniformly, as in the function-free case. In the same trivial way as before, we will always be able to compute an answer to a query (in most cases in time which is a linear function of the database size). A more interesting · case occurs when the equivalence relation is partially selective. For instance, in case of natural numbers, the equivalence relation can be selective for all natural numbers up to n 0 and map all larger numbers into one equivalence class called "LARGE". Such an abstraction will preserve all formulas which were proved "using small numbers" and will distort all formulas which "depend" on large numbers. This could be viewed as another interpretation of some "intuitionistic" principle that proofs using large nonconstructive numbers are invalid.
Situation is different when one considers a second order interpretation. Here, in order to have a well defined Herbrand Universe, we want R to be a congruence relation with respect to all functions, namely we want the following formula to be true:
Indeed, otherwise f([a]) will even not be defined. If (*) is the case and R has a finite number of equivalence classes, then we can effectively compute answers to queries under second order interpretation (i.e. treating equivalence classes as constants). This is the case because a new Herbrand universe (built from equivalence classes) is finite.
VII LIMITED INFERENCE
Given a database KB in a predicate language L we can treat L as abstraction · of some unknown "prelanguage" 1 0 . This will result in a very cautious treatment of object identity in the database, namely by treating all constants as equivalence classes of som~> unknown equivalence relation R. In more intuitiv. term~ this treatment corresponds to somehow impersonal interpretation of names of objects: Instead of saying "Smith" we will say "Some Smith" and instead of saying "Smith brings an apple" we will say "Some Smith brings Some apple". The resulting reasoning will have low complexity characteristic to the, described · before, abstracted reasoning. We could gradually introduce more information about R (selectivness etc) and get better and better approximations of the "real" answers to queries t!, both in terms of already discussed upper - t1 u and lower - (1 a approximations
VIII OTHER TYPES OF ABSTRACTION
In [Imielinski 87] the different types of abstractions were introduced. If we define abstraction equivalence relation by fixing some formula Q(x) and making .two models: m 1 and m 2 equivalent iff the diagram of Q(x) (i.e. roughly speaking the set of all constants c such that Q(c) is true in the model) is identical in m 1 and m 2 · This formula Q(x) is called a view. It turns out that the· R-reconstruction of any theory KB is equal to the ~et of all consequences of KB which can be constructed using formula Q(x) as the basic predicate and all logical connectives and quantifiers. This is di~cussed in detail in [Imielinski 87].
IX CONCLUSIONS
We introduced here new notions of errors in logic and studied one particular approximation, called domain abstraction, as an illustration of these formal notions. We argued that the notion of abstraction provides meaningful approximate method, which is computationally attractive with a clear notion of error. It can be used for a preliminary computation of the answer to a query, which can then be followed, if necessary, by some precise procedure. The notion of abstraction is much more general than the specific domain abstraction introduced in this paper. We indicated this in the last section of the paper. Investigating different types of abstractions liS approximation mechanisms in logical reasoning is a promising area for further research.
@inproceedings{ijcai1987p206,
title = {Domain Abstraction and Limited Reasoning},
author = {Imielinski, Tomasz},
booktitle = {Proceedings of the Tenth International Joint Conference on
Artificial Intelligence, {IJCAI-87}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {John McDermott},
pages = {997--1002},
year = {1987},
note = {Reasoning},
url = {https://ijcai.org/proceedings/1987/206},
}
TY - CPAPER TI - Domain Abstraction and Limited Reasoning AU - Imielinski, Tomasz T2 - Proceedings of the Tenth International Joint Conference on Artificial Intelligence, IJCAI-87 PB - International Joint Conferences on Artificial Intelligence PY - 1987 SP - 997 EP - 1002 UR - https://ijcai.org/proceedings/1987/206 ER -Copied
Machine-readable versions of this paper, for tools and AI agents:
Welcome
Future Conferences
AI Journal Division
IJCAI Proceedings
About IJCAI
IJCAI Awards