<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>journal Abbreviation: Proceedings of
the ASME Fluids Engineering Division Summer Conference 2009</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.1117/12</article-id>
      <title-group>
        <article-title>Scalable processing of Bosch Welding Data with Graph Massivizer</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mikel Mendibe</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Gad-Elrab Mohamed</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Evgeny Kharlamov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Bosch Center for Artificial Intelligence</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Oslo</institution>
          ,
          <country country="NO">Norway</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <volume>9485</volume>
      <fpage>283</fpage>
      <lpage>288</lpage>
      <abstract>
        <p>The transition to Industry 4.0 is driving the adoption of IoT technologies in manufacturing, transforming processes like Resistance Spot Welding (RSW) at companies such as Bosch. RSW is essential in automotive production but presents significant challenges in quality assurance due to its complexity and the limitations of traditional ofline inspection methods. While data-driven techniques using dynamic electrical features ofer some improvements, they often lack the ability to fully capture the intricacies of the RSW process or require expensive hardware. This paper introduces a hybrid approach from the Graph Massivizer project, combining sensor data with domain-specific knowledge in a knowledge graph. The proposed method leverages existing ontologies as inductive biases to enhance prediction accuracy and adaptability across various welding scenarios. By integrating timeseries data with knowledge graph representations, the approach ofers a more holistic understanding of the welding process. This paper discusses the methodology, the challenges of merging these data types, and the potential to improve RSW quality monitoring by bridging the gap between conventional data-driven methods and expert insights, resulting in a more robust and eficient monitoring framework.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Industry 4</kwd>
        <kwd>0</kwd>
        <kwd>resistance spot welding</kwd>
        <kwd>knowledge graphs</kwd>
        <kwd>Graph Massivizer</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        With the advent of the fourth industrial revolution, the manufacturing environments are evolving
