<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Exploiting Partial Information in Taxonomy Construction</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Rob Shearer</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ian Horrocks</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Boris Motik</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Oxford University Computing Laboratory</institution>
          ,
          <addr-line>Oxford</addr-line>
          ,
          <country country="UK">UK</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>One of the core services provided by description logic (DL) reasoners is classification: determining the subsumption quasi-ordering over the concept names occurring in a knowledge base (KB) and caching this information in the form of a directed acyclic graph known as the concept hierarchy or taxonomy. For less expressive DLs, such as members of the E L family, it may be possible to derive all the relevant subsumption relationships in a single computation [Baader et al., 2005]. In general, however, it will be necessary to “deduce” the subsumption relation by performing individual subsumption tests between pairs of concept names. For n concept names this will, in the worst case, require n2 tests, but for the tree-shaped hierarchies typically found in realistic KBs much better results can be achieved using algorithms that construct the taxonomy incrementally by traversing the partially-constructed taxonomy in order to find the right place to insert each concept name. This kind of algorithm suffers from two main difficulties. First, individual subsumption tests can be computationally expensive-for some complex KBs, even state-of-theart reasoners may take a long time to perform a single test. Second, even when subsumption tests themselves are very fast, a knowledge base containing a very large number of concepts1 will obviously result in a very large taxonomy, and repeatedly traversing this structure can be costly. The first difficulty is usually addressed by using an optimized construction that tries to minimize the number of subsumption tests performed in order to deduce the subsumption relation. Most implemented systems use an “enhanced traversal” algorithm due to Ellis [1991] and to Baader et al. [1994] which adds concepts to the taxonomy one at a time using a two-phase top-down and bottom-up breadth-first search of the partially-constructed taxonomy. The algorithm exploits the structure of the KB to identify “obvious” subsumers (so-called told-subsumers) of each concept, and uses this information in a heuristic that chooses the order in which concepts are added, the goal being to construct the taxonomy top-down; it also exploits information from the topdown search in order to prune the bottom-up search.2 The second difficulty can be addressed by optimizations that try to identify a subset of the concepts for which complete information about the subsumption relation can be</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>1 For the sake of brevity we will from now on take concept to mean concept name unless
otherwise stated.
2 Other optimizations can be used to decrease the cost of individual subsumption tests (see, e.g.,
[Tsarkov et al., 2007]), but these techniques are largely orthogonal to classification
optimizations.
deduced without performing any individual subsumption tests. This can be achieved,
e.g., by identifying completely-defined concepts [Tsarkov et al., 2007]—those for which
only structurally-obvious subsumption relationships hold. Having constructed part of
the taxonomy using such a technique, the remaining concepts can be added using the
standard enhanced traversal algorithm.</p>
      <p>In this paper we present a new classification algorithm that generalizes and refines
the above techniques. Starting with a set of known subsumption relationships and a
(larger) set of possible subsumption relationships, it computes the subsumption
quasiordering by extending the known set and reducing the possible set until the two
coincide. An important advantage of our algorithm is that it is able to exploit partial
information about all concepts as well as complete information about some concepts. We
show how such known and possible relationships can be derived from data generated in
the course of (hyper) tableau-based subsumption and satisfiability testing; this approach
provides an efficient generalization of the told-subsumer and completely-defined
optimizations, both of which derive partial information from structural analysis of the KB.
When the known and possible sets do not coincide, our algorithm incrementally
computes additional (non-)subsumption relationships, and maximally exploits the resulting
information to refine the sets of known and possible subsumers; this can be seen as a
generalization of the search-pruning optimizations introduced by Baader et al..</p>
      <p>We have used a prototypical implementation of our new algorithm to compare its
behavior with that of the classification algorithms implemented in state-of-the-art DL
systems. The comparison shows that our algorithm can dramatically reduce the
number of subsumption tests performed when classifying a KB. Moreover, in contrast to
the completely-defined optimization, the behavior of our algorithm degrades gracefully
as the gap between the sets of initially-known and possible subsumption relationships
increases.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries</title>
      <p>Given a set of elements U = fa; b; c; :::g, let R be a binary relation over U , i.e., a
