<!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 />
    <article-meta>
      <title-group>
        <article-title>Interactive Assistance for Scientific Workflow Modeling by Case-Based Reasoning</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Christian Zeyen</string-name>
          <email>zeyen@uni-trier.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Business Information Systems II University of Trier 54286 Trier</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Developing scientific workflows is a demanding task that can be supported in various ways. The range of approaches covers knowledge-intensive planning approaches to statistical approaches. Some of the key challenges are knowledge engineering and elicitation of the target problem to provide specific assistance. The presented research addresses these challenges with a case-based approach. The goal is to provide an interactive and self-improving assistant that collaborates with the developer not only to learn from newly created workflows but also to improve the underlying domain model.</p>
      </abstract>
      <kwd-group>
        <kwd>Case-Based Reasoning</kwd>
        <kwd>Interactive Assistance</kwd>
        <kwd>Scientific Workflows</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Scientific workflows [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] are designed for the computerized execution of data
processing and analysis tasks. Scientific workflow management systems (cf. [
        <xref ref-type="bibr" rid="ref3 ref6">6,3</xref>
        ]) are
powerful tools that provide graphical editors for composing workflows (also
referred to as modeling) out of building blocks. However, developing scientific
worklfows remains a demanding task due to the large number of available components
and the wide variety of possible compositions. Various assistance approaches
exist that can be roughly divided into three groups: statistical (cf. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]),
planningbased (cf. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]), and case-based approaches (cf. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]). While semantic approaches
typically require extensive knowledge engineering beforehand, less
knowledge-intensive approaches such as statistical approaches need many available workflows
to derive best-practice recommendations. Previous case-based approaches often
come at high knowledge engineering costs and require a fully elaborated query
by the user. Conversational approaches address the latter but cause additional
efort for creating suitable dialogs. Moreover, previous work mainly focused on
attribute-value representations of workflows and did not incorporate graph
representations, which are typically used in workflow editors. Due to the complex
nature of the domain, approaches are often limited to solve certain problems
and require additional development work to keep up with continuously evolving
Copyright © 2019 for this paper by its authors. Use permitted
under Creative Commons License Attribution 4.0 International (CC BY 4.0).
workflow systems. In general, it is challenging to assist modeling for the full
range of composable workflows. For instance, it is common practice to use API
calls or to perform arbitrary script execution within workflow execution. Many
systems provide generic workflow components for this purpose, enabling to
extend the functionality of built-in components. To provide an adequate assistance,
it is essential to continuously refine the domain model and to involve workflow
developers.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>PhD Research Focus</title>
      <p>Addressing the limitations of existing research, this PhD thesis research
follows an interactive approach based on CBR to assist the modeling of scientific
workflows. In a nutshell, based on the current workflow under development, a
conversational retrieval is performed to find a suitable workflow serving as a
template. Subsequently, applicable adaptations are suggested and performed in
an interactive manner. Finally, a newly created workflow is stored as a new case
including the semantic information obtained from the user interaction.
2.1</p>
      <sec id="sec-2-1">
        <title>Research Questions</title>
        <p>The following research questions will be addressed for the domain of scientific
workflows:
1. How can a domain model be eficiently built based on available workflows
and semi-structured meta data.
2. How can workflows be eficiently retrieved with a conversational approach?
3. How can interactive workflow adaptation be realized?
4. How can results be presented and explained to users?
5. How can knowledge required for conversational retrieval and adaptation be
automatically derived from the case base and domain model?
6. How can user feedback be gathered and used to revise the knowledge model?
7. How can a conversational CBR approach be evaluated under real-world
conditions?
2.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>Research Plan</title>
        <p>
          The research is embedded in two projects. Research question 1 is investigated in
