A digital landscape drawing of snow cover mountains taken during sunrise. Image generated from Stable Diffusion with the GhostMix - v2.0-BakedVAE checkpoint.

Belief Contractions on Large Ontologies with Minimal Knowledge Loss

The following was work I did during my NSERC Undergraduate Research Assistant position at Simon Fraser University during Summer 2018. The report assumes the reader has prior knowledge about knowledge representation particularly descriptive logics.

Code can be found here.

The field of knowledge representation deals with finding efficient methods to represent, store and perform inference on large collections of data. When dealing with large knowledge bases, a user may require to remove a fact that was previously believed to be true however has been rendered false after the addition of new information. What makes this operation difficult is that simply removing the belief (represented as a formal logic axiom) is often not enough since the combinations of many other beliefs in the knowledge base can also infer the same false fact resulting in no knowledge actually being removed. Various contraction methods working on different formal logics have been proposed which ensures that a belief is completely forgotten by removing multiple axioms from a knowledge base. In [Dawood17], a kernel contraction algorithm was constructed for EL\mathcal{EL} TBox. The contraction is performed by removing a minimum set of axioms which infer the belief and using a heuristic to select the a prefered set when multiple minimum sets exist. One of these heuristics is Specificity which weighs axioms by their generality within the domain. We will be expanding upon the Specificity heuristic to create a total preorder relation that orders axioms based on the amount of epistemic loss that they cause when removed from a TBox. The Hierarchical Total Preorder, will work on EL++\mathcal{EL^{++}} TBoxes and will be shown how it can be implemented into the kernel contraction algorithm.

EL++\mathcal{EL^{++}} Description Logic

Description Logics (DL) [Baader07] are a family of logics used to model relationships between entities in a domain. DLs consist of three types of entities, concepts which represent sets of individuals, roles which describe relationships between individuals and singleton individuals from a domain. A DL knowledge base is composed of two parts, the ABox containing extensional knowledge and the TBox containing intensional knowledge. The ABox states assertions about individuals using concepts and roles such as Doctor(Betty)Doctor(Betty) and brotherOf(Tim,Jill)brotherOf(Tim, Jill). The TBox contains subsumption axioms that describe relationships between concepts and roles such DogAnimalDog \sqsubseteq Animal and brotherOfparentOfbrotherOf \sqsubseteq parentOf. Many DLs exist with varying expressibility and reasoning complexity. The language that we will be using is EL++\mathcal{EL^{++}}.

EL++\mathcal{EL^{++}} [Baader05], an extension of EL\mathcal{EL}, is a lightweight DL that has limited expressibility but boasts polynomial time reasoning and is used on large ontologies like SNOMED CT. The table below outlines the syntax of the language.

NameSyntaxSemantics
top\topΔI\Delta^{I}
bottom\bot\emptyset
nominal{aa}{aIa^I}
conjunctionCDC \sqcap DCIC^I\capDID^I
existential restrictionr.C\exists r.C{xΔIx \in \Delta^I |\exists yΔIy \in \Delta^I: (x,y)(x,y) \in rIr^I \land yy \in CIC^I}
concrete domainp(f1,,fk)p(f_1, … ,f_k) for pp \in RR{xx \in ΔI\Delta^I |y1,,yk\exists y_1, … , y_k \in ΔDj\Delta^{D_j}: fiI(x)=yif_i^I(x) = y_i
for 1ik1 \le i \le k \land (y1,yk)(y_1, … y_k) pDj\in p^{D_j}}
GCICDC \sqsubseteq DCIDIC^I \sqsubseteq D^I
RIr1rkrr_1 \circ … \circ r_k \sqsubseteq rr1IrkIrIr_1^I \circ … \circ r_k^I \sqsubseteq r^I

An EL++\mathcal{EL^{++}} TBox is a finite and consistent set of GCIs and RIs. We refer to the left hand side expression as the sub-concept or sub-role and the right hand side expression as the super-concept or super-role for GCIs and RIs respectively.

Belief Change