towards digital ecosystems. Propelled by the improvement in sensing and communication technologies,
the Internet of Things (IoT) has taken root in traditional industries, and this has opened the world of Big
Data, where the volume, velocity and variety of data is rapidly rising [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. This has been no diferent for
the case of Bosch, currently undergoing a transformation from a traditional manufacturing company to
an IoT one[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        One of the most critical manufacturing processes at Bosch is Resistance Spot Welding (RSW), primarily
employed for joining car body components. This process involves passing a high-intensity electrical
current through two electrodes and the metal sheets positioned between them, generating localized
heat that fuses the sheets together at specific points, creating a weld spot [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Even if it is considered a
conventional method, this is still a very complex yet critical procedure [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], as the failure of a single spot
can halt an entire production line [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. In the industry, quality assurance for RSW is typically achieved via
ofline destructive inspection methods on samples selected by predefined empirical rules, but due to the
heavy class imbalance on the sets, detecting faulty spots is usually a very rare occurrence. Consequently,
data-driven approaches have been proposed in recent years, with the objective of detecting defective
samples more eficiently and reducing scrap and downtime [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Some of these approaches focus on
image processing, and they are oriented towards assessing the quality of the spots in an online fashion
with the help of cameras mounted on the welding devices Prediction of the Weld Qualities Using Surface
Appearance Image in Resistance Spot Welding, Monitoring of Resistance Spot Welding Process). Others,
mainly directed by the work of Chen et al., developed systems for weld quality estimation based on
infrared thermography [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] [6]. However, implementing these methods is often challenging due to the
need to acquire, install, and integrate specialized hardware, which can be costly and time-consuming.
Therefore, the research focused on using intrinsic process variables for monitoring is especially valuable.
From the early works of Cho et al. [7], many diferent data-driven methods have been developed, either
defined as classification or prediction tasks, depending on whether the intention is to estimate the
welding nugget diameter, or to identify defective welds. In this paper, developed under the Graph
Massivizer project, we introduce the need for a hybrid approach for welding quality estimation, one
that leverages on existing ontologies to act as an inductive bias on top of the available sensor data, with
the objective of obtaining a more grounded and eficient algorithm.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Use case</title>
      <p>
        Resistance Spot Welding (RSW) is widely used in the automotive industry, as over 90% of assembly
work in a car body is completed by RSW [8]. These spots are critical for the structural integrity of
the vehicle, and the amount of spot welds in a car are counted in the thousands [9]. Resistance Spot
Welding is a process used to join two or more metal sheets together by applying pressure and passing an
electric current through the materials. The process generates heat due to the resistance to the electrical
current in the contact area between the metal sheets, causing the metals to melt and fuse together. The
welding electrodes also provide the necessary force to hold the materials in place during welding [10].
This is a very complicated process involving electromagnetic, thermal, mechanical and metallurgical
variables [8]. Even in very controlled environments, defects have been shown to be very dificult to
detect, as the welds are hidden between two sheets of metal. As such, in resistance spot welding, quality
assurance typically involves the use of ofline destructive inspection techniques on selected samples.
These methods involve directly measuring the mechanical strength, fatigue resistance, and failure modes
of the weld joints. By physically testing these samples to the point of failure, critical information about
the integrity and durability of the weld can be obtained. This approach, while efective in assessing joint
quality, is limited by its destructive nature and the fact that it only provides insight into the specific
samples tested, rather than the entire production run [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        Most modern RSW operations are very eficient, and defective welds are a rare yet critical occurrence,
as such, defining data-driven methods to target these defects is a priority for the automotive industry,
and it has been a very rich subject of research. The main dificulties explored in the literature for the
implementation of eficient quality prediction algorithms are the following: (i) limit on labeled data
amount, (ii) limit on features, (iii) limit on coverage of relevant situations [11]. Increasing the amount of
labeled data is a resource-intensive task, therefore, it is often best avoided. Regarding (ii), some authors
have made use of additional sensors (infrared sensors [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], cameras...) for reliable quality prediction,
however, this is often dificult to implement and over-complicates the process, which leads to more
failures and downtime. Lastly, (iii) is the most pressing challenge, because as quality is good under
normal conditions, the datasets are often times heavily imbalanced, and creating more anomalous labels
requires expensive laboratory testing.
      </p>
      <p>
        Therefore, it is specifically interesting to detect RSW defects using the highly available dynamic
electrical features captured during the process, namely the current and the voltage, which are used to
conform to the dynamic resistance. These methods treat the dynamic curves as time series and aim
at identifying the underlying patterns that lead to anomalies in the welds. In [12], a random forest
classifier was trained with features derived from this signal and achieved up to 98% accuracy. Similarly,
[13] used a radial basis function neural network to predict nugget diameter and weld strength, achieving
98% accuracy by classifying features into diferent quality levels. In [ 14], a kernel extreme machine
model optimized with a particle swarm algorithm also reached 98% accuracy. The performance of these
models is very solid in their specific scenarios, and it leads to the incorrect idea that quality assurance in
RSW is a solved topic. However, as mentioned by Stavropoulos et al. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], RSW is a very heterogeneous
process, and the variation of the elements that comprise the RSW ecosystem and process (machines,
materials, thickness, position...) heavily afect the final quality of the joint.
      </p>
      <p>Towards this direction, a need for a more holistic approach has been defined, one that takes into
account a bigger portion of the welding ecosystem and is able to adapt to the diferent flavors that RSW
can have. It is this approach that Tan et al. followed [15] by framing the quality prediction problem as
one of link prediction in a literal-aware RSW welding knowledge graph. By integrating background
knowledge on the prediction, the model is able to get a higher-level view of the operation and tackle the
heterogeneity of RSW in a more holistic manner. Even if the performance of this approach is notable,
in an attempt to frame it under the more traditional embedding methods, it deals with the time-series
nature of the curves by aggregating the values of the dynamical electrical features, leading to a great
loss of expressivity and decrease in performance, as Dickinson et al. stated in [16].</p>
    </sec>
    <sec id="sec-3">
      <title>3. Proposed methodology</title>
      <p>It has been shown that while data-driven methods lack the capacity to model the complexities of the
RSW ecosystem, knowledge-graph-driven approaches lack the expressivity and granularity aforded
by time-series data. Thus, motivated by the work of Jain et al. [17], the objective of Bosch and the
consortium partners under the Graph Massivizer project is to merge both approaches and design the
next-generation quality monitoring methods that go beyond the more traditional data-driven methods
by combining knowledge and sensor measurements.</p>
      <p>On the one hand, we refer to sensor measurements as the time series that are produced during the
welding operation, which can have the form of currents, voltages, temperatures. . . These are variables
that evolve during each weld and are fundamental to the estimation of the quality (e.g., if an abnormality
has been detected in the current that flows through the cathode of the welding machine, the presence
of an anomaly will be likely). On the other hand, we refer to knowledge that encompasses diverse and
rich prior information about the process, derived from expert knowledge, such as the ontology for a
specific RSW machine. This ontology is used as the backbone to create knowledge graphs for each
specific operation, similar to the approach that Tan et al. followed in [ 15], but instead of pointing at the
aggregated values of the dynamic features, it points at the entire representation of the time-series, thus
maintaining the expressivity in the analysis. This ontology is then used as a structural inductive bias
that inherently captures the nature of RSW. Subsequently, a Graph Neural Network (GNN) is trained
for prediction, leveraging the ontology-based knowledge graph to enhance its learning capability [18].</p>
      <p>This method is not only expected to improve the model’s accuracy in predicting outcomes but also
enable it to generalize better across diferent RSW operations by integrating domain-specific knowledge.
Additionally, the use of GNNs allows for the incorporation of complex relationships and dependencies
between various process parameters, providing a more holistic and detailed understanding of the RSW
process dynamics. This approach demonstrates the potential to bridge the gap between data-driven
methods and expert knowledge, resulting in a more robust and comprehensive modeling framework.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Drawbacks</title>
      <p>Despite the high expectations for the project and the computational soundness of the method, we are
currently encountering some challenges.</p>
      <p>• A significant challenge lies in efectively representing time-series data within a graph-based
framework. While time-series data provide rich, dynamic information about the welding process,
converting this data into a graph structure that preserves its temporal properties and contextual
relevance is complex. One possible solution is to use visibility graphs, which transform time-series
data into networks where each data point (or "node") is connected to other nodes based on specific
visibility criteria. Although visibility graphs can capture the intrinsic patterns and relationships
within the time series, they may struggle with scalability when dealing with large datasets or
high-dimensional data. Furthermore, it remains unclear how to best integrate these graph-based
representations with existing domain knowledge in a cohesive manner that enhances the model’s
predictive capability.
• Combining knowledge graph data with time-series data in a meaningful way remains an open
question. For example, a potential approach could involve appending embeddings of events
generated by a BERT-like model [19] to embeddings derived from a feature tokenizer of the
time-series data, as proposed by Jain et al. [17]. However, this strategy may not be efective in
our use case due to the scarcity of events, which limits the potential information gain from such
embeddings.
• Using ontologies as structural inductive biases, while theoretically sound, raises questions about
scalability. For instance, one could use a BERT-like model to create embeddings for materials,
static conditions, and other domain-specific knowledge, and then train a Graph Neural Network
(GNN) with this data. However, it is uncertain how well this approach would scale to larger
datasets or more complex welding scenarios. Moreover, techniques like node2vec [20], which
are often used for node embeddings in graphs, may not be suitable for capturing the nuanced,
multi-relational nature of the knowledge graph in this context.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>In conclusion, this paper highlights the need for a hybrid approach to quality assurance in Resistance
Spot Welding (RSW) by combining knowledge graphs and time-series data to address the limitations of
traditional data-driven and knowledge-graph-based methods. The proposed methodology, leveraging
Graph Neural Networks (GNNs) and domain-specific ontologies, ofers a more comprehensive and
adaptive modeling framework that captures the complex dependencies and dynamics of the RSW
process, leading to improved prediction accuracy and robustness. However, challenges remain in
efectively integrating time-series data within a graph-based framework and ensuring scalability across
diverse welding scenarios.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>The Graph Massiviser (GA 101093202) EU project supported this work.
[20] A. Grover, J. Leskovec, node2vec: Scalable Feature Learning for Networks, in: Proceedings of
the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining,
KDD ’16, Association for Computing Machinery, New York, NY, USA, 2016, pp. 855–864. URL:
https://doi.org/10.1145/2939672.2939754. doi:10.1145/2939672.2939754.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>D.</given-names>
            <surname>Mourtzis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Vlachou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Milas</surname>
          </string-name>
          ,
          <article-title>Industrial Big Data as a Result of IoT Adoption in Manufacturing</article-title>
          ,
          <source>Procedia CIRP 55</source>
          (
          <year>2016</year>
          )
          <fpage>290</fpage>
          -
          <lpage>295</lpage>
          . URL: https://www.sciencedirect.com/science/article/pii/ S2212827116307880. doi:
          <volume>10</volume>
          .1016/j.procir.
          <year>2016</year>
          .
          <volume>07</volume>
          .038.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>A.-K. Leiting</surname>
          </string-name>
          , L. De Cuyper, C. Kaufmann,
          <article-title>The Internet of Things and the case of Bosch: Changing business models while staying true to yourself</article-title>
          ,
          <source>Technovation</source>
          <volume>118</volume>
          (
          <year>2022</year>
          )
          <article-title>102497</article-title>
          . URL: https:// www.sciencedirect.com/science/article/pii/S016649722200044X. doi:
          <volume>10</volume>
          .1016/j.technovation.
          <year>2022</year>
          .
          <volume>102497</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Svetashova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Byeon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Pychynski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Mikut</surname>
          </string-name>
          , E. Kharlamov,
          <source>Predicting Quality of Automated Welding with Machine Learning and Semantics: A Bosch Case Study, in: Proceedings of the 29th ACM International Conference on Information &amp; Knowledge Management, CIKM '20</source>
          ,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA,
          <year>2020</year>
          , pp.
          <fpage>2933</fpage>
          -
          <lpage>2940</lpage>
          . URL: https: //doi.org/10.1145/3340531.3412737. doi:
          <volume>10</volume>
          .1145/3340531.3412737.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>P.</given-names>
            <surname>Stavropoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Sabatakakis</surname>
          </string-name>
          , Quality Assurance in Resistance Spot Welding:
          <article-title>State of Practice, State of the Art, and</article-title>
          <string-name>
            <surname>Prospects</surname>
          </string-name>
          ,
          <source>Metals</source>
          <volume>14</volume>
          (
          <year>2024</year>
          )
          <article-title>185</article-title>
          . URL: https://www.mdpi.com/2075-4701/14/ 2/185. doi:
          <volume>10</volume>
          .3390/met14020185, number: 2 Publisher: Multidisciplinary Digital Publishing Institute.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Feng</surname>
          </string-name>
          ,
          <article-title>Online resistance spot weld NDE using infrared thermography 10169 (</article-title>
          <year>2017</year>
          )
          <article-title>101690K</article-title>
          . URL: https://ui.adsabs.harvard.edu/abs/2017SPIE10169E..
          <source>0KC. doi:10.1117/12</source>
          . 2260896, conference Name:
          <source>Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series ADS Bibcode: 2017SPIE10169E..0KC.</source>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>