Skip to main navigation Skip to search Skip to main content

MLStractor: LLM-Powered Search-Based Monolith-to-Microservice Decomposition

  • Ilyes Kasdallah
  • , Mostafa Anouar Ghorab
  • , Oussama Jebbar
  • , Khaled Sellami
  • , Mohammed Sayagh
  • , Ali Ouni
  • , Mohamed Aymen Saied
  • Université Laval
  • Université du Québec à Chicoutimi

Research output: Contribution to Book/Report typesContribution to conference proceedingspeer-review

Abstract

Modern software is built as small, cohesive, loosely coupled, and independently deployable units called microservices. The size and complexity of legacy systems make their decomposition into microservices a time-consuming and error-prone process. Several approaches have been proposed to address this problem, known as monolithic decomposition, often using static analysis techniques that provide insights, such as inter-class dependencies, to assign classes to microservices. This paper introduces a new method, MLStractor, that uses embedding vectors rather than static analysis to perform method-level decomposition. The approach frames the decomposition problem as a multi-objective optimization problem and uses IBEA to solve it. Consequently, MLStractor offers an alternative solution for monolithic decomposition, enabling a coarser-grained decomposition without relying on inter-class dependencies to reflect the cohesion and coupling of microservices. Preliminary results indicate that MLStractor effectively extracts semantically cohesive microservices with inter-service coupling comparable to that of existing methods.

Original languageEnglish
Title of host publicationSearch-Based Software Engineering - 18th International Symposium, SSBSE 2026, Proceedings
EditorsWesley K.G. Assunção, Mijung Kim, Ali Ouni
PublisherSpringer Science and Business Media Deutschland GmbH
Pages83-89
Number of pages7
ISBN (Print)9783032306982
DOIs
Publication statusPublished - 2027
Event18th International Symposium on Search-Based Software Engineering, SSBSE 2026 - Montreal, Canada
Duration: 5 Jul 20266 Jul 2026

Publication series

NameLecture Notes in Computer Science
Volume16699 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference18th International Symposium on Search-Based Software Engineering, SSBSE 2026
Country/TerritoryCanada
CityMontreal
Period5/07/266/07/26

Cite this