The most prominently used construction of belief change is the AGM framework [Alchourron85]. The framework models an agent’s state of knowledge with a belief set which is a closed under logical implication set of sentences. Belief sets state exactly what the agent currently perceives as true. There are three belief change operations for modifying these sets:

The operation we will be focusing on is contraction.

While AGM describes contractions using belief sets, [Hansson93] describes a different approach using belief bases. Belief bases are sets of beliefs not closed under logical implication which better models what an agent with finite memory would store and are equivalent to DL TBoxes.

Two methods of belief base contractions are regularly used, partial meet contractions and kernel contractions. Partial meet contractions [Alchourron85] are done by using remainder sets, maximal subsets of a belief base KK that do not entail the axiom we wish to contract, α\alpha. The contracted belief base is the intersection of a select set of remainder sets. Kernels [Hansson94] are minimal subsets of KK that entail α\alpha. To perform a kernel contraction of α\alpha we select an axiom from each kernel and remove them from the belief base. Kernel contraction is the method that we will be considering from now on and is denoted by K÷αK \div \alpha.

The following five postulates [Hansson93] are used to capture the definition of a belief base kernel contraction:

  1. Success: If α\nvdash \alpha then K÷ααK\div\alpha \nvdash \alpha
  2. Inclusion: K÷αKK\div \alpha \subseteq K
  3. Core retainment: If βK\beta \in K and βK÷α\beta \notin K\div\alpha then there is a set KKK’ \subseteq K such that KαK’ \nvdash \alpha but KβαK’ \cup \beta \vdash \alpha
  4. Uniformity: If for every KKK’ \subseteq K we haveKαK’ \vdash \alpha iff KβK’ \vdash \beta then K÷α=K÷βK \div \alpha = K \div \beta
  5. Relative closure: KCn(K÷α)K÷αK \cap Cn(K\div\alpha) \subseteq K\div \alpha

If a function satisfies the first four postulates then it is a kernel contraction and if all five hold then it is a smooth kernel contraction.

The kernel contraction algorithm that we will be working was introduced in [Dawood17]. The algorithm calculates all α\alpha-kernels, kernels that entail α\alpha, in KK using the axiom pinpointing algorithm [Baader08]. We denote the set of α\alpha-kernels in belief base KK with KαK \perp \alpha. An incision function then selects axioms from each kernel to remove from the belief base. The set of axioms chosen by the incision function is called the drop set, σ(Kα)\sigma(K \perp\alpha). Since we prefer to remove as few axioms as possible, the incision function selects a minimum drop set. The calculation for minimum drop sets is equivalent to the minimum hitting set problem [Garey79, Dawood17] therefore a hitting set algorithm is used to find drop sets. Once a minimum hitting set is selected for the drop set, the axioms are removed to form the contracted belief base, K÷αK \div \alpha.

Hierarchical Total Preorder

Since an EL++\mathcal{EL^{++}} TBox is equivalent to a belief base we can use the kernel contraction T÷αT\div\alpha on some EL++\mathcal{EL^{++}} TBox TT and axiom α\alpha. Once the kernels are calculated and the minimum hitting sets are found we typically have multiple equal sized sets to choose as the drop set. Aside from simply removing as few axioms as possible, we ideally want to achieve the contraction with as minimal knowledge loss to the TBox as possible. Expanding on the specificity heuristic from [Dawood17] and exploiting the axiom hierarchy found in EL++\mathcal{EL^{++}}, we can define a total preorder binary relation which can order axioms by their importance within the TBox to help make our decision.

The hierarchical preorder relation, HP\le_{HP}, is based off the concept of an epistemic entrenchment [Gardenfors88], EE\le_{EE}. An epistemic entrenchment is a total preorder over the axioms of a belief set that represents the relative epistemic loss caused by removing each axiom. The relation αEEβ\alpha \le_{EE} \beta states that β\beta is equally or more entrenched in the knowledge base as α\alpha and therefore during contractions we would prefer to remove α\alpha over β\beta. An epistemic entrenchment is defined by five postulates, transitivity, dominance, conjunctiveness, minimality and maximality. These postulates capture the definition of epistemic loss in standard logics however not all postulates can be applied to description logics.

