Fact-checked by Grok 2 weeks ago

Closed-world assumption

The closed-world assumption (CWA) is a foundational principle in knowledge representation, , and , positing that all relevant facts about a domain are explicitly contained within a given or database, such that the absence of a statement implies its falsity. Formally introduced by Raymond Reiter in his 1977 technical report "On Closed World Data Bases," the CWA enables deductive systems to treat unprovable positive ground literals as negated, effectively augmenting the with their negations for query evaluation. This assumption underpins nonmonotonic reasoning, where conclusions can be revised upon new information, and contrasts sharply with the open-world assumption (OWA), which holds that unstated facts are unknown and potentially true, avoiding premature negation but complicating inference in incomplete datasets. In practice, the CWA is widely applied in relational databases and languages like , where failed queries return "no" as an affirmative denial of , assuming complete coverage. For instance, in database query answering, if a does not satisfy a condition, it is deemed absent under CWA, facilitating efficient operations in controlled environments like systems. However, its validity depends on the 's completeness; in applications such as rule-based systems, CWA supports decisive but risks errors in dynamic or uncertain scenarios, prompting hybrid approaches that mix CWA and OWA for predicates with varying knowledge levels. Reiter's formalization demonstrated that CWA query evaluation reduces to open-world evaluation of queries via set operations, ensuring consistency in Horn clause-based databases while highlighting potential inconsistencies in more expressive ones.

Fundamentals

Definition

The closed-world assumption (CWA) is a principle in that posits all relevant facts are explicitly stated in the , such that any proposition not asserted as true is considered false. This assumption treats the as a complete description of the domain, enabling efficient inference by implicitly adding negations for unprovable positive literals. Under CWA, reasoning incorporates negation as failure, where the absence of a proof for a ground literal implies the truth of its negation, contrasting with monotonic logics that require explicit evidence for negatives. This mechanism validates conclusions based on incomplete explicit information by assuming the world is "closed" to additional facts. The CWA has key implications for handling incomplete information, as it simplifies query answering by evaluating the as exhaustive, reducing complex deductions to checks against stated facts. For instance, in an employee database listing only known staff members, the absence of an individual's name implies they are not employed.

Historical Context

The closed-world assumption originated in the 1970s alongside the development of and systems. , which sought to integrate representation with procedural computation, implicitly incorporated the assumption through as failure—a mechanism where the inability to prove a statement implies its . This was evident in early systems like , implemented by Alain Colmerauer and Philippe Roussel in 1972, and influenced by Robert Kowalski's 1974 procedural interpretation of logic, enabling practical AI applications under the premise of a complete . A key formalization occurred in Raymond Reiter's 1977 technical report "On Closed World Data Bases," which defined the assumption for relational databases: a positive is true if derivable from the database, and false otherwise. This work addressed in deductive databases, reducing closed-world query evaluation to open-world evaluation of atomic queries, and solidified the assumption's role in bridging and . The assumption drew early influences from procedural database approaches and the rise of expert systems in the , which shifted from open-world models in general-purpose toward closed-world efficiency for domain-specific tasks. Systems like , developed at Stanford in 1976, relied on exhaustive rule sets for , assuming all relevant facts were captured in the to support backward-chaining without external uncertainties. In the 1980s, the evolved in knowledge representation through links to non-monotonic reasoning, allowing defaults and revisions in incomplete domains. Reiter's 1980 paper "A Logic for Default Reasoning" formalized default logic, incorporating closed-world principles to handle provisional assumptions that could be overridden, thus influencing frameworks for .

Formalizations

In

