TLDR: SCELM is a novel AI framework that automates and enhances the interpretability of software change management. It leverages large language models with Chain-of-Thought reasoning, reinforcement learning (GRPO, KTO), and Retrieval-Augmented Generation (RAG) to accurately perform erroneous change detection, fault triage, and root cause analysis. The system unifies fragmented processes, improves decision-making transparency, and continuously learns from feedback, significantly boosting efficiency and reliability in managing software changes for large online services.
In the fast-paced world of large-scale online services, software changes are constant, but they also introduce significant risks, often leading to service failures and substantial financial losses. Managing these changes efficiently and accurately is therefore critical. Traditionally, processes like detecting erroneous changes, triaging faults, and analyzing root causes have been isolated and manual, lacking a unified, automated approach.
While large language models (LLMs) offer immense potential for automation, their ‘black-box’ nature makes their decision-making opaque, limiting their use in critical operations where reliability and transparency are paramount.
To tackle these challenges, researchers have introduced SCELM (Software Change Evaluation and Lifecycle Management), an innovative, end-to-end automated framework for software change management. SCELM integrates large language models and is designed to enhance interpretability through a technique called Chain-of-Thought (CoT) reasoning. This approach mimics how human experts analyze problems, making the AI’s decisions easier to understand.
SCELM also uses advanced reinforcement learning algorithms, specifically GRPO and KTO, to refine the model’s reasoning accuracy and ensure its explanations are clear. Additionally, it incorporates Retrieval-Augmented Generation (RAG) to dynamically pull relevant knowledge from past incidents, and a lightweight KTO-based feedback mechanism allows for continuous learning and adaptation to new failure patterns.
The framework addresses three core tasks in software change management: Erroneous Change Detection (ECD), which quickly identifies problematic changes; Fault Triage (FT), which categorizes failures and assigns them to the right teams; and Root Cause Change Analysis (RCCA), which precisely pinpoints the cause of a failure. By unifying these tasks into a single, automated pipeline, SCELM simplifies the entire process, reducing manual effort and accelerating problem resolution.
One of SCELM’s key innovations is its ability to unify diverse data sources—such as performance metrics, service logs, and incident reports—into a ‘domain text’ format that LLMs can naturally understand. This allows the system to process multi-modal data comprehensively, providing a rich context for analysis.
The system operates in two main stages: an offline reinforcement stage where the model’s reasoning abilities are enhanced using GRPO, and an online inference stage where the enhanced model applies its knowledge to real-time change analysis, augmented by historical data from the RAG knowledge base. A feedback management module, powered by KTO, allows the system to learn from successes and failures, continuously improving its performance.
Extensive experiments on real-world industrial datasets have shown that SCELM significantly outperforms existing methods across ECD, FT, and RCCA tasks. For instance, in ECD, SCELM achieved F1-scores of 1.000, 0.942, and 0.925 on different datasets, demonstrating superior detection capabilities by synthesizing multimodal signals. For FT and RCCA, SCELM also showed substantial improvements over baselines.
A unique aspect of SCELM’s evaluation is the CoTScore metric, which assesses the quality of the model’s reasoning process itself, not just the final answer. Results indicate that the introduction of CoT leads to a significant 2–3x improvement in CoTScore, meaning the model generates logically sound, clear, and expert-aligned reasoning paths.
The research also highlights SCELM’s lifelong learning capabilities. Even with limited historical data, the system performs well, and its accuracy improves as more historical experience is incorporated. The KTO mechanism, in particular, enables the system to learn from misdiagnosed cases with minimal feedback, ensuring continuous self-improvement in production environments.
Deployed in a large-scale SaaS microservices infrastructure, SCELM has been running stably for over 11 months, monitoring thousands of changes weekly. It detects nearly all erroneous changes, achieves over 95% F1-score in classification, and around 75% accuracy in fault localization. This has reduced the time to resolve erroneous changes by 90%, significantly boosting incident response efficiency.
Also Read:
- ChainEdit: Enhancing LLM Knowledge Consistency Through Logical Rule Propagation
- elsciRL: A New Open-Source Library for Language Integration in Reinforcement Learning
This work sets a new standard for applying LLMs to change management, offering a complete solution for an automated, interpretable, and continuously optimizable software change management system. For more details, you can refer to the original research paper: Enhancing Interpretability in Software Change Management with Chain-of-Thought Reasoning.