the eXplore! 1 project, in which we build up the application domain and
implement a basic case-based retrieval approach as an extension for the RapidMiner
workflow system [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
1 eXplore! – Computer-based Modeling, Analysis, and Exploration as a Basis for
eScience in eHumanities is a cooperation project with the Trier Center for
Digital Humanities (TCDH) at the University of Trier.
        </p>
        <p>
          Further work towards interactivity is done in the scope of the EVER II 2
project (cf. [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]). In the first place, a focus is put on the conversational retrieval
of the workflow cases to investigate questions 2 and 4. For this purpose, we build
up upon previous work [
          <xref ref-type="bibr" rid="ref10 ref5">10,5</xref>
          ]. In this context, important issues are time-eficient
retrieval as well as question creation and sequence. Furthermore, previous
evaluations [
          <xref ref-type="bibr" rid="ref10 ref5">10,5</xref>
          ] showed that an adequate presentation and explanation of results
is essential (question 4). With respect to question 7, the idea is to deploy the
research prototype for evaluating the assistance approach in public under
realworld condition. By this means, usage data can be collected that may also lead
to new insights into the process of workflow modeling.
        </p>
        <p>Subsequent to conversational retrieval, the research activities focus on
interactive adaptation (question 3). In this step, existing adaptation approaches
will be integrated in the conversational framework. This step will also address
questions 4 and 7.</p>
        <p>An overall focus is put on reducing the initial efort for building such an
assistance (question 1). Likewise the knowledge engineering efort at run-time
for adapting the knowledge model to changing circumstances such as an evolving
workflow system will be addressed. The research also addresses the knowledge
acquisition bottleneck by deriving knowledge from the case base and the domain
model (question 5) and by interactively acquiring knowledge during the workflow
modeling process (question 6).
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Current Progress</title>
      <p>Previous work already addressed some of the research questions according to the
research plan.
3.1</p>
      <sec id="sec-3-1">
        <title>Application Domain</title>
        <p>
          Question 1 was addressed during the implementation of the application domain.
To assist workflow development under real-world conditions, the research is
applied to the RapidMiner software [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] that allows for the visual programming of
workflows for data and text mining tasks. RapidMiner is largely available
under an open source license while also being distributed commercially, has an
active user community, and is extensively expandable. In the eXplore! project,
RapidMiner workflows were modeled for text processing and analysis tasks. In
cooperation with digital humanists we investigated if workflow technology could
be beneficial for humanities research following the model of eScience [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. Within
the project, we developed a prototypical modeling assistance as an extension
for RapidMiner. The case-based approach supports the retrieval of RapidMiner
workflows from a repository. A query for retrieval comprises the current
worklfow under development as well as keywords. The plugin also allows for extracting
2 EVER II – Extraction and Processing of Procedural Experiential Knowledge in
Worklfows – Quality, Interactivity, and Transferability is a cooperation project with the
Goethe University of Frankfurt
meta data about available workflow components and integrating the data into
the knowledge model. For each such component, the model comprises various
information such as textual descriptions, parameters, value ranges, default
settings, input and output ports, and data types.
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Conversational Retrieval of Workflows</title>
        <p>
          Concerning questions 2, 4, and 5, our previous work [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] investigates an
interactive retrieval approach that incrementally elicits the relevant features of the
target problem. Thereby, we aim at reducing the efort and required expertise for
the definition of queries. In contrast to other conversational approaches, cases are
workflows that are represented as graphs. Questions are related to structural
features and are automatically constructed based on extracted workflow fragments.
Thereby, with respect to research question 5, the efort for defining suitable
questions is omitted. An experimental evaluation with real users demonstrates that
those features are meaningful subjects of questions and suitable to distinguish
workflow cases from one another. The lessons learned from the evaluation are
valuable for investigating question 7 in future work.
3.3
        </p>
      </sec>
      <sec id="sec-3-3">
        <title>Query Model for Workflow Retrieval</title>
        <p>
          In [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], addressing research question 2, we investigate expression elements to be
used in a query language for scientific workflows. Based on a literature study,
we present a query model consisting of workflow structure and meta description
elements. The query model is evaluated with non-expert users in the RapidMiner
workflow domain. It was observed in the experiments that the workflow structure
is the most important query element followed by tags and keywords.
3.4
        </p>
      </sec>
      <sec id="sec-3-4">
        <title>Automatic Adaptation of Workflows</title>
        <p>
          In most recent work [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], we investigate automatic adaptation of scientific
worklfows as a first step towards answering question 3. With regard to our previous
works on the adaptation of business workflows, we discuss diferences between
the workflow types and the resulting implications for transferring the adaptation
approaches. We present two adaptation approaches namely substitutional
adaptation by generalization and specialization of single workflow steps and structural
adaptation with workflow streams that substitutes meaningful sub-components
in workflows. The approaches learn the required adaptation knowledge from
the case base, thus reducing the knowledge acquisition efort. An experimental
evaluation demonstrates that both adaptation approaches can be used to
significantly improve workflows towards a given query while mostly maintaining
the executability and semantic correctness of the workflows. The work lays the
foundation for interactive retrieval and adaptation of workflows that we consider
to be key components of an interactive assistance.
        </p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bergmann</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Minor</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Müller</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schumacher</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <string-name>
            <surname>Project</surname>
            <given-names>EVER</given-names>
          </string-name>
          :
          <article-title>Extraction and Processing of Procedural Experience Knowledge in Workflows</article-title>
          . In: SánchezRuiz,
          <string-name>
            <given-names>A.A.</given-names>
            ,
            <surname>Kofod-Petersen</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . (eds.)
          <source>Proceedings of ICCBR 2017 Workshops. CEUR Workshop Proceedings</source>
          , vol.
          <year>2028</year>
          , pp.
          <fpage>137</fpage>
          -
          <lpage>146</lpage>
          . CEUR-WS.org (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Chinthaka</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ekanayake</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leake</surname>
            ,
            <given-names>D.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Plale</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>CBR Based Workflow Composition Assistant</article-title>
          .
          <source>In: 2009 IEEE Congress on Services, Part I, SERVICES I</source>
          <year>2009</year>
          , Los Angeles, CA, USA, July
          <volume>6</volume>
          -
          <issue>10</issue>
          ,
          <year>2009</year>
          . pp.
          <fpage>352</fpage>
          -
          <lpage>355</lpage>
          . IEEE Computer Society (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Gil</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ratnakar</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kim</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>González-Calero</surname>
            ,
            <given-names>P.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Groth</surname>
          </string-name>
          , P.T., Moody, J.,
          <string-name>
            <surname>Deelman</surname>
          </string-name>
          , E.:
          <article-title>Wings: Intelligent Workflow-Based Design of Computational Experiments</article-title>
          .
          <source>IEEE Intelligent Systems</source>
          <volume>26</volume>
          (
          <issue>1</issue>
          ),
          <fpage>62</fpage>
          -
          <lpage>72</lpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Jannach</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jugovac</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lerche</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Adaptive Recommendation-based Modeling Support for Data Analysis Workflows</article-title>
          . In: Brdiczka,
          <string-name>
            <given-names>O.</given-names>
            ,
            <surname>Chau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Carenini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Pan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Kristensson</surname>
          </string-name>
          , P.O. (eds.)
          <source>Proceedings of the 20th International Conference on Intelligent User Interfaces</source>
          ,
          <source>IUI</source>
          <year>2015</year>
          ,
          <article-title>Atlanta</article-title>
          ,
          <string-name>
            <surname>GA</surname>
          </string-name>
          , USA, March 29 - April 01,
          <year>2015</year>
          . pp.
          <fpage>252</fpage>
          -
          <lpage>262</lpage>
          . ACM (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Malburg</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Münster</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zeyen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bergmann</surname>
          </string-name>
          , R.:
          <article-title>Query Model and SimilarityBased Retrieval for Workflow Reuse in the Digital Humanities</article-title>
          . In: Gemulla,
          <string-name>
            <surname>R.</surname>
          </string-name>
          , et al. (eds.)
          <source>Proceedings of the Conference Lernen</source>
          , Wissen, Daten, Analysen,
          <string-name>
            <surname>LWDA</surname>
          </string-name>
          <year>2018</year>
          , Mannheim, Germany,
          <source>August 22-24</source>
          ,
          <year>2018</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>2191</volume>
          , pp.
          <fpage>251</fpage>
          -
          <lpage>262</lpage>
          . CEUR-WS.org (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Mierswa</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wurst</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Klinkenberg</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Scholz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Euler</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>YALE: Rapid prototyping for complex data mining tasks</article-title>
          .
          <source>In: Proceedings of the 12th ACM SIGKDD Int. Conf. on Knowl. Discovery and Data Mining</source>
          ,
          <year>2006</year>
          . pp.
          <fpage>935</fpage>
          -
          <lpage>940</lpage>
          . ACM (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Taylor</surname>
          </string-name>
          , I.J.,
          <string-name>
            <surname>Gannon</surname>
            ,
            <given-names>D.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shields</surname>
          </string-name>
          , M. (eds.):
          <article-title>Workflows for e-Science: Scientific Workflows for Grids</article-title>
          . Springer (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Zeyen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bergmann</surname>
          </string-name>
          , R.:
          <article-title>Towards an Interactive Workflow Modeling Assistance by Means of Case-Based Reasoning</article-title>
          . In: Gemulla,
          <string-name>
            <surname>R.</surname>
          </string-name>
          , et al. (eds.)
          <source>Proceedings of the Conference Lernen</source>
          , Wissen, Daten, Analysen,
          <string-name>
            <surname>LWDA</surname>
          </string-name>
          <year>2018</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>2191</volume>
          , pp.
          <fpage>355</fpage>
          -
          <lpage>360</lpage>
          . CEUR-WS.org (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Zeyen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Malburg</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bergmann</surname>
          </string-name>
          , R.:
          <article-title>Adaptation of Scientific Workflows by Means of Process-Oriented Case-Based Reasoning</article-title>
          . In: Bach,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>Marling</surname>
          </string-name>
          , C. (eds.)
          <source>Case-Based Reasoning Research and Development - 27th Int. Conf., ICCBR</source>
          <year>2019</year>
          , Otzenhausen, Germany, September 8-
          <issue>12</issue>
          ,
          <year>2019</year>
          , Proceedings. LNCS, Springer (
          <year>2019</year>
          ),
          <article-title>Accepted for publication</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Zeyen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Müller</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bergmann</surname>
          </string-name>
          , R.:
          <article-title>Conversational Process-Oriented Case-Based Reasoning</article-title>
          . In: Aha,
          <string-name>
            <given-names>D.W.</given-names>
            ,
            <surname>Lieber</surname>
          </string-name>
          ,
          <string-name>
            <surname>J</surname>
          </string-name>
          . (eds.)
          <source>Case-Based Reasoning Research and Development - 25th Int. Conf., ICCBR</source>
          <year>2017</year>
          , Trondheim, Norway, June 26-28,
          <year>2017</year>
          , Proceedings. LNCS, vol.
          <volume>10339</volume>
          , pp.
          <fpage>403</fpage>
          -
          <lpage>419</lpage>
          . Springer (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>