In , particularly in systems like , the closed-world assumption (CWA) is formally realized through as failure (NAF), an inference rule where the negation of an atom p (denoted \neg p or \mathrm{not}\ p) is taken as true if there is no finite proof deriving p from the program. This operational aligns with the declarative interpretation under CWA by assuming that the program's knowledge is complete, so the absence of a derivation implies falsity. Formally, for a logic program P, the CWA asserts that \mathrm{CWA}(P) \models \neg A P \not\models A, where A is a ground atom and \models denotes logical entailment in the Herbrand of P. The Herbrand universe consists of all ground terms constructible from the program's function symbols, and are subsets of the Herbrand base (all ground atoms). Under CWA, the closed-world model is the unique minimal Herbrand model of P, in which atoms not entailed by P (i.e., ) are assigned false, ensuring a total interpretation without values. This framework enables Clark's completion semantics, which transforms a normal logic program into a set of first-order sentences that treat the program as a complete specification. For a predicate p defined by clauses p(\mathbf{x}) \leftarrow L_1, \dots, L_n, the completion includes the "if" direction p(\mathbf{x}) \leftarrow \bigvee_i (L_{i1} \land \dots \land L_{im}) and the "only if" direction p(\mathbf{x}) \leftrightarrow \bigvee_i (L_{i1} \land \dots \land L_{im}), where negative literals are replaced by classical negation. To prove the equivalence, note that under CWA, the minimal model satisfies the completion axioms exactly when NAF derivations succeed, as the "only if" clauses exclude unsupported truths, and undefined atoms are falsified by the closed assumption; thus, models of the completion coincide with stable SLDNF computations, validating the program's declarative reading as a closed specification.

In Database Theory

In relational database theory, the closed-world assumption (CWA) embodies the active domain assumption, positing that the database instance exhaustively captures all facts in the and that any absent from a is false. This contrasts with scenarios involving incomplete , where absent might merely indicate unknown truth values. The active domain consists of all constants explicitly appearing in the database, delimiting the over which the assumption applies and avoiding infinite or irrelevant considerations. Formally, for a R of k with extension containing the set of tuples R^\downarrow, and letting adb denote the active , the CWA asserts \forall \mathbf{t} \in adb^k \setminus R^\downarrow, \neg R(\mathbf{t}). This formulation, introduced by , ensures that query answers under CWA are "certain" in the sense that they hold definitively given the database's completeness, without needing to explore external or hypothetical facts. It transforms relational query evaluation into a closed semantic , where arises naturally from non-membership. The CWA extends naturally to deductive databases, integrating with languages like to support rule-based inference over relational facts. In such systems, is managed via stratified programs, partitioning rules into layers where negated subgoals depend only on prior ; the CWA then justifies evaluating these as failure within each , yielding a unique perfect model that aligns with intuitive closed-world reasoning. This stratification prevents unstratified cycles that could lead to inconsistencies or multiple models under CWA. By assuming database completeness, the CWA streamlines query optimization, particularly for existential queries like those involving \exists, where the absence of matching tuples in the instance directly implies a negative without further . Standard relational techniques—such as cost-based join ordering, exploitation, and algebraic —can thus be applied efficiently, as the optimizer need not account for possible-world semantics or incompleteness repairs that would inflate .

Applications

In Artificial Intelligence

