Standardizing Knowledge Engineering Practices with a Reference Architecture

Bradley P. Allen, Filip Ilievski · DOI

Knowledge Engineering (KE) has evolved from 1980s expert systems to modern neurosymbolic AI and Knowledge Graphs. However, this evolution has been marked by a lack of standardization, creating a gap between academic research and production-ready software engineering. This paper proposes a unified Reference Architecture (RA) for KE, providing a six-step roadmap to help practitioners align technical patterns with specific user requirements and quality attributes.

The Challenge of Fragmentation

The primary hurdle in contemporary KE is the absence of a standardized method for matching user needs—such as human curatability or scalability—with appropriate technical architectures. Currently, AI researchers often prioritize model performance in isolation, while software engineers require stable, scalable, and interoperable systems for deployment. This disconnect results in bespoke solutions that are difficult to maintain or generalize across different domains. Each new technological shift often overlooks the architectural lessons of its predecessors, leading to a fragmented landscape.

A Systematic Methodology

To resolve these issues, the authors introduce a Reference Architecture (RA) based on established software engineering principles. An RA serves as a high-level blueprint for a class of systems, ensuring consistency and quality across implementations. The development of this RA follows a rigorous six-step roadmap:

  1. Scope Identification: Defining the stakeholders and the specific tasks the system must perform.
  2. Information Source Selection: Leveraging the "SWeMLS" corpus—a collection of 476 peer-reviewed papers on neurosymbolic systems—to identify existing design patterns.
  3. Architectural Analysis: Mapping quality attributes (such as interoperability or scalability) to these patterns.
  4. Synthesis: Integrating disparate patterns into a cohesive, unified architecture.
  5. Evaluation: Validating the architecture through expert review and "instantiation" (building a prototype).
  6. Software Instantiation: Translating the blueprint into functional code and developer toolkits.
Table 1: Common Knowledge Engineering tasks and their corresponding real-world scenarios.

Central to this methodology is the use of "Boxology," a graphical language that categorizes components as either "inductive" (machine learning-based) or "deductive" (logic-based). This abstraction allows engineers to treat AI components as standardized modules within a larger system without needing to master the underlying tensor math or symbolic logic immediately.

A significant contribution of this work is the shift from a "model-first" to a "requirement-first" approach. The authors argue that the choice of architecture should be driven by desired Quality Attributes (QAs). For instance, if a system requires high human oversight, specific "Fusion" patterns—which combine symbolic and neural data—are mathematically more appropriate than purely "Atomic" machine learning models.

The analysis of the SWeMLS corpus (specifically a subset of 139 KE-focused papers) revealed a stark imbalance in current research. While scalability and domain-specificity are frequently addressed, critical attributes such as ethicality, distributivity, and sustainability are largely neglected in current literature.

Results and Practical Application

The research culminated in a Mapping Matrix that correlates architectural patterns with 23 different Quality Attributes. Key findings include:

  • Pattern A1 (Association Rule Mining): Emerged as a versatile "workhorse," supporting 20 of the 23 identified attributes.
  • Pattern F2 (Fusion of symbolic and unstructured data): Proved highly effective for enterprise environments but showed weaknesses in distributivity.

To demonstrate the RA's utility, the authors provided a hypothetical instantiation for a corporate subject-tagging system. This walkthrough illustrates how a company can move from high-level stakeholder requirements to a concrete software blueprint by following the RA's guidelines.

Limitations and Future Directions

While promising, the authors acknowledge certain limitations. The use of Large Language Models (specifically ChatGPT) for zero-shot classification of research abstracts may introduce bias. Furthermore, a single "one-size-fits-all" RA for all of Knowledge Engineering may be unattainable. Instead, the authors propose building a library of specialized RAs tailored to different domains. Future work will focus on expanding this methodology to broader task subsets and developing open-source toolkits to facilitate the adoption of these standardized practices.

Summary updated

BibTeX
@article{allen2024standardizing,
  author = {Bradley P. Allen and Filip Ilievski},
  title = {{Standardizing Knowledge Engineering Practices with a Reference Architecture}},
  journal = {TGDK},
  year = {2024},
  doi = {10.4230/tgdk.2.1.5},
}
Figure