<!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>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Machine Learning for Large-scale Manufacturing Pipelines with Knowledge Graphs</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yuxin Zi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Cory Henson</string-name>
          <email>cory.henson@us.bosch.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Amit Sheth</string-name>
          <email>amit@sc.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Workshop</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Artificial Intelligence Institute, University of South Carolina</institution>
          ,
          <addr-line>Columbia</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Bosch Center for Artificial Intelligence</institution>
          ,
          <addr-line>Pittsburgh</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <fpage>13</fpage>
      <lpage>15</lpage>
      <abstract>
        <p>Understanding causal relations within manufacturing pipelines is crucial for key manufacturing tasks such as anomaly detection and root cause analysis. However, existing causal machine learning (causal ML) approaches struggle to scale efectively to the vast number of variables present in manufacturing settings. We advocate for incorporating domain knowledge within the manufacturing pipelines, represented as knowledge graphs (KGs), for designing causal ML methods for large-scale manufacturing problems. Knowledge graphs can encode rich contextual information about the interactions and dependencies between diferent components and stages of the manufacturing pipeline, providing a structured framework to guide the discovery of causal relationships. By incorporating KGs, causal ML models can leverage both data-driven approaches and domain knowledge, enhancing scalability and improving the accuracy of causal learning in large scale manufacturing settings.</p>
      </abstract>
      <kwd-group>
        <kwd>Knowledge</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Causal machine learning (causal ML) encompasses ML methods aimed at identifying cause-and-efect
