Graph Neural Network to Dilute Outliers for Refactoring Monolith Application
Utkarsh Desai, Sambaran Bandyopadhyay, Srikanth Tamilselvam
Abstract
Microservices are becoming the defacto design choice for software architecture. It involves partitioning the software components into finer modules such that the development can happen independently. It also provides natural benefits when deployed on the cloud since resources can be allocated dynamically to necessary components based on demand. Therefore, enterprises as part of their journey to cloud, are increasingly looking to refactor their monolith application into one or more candidate microservices; wherein each service contains a group of software entities (e.g., classes) that are responsible for a common functionality. Graphs are a natural choice to represent a software system. Each software entity can be represented as nodes and its dependencies with other entities as links. Therefore, this problem of refactoring can be viewed as a graph based clustering task. In this work, we propose a novel method to adapt the recent advancements in graph neural networks in the context of code to better understand the software and apply them in the clustering task. In that process, we also identify the outliers in the graph which can be directly mapped to top refactor candidates in the software. Our solution is able to improve state-of-the-art performance compared to works from both software engineering and existing graph representation based techniques.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers2
- CARGO: AI-Guided Dependency Analysis for Migrating Monolithic Applications to Microservices ArchitectureVikram Nitin, Shubhi Asthana, Baishakhi Ray, Rahul KrishnaASE 2022 · 31 citations
- Microservice Decomposition Techniques: An Independent Tool ComparisonYingying Wang, Sarah Bornais, Julia RubinASE 2024 · 5 citations
Related papers
- Hypergraph Neural Network-based Multi-Granular Root Cause Localization for Microservice SystemsYaxiao Li, Lu Wang, Chenxi Zhang, Qingshan Li et al.ASE 2025
- Three Heads Are Better Than One: Suggesting Move Method Refactoring Opportunities with Inter-class Code Entity Dependency Enhanced Hybrid Hypergraph Neural NetworkDi Cui, Jiaqi Wang, Qiangqiang Wang, Peng Ji et al.ASE 2024 · 3 citations
- DGCLUSTER: A Neural Framework for Attributed Graph Clustering via Modularity MaximizationAritra Bhowmick, Mert Kosan, Zexi Huang, Ambuj K. Singh et al.AAAI 2024 · 41 citations
- UTANGO: untangling commits with context-aware, graph-based, code change clustering learning modelYi Li, Shaohua Wang, Tien N. NguyenFSE 2022 · 16 citations
- Detect Hidden Dependency to Untangle CommitsMengdan Fan, Wei Zhang, Haiyan Zhao, Guangtai Liang et al.ASE 2024 · 6 citations