For the hierarchical preorder, we will form a new set of postulates to formulate a preorder that still uses the metric of epistemic loss to order the axioms but can applied on EL++\mathcal{EL^{++}} TBoxes. In EL++\mathcal{EL^{++}} we can measure epistemic loss as the number of entailments related to the most general expression that are lost. For example, in the TBox T= T ={AB,BC,CDA \sqsubseteq B, B \sqsubseteq C, C \sqsubseteq D}, removing CDC \sqsubseteq D results in losing the entailments AD,BDA \sqsubseteq D, B \sqsubseteq D and CDC \sqsubseteq D, however removing ABA \sqsubseteq B only loses the entailment ADA \sqsubseteq D. Since removing ABA \sqsubseteq B causes less epistemic loss we have ABHPCDA \sqsubseteq B \le_{HP} C \sqsubseteq D.

Before we formulate the postulates we need to first define some terminology that will help us describe the subsumption hierarchy of EL++\mathcal{EL^{++}} axioms.

Def 1 Connected Axioms:

For some TBox TT and axioms {AB,CDA\sqsubseteq B, C\sqsubseteq D} T\in T, where A,B,C,DA,B,C,D are either all concepts, existential restrictions and conjunctions (GCI) or all roles (RI). If either:

then ABA\sqsubseteq B is connected with CDC\sqsubseteq D, ABCDA\sqsubseteq B \mapsto C\sqsubseteq D. We refer to ABA\sqsubseteq B as a LHS connecting axiom\textit{LHS connecting axiom} of CDC\sqsubseteq D and CDC\sqsubseteq D as a RHS connecting axiom\textit{RHS connecting axiom} of ABA\sqsubseteq B.

Def 2 Subsumption Path:

For some TBox TT, axioms α\alpha and β\beta are on the same subsumption path\textit{subsumption path} if there exists a sequence of axioms {x1,x2,,xnx_1, x_2, … , x_n}T\in T for n1n\geq1, where both:

{x1,x2,,xnx_1, x_2, … , x_n} is a subsumption path\textit{subsumption path} of α\alpha and β\beta.

We now define the four postulates that we will be following while constructing the hierarchical preorder:

  1. Transitivity: If αHPβ\alpha\le_{HP}\beta and βHPδ\beta \le_{HP}\delta, then αHPδ\alpha \le_{HP}\delta.
  2. Totality: For all α,β\alpha, \beta, αHPβ\alpha \le_{HP} \beta or βHPα\beta \le_{HP} \alpha.
  3. Minimality: If belief base TT is consistent, then αT\alpha\notin T iff αHPβ\alpha \le_{HP}\beta for all β\beta.
  4. Hierarchical: If αβ\alpha \mapsto \beta and {α,β\alpha, \beta}T \in T for some belief base TT, then αHPβ\alpha \le_{HP}\beta.

Transitivity and totality are the two properties a total preorder must follow. The hierarchical postulate is a new postulate that captures the connection between subsumption hierarchies and epistemic loss in description logics. For example, if we have αβ\alpha \mapsto \beta thenβ\beta is higher in the subsumption hierarchy than α\alpha which means removing it will cause more entailments to be lost from the TBox, therefore β\beta causes more epistemic loss than α\alpha.

Hierarchical Weighting Function

When given a hierarchical preorder relation like αHPβ\alpha \le_{HP} \beta, we must determine which of the axioms causes the greater amount of epistemic loss when removed. To measure this, we will weights axioms based on their position within the TBox using the hierarchical weighting function.

The function takes an axiom α\alpha and first confirms if αT\alpha \in T (if not we assign weight(α)=1weight(\alpha) = -1) and then calculates weight(α)weight(\alpha) by going through the following 4 phases.

Subsumption Hierarchy Phase

The initial phase weighs α\alpha based off its placement within the TBox’s subsumption hierarchy. This is calculated by using the set of LHS connecting axioms of α\alpha, LHS(α)LHS(\alpha). To find the LHS connecting axioms that appear from using support axioms we first calculate the indirect children of the existential restrictions in the TBox.