In , the closed-world assumption (CWA) plays a pivotal role in s, where it enables diagnostic reasoning by treating the absence of information as definitive evidence of negation. This assumption underpins rule-based inference in systems like , an early developed for diagnosing bacterial infections and recommending therapies, which infers the absence of symptoms or pathogens when they are not explicitly reported in the patient's data. By assuming a complete and exhaustive , could efficiently apply production rules to reach conclusions without needing to query for every possible condition, streamlining medical decision-making in controlled clinical scenarios. The CWA also facilitates and by presupposing a fully specified world model, allowing agents to reason about actions and states without ambiguity from unknown elements. In classical frameworks such as STRIPS (Stanford Research Institute Problem Solver), the assumption that unmentioned facts or objects are false supports and goal achievement; for instance, a navigating a assumes that obstacles not listed in the state description do not exist, enabling the generation of efficient action sequences through theorem-proving techniques. This approach has been foundational in planning since the , promoting deterministic outcomes in environments where the model encompasses all relevant details. However, over-reliance on the CWA in real-world AI applications often results in brittleness, as systems fail when confronted with incomplete or dynamic information beyond their predefined models. Expert systems and planners built under this assumption, such as early diagnostic tools, exhibit fragility in uncertain environments like open-ended robotics tasks, where unexpected changes (e.g., novel obstacles) violate the completeness premise and lead to erroneous decisions or planning failures. This limitation has driven research toward hybrid approaches that mitigate such rigidity while retaining CWA benefits in bounded domains. A notable case study of CWA application appears in natural language processing (NLP), particularly for named entity recognition (NER), where systems assume a closed vocabulary of entity types to classify mentions in text. In role-based NER models, the assumption restricts outputs to a predefined set of entities (e.g., persons, organizations), treating unrecognized types as absent; this enhances precision in domain-specific tasks like from legal documents but can overlook novel entities in broader corpora. Such implementations demonstrate CWA's utility for efficient, constrained inference in NLP pipelines.

In Semantic Web and Knowledge Representation

In the Semantic Web, the closed-world assumption (CWA) is not natively supported by core standards like and RDF, which adhere to the open-world assumption (OWA) to accommodate potentially incomplete and distributed knowledge. However, local closed-world reasoning can be applied within ontologies where explicit assertions are treated as complete for specific predicates or classes, enabling negation as failure for targeted inferences. For instance, in ontologies, integrity constraints or specific ABox assertions may invoke local CWA to validate completeness, such as assuming that all members of a class are exhaustively listed unless additional facts are added. This approach is facilitated by reasoners like Stardog, which extend with closed-world interpretations for constraint validation. In knowledge representation frameworks based on (DLs), such as ALC, the standard semantics follow the OWA, where absence of evidence does not imply , ensuring monotonicity in terminological reasoning. To incorporate CWA, extensions introduce local closed-world modules that allow well-founded semantics for hybrid knowledge bases, combining open-world DL rules with closed-world for specific assertions without violating overall consistency. These frameworks enable closed interpretations in terminological reasoning by scoping CWA to designated predicates, supporting applications like default reasoning in ontologies while preserving the Semantic Web's distributed nature. Seminal work in this area demonstrates that such local CWA can be integrated into ALC-like logics via well-founded semantics, allowing derivation of negative facts from incomplete bases. In environments, CWA is applied to handle incomplete RDF triples by assuming closure over named graphs, treating each graph as a self-contained where unasserted facts within its scope are false. This scoped closure facilitates constraint checking and validation in RDF , using axioms under closed-world semantics to enforce completeness for specific relations or entities. For example, named graphs can delineate boundaries for CWA in queries, enabling reliable negation over localized data while the broader RDF ecosystem remains open-world. Such techniques are particularly useful in ontology-based data access, where hybrid assumptions ensure accurate reasoning over distributed sources. Despite these adaptations, pure CWA is rare in distributed Semantic Web settings due to the inherent incompleteness and dynamism of web-scale data, where global closure assumptions risk incorrect negations from partial knowledge. This limitation often leads to hybrid approaches that blend local CWA with OWA, such as in agent planning or constraint validation, to balance completeness in controlled scopes with openness across the web. Research highlights that enforcing full CWA in such environments can hinder , prompting frameworks that dynamically switch assumptions based on data .

Variations

Partial Closed-World Assumption

