Skip to main content

SWARM: A Scientific Workflow Fragments Recommendation Approach via Contrastive Learning and Semantic Matching

  • Conference paper
  • First Online:
Service-Oriented Computing (ICSOC 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14420))

Included in the following conference series:

  • 311 Accesses

Abstract

Discovering and recommending scientific workflow fragments that can be reused or repurposed from public repositories is becoming increasingly significant in the scientific domain. Although popular fragment discovery strategies can identify frequent and similar fragments, they lack the ability to further mine pattern semantics. Moreover, current recommendation approaches are primarily based on text matching between natural language queries and the descriptions of candidate fragments, neglecting crucial structural information that conveys their functions. To address these challenges, this paper designs SWARM, a scientific workflow fragments recommendation approach via contrastive learning and semantic matching. SWARM consists of two phases: fragment discovery based on frequent subgraph mining and a contrastive semantics extraction model, and fragment recommendation based on a matching degree prediction model incorporating a pre-trained fragment encoder, which is used to predict and rank the degree of semantic matching between the user query and candidate fragments. SWARM aims to extract and integrate textual and structural semantics from fragments to discover and recommend them. The experimental results on commonly-used real-world datasets show that SWARM outperforms state-of-the-art methods with statistical significance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://huggingface.co/michiyasunaga.

  2. 2.

    https://microsoft.github.io/BLURB/leaderboard.html.

  3. 3.

    https://usegalaxy.eu/.

