OWL: A Large Language Model for IT Operations

Hongcheng Guo, Jian Yang, Jiaheng Liu, Liqun Yang, Linzheng Chai, Jiaqi Bai, Junran Peng, Xiaorong Hu, Chao Chen, Dongfeng Zhang, Xu Shi, Tieqiao Zheng, Liangfan Zheng, Bo Zhang, Ke Xu, Zhoujun Li · DOI

Introduction

The rapid advancement of Large Language Models (LLMs) has transformed numerous fields, yet IT Operations (AIOps) remains a challenging frontier. General-purpose models often struggle with the domain-specific nuances of system logs, network protocols, and complex infrastructure management. To bridge this gap, researchers have introduced OWL, a 13-billion parameter LLM specifically fine-tuned for the "Operations and Maintenance" (O&M) domain. By integrating a massive specialized dataset, a novel context-extension technique, and a mixture-of-adapters architecture, OWL demonstrates superior performance in professional IT tasks.

The Challenge of Domain-Specific AIOps

Modern IT environments generate vast amounts of heterogeneous data, including cryptic logs and intricate system architectures. General models like GPT-4 or LLaMA, while powerful, frequently fail to capture the technical precision required for effective troubleshooting and anomaly detection. Furthermore, the field has historically lacked high-quality, specialized instruction-tuning datasets and benchmarks to train and evaluate models for these specific scenarios. The authors address this by creating both a specialized training pipeline and a rigorous new benchmark to measure real-world IT competency.

Methodology and Data Pipeline

OWL is built upon the LLaMA2-13b architecture, enhanced by several technical innovations designed to handle the specificities of IT data.

Data Generation and Quality Control

The training process relies on a rigorous multi-step pipeline to ensure high-quality domain knowledge. Starting with seed data, the team generated the Owl-Instruct dataset, which underwent automated screening via GPT-4 and meticulous manual verification by 25 IT subject matter experts.

The OWL training and data generation pipeline, illustrating the transition from seed data to the fine-tuned model through automated screening and manual verification steps.

Technical Innovations

  • Expanded Vocabulary: The model's vocabulary was increased from 32,000 to over 48,000 tokens to better accommodate technical terminology and log patterns.
  • Homogeneous Markov Context Extension (HMCE): To process long technical documents without the prohibitive cost of full-context retraining, the authors introduced HMCE. This method treats long sequences as continuous Markov chains, maintaining coherence across extended inputs up to 8,192 tokens.
  • Mixture-of-Adapter (MoA): Instead of standard fine-tuning, OWL utilizes multiple "LoRA experts." A routing function selects the most appropriate adapter for a specific sub-domain (e.g., database management vs. network security), allowing for modular expertise within a single model.

Specialized Datasets and Benchmarks

The project introduced two cornerstone resources for the AIOps community:

  1. Owl-Instruct: A dataset of ~17,800 dialogues covering nine critical IT domains, including system architecture, network, and information security.
  2. Owl-Bench: A comprehensive evaluation suite consisting of 317 Q&A pairs and 1,000 multiple-choice questions designed to test professional-level IT knowledge.

Evaluation and Results

OWL was evaluated against several state-of-the-art models. On the Owl-Bench Q&A task, OWL achieved an average score of 8.86/10, outperforming the base LLaMA2-13b model (8.57) and ChatGLM.

Pairwise Performance

In direct pairwise comparisons, OWL consistently outperformed or tied with other prominent models such as ChatGLM, Qwen, and InternLM across a variety of IT-related queries, demonstrating its superior domain specialization.

Pairwise score comparison showing OWL's win, tie, and loss rates against other leading LLMs on IT-specific tasks.

Log Anomaly Detection

Beyond knowledge retrieval, OWL demonstrated practical utility in zero-shot log anomaly detection. On the "Spirit" dataset, it achieved an F1-score of 0.518, significantly higher than ChatGPT’s 0.450, despite not being explicitly trained on those specific log formats.

Conclusion

OWL represents a significant step toward specialized AI for IT operations. By combining domain-specific instruction tuning with architectural innovations like MoA and HMCE, the model provides a robust tool for navigating the complexities of modern infrastructure. Future work will focus on scaling the model and expanding the diversity of the training data to encompass emerging cloud-native technologies.

Code and Model Availability: https://github.com/HC-Guo/Owl

Summary updated

BibTeX
@inproceedings{guo2024owl,
  author = {Hongcheng Guo and Jian Yang and Jiaheng Liu and Liqun Yang and Linzheng Chai and Jiaqi Bai and Junran Peng and Xiaorong Hu and Chao Chen and Dongfeng Zhang and Xu Shi and Tieqiao Zheng and Liangfan Zheng and Bo Zhang and Ke Xu and Zhoujun Li},
  title = {{OWL: A Large Language Model for IT Operations}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=SZOQ9RKYJu},
}
Figure