The Complexity of Finite Model Reasoning in Description Logics

Carsten Lutz, Ulrike Sattler, Lidia Tendera

Abstract

We analyze the complexity of finite model reasoning in the description logic $\mathcal{ALCQI}$, i.e., $\mathcal{ALC}$ augmented with qualifying number restrictions, inverse roles, and general TBoxes. It turns out that all relevant reasoning tasks such as concept satisfiability and ABox consistency are EXPTIME-complete, regardless of whether the numbers in number restrictions are coded unarily or binarily. Thus, finite model reasoning with $\mathcal{ALCQI}$ is not harder than standard reasoning with $\mathcal{ALCQI}$.

Introduction

In the field of Knowledge Representation, Description Logics (DLs) provide the formal foundation for modeling complex domains. They are widely used to represent database schemas, such as Entity-Relationship (ER) or Unified Modeling Language (UML) diagrams. Traditionally, DL reasoners operate under the assumption that models can be infinite. However, this assumption is often at odds with the reality of databases, which are inherently finite structures.

For many basic logics, the distinction between finite and infinite models is irrelevant because they possess the Finite Model Property (FMP). A logic has the FMP if every satisfiable concept is also satisfiable in a finite model. However, for expressive logics like $\mathcal{ALCQI}$—which includes inverse roles (e.g., "parent of" vs. "child of") and qualifying number restrictions (e.g., "has at least 3 children who are doctors")—the FMP fails. In these logics, a concept might be logically consistent in an infinite domain but impossible to realize within a finite one. Prior to this work, the best-known algorithm for finite model reasoning in $\mathcal{ALCQI}$ was in 2-EXPTIME, leading to the belief that finite reasoning was significantly more computationally expensive than standard reasoning.

Methodology

The authors present a technical framework that bridges the gap between logic and complexity through two primary mechanisms:

Mosaics and Linear Programming

For scenarios where numbers are coded unarily (where the size of the input is proportional to the value itself), the authors introduce the concept of mosaics. Mosaics act as small, local "building blocks" of a model. The core of the proof shows that a finite model exists if and only if one can find a non-negative integer solution to a system of linear inequalities derived from these mosaics.

This approach abstracts the global structure of a model into local consistency requirements. If these local pieces can be "balanced"—much like a flow problem in a network—a global finite model can be reconstructed. Since solving these specific types of linear programs is in PTIME relative to the number of mosaics (which is exponential), the overall reasoning task is established as EXPTIME.

Binary Coding Reduction

A significant challenge arises when numbers are coded binarily (e.g., representing "1,000,000" in a few bits), as the number of mosaics could potentially explode. To maintain the complexity bound, the authors provide a polynomial reduction from $\mathcal{ALCQI}$ to a simpler logic, $\mathcal{ALCFI}$. This reduction effectively "simulates" large number restrictions through a chain of auxiliary roles and concepts, ensuring that the complexity remains within EXPTIME even with efficient numerical representations.

Key Insights and Results

The research yields several critical insights into the nature of finite model reasoning:

  • Computational Parity: The most significant finding is that for $\mathcal{ALCQI}$, the restriction to finite models does not add an extra layer of exponential complexity. Finite reasoning is just as hard (or easy) as standard reasoning.
  • Coding Independence: Whether numbers are represented as 111 (unary) or 3 (binary), the complexity class remains EXPTIME. This robustness is vital for real-world modeling where large numerical constraints are common.
  • Tightened Bounds: The paper successfully lowers the upper bound for finite model reasoning in $\mathcal{ALCQI}$ from 2-EXPTIME to EXPTIME, proving that concept satisfiability and ABox consistency are EXPTIME-complete.

Limitations and Future Work

Despite the theoretical breakthrough, several avenues for future research remain:

  • Nominals: The authors note that adding nominals (concepts representing a single, specific individual) would likely break their current approach. Nominals prevent the "disjoint union" of models, a property central to their proofs. Reasoning with nominals in finite models often jumps to NEXPTIME.
  • Conjunctive Queries: While the paper covers basic consistency checks, it does not address complex query answering (like SQL-style joins) over finite models, which is a major requirement for database applications.
  • Practical Implementation: The current algorithm is a "best-case" EXPTIME approach because it constructs an exponential-sized equation system regardless of the input. A more practical "on-the-fly" construction would be needed for a real-world reasoner to be efficient in practice.

Summary updated

BibTeX
@inproceedings{lutz2003complexity,
  author = {Carsten Lutz and Ulrike Sattler and Lidia Tendera},
  title = {{The Complexity of Finite Model Reasoning in Description Logics}},
  booktitle = {CADE},
  year = {2003},
  doi = {10.1007/978-3-540-45085-6\_6},
}
Figure