Def 3 Indirect Child:

Given AA is a concept, existential restriction or a conjunction of concepts and existential restrictions, BB and CC are concepts and rr and ss are roles:

We can use these indirect children to find all LHS connecting axioms for each axiom by using the rule:

The subsumption hierarchy weighting procedure can now be executed as follows:

Subsumption Hierarchy Weighting Procedure:

Since cycles are allowed to occur in the TBox we have an anti-cycling check for the recursive step in the above procedure. While keeping a list of all previously visited axioms in the current recursive stack, if we try to get weight(β)weight(\beta) and β\beta is already in the visited axiom list we do not consider its weight at the current recursion level.

An example of the subsumption hierarchy weightings procedure is shown in the following:

Example 1:

TBox:
ABA \sqsubseteq B BCB \sqsubseteq CCr.DC \sqsubseteq \exists r.Dp.EF\exists p.E \sqsubseteq F
Ap.EA \sqsubseteq \exists p.EDED \sqsubseteq Ersr \sqsubseteq ssps \sqsubseteq p
LHS Connecting Axioms:
LHS(AB)={}LHS(A \sqsubseteq B)= \{\} LHS(BC)={AB}LHS(B \sqsubseteq C)=\{A \sqsubseteq B \}
LHS(Cr.D)={BC}LHS(C \sqsubseteq \exists r.D)=\{B \sqsubseteq C\}LHS(p.EF)={Cr.D,Ap.E}LHS(\exists p.E \sqsubseteq F)=\{C \sqsubseteq \exists r.D, A \sqsubseteq \exists p.E\}
LHS(Ap.E)={}LHS(A \sqsubseteq \exists p.E) =\{\}LHS(DE)={}LHS(D \sqsubseteq E)=\{\}
LHS(rs)={}LHS(r \sqsubseteq s)=\{\} LHS(sp)={rs}LHS(s \sqsubseteq p)=\{r \sqsubseteq s\}
Weights:
weight(AB)=0weight(A \sqsubseteq B)=0weight(BC)=1weight(B \sqsubseteq C)=1
weight(Cr.D)=2weight(C \sqsubseteq \exists r.D)=2weight(p.EF)=3weight(\exists p.E \sqsubseteq F)=3
weight(Ap.E)=0weight(A \sqsubseteq \exists p.E)=0weight(DE)=0weight(D \sqsubseteq E)=0
weight(rs)=0weight(r \sqsubseteq s)=0weight(sp)=1weight(s \sqsubseteq p)=1

Support Axiom Phase

An issue with subsumption hierarchy weights is that support axioms are under-weighted. If we consider Example 1, we have Cr.Dp.EFC \sqsubseteq \exists r.D \mapsto \exists p.E \sqsubseteq F because of the support axioms S=S ={rs,sp,DEr \sqsubseteq s, s \sqsubseteq p, D \sqsubseteq E}. With the axioms of S we have TCFT \models C \sqsubseteq F however if we remove any of these axioms this would not hold. When we perform a contraction of AEA \sqsubseteq E on TBox T we get 2 kernels:

  1. K1=K_1 = {AB,BC,Cr.D,p.EF,DE,rs,spA \sqsubseteq B, B \sqsubseteq C, C \sqsubseteq \exists r.D, \exists p.E \sqsubseteq F, D \sqsubseteq E, r \sqsubseteq s, s \sqsubseteq p}
  2. K2=K_2 = {Ap.E,p.EFA \sqsubseteq \exists p.E, \exists p.E \sqsubseteq F}

Removing the lowest weighted axiom in K2K_2 we simply choose Ap.EA \sqsubseteq \exists p.E, however K1K_1 has 3 axioms with a weight of 0 to choose from, AB,rsA \sqsubseteq B, r \sqsubseteq s, and DED \sqsubseteq E. The issue is removing ABA \sqsubseteq B preserves TCFT \models C \sqsubseteq F, while removing either rsr \sqsubseteq s or DED \sqsubseteq E does not because its causes Cr.D∄p.EFC \sqsubseteq \exists r.D \mapsto\mkern-16mu\not \exists p.E \sqsubseteq F. Since removing these two axioms causes a greater amount epistemic loss to the TBox we need to adjust their weights to reflect this.

