Contrastive Learning-Enhanced Large Language Models for Monolith-to-Microservice Decomposition
Khaled Sellami, Mohamed Aymen Saied

TL;DR
This paper introduces MonoEmbed, a novel LLM-based method using contrastive learning to automate monolith-to-microservice decomposition, improving the quality and efficiency of the process.
Contribution
It presents MonoEmbed, a new approach leveraging contrastive learning and LLMs for automated, effective microservice decomposition from monolithic applications.
Findings
Fine-tuned models outperform pre-trained models in representation quality.
MonoEmbed achieves higher cohesion and balance in microservice partitions.
Benchmark results show superior performance over existing methods.
Abstract
As Monolithic applications evolve, they become increasingly difficult to maintain and improve, leading to scaling and organizational issues. The Microservices architecture, known for its modularity, flexibility and scalability, offers a solution for large-scale applications allowing them to adapt and meet the demand on an ever increasing user base. Despite its advantages, migrating from a monolithic to a microservices architecture is often costly and complex, with the decomposition step being a significant challenge. This research addresses this issue by introducing MonoEmbed, a Language Model based approach for automating the decomposition process. MonoEmbed leverages state-of-the-art Large Language Models (LLMs) and representation learning techniques to generate representation vectors for monolithic components, which are then clustered to form microservices. By evaluating various…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Cloud Computing and Resource Management · IoT and Edge/Fog Computing