The partial closed-world assumption (PCWA) relaxes the full by applying closure only to designated subsets of predicates, relations, or domains within a or database, while treating the remaining elements as potentially incomplete or open. This approach acknowledges that not all information is exhaustively known, enabling more flexible reasoning in scenarios where completeness holds locally but not globally. Formally, PCWA can be modeled using statements over partial databases, defined as a pair (D_i, D_a) where D_i represents the ideal complete instance and D_a \subseteq D_i is the available possibly incomplete instance. Building on Reiter's foundational , (QC) requires that for a query Q, Q(D_a) = Q(D_i), ensuring the available data yields the same results as the complete data. Similarly, (TC) specifies that for a R and G, the Q_R(\bar{s}; G)(D_i) \subseteq R(D_a), formalized as tuple-generating dependencies to enforce . These statements allow explicit designation of closed components without assuming global . In database applications, PCWA supports schema-specific closure, such as assuming completeness for an employee (e.g., all staff records are fully captured) while leaving supplier information open to potential additions. For instance, in a , the might be closed with respect to entries—ensuring all students' and name details are complete—but open for other attributes like external contacts. This has been applied in RDF stores for semantic , geographic information systems for localized completeness, and SQL databases handling nulls to improve query reliability. Compared to the full closed-world assumption, PCWA reduces false negatives by avoiding blanket negation of absent facts in incomplete domains, thereby enhancing accuracy in real-world incomplete data scenarios without sacrificing soundness in verified closed subsets.

Comparison with Open-World Assumption

The open-world assumption (OWA) posits that a represents incomplete information about the domain, such that the absence of for a does not constitute of its absence; of a p (i.e., \neg p) is only entailed if explicitly stated or logically derived. In contrast to the (CWA), which treats unmentioned facts as false, OWA maintains that unknown facts may simply be missing from the current representation and could be true elsewhere. Key differences between CWA and OWA lie in their reasoning paradigms and applicability. CWA enables non-monotonic reasoning, where adding new information can retract prior conclusions (e.g., a fact assumed false under CWA may become true, invalidating negations derived from it), making it suitable for environments with complete, finite data like relational databases. Conversely, OWA supports monotonic reasoning, preserving all prior entailments upon knowledge expansion, which aligns with distributed systems such as the where data from multiple sources must integrate without assuming completeness. This monotonicity in OWA facilitates scalable merging but requires explicit handling of negatives to avoid under-entailment. The trade-offs highlight contextual suitability: CWA excels in for closed domains, enabling straightforward query and fast , but risks erroneous conclusions in open environments where overlooked facts exist. OWA offers greater flexibility for evolving, incomplete but imposes higher computational costs, as reasoning must account for potential external truths without defaulting to . Hybrid approaches, such as partial CWA, address these by applying closure selectively to subsets of the , allowing domain-specific choices—e.g., CWA for exhaustive product catalogs where all attributes are presumed listed, while OWA suits broader inventory discovery.

