A Probabilistic-Logic based Commonsense Representation Framework for Modelling Inferences with Multiple Antecedents and Varying Likelihoods

Shantanu Jaiswal, Liu Yan, Dongkyu Choi, Kenneth KwokarXiv 2022

Abstract

Commonsense knowledge-graphs (CKGs) are important resources towards building machines that can 'reason' on text or environmental inputs and make inferences beyond perception. While current CKGs encode world knowledge for a large number of concepts and have been effectively utilized for incorporating commonsense in neural models, they primarily encode declarative or single-condition inferential knowledge and assume all conceptual beliefs to have the same likelihood. Further, these CKGs utilize a limited set of relations shared across concepts and lack a coherent knowledge organization structure resulting in redundancies as well as sparsity across the larger knowledge graph. Consequently, today's CKGs, while useful for a first level of reasoning, do not adequately capture deeper human-level commonsense inferences which can be more nuanced and influenced by multiple contextual or situational factors. Accordingly, in this work, we study how commonsense knowledge can be better represented by -- (i) utilizing a probabilistic logic representation scheme to model composite inferential knowledge and represent conceptual beliefs with varying likelihoods and (ii) incorporating a hierarchical conceptual ontology to identify salient concept-relevant relations and organize beliefs at different conceptual levels. Our resulting knowledge representation framework can encode a wider variety of world knowledge and represent beliefs flexibly using grounded concepts as well as free-text phrases.

Introduction

Most current Commonsense Knowledge Graphs (CKGs), such as ConceptNet or ATOMIC, represent knowledge as simple flat triples: (human, capable of, buying things). While useful for broad coverage, this approach has three major flaws. First, it lacks complexity; it cannot easily represent conditional logic (e.g., "A human can buy an object only if they have enough money"). Second, it assumes binary likelihood, treating all beliefs as equally true and failing to distinguish between a "strongly likely" fact and a "tentative" one. Finally, these graphs suffer from redundancy and sparsity because they lack a hierarchical structure to enable automated knowledge inheritance.

Methodology

Probabilistic Logic Representation

The proposed framework moves beyond simple "head-relation-tail" triples by utilizing probabilistic logic programming (ProbLog). Instead of simple triples, knowledge is represented as logic clauses. This allows for multiple antecedents (conditions), where a rule can state that an inference is only valid if several other conditions are met. Crucially, every fact and rule is assigned a probability, allowing the system to reason under uncertainty.

Comparison of existing free-text tuples versus the proposed probabilistic logic-based scheme.

By using probabilistic logic, the system can handle conflicting information through "noisy-or" mathematics to calculate a final, nuanced probability. This allows for modeling context-dependent sub-events, such as how the sub-event of "eating" changes from "chewing" to "drinking" depending on whether the object is solid or liquid.

Hierarchical Conceptual Ontology

To address redundancy, the framework organizes knowledge into a hierarchical tree structure. This enables inheritance: a specific concept automatically inherits properties from its parent nodes unless specifically overridden. For example, a 'Programmer' node inherits the ability to 'think' from a 'Sentient' parent node.

The hierarchical conceptual ontology used to organize knowledge from root classes down to specific instances.

This structure also allows the system to distinguish between grounded concepts and free-text phrases, facilitating word-sense disambiguation by checking if a phrase fits the selectional restrictions of a logical rule.

Knowledge Acquisition and Dataset

The authors extended the PrimeNet knowledge base using a mix of expert annotation and crowdsourcing via Amazon Mechanical Turk. The resulting dataset contains 574 concepts (nouns and verbs), 6,799 facts, and 299 logic clauses. While the framework is general-purpose, the evaluation focused on technical aerospace documents, testing the system's ability to parse complex technical manuals and answer domain-specific questions.

Results and Applications

The framework's utility was demonstrated through semantic parsing and Question Answering (QA). Unlike "black box" neural models, this system provides a "trace"—a step-by-step logical explanation of how it reached an answer, significantly improving interpretability.

In practical testing, the system successfully performed disambiguation; for instance, in the sentence "The blockage increases the pressure," it correctly identified that "blockage" refers to a physical state rather than a sentient agent by filtering roles through logical rules. Furthermore, the system successfully modeled temporal reasoning through "verb schemas," predicting what must be true before, during, and after an event.

Conclusion

This framework bridges the gap between flexible but shallow free-text graphs and rigid formal logic systems. While the manual effort required to write logic clauses remains a limitation, future work will focus on neuro-symbolic integration. By using Large Language Models (LLMs) to automatically extract probabilistic rules from text, the system can combine the intuition of deep learning with the rigor of structured logic.

Summary updated

BibTeX
@misc{jaiswal2022probabilistic,
  author = {Shantanu Jaiswal and Liu Yan and Dongkyu Choi and Kenneth Kwok},
  title = {{A Probabilistic-Logic based Commonsense Representation Framework for Modelling Inferences with Multiple Antecedents and Varying Likelihoods}},
  year = {2022},
  eprint = {2211.16822},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.16822},
}
Figure