Shiwen Shan
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Shiwen Shan has a total of 19 co-authors. Here are the top co-authors by number of shared publications:
- Yuxin Su
Sun Yat-sen University, Zhuhai, China
5 shared publications - Yintong Huo
Singapore Management University, Singapore
3 shared publications - Zibin Zheng
Sun Yat-Sen University, Guangzhou, China
3 shared publications - Dan Li
Sun Yat-sen University, Zhuhai, Guangdong, China
2 shared publications - Zhining Wang
School of Software Engineering, Sun Yat-sen University, Zhuhai, China
2 shared publications - Bin Liao
Beijing Xiaomi Mobile Software Co., Ltd., Beijing, China
1 shared publication
Latest Publications
- Open Access
- 7 October 2026
- Published by Association for Computing Machinery (ACM)
- p. 4128-4138
Li-WaC: A Lightweight WebAssembly Container for Independently Upgradable IoT Applications in Xiaomi Vela
- 7 October 2026
- Published by Association for Computing Machinery (ACM)
- p. 4128-4138
Open AccessLi-WaC: A Lightweight WebAssembly Container for Independently Upgradable IoT Applications in Xiaomi Vela
- Open Access
- 7 October 2026
- Published by Association for Computing Machinery (ACM)
- p. 1396-1408
MicroAgent: Context-Augmented Multi-agent Framework for Automatic Microservice Decomposition
The adoption of Microservice Architecture (MSA) has revolutionized software engineering by enhancing scalability, agility, and maintainability over traditional monolithic applications. As more developers transition their legacy systems to microservice-based architectures, effective microservice decomposition—partitioning monolithic applications into highly cohesive services—becomes vital. However, this decomposition task presents significant challenges. Manual approaches are time-consuming and labor-intensive. Existing automated methods often fail to capture the necessary semantic insights from complex applications, while naive applications of Large Language Models tend to overlook crucial contextual information and design principles, leading to suboptimal results. To address these challenges, we propose MicroAgent, a Context-Augmented Multi-Agent Framework for Microservice Decomposition. Our framework divides the decomposition process into five distinct subtasks and assigns each to a specialized agent. To enhance the effectiveness of each agent, we provide tailored, multi-granularity context that keeps its analysis focused and mitigates information overload. Furthermore, to ensure the decomposition adheres to established design principles, we integrate analytical tools that guide the agents’ decision-making. Experimental evaluations on 10 Java Web applications demonstrate that MicroAgent achieves an average decomposition accuracy of 89.2%, outperforming the state-of-the-art method by 24.6%. We also conduct a case study to highlight the practical benefits of our design.
- 7 October 2026
- Published by Association for Computing Machinery (ACM)
- p. 1396-1408
Open AccessMicroAgent: Context-Augmented Multi-agent Framework for Automatic Microservice Decomposition
The adoption of Microservice Architecture (MSA) has revolutionized software engineering by enhancing scalability, agility, and maintainability over traditional monolithic applications. As more developers transition their legacy systems to microservice-based architectures, effective microservice decomposition—partitioning monolithic applications into highly cohesive services—becomes vital. However, this decomposition task presents significant challenges. Manual approaches are time-consuming and labor-intensive. Existing automated methods often fail to capture the necessary semantic insights from complex applications, while naive applications of Large Language Models tend to overlook crucial contextual information and design principles, leading to suboptimal results. To address these challenges, we propose MicroAgent, a Context-Augmented Multi-Agent Framework for Microservice Decomposition. Our framework divides the decomposition process into five distinct subtasks and assigns each to a specialized agent. To enhance the effectiveness of each agent, we provide tailored, multi-granularity context that keeps its analysis focused and mitigates information overload. Furthermore, to ensure the decomposition adheres to established design principles, we integrate analytical tools that guide the agents’ decision-making. Experimental evaluations on 10 Java Web applications demonstrate that MicroAgent achieves an average decomposition accuracy of 89.2%, outperforming the state-of-the-art method by 24.6%. We also conduct a case study to highlight the practical benefits of our design.
- Open Access
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 79-91
ConfLogger: Enhance Systems' Configuration Diagnosability through Configuration Logging
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 79-91
Open AccessConfLogger: Enhance Systems' Configuration Diagnosability through Configuration Logging
- Open Access
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 1726-1738
LogFold: Compressing Logs with Structured Tokens and Hybrid Encoding
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 1726-1738
Open AccessLogFold: Compressing Logs with Structured Tokens and Hybrid Encoding
- Open Access
- 11 September 2024
- Published by Association for Computing Machinery (ACM)
- p. 13-25
Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs
Configurable software systems are prone to configuration errors, resulting in significant losses to companies. However, diagnosing these errors is challenging due to the vast and complex configuration space. These errors pose significant challenges for both experienced maintainers and new end-users, particularly those without access to the source code of the software systems. Given that logs are easily accessible to most end-users, we conduct a preliminary study to outline the challenges and opportunities of utilizing logs in localizing configuration errors. Based on the insights gained from the preliminary study, we propose an LLM-based two-stage strategy for end-users to localize the root-cause configuration properties based on logs. We further implement a tool, LogConfigLocalizer, aligned with the design of the aforementioned strategy, hoping to assist end-users in coping with configuration errors through log analysis. To the best of our knowledge, this is the first work to localize the root-cause configuration properties for end-users based on Large Language Models (LLMs) and logs. We evaluate the proposed strategy on Hadoop by LogConfigLocalizer and prove its efficiency with an average accuracy as high as 99.91%. Additionally, we also demonstrate the effectiveness and necessity of different phases of the methodology by comparing it with two other variants and a baseline tool. Moreover, we validate the proposed methodology through a practical case study to demonstrate its effectiveness and feasibility.
- 11 September 2024
- Published by Association for Computing Machinery (ACM)
- p. 13-25
Open AccessFace It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs
Configurable software systems are prone to configuration errors, resulting in significant losses to companies. However, diagnosing these errors is challenging due to the vast and complex configuration space. These errors pose significant challenges for both experienced maintainers and new end-users, particularly those without access to the source code of the software systems. Given that logs are easily accessible to most end-users, we conduct a preliminary study to outline the challenges and opportunities of utilizing logs in localizing configuration errors. Based on the insights gained from the preliminary study, we propose an LLM-based two-stage strategy for end-users to localize the root-cause configuration properties based on logs. We further implement a tool, LogConfigLocalizer, aligned with the design of the aforementioned strategy, hoping to assist end-users in coping with configuration errors through log analysis. To the best of our knowledge, this is the first work to localize the root-cause configuration properties for end-users based on Large Language Models (LLMs) and logs. We evaluate the proposed strategy on Hadoop by LogConfigLocalizer and prove its efficiency with an average accuracy as high as 99.91%. Additionally, we also demonstrate the effectiveness and necessity of different phases of the methodology by comparing it with two other variants and a baseline tool. Moreover, we validate the proposed methodology through a practical case study to demonstrate its effectiveness and feasibility.