The support axiom weighting phase makes adjustments by matching the support axioms’ sub-concept/role with axioms that have existential restrictions with the same concept/role in their super-concept.

Support Axiom Weighting Procedure:

Given A,BA,B are concepts and r,sr,s are roles:

Continuing with Example 1, applying the support axiom weighting procedure results in the following:

Example 1 cont.

Support Axiom Adjustments:
Weights:
weight(AB)=0weight(A \sqsubseteq B)=0weight(BC)=1weight(B \sqsubseteq C)=1
weight(Cr.D)=2weight(C \sqsubseteq \exists r.D)=2weight(p.EF)=3weight(\exists p.E \sqsubseteq F)=3
weight(Ap.E)=0weight(A \sqsubseteq \exists p.E)=0weight(DE)=2weight(D \sqsubseteq E)=2
weight(rs)=2weight(r \sqsubseteq s)=2weight(sp)=1weight(s \sqsubseteq p)=1

Cycle Adjustment Phase:

Next is an optional phase to deal with cyclic TBoxes. Say we have the TBox:

ABA \sqsubseteq BBCB \sqsubseteq CCAC \sqsubseteq A

The weights assigned in the subsumption hierarchy phase varies depending on the order the axioms are processed. For example, if we start with BCB \sqsubseteq C we would gets the weights:

weight(AB)=1weight(A \sqsubseteq B) = 1weight(BC)=2weight(B \sqsubseteq C) = 2weight(CA)=0weight(C \sqsubseteq A) = 0

The anti-cycling check prevents the procedure from entering an infinite loop however the hierarchical postulate is broken because weight(BC)>weight(CA)weight(B \sqsubseteq C) > weight(C \sqsubseteq A). Another problem is that the current weights state that removing CAC \sqsubseteq A causes the least amount of epistemic loss however all of the axioms in the loop cause the same amount of loss. To fix both these issues, the cycle adjustment procedure identifies loops and increases all of the loop’s axioms to the maximum weight among these axioms.

Cycle Adjustment Procedure:

Applying this procedure on the above TBox gives us the weights:

weight(AB)=2weight(A \sqsubseteq B) = 2weight(BC)=2weight(B \sqsubseteq C) = 2weight(CA)=2weight(C \sqsubseteq A) = 2

Offset Adjustment Phase

The support axiom phase adjusts support axioms’ weights to better reflect their potential epistemic loss within the TBox, however these adjustments can break the hierarchical postulate. In Example 1’s TBox, we currently have weight(rs)=2weight(r\sqsubseteq s) = 2 and weight(sp)=1weight(s \sqsubseteq p) = 1 however since rsspr \sqsubseteq s \mapsto s \sqsubseteq p we require weight(rs)weight(sp)weight(r \sqsubseteq s) \leq weight(s \sqsubseteq p ). The offset adjustment procedure fixes this by checking that all of the axioms have a larger weight than their LHS connecting axioms and increases the axiom’s weight when this does not hold.

Offset Adjustment Procedure:

Like the subsumption hierarchy weighting procedure, the offset adjustment procedure also contains the same anti-cycling check during the recursive step of calculating oβo_{\beta} to prevent infinite loops.

Finishing Example 1, we go through the offset adjustment phase and get the following:

Example 1 cont.

Offset Adjustments:
Weights:
weight(AB)=0weight(A \sqsubseteq B)=0weight(BC)=1weight(B \sqsubseteq C)=1
weight(Cr.D)=2weight(C \sqsubseteq \exists r.D)=2weight(p.EF)=3weight(\exists p.E \sqsubseteq F)=3
weight(Ap.E)=0weight(A \sqsubseteq \exists p.E)=0weight(DE)=2weight(D \sqsubseteq E)=2
weight(rs)=2weight(r \sqsubseteq s)=2weight(sp)=3weight(s \sqsubseteq p)=3

