Empowering Industry Professionals with Machine Learning through Knowledge Graphs

Antonis Klironomos, Mohamed H. Gad-Elrab, Evgeny KharlamovSEMANTiCS (Posters, Demos, Workshops & Tutorials) 2024

Abstract

The "expertise gap" in industrial AI creates a bottleneck where domain experts lack the coding skills to implement machine learning, and ML experts lack the domain context to optimize models. This paper introduces a semantic framework—comprising the tools SemFE and SemML—that utilizes ontologies and Knowledge Graphs to automate feature engineering and simplify pipeline construction. By abstracting technical complexity, the framework enables non-ML professionals to build high-quality, interpretable models using their existing domain knowledge.

Introduction: Bridging the Expertise Gap

In manufacturing and other industrial sectors, the successful application of Machine Learning (ML) often stalls due to a disconnect between two groups. Domain experts, such as welding engineers, understand the physical processes and data nuances but struggle with Python scripting and hyperparameter tuning. Conversely, ML experts can build sophisticated models but may overlook critical domain-specific features.

The authors propose a solution that "democratizes" ML by translating industry knowledge into a structured format that machines can act upon. This approach shifts the focus from manual coding to semantic modeling, allowing experts to define their data and requirements through a common vocabulary.

Methodology: A Semantic Approach to ML

The framework is built on two primary components designed to handle different stages of the ML lifecycle.

1. SemFE: Semantically-Enhanced Feature Engineering

Feature engineering is often the most time-consuming part of ML. SemFE automates this by:

  • Semantic Data Preparation: Mapping raw data columns to a Domain Ontology (DO).
  • Semantic Feature Processing: Using a reasoner to infer feature groups and automatically select preprocessing algorithms (e.g., scaling, encoding) from an ML Ontology.
  • ML Modeling: Selecting appropriate algorithms and hyperparameters based on the inferred semantic context.

2. SemML: Semantically-Enhanced Machine Learning

SemML addresses the complexity of pipeline construction by representing ML workflows as Executable Knowledge Graphs.

  • Graphical Interface: Users use a drag-and-drop GUI to assemble tasks like visualization and statistical analysis.
  • Validation: The underlying Knowledge Graph ensures that only logically sound connections are made (e.g., preventing incompatible data types from entering a model).
  • Code Generation: The system automatically translates these visual graphs into executable Python code, removing the need for manual programming.

Evaluation and Real-World Application

The system was tested using industrial data from Bosch, specifically focusing on:

  • Resistance Spot Welding (RSW): Predicting the quality of welds in manufacturing.
  • Hot-Staking (HS): Testing the extensibility of the ontologies.

The evaluation centered on a user study involving 28 experts from various fields, including ML, welding, and sensor engineering.

Key Results

The study demonstrated that semantic tools significantly lower the barrier to entry for ML:

  • Accuracy: Domain experts achieved 93% correctness in applying templates and 100% correctness in mapping data columns to ontology terms, with an average time of just 50 seconds per term.
  • Task Completion: Non-ML professionals using SemML were able to complete complex pipeline tasks that were previously impossible for them, showing higher completion rates and better accuracy than traditional methods.
  • Usability: Participants reported that the tool improved the transparency and interpretability of the ML process, making it more accessible to non-technical stakeholders.

Discussion and Future Directions

The core insight of this work is that ontologies can act as a "common vocabulary," enabling reasoning-driven automation that empowers rather than replaces the human expert. By treating ML pipelines as Knowledge Graphs, the process becomes both interpretable and executable.

However, challenges remain. The "ontology cold-start" problem—the initial effort required to build domain-specific schemas—remains a hurdle. Additionally, as industrial systems grow in complexity, the computational overhead of semantic reasoning must be addressed. Future work will explore the generalizability of this framework to other high-stakes domains like healthcare and finance.

Conclusion

By abstracting the technical "grunt work" of machine learning, the SemFE and SemML tools allow domain experts to focus on what they do best: applying their industry knowledge to solve complex problems. This semantic framework represents a significant step toward a more collaborative and accessible future for industrial AI.

Summary updated

BibTeX
@inproceedings{klironomos2024empowering,
  author = {Antonis Klironomos and Mohamed H. Gad-Elrab and Evgeny Kharlamov},
  title = {{Empowering Industry Professionals with Machine Learning through Knowledge Graphs}},
  booktitle = {SEMANTiCS (Posters, Demos, Workshops \& Tutorials)},
  year = {2024},
}
Figure