References

  1. [1]
    [PDF] ON CLOSED WORLD DATA BASES by RAYMOND REITER ...
    In this paper, we show that closed world evaluation of an arbitrary query may be reduced to open world evaluation of so-called atomic queries. We then show that.Missing: original | Show results with:original
  2. [2]
    Open World Assumption - an overview | ScienceDirect Topics
    Open World Assumption in computer science refers to a reasoning approach where the facts asserted in a model are not assumed to be complete.
  3. [3]
    Closed World Assumption - an overview | ScienceDirect Topics
    The 'Closed World Assumption' in computer science refers to the belief that all relevant knowledge is contained within a database.
  4. [4]
    Open World Assumption vs. Closed World Assumption - Dataversity
    Nov 30, 2012 · When Do CWA and OWA Apply? The CWA applies when a system has complete information. This is the case for many database applications. · CWA vs. OWA ...
  5. [5]
    Understanding closed-world assumptions in AI - IndiaAI
    Feb 13, 2023 · The Closed World Assumption (CWA) is the belief that what is not known to be true is false and that the absence of information is viewed ...Missing: definition | Show results with:definition
  6. [6]
    Non-monotonic Logic - Stanford Encyclopedia of Philosophy
    Dec 11, 2001 · 3.1 The closed-world assumption. Since one of the goals of non-monotonic logic is to provide an adequate account of defeasible reasoning, it is ...
  7. [7]
    [PDF] LOGIC PROGRAMMING - Department of Computing
    Ray Reiter [1978] investigated NAF in the context of a first-order database D, interpreting it as the closed world assumption (CWA) that the negation not p of a ...
  8. [8]
    Logic-Based Artificial Intelligence
    Aug 27, 2003 · It is the closed world assumption that justifies a negative answer ... definition of logical consequence, appealing to a preference relation over ...
  9. [9]
    A logic for default reasoning - ScienceDirect.com
    In this paper we propose a logic for default reasoning. We then specialize our treatment to a very large class of commonly occuring defaults.
  10. [10]
    [PDF] Negation as failure - Department of Computing
    whose construction depends on at most n failure proofs n > 0. ....& ~ P&.... fail. A query evaluation for P succeeds ...
  11. [11]
  12. [12]
    [PDF] Rule-Based Expert Systems: The MYCIN Experiments of the ...
    Even though the MYCIN world can be considered to be closed, there is no strong model for ordering the collection of evidence. 5 Medical problem solving is ...
  13. [13]
    [PDF] Principles of Expert Systems
    This book treats formalisms and methods for expert systems, focusing on theory and implementation, and establishing relationships between logic and rule-based ...
  14. [14]
    [PDF] 11 PLANNING
    The closed-world assumption is used, meaning that any conditions that are not mentioned in a state are assumed false.
  15. [15]
    [PDF] Learning and the Unknown: Surveying Steps toward Open World ...
    The closed world assumption led to fragile systems that failed, and so fell ... Expert Systems with Ap- plications 84:1–11. Fu, Y.; Xiang, T.; Jiang, Y ...
  16. [16]
    OWL 2 Web Ontology Language Primer (Second Edition) - W3C
    Dec 11, 2012 · If some fact is not present in a database, it is usually considered false (the so-called closed-world assumption) whereas in the case of an OWL ...
  17. [17]
    [PDF] Mixing Open and Closed World Assumption in Ontology-Based Data ...
    Abstract. When using ontologies to access instance data, it can be useful to make a closed world assumption (CWA) for some predicates and an open world.
  18. [18]
    [PDF] Local Closed-World Reasoning with Description Logics under the ...
    Jan 21, 2011 · DLs are monotonic and adhere to the Open World Assumption (OWA). This means that (negative) conclusions drawn from a knowledge base must be.Missing: seminal | Show results with:seminal
  19. [19]
    Local closed world reasoning with description logics under the well ...
    Local closed world reasoning with description logics under the well-founded semantics ... In this paper we propose a well-founded semantics for ...
  20. [20]
    Using Description Logics for RDF Constraint Checking and Closed ...
    Nov 15, 2014 · Nevertheless, Description Logic axioms can be interpreted in a closed-world setting and in this setting they can be used for both constraint ...
  21. [21]
    [PDF] Position paper: Named Graphs in Linked Data - W3C
    On the other hand, if we treat graphs with the open world assumption, never assuming that the full extent of a graph is known, then there is no need for ...
  22. [22]
    [PDF] LCW-Based Agent Planning for the Semantic Web
    Jan 2, 2002 · The closed-world assumption is inappropriate for the. Semantic Web due to its size and rate of change. Since the. Web, is so large, no single ...
  23. [23]
    [PDF] Databases under the Partial Closed-world Assumption: A Survey
    In this survey we review foundational and work on the partial closed-world assumption and then discuss work done ... [16] Raymond Reiter. On closed world data ...
  24. [24]
    On Closed World Data Bases - SpringerLink
    In this paper, we show that closed world evaluation of an arbitrary query may be reduced to open world evaluation of so-called atomic queries.Missing: original | Show results with:original
  25. [25]
    What the Semantic Web can represent
    One consistent difference between the Semantic Web and many data models for programming langauges is the "closed world assumption". A Semantic Web is not ...<|control11|><|separator|>
  26. [26]