Using Hierarchical Weighting Function in HP\le_{HP}

With the hierarchical weighting function we can now implement HP\le_{HP} to solve hierarchical preorder relations using the following rule:

Algorithm 1 outlines the relation validity checking and weight calculation processes. Here we are assuming that the TBox T stores pairs of axioms and their weights.

Postulate Proofs

We will now prove that the hierarchical preorder relation follows the postulates previously introduced.

Theorem: The hierarchical preorder binary relation HP\le_{HP} satisfies the transitivity, totality, minimality and hierarchical postulates when applied to an EL++ TBox.

Proof: Given TBox TT and axioms α,β,δ\alpha, \beta,\delta.

Transitivity: Assume αHPβ\alpha \le_{HP} \beta and βHPδ\beta \le_{HP} \delta. This means that weight(α)weight(β)weight(\alpha) \le weight(\beta) and weight(β)weight(δ)weight(\beta) \le weight(\delta) which implies weight(α)weight(δ)weight(\alpha) \le weight(\delta) therefore giving αHPδ\alpha \le_{HP} \delta.

Totality: For all α,β\alpha, \beta we have their weights, weight(α)weight(\alpha) and weight(β)weight(\beta). If weight(α)weight(β)weight(\alpha) \le weight(\beta) then αHPβ\alpha \le_{HP} \beta and if weight(β)weight(α)weight(\beta) \le weight(\alpha) then βHPα\beta \le_{HP} \alpha. Therefore for all α,β\alpha, \beta, we have αHPβ\alpha \le_{HP} \beta or βHPα\beta \le_{HP} \alpha

Minimality: (\Longrightarrow) Assume T is consistent and αT\alpha \notin T. In the hierarchical weighting function we initially check if αT\alpha \in T. Since this is false, we assign weight(α)=1weight(\alpha) = -1. The minimum weight any axiom β\beta can have is -1, therefore weight(α)weight(β)weight(\alpha) \le weight(\beta) and αHPβ\alpha \le_{HP} \beta for all β\beta.

(\Longleftarrow) Assume T is consistent and αHPβ\alpha \le_{HP} \beta for all β\beta. We then get weight(α)weight(β)weight(\alpha) \le weight(\beta) for all β\beta. Since TT is consistent, we know that there exists some axiom δT\delta \notin T that would make TT inconsistent, therefore weight(δ)=1weight(\delta) = -1. Since weight(α)weight(β)weight(\alpha) \le weight(\beta) for all β\beta we must have weight(α)=1weight(\alpha)=-1 which can only occur when αT\alpha \notin T.

Hierarchical: Assume αβ\alpha \mapsto \beta and α,βT{\alpha,\beta} \in T. To check if αHPβ\alpha \le_{HP}\beta we begin by getting weight(α)weight(\alpha) and weight(β)weight(\beta). At the start of offset adjustment phase we have weight(α)=iweight(\alpha) = i and weight(β)=jweight(\beta) = j where i,j0i,j \ge 0. During the phase, offsets for α\alpha and β\beta, oαo_{\alpha} and oβo_{\beta}, are calculated and added to each of the axioms’ weights. Depending on the values of ii and jj, oβo_{\beta} has the value:

Applying these offsets, we get:

weight(α)=i+oαweight(β)=j+oβ=j+oα+ij+1=i+oα+1 \begin{aligned} weight(\alpha) &= i + o_{\alpha} \\ weight(\beta) &= j + o_{\beta} \\ &= j + o_{\alpha} +i - j + 1 \\ &= i + o_{\alpha} +1 \end{aligned}

weight(α)=i+oαweight(β)=j+oβ=i+oα \begin{aligned} weight(\alpha) &= i + o_{\alpha} \\ weight(\beta) &= j + o_{\beta} \\ &= i + o_{\alpha} \end{aligned}

Therefore the hierarchical weighting function always terminates with weight(α)weight(β)weight(\alpha) \le weight(\beta) and thus always returns αHPβ\alpha \le_{HP} \beta whenever αβ\alpha \mapsto \beta and α,βT{\alpha, \beta} \in T.

