OpsLLM: Construction of Large Language Model for Software Operations with Multi-stage Learning
Organizations: School of Systems Science and Engineering, Sun Yat-sen University, Guangzhou, China · School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou, China · Alibaba Cloud Computing, Hangzhou, China
Abstract
In the field of software operations, Large Language Models (LLMs) have attracted increasing attention. However, existing research has not yet achieved efficient and effective endto-end intelligent operations due to low-quality data, fragmented knowledge and insufficient learning. To explore the potential of LLMs in software operations, we propose OpsLLM, a domainspecific LLM that supports both knowledge-based question answering (QA) and root cause analysis (RCA). Moreover, we disclose the detailed workflow for building LLMs specifically in the software operations domain. First, a Human-in-the-Loop mechanism is introduced to curate high-quality data from a large collection of operational data and construct a fine-tuning dataset. Then, based on the data, supervised fine-tuning is conducted to achieve a base model. Furthermore, we introduce a domain process reward model (DPRM) during the reinforcement learning stage to optimize the accuracy and reliability of the fine-tuned model on RCA tasks. Experimental results on the tasks with diverse difficulties demonstrate that OpsLLMs effectively learns and aligns with the operational domain knowledge infused, outperforming existing open-source and closed-source LLMs in accuracy with improvements of 0.2%~11.9% on QA tasks and 8.5%~70.3% on RCA tasks, while exhibiting strong transferability. Moreover, we will open-source three versions of OpsLLM with 7B, 14B and 32B parameters, along with a 15K fine-tuning dataset.
Figures & tables
| LLM Category | LLM | ACC (%) | |||||
| QA | RCA | ||||||
| Easy | Mid | Hard | Easy | Mid | Hard | ||
| Base LLM | Qwen2.5-7B-Instruct | 96.8 | 97.0 | 66.1 | 8.1 | 4.0 | 4.4 |
| Qwen2.5-14B-Instruct | 97.6 | 97.2 | 73.3 | 9.7 | 4.3 | 4.7 | |
| Qwen2.5-32B-Instruct | 98.0 | 98.8 | 76.8 | 11.3 | 8.7 | 6.0 | |
| Open-source LLM | Moonshot-Kimi-K2-Instruct | 98.6 | 98.6 | 83.8 | 11.3 | 11.7 | 7.7 |
| Task | Easy | Mid | Hard |
|---|---|---|---|
| QA | SFT data (500) | HITL-filtered (500) | OpsEval [ 46 ] (1945) |
| RCA | SFT data (62) | Fault injection (300) | AIOps2025 [ 47 ] (365) |
LLM Post-Training
Large language model post-training adapts pretrained models into more useful, reliable, and specialized assistants through supervised and preference-based learning.
See all 246 papers