subset of U U . We say that there is a path from a to b in R if there exist elements
c0; :::; cn 2 U such that c0 = a, cn = b, and hci; ci+1i 2 R for all 0 i &lt; n.
The transitive closure of R is the relation R+ such that ha; bi 2 R+ iff there is a path
from a to b in R. The transitive-reflexive closure R of R is the transitive closure of the
reflexive extension of R, i.e. R+ [ fha; ai j a 2 U g.</p>
      <p>A binary relation is a quasi-ordering if it is both reflexive and transitive. Clearly,
the subsumption relation on a set of concepts is a quasi-ordering. Note, however, that it
is not a partial-ordering, because it is not antisymmetric: C v D and D v C does not
imply that C = D.</p>
      <p>The restriction of a relation R to a subset D of U is the relation R[D] = R \ (D D).
All restrictions of a reflexive relation are reflexive, and all restrictions of a transitive
relation are transitive; thus, a restriction of a quasi-ordering is itself a quasi-ordering.
Further, if R S for relations R and S, then R[D] S[D] for all D U .</p>
    </sec>
    <sec id="sec-3">
      <title>Deducing a Quasi-Ordering</title>
      <p>Given a universe U , a quasi-ordering R over U and a finite set of elements D U , we
consider the problem of computing the restriction R[D] via tests of the form ha; bi 2? R.
If U is the set of (arbitrary) concepts in a DL L, R is the subsumption relation over U
and D is the set of concept names occurring in an L-KB K, then computing R[D] is
equivalent to classifying K, and the relevant tests are subsumption tests.</p>
      <p>We assume that we begin with partial information about R: we are provided with a
set K = fha0; b0i; :::; ham; bmig where hai; bii 2 R for 0 i m, and also with a
set Kneg = fhc0; d0i; :::; hcn; dnig where hci; dii 62 R for 0 i n. We call the set
K the known portion of R. In this paper we do not operate on the set Kneg directly;
our presentation instead refers to its complement U U n Kneg, which we denote by
P and call the possible portion of R. It is thus the case that K R P . If no partial
information is available, then K = ; and P = U U .</p>
      <p>We can use the result of each test ha; bi 2? R to further refine the bounds on R by
either adding ha; bi to K or removing it from P ; eventually K[D] = R[D] = P [D]. We
next show, however, that the bounds on R can sometimes be refined without performing
additional tests by combining information from K and P .
3.1</p>
      <sec id="sec-3-1">
        <title>Maximizing Partial Information</title>
        <p>The key to minimizing the number of explicit tests required to discover R[D] is
maximizing the information gained from K and P . To do so, we exploit the knowledge that
R is a quasi-ordering. In this case, K R obviously implies that K R, so we can
use K to obtain a tighter lower bound on R. Less obvious is the fact that we can also
obtain a tighter upper bound on R by identifying pairs in P which are not consistent
with K and the transitivity of R.</p>
        <p>For example, consider the case shown in Figure 1(a). If we know that b is a successor
of a in R (i.e., ha; bi 2 K), then an element c can be a successor of b only if it is also
a successor of a (if ha; ci 62 P then hb; ci 62 R). Further, a can be a successor of an
element d only if b is also a successor of d.</p>
        <p>Both of these examples are special cases of the structure shown in Figure 1(b): if u
is a successor of u0 and v0 is a successor of v, then an edge from u to v would form a
path all the way from u0 to v0, requiring v0 to be a successor of u0. Since R is reflexive
we can choose u0 = u or v = v0 to see that v can be a successor of u only if v is a
successor of u0 and v0 is also a successor of u. We use this to formalize a subset bP cK
of P , and show that bP cK is the tightest possible upper bound on R.</p>
        <p>Definition 1 Let K and P denote two relations such that K
reduction bP cK of P due to K as follows:
P . We define the
bP cK = P \ fhu; vi j 8u0; v0 : fhu0; ui; hv; v0ig
K
! hu0; v0i 2 P g
Lemma 1 Let K and P denote two relations such that K P . (i) For all
quasiorders R such that K R P , it is the case that R bP cK . (ii) Let S be a proper
subrelation of bP cK . Then there exists a quasi-ordering R such that K R P and
R 6 S; i.e. bP cK is minimal.</p>
        <p>d
only if
b
a
only if
u0</p>
        <p>only if
u
v
v0
(a) Simple cases
(b) General case
Proof. (i) Let hu; vi be a tuple in R. For every u0, v0 such that fhu0; ui; hv; v0ig K ,
K R implies that fhu0; ui; hv; v0ig R. Because R is transitive and hu; vi 2 R,
it must also be the case that hu0; v0i 2 R and thus that hu0; v0i 2 P . Consequently,
hu; vi 2 bP cK , so R bP cK .</p>
        <p>(ii) Choose elements a and b such that ha; bi 2 bP cK but ha; bi 62 S. Let R be the
transitive-reflexive closure of the relation K [ fha; big. Clearly K R and R 6 S.
Let hu; vi be any tuple in R. There are three cases:
1. hu; vi = ha; bi. Then hu; vi 2 P since ha; bi 2 bP cK and bP cK 2 P .
2. hu; vi 2 K+. Then hu; vi 2 P since K P .
3. hu; ai 2 K and hb; vi 2 K+. Then hu; vi 2 P since ha; bi 2 bP cK .
For any tuple hu; vi 2 R, it is the case that hu; vi 2 P , thus K
R</p>
        <p>P and R 6 S.</p>
        <p>tu</p>
        <p>Note that bP cK itself is not necessarily transitive: given three elements a, b, and c
and the relation P = fha; ai; hb; bi; hc; ci; ha; bi; hb; cig, it is the case that bP c; = P .
Of course no transitive subrelation R of P contains both ha; bi and hb; ci.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Taxonomy Construction and Searching</title>
        <p>As described in Section 3.1, given relations K and P such that K R P for some
unknown quasi-ordering R, a tuple ha; bi is an element of R if ha; bi 2 K , and ha; bi
is not an element of R if ha; bi 62 bP cK ; the only “unknown” elements of R are the
tuples in bP cK n K . Further, each test of the form ha; bi 2? R provides additional
information which can be used to extend K or restrict P . This suggests the following
simple procedure for deducing the restriction R[D] of a quasi-ordering R to domain D:
COMPUTE-ORDERING(K; P; D)
while K [D] 6= bP cK [D]
do choose some a; b 2 D such that ha; bi 2 bP cK n K
if ha; bi 2? R then add ha; bi to K</p>
        <p>else remove ha; bi from P</p>
        <p>In the case where no information about the quasi-ordering R[D] is available other
than K and P , the above procedure performs well. In many cases, however, some
general properties about R[D] can be assumed. In the case where R represents
subsumption relationships between concepts, for example, R[D] is typically much smaller than
D D (i.e., relatively few pairs of concepts are in a subsumption relationship). In such
cases, it is beneficial to use heuristics that exploit the (assumed) properties of R[D]
when choosing a and b in line 2 of the above procedure.</p>
        <p>We summarize below a variant of COMPUTE-ORDERING which performs well
when the restriction to be computed is treelike in structure and little information about
the ordering is available in advance. This procedure is designed to perform individual
tests in an order similar to the enhanced traversal algorithm; however, it minimizes the
number of individual tests performed by maximally exploiting partial information.</p>
        <p>The algorithm chooses an element of a 2 D for which complete information about
R[D] is not yet known. It identifies the subset V " D of elements b for which
ha; bi 2 R, and the subset V # D of elements b for which hb; ai 2 R, updating
K and P accordingly. In order to compute these sets efficiently, we make use of the
subroutines SUCCESSORS and PREDECESSORS, which perform the actual tests. The
SUCCESSORS and PREDECESSORS functions are derived from the enhanced traversal
algorithm: they perform a breadth-first search of the transitive reduction K of the
known subsumptions K—the smallest relation whose transitive closure is K . In order
to avoid the cost of repeated traversals of K , we restrict the searches to, respectively,
the possible successors and predecessors of a. We omit the details of these search
routines for the sake of brevity.</p>
        <p>COMPUTE-ORDERING-2(K; P; D)
while K [D] 6= bP cK [D]
do choose some a; x 2 D s.t. ha; xi 2 bP cK n K or hx; ai 2 bP cK n K
let B be the possible successors of a, i.e. D \ fb j ha; bi 2 bP cK n K g
if B 6= ; then V " SUCCESSORS(a; K [B])
add ha; bi to K for every element b of V "
remove ha; bi from P for every element b of B n V "
let B be the possible predecessors of a, i.e. D \ fb j hb; ai 2 bP cK n K g
if B 6= ; then V # PREDECESSORS(a; K [B])
add hb; ai to K for every element b of V #
remove hb; ai from P for every element b of B n V #
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Extracting Subsumption Information from Models</title>
      <p>We next turn our attention to the specific case of identifying all subsumption
relationships between the concepts of a knowledge base K. Instead of treating a reasoning
service as an oracle that answers boolean queries of the form “is A subsumed by B
w.r.t. K?” (which we will write K j=? A v B), we consider how information generated
internally by common reasoning algorithms can be exploited to discover information
about the subsumption quasi-ordering.</p>
      <sec id="sec-4-1">
        <title>4.1 Identifying Non-Subsumptions</title>
        <p>
          Most modern reasoners for Description Logics, including HermiT, Pellet, and FaCT++,
transpose subsumption queries into satisfiability problems; in particular, to determine
if K j= A v ?, these reasoners test whether the concept A is satisfiable w.r.t. K. They
do this by trying to construct (an abstraction of) a Tarski-style model of K in which
the extension of A is nonempty. We begin by providing an abbreviated formalization of
such models (see Baader et al. [
          <xref ref-type="bibr" rid="ref2">2003</xref>
          ] for more details):
Definition 2 Given sets of concept names NC , role names NR and individual names
NI , an interpretation I = ( I ; I ) consists of a nonempty set I and an interpretation
function I which maps every element of NC to a subset of I , every element of NR to
a subset of I I and every element of NI to an element of I . An interpretation
I is a model of an axiom A v B if AI BI (similar definitions hold for other kinds
of statement); it is a model of a KB K if it models every statement in K.
        </p>
        <p>Let A and B be concepts. A model I of K is a witness for the satisfiability of A
w.r.t. K if AI is nonempty; it is a witness for the nonsubsumption A 6v B w.r.t. K if
AI 6 BI , i.e., if there exists i 2 I s.t. i 2 AI and i 62 BI .</p>
        <p>The algorithms in question typically represent the model being constructed as an
ABox, i.e., as a set of assertions of the form x : C and hx; yi : R for individuals x; y,
(possibly complex) concepts C and roles R [Baader et al., 2003]. An ABox including
the assertion x : C represents a model in which xI 2 CI . To construct a witness for
the satisfiability of a concept A, the ABox is initialised with an assertion x : A and the
construction proceeds in a goal-directed manner by adding further assertions only as
necessary in order to ensure that the ABox represents a model of K.</p>
        <p>Assuming that the construction is successful, the resulting ABox/model provides a
rich source of information. For example, for any concept B such that x :(:B) is in the
ABox, it is the case that xI 62 BI ; thus the model is a witness for the non-subsumption
K j= A 6v B for all such concepts B. In many cases, the non-presence of x : B in the
ABox is sufficient to conclude the relevant non-subsumption; in fact, when using a
hypertableau algorithm, this is always the case.</p>
        <p>The goal-directed nature of the ABox construction means that the models
constructed are typically quite small. As a result, these models tend to be extremely rich
in non-subsumption information: in a typical witness for the satisfiability of A, i.e.,
a model I of K with i 2 AI , there will be relatively few other concepts B such
that i 2 BI , and thus I will identify the vast majority of concepts in K as
nonsubsumers of A. For this reason, it is almost always more efficient to record the set
PA = fB j i 2 AI and i 2 BI for some ig of “possible subsumers” of A.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2 Identifying Subsumptions</title>
        <p>While single models allow us to detect non-subsumptions, additional information about
the space of possible models is required in order to identify subsumption relationships.
Sound and complete tableau reasoning algorithms systematically explore the space of
all “canonical” models (typically tree- or forest-shaped models), on the basis that, if
any model exists, then one of these canonical models also exists. In particular, when
K includes disjunctions or other sources of nondeterminism, it may be necessary to
choose between several possible ways of modelling such statements, and to backtrack
and try other possible choices if the construction fails.</p>
        <p>For such algorithms, it is usually easy to show that, if the ABox was initialized with
x : A, the construction did not involve any nondeterministic choices, and the resulting
ABox includes the assertion x : B, then it is the case that in any model I of K, i 2 AI
implies i 2 BI , i.e., that K j= A v B. Moreover, as we have already seen in Section 4.1,
such an ABox is (at least in the hypertableau case) a witness to the non-subsumption
K j= A 6v B for all concepts B such that x : B is not in the ABox. Thus, when testing
the satisfiability of a concept A, it may be possible to derive complete information about
the subsumers of A.</p>
        <p>The hypertableau-based HermiT reasoner is designed to reduce nondeterminism,
and completely avoids it when dealing with Horn-SHIQ KBs; for such KBs it is thus
able to derive complete information about the subsumers of a concept A using a single
satisfiability test. This allows HermiT to derive all relevant subsumption relationships
in a Horn-SHIQ knowledge base as a side effect of performing satisfiability tests on
each of the named concepts [Motik et al., 2007].</p>
        <p>This idea can be extended so as to also derive useful information from
nondeterministic constructions by exploiting the dependency labeling typically used to
enable “dependency-directed backtracking”—an optimization which reduces the effects
of nondeterminism in reasoning [Horrocks, 1997]. In the resulting ABoxes, each
assertion is labelled with the set of choice points on which it depends. An empty label
indicates that the relevant assertion will always be present in the ABox, regardless of
any choices made during the construction process. Thus, if the ABox is initialized with
x : A, an empty-labelled assertion x : B in the resulting ABox can be treated in the same
way as if the construction had been completely deterministic. Performing a satisfiability
test on A may, therefore, allow some subsumers of A to be identified even when
nondeterministic choices are made during reasoning. In practice, almost all of the actual
subsumers of A can usually be identified in this way.</p>
        <p>It is easy to see that this idea is closely related to, and largely generalizes, the told
subsumer and completely-defined optimizations. For a completely defined concept A,
a satisfiability test on A will be deterministic (and typically rather trivial), and so will
provide complete information about the subsumers of A. Similarly, if B is a told
subsumer of A, then an ABox initialized with x : A will always produce x : B, and almost
always deterministically (it is theoretically possible that x : B will be added first due to
some nondeterministic axiom in the KB).
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Related Work</title>
      <p>
        Computing a quasi- (or partial-) ordering for a set of n incomparable elements clearly
requires n2 individual tests—na¨ıvely comparing all pairs is thus “optimal” by the
simplest standard. The literature therefore focuses on a slightly more sophisticated metric
which considers both the number of elements in the ordering as well as the width of the
ordering—the maximum size of a set of mutually incomparable elements. Faigle and
Tura´n [
        <xref ref-type="bibr" rid="ref6">1985</xref>
        ] have shown that the number of comparisons needed to deduce an ordering
of n elements with width w is at most O(wn log(n=w)) and Daskalakis et al. provide
an algorithm which approaches this bound by executing O(n(w + log n)) comparisons
[
        <xref ref-type="bibr" rid="ref10 ref11 ref4">2007</xref>
        ]. Taxonomies, however, tend to resemble trees in structure, and the width of a
subsumption ordering of n elements is generally close to n=2. Further, the algorithms
of Faigle and Tura´n as well as Daskalakis et al. rely on data structures which require
O(nw) storage space even in the best case, and thus exhibit quadratic performance
when constructing a taxonomy.
      </p>
      <p>
        A taxonomy-construction strategy which performs well for tree-like relations is
described by Ellis [
        <xref ref-type="bibr" rid="ref5">1991</xref>
        ]: elements are inserted into the taxonomy one at a time by finding,
for each element, its subsumers using a breadth-first search of all previously-inserted
elements top-down, and then its subsumees using a breadth-first search bottom-up.
Baader et al. further refine this technique to avoid redundant subsumption tests
during each search phase: during the top search phrase, a test K j=? A v B is performed
only if K j= A v C for all subsumers C of B [
        <xref ref-type="bibr" rid="ref1">1994</xref>
        ]. This can be seen as a special case
of our bP cK pruning of possible subsumers, with the restriction that it only applies
to subsumption tests performed in a prescribed order. These traversal algorithms can
be further optimized using the clustering technique proposed by Haarslev and Mo¨ller
[
        <xref ref-type="bibr" rid="ref7 ref8">2001</xref>
        ], which avoids the inefficiency of traversing flat taxonomies by introducing new
concepts to enforce a maximum branching factor for all taxonomy nodes. This
optimization can also be incorporated into our approach.
      </p>
      <p>
        Baader et al. also describe techniques for identifying subsumers without the need
for multiple subsumption tests by analyzing the syntax of concept definitions in a KB:
if a KB contains an axiom of the form A v B u C where A and B are atomic
concepts, then B is a “told subsumer” of A, as are all the told subsumers of B. The various
simplification and absorption techniques described by Horrocks [
        <xref ref-type="bibr" rid="ref9">1997</xref>
        ] increase the
applicability of such analysis. Haarslev et al. further extend this analysis to detect
nonsubsumption: an axiom of the form A v :B u C implies that A and B are disjoint, thus
neither concept subsumes the other (unless both are unsatisfiable) [
        <xref ref-type="bibr" rid="ref7 ref8">2001</xref>
        ]. Tsarkov et al.
describe a technique for precisely determining the subsumption relationships between
“completely defined concepts”—concepts whose definitions contain only conjunctions
of other completely defined concepts [
        <xref ref-type="bibr" rid="ref10 ref11 ref4">2007</xref>
        ]. All these optimizations can be seen as
special cases of (non-)subsumption information being derived from (possibly incomplete)
calculi as described in Section 4.
6
      </p>
    </sec>
    <sec id="sec-6">
      <title>Empirical Evaluation</title>
      <p>In order to determine if our new algorithm is likely to improve classification
performance in practice we conducted two experiments using large KBs derived from
lifescience applications.</p>
      <p>First, we compared the performance of our new algorithm with the enhanced
traversal algorithm. In order to analyze how much improvement is due to the information
extracted directly from models and how much is due to our new approach to taxonomy
construction, we extend the enhanced traversal algorithm such that it first performs a
satisfiability test on every concept and constructs a cache of information derived from
the resulting models using the techniques described in Section 4. During the subsequent
taxonomy construction, subsumption tests are performed only if the relevant
subsumption relationship cannot be determined by consulting the cache. Note that this caching
technique strictly subsumes the “told subsumer” and “primitive component”
optimizations described by Baader et al..</p>
      <p>We implemented both algorithms within the HermiT reasoner [Motik et al., 2007]
and performed testing using the well-known US National Cancer Institute thesaurus
(NCI), a large but simple KB containing 27,653 classes. The models constructed by
HermiT during satisfiability testing of these classes provide complete information about
the subsumption ordering for this KB, so both algorithms are able to classify it
without performing any additional tests. To study how the algorithms compare when
lessthan-complete information is available, we limited the amount of information extracted
from HermiT’s models, reducing the number of known subsumptions and increasing
the number of possible subsumptions to varying degrees. The number of full
subsumption tests required for classification as well as the running times for each algorithm are
given in Table 1.</p>
      <p>As the table shows, our simple implementation of the enhanced traversal algorithm
(ET) is substantially slower than the new algorithm even when complete information is
available; this is the result of the “insertion sort” behavior of ET described in Section 5.</p>
      <p>When complete information is not available, our algorithm consistently reduces the
number of subsumption tests needed to fully classify the knowledge base by an order
of magnitude.</p>
      <p>In a second experiment, we compared the implementation of our new algorithm in
HermiT with the widely-used Description Logic classifiers FaCT++ and Pellet. Both of
these systems are quite mature and implement a wide range of optimizations to both
taxonomy construction and subsumption reasoning; we were thus able to compare our
new algorithm with existing state-of-the-art implementations.</p>
      <p>In this case, in addition to NCI we used the Gene Ontology (GO), and the
wellknown GALEN medical terminology KB. Both NCI and GO have been specifically
constructed to fall within the language fragment which existing reasoners are able to
classify quickly; GALEN, in contrast, necessitates substantially more difficult subsumption
testing but contains an order of magnitude fewer concepts. In order to estimate how
the different algorithms would behave with more expressive KBs, for each KB K we
constructed two extensions: K9 which adds the single axiom &gt; v 9R:A for a fresh
role name R and fresh concept A, and Kt which adds the axiom &gt; v A t B for fresh
concepts A and B. For NCI we constructed a further extension NCI98 by adding the
axioms &gt; v 9R:A and C v 8R:B for each of the 17 most general concepts C occurring
in the KB. Each of these extensions increases the complexity of individual subsumption
tests and reduces the effectiveness of optimizations that try to avoid performing some
or all of the tests that would otherwise be needed during classification.</p>
      <p>The number of classes in each KB as well as the number of tests performed
(including all concept satisfiability and subsumption tests) and the time taken by each reasoner
are shown in Table 2. The Pellet system makes use of a special-purpose reasoning
procedure for KBs that fall within the E L fragment [Baader et al., 2005]; for such KBs we
do not, therefore, list the number of subsumption tests performed by Pellet.</p>
      <p>
        As Table 2 shows, HermiT’s new classification algorithm dramatically reduces the
number of subsumption tests performed when classifying these KBs. This does not,
however, always result in faster performance. This is largely due to optimizations used
by the other reasoners which greatly reduce the cost of subsumption testing for
simple KBs: the overwhelming majority of subsumption tests performed by FaCT++, for
example, can be answered using the pseudo-model merging technique described by
Horrocks [
        <xref ref-type="bibr" rid="ref9">1997</xref>
        ].
      </p>
      <p>Most of these optimizations could equally well be used in HermiT, but in the
existing implementation each subsumption test performed by HermiT is far more costly.
The number of subsumption tests performed by HermiT is, however, far smaller than for
the other reasoners, and its performance also degrades far more gracefully as the
complexity of a knowledge base increases: adding a single GCI or disjunction to a KB can
prevent the application of special-case optimizations in Pellet and FaCT++, greatly
increasing the cost of subsumption testing and, due to the very large number of tests being
performed, vastly increasing the time required for classification. The NCI98 knowledge
base, for example, eliminates any benefit from the pseudo-model merging optimization
(since no two pseudo-models can be trivially merged), and this causes the classification
time to increase by roughly two orders of magnitude for both Pellet and FaCT++. In
contrast, HermiT’s classification time is unaffected. The relatively poor performance of
HermiT on the GALENt KB is due to the fact that the underlying satisfiability testing
procedure is particularly costly when there are large numbers of branching points, even
if no backtracking is actually required.
7</p>
    </sec>
    <sec id="sec-7">
      <title>Discussion and Future Work</title>
      <p>We have described a new algorithm for taxonomy construction that effectively exploits
partial information derived from structural analysis and/or reasoning procedures, and
we have shown that, when compared to the widely-used enhanced traversal algorithm,
it can dramatically reduce both the number of individual comparisons and the total
processing time for realistic data sets. For simple KBs, our prototype
implementation makes the HermiT reasoner competitive with state-of-the-art reasoners which
implement special-purpose optimizations of the subsumption testing procedure for such
cases; on more expressive KBs our new system substantially outperforms existing
systems.</p>
      <p>Future work will include extending HermiT to incorporate some of the subsumption
testing optimizations used in other systems, in particular reducing the overhead cost
of individual subsumption tests. We believe that this will greatly improve HermiT’s
performance on simple KBs; as we have seen, it is already highly competitive on more
complex KBs.</p>
      <p>The procedure we describe in Section 4 extracts subsumption relationships
involving only the concept used to initialize a model. This is because the dependency labeling
implemented in tableau reasoners is currently designed only to allow the application
of dependency-directed backtracking, and discards a great deal of dependency
information. We intend to explore more sophisticated dependency labeling strategies which
allow the extraction of additional subsumption information.</p>
      <p>We also want to investigate meaningful complexity bounds for taxonomy searching
and construction tasks. As we have seen, a completely na¨ıve search routine is optimal if
only the number of elements is considered. We will attempt to obtain tighter bounds for
certain classes of relation: relations with linear taxonomy graphs, for example, can be
deduced with only n log n comparisons. Bounds based on more sophisticated metrics
may also be possible; e.g., bounds based on the total number of subsumption relations
instead of the number of elements.</p>
      <p>Finally, preliminary testing demonstrates that when significant partial information
is available, the COMPUTE-ORDERING-2 procedure, based on the breadth-first search
of the enhanced traversal algorithm, offers little advantage over COMPUTE-ORDERING,
which performs tests in an arbitrary order; in many cases the performance of
COMPUTEORDERING-2 is actually worse. Investigating other heuristics for choosing the order in
which to perform tests will also be part of our future work.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <given-names>1994. Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Bernhard Hollunder, Bernhard Nebel, Hans jurgen Pro Tlich, and
          <string-name>
            <given-names>Enrico</given-names>
            <surname>Franconi</surname>
          </string-name>
          .
          <article-title>An empirical analysis of optimization techniques for terminological representation systems or: Making KRIS get a move on</article-title>
          .
          <source>Applied Artificial Intelligence. Special Issue on Knowledge Base Management</source>
          ,
          <volume>4</volume>
          :
          <fpage>270</fpage>
          -
          <lpage>281</lpage>
          ,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <given-names>2003. Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Diego Calvanese,
          <string-name>
            <surname>Deborah</surname>
            <given-names>McGuinness</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Daniele</given-names>
            <surname>Nardi</surname>
          </string-name>
          , and Peter F. PatelSchneider, editors.
          <source>The Description Logic Handbook: Theory, Implementation and Applications</source>
          . Cambridge University Press,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          2005.
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Brandt</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Lutz</surname>
          </string-name>
          .
          <article-title>Pushing the E L envelope</article-title>
          .
          <source>In Proc. of the 19th Int. Joint Conf. on Artificial Intelligence (IJCAI</source>
          <year>2005</year>
          ), pages
          <fpage>364</fpage>
          -
          <lpage>369</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          2007. Constantinos Daskalakis, Richard M. Karp, Elchanan Mossel, Samantha Riesenfeld, and
          <string-name>
            <given-names>Elad</given-names>
            <surname>Verbin</surname>
          </string-name>
          .
          <article-title>Sorting and selection in posets</article-title>
          .
          <source>CoRR, abs/0707.1532</source>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <given-names>1991. Gerard</given-names>
            <surname>Ellis</surname>
          </string-name>
          .
          <article-title>Compiled hierarchical retrieval</article-title>
          .
          <source>In In 6th Annual Conceptual Graphs Workshop</source>
          , pages
          <fpage>285</fpage>
          -
          <lpage>310</lpage>
          ,
          <year>1991</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          1985.
          <article-title>Ulrich Faigle and Gy o¨rgy Tura´n. Sorting and recognition problems for ordered sets</article-title>
          . In Kurt Mehlhorn, editor,
          <source>STACS</source>
          , volume
          <volume>182</volume>
          of Lecture Notes in Computer Science, pages
          <fpage>109</fpage>
          -
          <lpage>118</lpage>
          . Springer,
          <year>1985</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <given-names>2001. V.</given-names>
            <surname>Haarslev</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Mo</surname>
          </string-name>
          <article-title>¨ ller. High performance reasoning with very large knowledge bases: A practical case study</article-title>
          . In B. Nebel, editor,
          <source>Proceedings of Seventeenth International JointŁ Conference on Artificial Intelligence, IJCAI-01</source>
          , pages
          <fpage>161</fpage>
          -
          <lpage>166</lpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <given-names>2001. Volker</given-names>
            <surname>Haarslev</surname>
          </string-name>
          , Ralf Mo¨ ller, and
          <string-name>
            <surname>Anni-Yasmin Turhan</surname>
          </string-name>
          .
          <article-title>Exploiting pseudo models for tbox and abox reasoning in expressive description logics</article-title>
          .
          <source>In IJCAR</source>
          , pages
          <fpage>61</fpage>
          -
          <lpage>75</lpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <given-names>1997. Ian</given-names>
            <surname>Horrocks</surname>
          </string-name>
          .
          <article-title>Optimising Tableaux Decision Procedures for Description Logics</article-title>
          .
          <source>PhD thesis</source>
          , University of Manchester,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <given-names>2007. Boris</given-names>
            <surname>Motik</surname>
          </string-name>
          , Rob Shearer, and
          <string-name>
            <given-names>Ian</given-names>
            <surname>Horrocks</surname>
          </string-name>
          .
          <article-title>Optimized Reasoning in Description Logics using Hypertableaux</article-title>
          . In Frank Pfenning, editor,
          <source>Proc. of the 21st Conference on Automated Deduction (CADE-21)</source>
          , volume
          <volume>4603</volume>
          <source>of LNAI</source>
          , pages
          <fpage>67</fpage>
          -
          <lpage>83</lpage>
          , Bremen, Germany, July
          <volume>17</volume>
          -20
          <year>2007</year>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <given-names>2007. Dmitry</given-names>
            <surname>Tsarkov</surname>
          </string-name>
          , Ian Horrocks, and
          <string-name>
            <surname>Peter F. Patel-Schneider</surname>
          </string-name>
          .
          <article-title>Optimising terminological reasoning for expressive description logics</article-title>
          .
          <source>J. of Automated Reasoning</source>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>