This proves that the hierarchical preorder binary relation HP\le_{HP} satisfies all four postulates.

Kernel Contraction with Hierarchical Preorder

Returning to the problem of selecting which hitting set to remove in the kernel contraction algorithm, we can extend the definition of HP\le_{HP} to create a new total preorder relation that works with sets of axioms, HPS\le_{HPS}. The relation H1HPSH2H_1 \le_{HPS} H_2 where H1,H2TH_1,H_2 \subseteq T states removing H2H_2 causes an equal or greater amount of epistemic lost as removing H1H_1. For set weights can say weight(H1)=sum(weight(α))weight(H_1) = sum(weight(\alpha)) for all axioms αH1\alpha \in H_1. To validate HPS\le_{HPS} relations we use the rule:

In order for the kernel contraction algorithm to be smooth, we must ensure that the same drop set is chosen every time we repeat a contraction. Therefore we assume that a canonical ordering of the axioms exists which can be used in tiebreakers where multiple axioms have the same minimum weight.

When choosing which hitting set to remove, all of the hitting sets are ordered with HPS\le_{HPS} and then the set that is at the bottom of the preorder is selected as the drop set. Algorithm 2 outlines the kernel contraction algorithm T÷αT\div\alpha using HPS\le_{HPS}.

Smooth Kernel Contraction Proof

We will now show that T÷αT\div\alpha is a smooth kernel contraction by proving that all five postulates hold.

Theorem 2: The kernel contraction described in Algorithm 2 satisfies all five smooth kernel contraction postulates when applied an EL++\mathcal{EL^{++}} TBox.

Proof: Given a TBox TT and axioms α,β{\alpha, \beta}

Success: Assume α\nvdash\alpha. When the pinpointing algorithm is applied, a finite number of α\alpha-kernels are calculated that each entail α\alpha. σ(Tα)\sigma(T \perp \alpha) is a minimum hitting set of the kernels so the set will include axioms from every kernel. Therefore the contracted TBox Tσ(Tα)T \setminus \sigma(T \perp \alpha) will have no α\alpha-kernels and T÷ααT\div\alpha \nvdash \alpha.

Inclusion: The algorithm never adds new axioms to TT therefore T÷αTT\div\alpha \subseteq T.

Core Retainment: Assume βT\beta \in T and βT÷α\beta \notin T\div\alpha. That means βσ(Tα)\beta \in \sigma(T \perp \alpha). Set T=TαT’=T-\alpha which means TTT’ \subseteq T and TαT’ \nvdash \alpha. If we add β\beta to TT’ then at least one α\alpha-kernel exists in TβT’ \cup \beta since β\beta is in a minimal hitting set of the kernels. Therefore TβαT’ \cup \beta \vdash \alpha.

Uniformity: Assume for every TTT’ \subseteq T, we have TαT’ \vdash \alpha iff TβT’ \vdash \beta. In [Hansson94], it is explained that our assumption is equivalent to Tα=TβT \perp \alpha = T \perp \beta. When the incision function is run on TαT \perp \alpha and TβT \perp \beta, the same set of hitting sets will be calculated and since the preorder using HPS\le_{HPS} is unique (assuming <<_* exists), σ(Tα)=σ(Tβ)\sigma(T \perp \alpha) = \sigma(T \perp \beta) and therefore T÷α=T÷βT\div\alpha = T\div\beta.

Relative Closure: For some axiom β\beta, if βT\beta \in T and βT÷α\beta \in T\div\alpha, then trivially βTCn(T÷α)\beta \in T \cap Cn(T\div\alpha). Also trivially, if βT\beta \notin T then βTCn(T÷α)\beta \notin T \cap Cn(T\div\alpha).