References

  1. Wen, J., Zhou, Z., Lei, F., Zhang, J.: Basic and personalized pattern-based workflow fragments discovery. Pers. Ubiquit. Comput. 25(6), 1091–1111 (2021)

    Article  Google Scholar 

  2. Gu, Y., Cao, J., Qian, S., Guan, W.: SWORTS: a scientific workflow retrieval approach by learning textual and structural semantics. IEEE Trans. Serv. Comput. (2023)

    Google Scholar 

  3. Starlinger, J.: Similarity measures for scientific workflows. Ph.D. thesis, Humboldt-Universität zu Berlin, Mathematisch-Naturwissenschaftliche Fakultät (2016). http://dx.doi.org/10.18452/17406

  4. Deelman, E., et al.: The evolution of the pegasus workflow management software. Comput. Sci. Eng. 21(4), 22–36 (2019)

    Article  Google Scholar 

  5. Blanchi, C., Gebre, B., Wittenburg, P.: Canonical workflow for machine learning tasks. Data Intell. 4(2), 173–185 (2022)

    Article  Google Scholar 

  6. Zhou, Z., Wen, J., Wang, Y., Xue, X., Hung, P.C., Nguyen, L.D.: Topic-based crossing-workflow fragment discovery. Futur. Gener. Comput. Syst. 112, 1141–1155 (2020)

    Article  Google Scholar 

  7. Wang, X., Niu, W., Li, G., Yang, X., Shi, Z.: Mining frequent agent action patterns for effective multi-agent-based web service composition. In: Cao, L., Bazzan, A.L.C., Symeonidis, A.L., Gorodetsky, V.I., Weiss, G., Yu, P.S. (eds.) ADMI 2011. LNCS (LNAI), vol. 7103, pp. 211–227. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-27609-5_14

    Chapter  Google Scholar 

  8. Wen, J., Zhou, Z., Shi, Z., Wang, J., Duan, Y., Zhang, Y.: Crossing scientific workflow fragments discovery through activity abstraction in smart campus. IEEE Access 6, 40530–40546 (2018)

    Article  Google Scholar 

  9. Belhajjame, K., Grigori, D., Harmassi, M., Ben Yahia, M.: Keyword-based search of workflow fragments and their composition. In: Nguyen, N.T., Kowalczyk, R., Pinto, A.M., Cardoso, J. (eds.) Transactions on Computational Collective Intelligence XXVI. LNCS, vol. 10190, pp. 67–90. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-59268-8_4

    Chapter  Google Scholar 

  10. Cheng, Z., Zhou, Z.: Workflow fragments of layer hierarchy detection and recommendation. In: 2016 IEEE International Conference on Systems, Man, and Cybernetics (SMC), pp. 000695–000700. IEEE (2016)

    Google Scholar 

  11. Zhang, J., Pourreza, M., Lee, S., Nemani, R., Lee, T.J.: Unit of work supporting generative scientific workflow recommendation. In: Pahl, C., Vukovic, M., Yin, J., Yu, Q. (eds.) ICSOC 2018. LNCS, vol. 11236, pp. 446–462. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-03596-9_32

    Chapter  Google Scholar 

  12. Chen, X., He, K.: Exploring simple siamese representation learning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 15750–15758 (2021)

    Google Scholar 

  13. Starlinger, J., Brancotte, B., Cohen-Boulakia, S., Leser, U.: Similarity search for scientific workflows. Proc. VLDB Endow. (PVLDB) 7(12), 1143–1154 (2014)

    Article  Google Scholar 

  14. Garijo, D., et al.: Fragflow automated fragment detection in scientific workflows. In: 2014 IEEE 10th International Conference on e-Science, vol. 1, pp. 281–289. IEEE (2014)

    Google Scholar 

  15. Diao, J., Zhou, Z., Xue, X., Zhao, D., Chen, S.: Bioinformatic workflow fragment discovery leveraging the social-aware knowledge graph. In: Explainable, Trustworthy and Responsive Intelligent Processing of Biological Resources Integrating Data, Information, Knowledge, and Wisdom-Volume II, vol. 16648714, p. 88 (2023)

    Google Scholar 

  16. Yasunaga, M., Leskovec, J., Liang, P.: LinkBERT: Pretraining Language Models with Document Links. arXiv preprint arXiv:2203.15827 (2022)

  17. Gu, Y., Cao, J., Qian, S., Zhu, N., Guan, W.: MANSOR: a module alignment method based on neighbor information for scientific workflow. Concurr. Comput. Pract. Exp. e7736 (2023)

    Google Scholar 

  18. Yan, X., Han, J.: gSpan: graph-based substructure pattern mining. In: Proceedings of 2002 IEEE International Conference on Data Mining, pp. 721–724. IEEE (2002)

    Google Scholar 

  19. Grill, J.B., et al.: Bootstrap your own latent-a new approach to self-supervised learning. Adv. Neural. Inf. Process. Syst. 33, 21271–21284 (2020)

    Google Scholar 

  20. He, X., Chua, T.S.: Neural factorization machines for sparse predictive analytics. In: Proceedings of the 40th International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 355–364 (2017)

    Google Scholar 

  21. Woolson, R.F.: Wilcoxon signed-rank test. In: Wiley Encyclopedia of Clinical Trials, pp. 1–3 (2007)

    Google Scholar 

  22. Wang, H., Chi, X., Wang, Z., Xu, X., Chen, S.: Extracting fine-grained service value features and distributions for accurate service recommendation. In: 2017 IEEE International Conference on Web Services (ICWS), pp. 277–284. IEEE (2017)

    Google Scholar 

  23. Ericsson, L., Gouk, H., Hospedales, T.M.: How well do self-supervised models transfer? In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5414–5423 (2021)

    Google Scholar 

Download references

Acknowledgements

This work is supported by China National Science Foundation (No. 62072301) and the Program of Technology Innovation of the Science and Technology Commission of Shanghai Municipality (No. 21511104700).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jian Cao .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Gu, Y., Cao, J., Tang, J., Qian, S., Guan, W. (2023). SWARM: A Scientific Workflow Fragments Recommendation Approach via Contrastive Learning and Semantic Matching. In: Monti, F., Rinderle-Ma, S., Ruiz Cortés, A., Zheng, Z., Mecella, M. (eds) Service-Oriented Computing. ICSOC 2023. Lecture Notes in Computer Science, vol 14420. Springer, Cham. https://doi.org/10.1007/978-3-031-48424-7_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-48424-7_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-48423-0

  • Online ISBN: 978-3-031-48424-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics