Abstract
In the context of Industry 4.0, the transition from raw manufacturing data to actionable machine learning (ML) models remains a significant bottleneck. This paper introduces SemML, a framework that utilizes semantic ontologies to automate and explain ML pipelines. By formalizing domain knowledge and ML expertise, SemML bridges the communication gap between manufacturing experts and data scientists. Experimental results from Bosch's automotive manufacturing lines demonstrate that SemML reduces manual data preparation effort and improves welding quality prediction accuracy, achieving a Mean Absolute Percentage Error (MAPE) as low as 1.61%.
1. Introduction
The proliferation of sensors in modern factories has led to an explosion of data. However, leveraging this data for predictive maintenance and quality control faces three primary hurdles:
- Asymmetric Knowledge: A lack of common language between domain experts (who understand the physics of manufacturing) and ML engineers (who understand statistical modeling).
- Data Integration Complexity: Manufacturing data is often siloed in heterogeneous formats (SQL, Excel, text), requiring manual, error-prone preparation.
- Model Silos: ML solutions are frequently "one-offs" that lack the generalizability needed for deployment across different production lines.
To address these challenges, we propose SemML, a system that uses semantic technologies to enhance the ML development lifecycle.
2. The SemML Framework
SemML operates by encoding manufacturing and ML knowledge into formal, machine-readable ontologies. This structured knowledge allows the system to reason about data relationships and automate pipeline construction.
2.1 System Architecture
As illustrated in Figure 1, the framework is divided into two primary layers:
- Semantic Layer: This layer houses the Core and ML ontologies. Knowledge encoding templates allow domain experts to define manufacturing rules without needing deep ML expertise. These inputs generate a Domain Ontology and an ML Pipeline Ontology.
- ML Layer: This layer executes the data processing. It uses the semantic mappings to automatically integrate raw data, suggest feature groups, and select appropriate ML algorithms.
3. Experimental Evaluation
The framework was validated using data from two distinct car manufacturing lines at Bosch. The dataset comprised 53.2 million records across 263 fields, sourced from SQL databases, Excel files, and RUI-files. Through semantic integration, this raw data was expanded into a knowledge graph containing 1.4 billion data items, covering sensor measurements, machine configurations, and quality estimates.
4. Key Results and Discussion
The implementation of SemML yielded several critical benefits:
- Predictive Performance: For welding quality estimation, SemML achieved a MAPE of 1.61%–2.50%. This significantly outperformed baseline models, which exhibited error rates between 3.19% and 7.74%.
- Automation and Explainability: By linking ML features back to domain-specific concepts in the ontology, the system provided more interpretable results for factory floor operators. The automated pipeline construction reduced the "trial and error" phase of feature engineering.
- Usability: Qualitative feedback indicated that Bosch engineers could effectively use the system with minimal training, highlighting its potential for industrial scalability.
5. Conclusion and Future Work
SemML demonstrates that semantic technologies can effectively bridge the gap between domain expertise and machine learning in industrial settings. Future work will focus on integrating the framework into live welding control systems, expanding the library of supported ML algorithms (e.g., time-series analysis), and validating the approach across broader manufacturing domains beyond welding.
Summary updated