relationships among variables, primarily using observational data. Manufacturing pipelines involve
tens of thousands of observed and unobserved variables, including physical sensor readings, material
properties, machine parameters, and environmental factors. Understanding the causal relations between
these variables is critical for downstream tasks such as anomaly detection, root cause analysis and
process optimization [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Existing causal ML methods have demonstrated efectiveness with relatively
small numbers of variables; however, they either cannot scale to manufacturing problem or do so
with significant ineficiency. The challenge with scaling arises from the combinatorial complexity
of evaluating possible causal relationships among variables [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], compounded by noise, confounders,
and unobserved variables. We argue that integrating expert-curated knowledge graphs (KGs) of
manufacturing processes can enable the development of scalable approaches that discern meaningful
causal relationships amidst the complexity of data. Specifically, this knowledge can clarify existing
causal relationships and specify additional constraints over the search space, drastically improving
the computational tractability and learning stability of causal ML methods. Due to their symbolic
form, KGs can significantly enhance the interpretability of causal ML model outputs. Such
knowledgeguided approaches have the potential to enhance both the scalability and accuracy of causal ML
techniques, ultimately supporting more informed decision-making and process optimization in
realworld manufacturing environments.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Constructing KGs for Manufacturing Pipelines</title>
      <p>The observational data from manufacturing pipelines typically includes sensor readings and details
about the manufactured parts. Beyond this, however, there is abundant structured and unstructured
knowledge available from most manufacturing pipelines. Organizing this knowledge into KGs requires
close collaboration between manufacturing experts, who understand the intricacies of the individual</p>
      <p>CEUR</p>
      <p>
        ceur-ws.org
manufacturing processes, and KG construction experts, who can efectively structure and integrate the
data [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Specifically, we are exploring the integration of the following information into KGs to
develop large-scale causal machine learning methods:
1. Direct and indirect causal influences : expert knowledge on known causal relationships,
non-causal relationships, and conditional independence between variables.
2. Manufacturing pipeline workflow : a structured representation of the production process,
including temporal and logical dependencies between stages and variables.
3. Noise characteristics of variables: information regarding which variables are subject to
measurement noise and the nature of that noise (e.g., Gaussian, uniform, etc.).
4. Latent variables and confounders: identification of important unobserved variables and
potential confounding factors in the production process.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. KGs Enables Large-Scale Causal ML for Manufacturing</title>
      <p>
        The scalability issue of causal learning from observational data lies in determining whether a causal
relationship exists between each pair of variables (nodes) [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Traditional causal discovery methods
are the least scalable due to the need to compute conditional independence between pairs of nodes,
making it a combinatorial optimization problem. A more scalable approach involves determining the
topological ordering of nodes by iteratively identifying the leaf nodes of the causal graph and then
applying feature selection techniques [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Recently, approximation methods using deep learning have
achieved significantly higher scalability (up to 500 nodes [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]). However, no existing method can scale
up to the manufacturing setting due to limitations in assumptions and complexity of the problem. We
argue that scalable causal ML methods for manufacturing demands explicit relational descriptions
beyond ground-level sensor measurements. Below, we analyse how knowledge can facilitate large-scale
causal ML methods:
• Knowledge on direct and indirect causal influences provides constraints on the causal
structure, prunes invalid edges early in the discovery process, and thereby efectively narrows down
candidate causal graphs and reduces the search space for learning algorithms.
• Knowledge on manufacturing pipeline workflow can guide the node selection process to focus
on the most relevant nodes, reduce the candidates of possible causes and thus improve scalability.
This knowledge also impose temporal constrains on the topological ordering of nodes, reducing
the number of candidate graphs in a Markov equivalent class. Temporal constrains can also
facilitate eficient time-series based causal ML methods. Note that temporal constrains are not
suficient conditions for identifying causal relations.
• Knowledge on noise characteristics of variables provides valuable insights into causal processes
in additive noise models (ANM) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] or post-nonlinear (PNL) models [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] for discovering nonlinear
causal relationships. By incorporating this knowledge, researchers can better tailor causal ML
methods to account for specific types and levels of noise present in the data. This knowledge can
enhance the efectiveness of causal discovery by mitigating the impact of noise and uncovering
more accurate causal relationships amidst complex, real-world data scenarios.
• Knowledge on latent variables and confounders allows for more precise identification of causal
relationships and better decision-making in complex systems. Current causal ML methods often
overlook the presence of unobserved variables. However, in the real world, these latent factors
can significantly influence the observed data and lead to erroneous causal learning if not properly
accounted for.
      </p>
      <p>
        We are researching the development of neuro-symbolic or hybrid causal ML methods to incorporate
domain-specific KGs. Neuro-symbolic methods combine the strengths of symbolic reasoning with
neural network approaches [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], allowing for more scalable, interpretable and robust causal modeling
frameworks [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Furthermore, KG-guided large-scale causal ML methods should also consider leveraging
parallel computing, eficient data structures, and advanced statistical techniques to manage the scale. In
conclusion, by addressing scalability issues in causal ML with domain KGs, we can make significant
strides in solving problems such as anomaly detection and root cause analysis, leading to higher
product quality, more eficient operations and improved process control, ultimately benefiting the entire
manufacturing industry.
      </p>
    </sec>
    <sec id="sec-4">
      <title>4. Ackowledgements</title>
      <p>This work is supported by Bosch Center for Artificial Intelligence and NSF Award 2335967 EAGER:
Knowledge-guided neurosymbolic AI with guardrails for safe virtual health assistants1. The views
expressed here are those of the authors, not those of the sponsors.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>K.</given-names>
            <surname>Budhathoki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Minorics</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Bloebaum</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Janzing</surname>
          </string-name>
          ,
          <article-title>Causal structure-based root cause analysis of outliers</article-title>
          , in: K. Chaudhuri,
          <string-name>
            <given-names>S.</given-names>
            <surname>Jegelka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Song</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Szepesvari</surname>
          </string-name>
          , G. Niu, S. Sabato (Eds.),
          <source>Proceedings of the 39th International Conference on Machine Learning</source>
          , volume
          <volume>162</volume>
          <source>of Proceedings of Machine Learning Research, PMLR</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>2357</fpage>
          -
          <lpage>2369</lpage>
          . URL: https://proceedings.mlr.press/v162/ budhathoki22a.html.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>P.</given-names>
            <surname>Sanchez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. Q. O</given-names>
            <surname>'Neil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Tsaftaris</surname>
          </string-name>
          ,
          <article-title>Difusion models for causal discovery via topological ordering</article-title>
          ,
          <year>2023</year>
          . URL: https://arxiv.org/abs/2210.06201. arXiv:
          <volume>2210</volume>
          .
          <fpage>06201</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Sheth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Henson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Sahoo</surname>
          </string-name>
          ,
          <article-title>Semantic sensor web</article-title>
          ,
          <source>IEEE Internet Computing</source>
          <volume>12</volume>
          (
          <year>2008</year>
          )
          <fpage>78</fpage>
          -
          <lpage>83</lpage>
          . doi:
          <volume>10</volume>
          .1109/MIC.
          <year>2008</year>
          .
          <volume>87</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>H.</given-names>
            <surname>Cheng</surname>
          </string-name>
          , P. Zeng,
          <string-name>
            <given-names>L.</given-names>
            <surname>Xue</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Shi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <source>Manufacturing ontology development based on industry 4</source>
          .
          <article-title>0 demonstration production line</article-title>
          ,
          <source>in: 2016 Third International Conference on Trustworthy Systems and their Applications (TSA)</source>
          ,
          <year>2016</year>
          , pp.
          <fpage>42</fpage>
          -
          <lpage>47</lpage>
          . doi:
          <volume>10</volume>
          .1109/TSA.
          <year>2016</year>
          .
          <volume>17</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>P.</given-names>
            <surname>Rolland</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Cevher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kleindessner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Russel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Schölkopf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Janzing</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Locatello</surname>
          </string-name>
          ,
          <article-title>Score matching enables causal discovery of nonlinear additive noise models</article-title>
          ,
          <year>2022</year>
          . URL: https://arxiv.org/ abs/2203.04413. arXiv:
          <volume>2203</volume>
          .
          <fpage>04413</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Peters</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mooij</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Janzing</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Schölkopf</surname>
          </string-name>
          ,
          <article-title>Causal discovery with continuous additive noise models</article-title>
          ,
          <year>2014</year>
          . URL: https://arxiv.org/abs/1309.6779. arXiv:
          <volume>1309</volume>
          .
          <fpage>6779</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>K.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , A. Hyvarinen,
          <article-title>On the identifiability of the post-nonlinear causal model</article-title>
          ,
          <year>2012</year>
          . URL: https://arxiv.org/abs/1205.2599. arXiv:
          <volume>1205</volume>
          .
          <fpage>2599</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Sheth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Roy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gaur</surname>
          </string-name>
          ,
          <article-title>Neurosymbolic artificial intelligence (why, what</article-title>
          , and how),
          <source>IEEE Intelligent Systems</source>
          <volume>38</volume>
          (
          <year>2023</year>
          )
          <fpage>56</fpage>
          -
          <lpage>62</lpage>
          . doi:
          <volume>10</volume>
          .1109/MIS.
          <year>2023</year>
          .
          <volume>3268724</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>U.</given-names>
            <surname>Jaimini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Henson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sheth</surname>
          </string-name>
          ,
          <article-title>Causal neurosymbolic ai: A synergy between causality and neurosymbolic methods</article-title>
          ,
          <source>IEEE Intelligent Systems</source>
          <volume>39</volume>
          (
          <year>2024</year>
          )
          <fpage>13</fpage>
          -
          <lpage>19</lpage>
          . doi:
          <volume>10</volume>
          .1109/MIS.
          <year>2024</year>
          .
          <volume>3395936</volume>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>