For the case where βT\beta \in T and βT÷α\beta \notin T\div\alpha. Let us assume that βCn(T÷α)\beta \in Cn(T\div\alpha). We know that βσ(Tα)\beta \in \sigma(T \perp \alpha) therefore β\beta is found in at least one α\alpha-kernel. More specifically, since all hitting sets calculated are minimum, we know that for all α\alpha-kernels that contain β\beta, there must be some α\alpha-kernel kk where no other δσ(Tα)\delta \in \sigma(T \perp \alpha) is found. If this is not true then the hitting set would not be minimal since β\beta would be unnecessary. After removing the axioms of σ(Tα)\sigma(T \perp \alpha), we should have contracted α\alpha and have Tα=T \perp \alpha = \emptyset however since βCn(T÷α)\beta \in Cn(T\div\alpha), there exists a subset of axioms ST÷αS \subseteq T\div\alpha where SβS \vdash \beta and therefore SkβαS \cup k \setminus \beta \vdash \alpha. This contradicts the success postulate for kernel contractions. Therefore βCn(T÷α)\beta \notin Cn(T\div\alpha) thus βTCn(T÷α)\beta \notin T \cap Cn(T\div\alpha). Since all axioms fall into one of these cases, we have TCn(T÷α)T÷αT \cap Cn(T\div\alpha) \subseteq T\div \alpha always holds.

This proves that Algorithm 2 is a smooth kernel contraction.

Future Work

The hierarchical total preorder relation is a versatile method for ordering axioms and sets of axioms in TBoxes that do not need to be normalized and can be cyclic. When used in kernel contractions, the preorder limits the amount of epistemic loss caused to the TBox and maintains the smooth kernel contraction property.

This hierarchical approach is simply one way of ordering axioms. Future work can be done into developing new preorders or epistemic entrenchments that use different approaches to weighting axioms that work better under certain contexts. An issue with the hierarchical weighting function currently is that after every contraction, the entire TBox needs to be re-weighted in order to update the preorder. Developing a way to adjust weights after a contraction is an avenue to explore further. Finally, though the preorder was construction for EL++\mathcal{EL^{++}} TBoxes, it would be interesting to see if the method can be expanded to work with more expressive descriptions logics like the ALC\mathcal{ALC} family.

References

[Alchourron85] Alchourrón, C., Gärdenfors, P., and Makinson, D. (1985). On the logic of theory change: Partial meet contraction and revi- sion functions. 50(2):510–530.

[Baader05] Baader, F., Brandt, S., and Lutz, C. (2005). Pushing the EL envelope. In Proceedings of the Nineteenth International Joint Confer- ence on Artificial Intelligence IJCAI-05, Edinburgh, UK. Morgan-Kaufmann Publishers.

[Baader07] Baader, F., Calvanese, D., McGuiness, D., Nardi, D., and Patel-Schneider, P., editors (2007). The Description Logic Handbook. Cam- bridge University Press, Cambridge, second edition.

[Baader08] Baader, F. and Suntisrivaraporn, B. (2008). Debugging SNOMED CT using axiom pinpointing in the description logic EL+ . In Proceedings of the 3rd Knowledge Representation in Medicine (KR-MED’08): Representing and Sharing Knowledge Using SNOMED, vol- ume 410 of CEUR-WS.

[Dawood17] Dawood, A., Delgrande, J., and Liao, Z. (2017). A study of kernel contraction in EL. In Gordon, A., Miller, R., and Turan, G., editors, Thirteenth International Symposium on Logical Formalizations of Common- sense Reasoning, London, UK. (7 double-column AAAI-style pages).

[Gardenfors88] Gärdenfors, P. and Makinson, D. (1988). Re- visions of knowledge systems using epistemic entrenchment. In Proceedings of the 2Nd Conference on Theoretical Aspects of Reasoning About Knowl- edge, TARK ’88, pages 83–95, San Francisco, CA, USA. Morgan Kaufmann Publishers Inc.

[Garey79] Garey, M. and Johnson, D. (1979). Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H. Freeman and Co., New York.

[Hansson93] Hansson, S. O. (1993). Reversing the levi identity. 22(6):637– 669.

[Hansson94] Hansson, S. O. (1994). Kernel contraction. 59(3):845–859.


Next - An Empirical Analysis Packing Discriminators in Generative Adversarial Networks

#research