arXiv:2611.02416cs.SENov 2026

Manuscript Offprint

arXiv:2611.02416

Fault-Free Profiles and Decision-Level Training for Small-Model Root Cause Analysis

Kyoohyun Lee, Woohyeok Park, Taeyoon Kim, Sungyong Baik, Kyungyong Lee

KYOOHYUN LEE, Hanyang University, Republic of Korea

WOOHYEOK PARK, Hanyang University, Republic of Korea

TAEYOON KIM, Hanyang University, Republic of Korea

SUNGYONG BAIK, Hanyang University, Republic of Korea

KYUNGYONG LEE, Hanyang University, Republic of Korea

Root cause analysis (RCA) in microservice systems requires distinguishing failure sources from routine fluctuations and propagated symptoms. Small language models (SLMs) offer a practical solution under cost and privacy constraints, and recent approaches improve their capabilities through structured diagnostic procedures. However, performing diagnostic analysis does not ensure correct root-cause identification. Our empirical study shows that final decisions often favor large anomaly scores despite the model's own propagation analysis suggesting otherwise. Moreover, the input does not reveal whether these apparently anomalous signals are common during normal operation. These findings motivate our system, which improves how SLMs assess evidence and select root causes through Historical Frequency Profiling and Biased-Decision Correction. Historical Frequency Profiling quantifies how often metric and log signals are flagged as anomalous in the fault-free period, providing context for distinguishing routine deviations from potential failure evidence. Biased-Decision Correction identifies points where the model reaches different conclusions from the same initial analysis and uses preference optimization to favor more accurate diagnoses. Against baselines including the 14B OpsAgent and RCA-Agent with commercial models, our system with a 4B model achieves the highest or tied-highest accuracy on all four datasets, reaching 48.7 % on Bank compared with 18.5 % for OpsAgent.

1 Introduction

Modern cloud services consist of interdependent microservices, where a fault in one component can produce symptoms across many others [39, 51, 65]. Root Cause Analysis (RCA) distinguishes the failure source from propagated symptoms and identifies the faulty component, fault type, and occurrence time [52]. This requires interpreting telemetry of metrics, logs, and traces, and its volume and complexity quickly exceed what on-call engineers can manually inspect.

Classical RCA methods analyze statistical dependencies and event patterns to localize failure sources [31, 33, 54]. Recent work has shifted attention to large language models (LLMs), which interpret telemetry and explain how observations support a diagnosis [32, 51, 52]. To fit telemetry into a model's limited context window, RCA systems typically retain signals flagged as anomalous and summarize them as a text prompt, a step we refer to as data processing [32, 52]. This step determines the evidence available to the model, which examines it alongside component dependencies to identify the root cause.

However, API costs and restrictions on sharing operational telemetry motivate self-hosted small language models (SLMs) [5, 32, 60]. Their diagnostic accuracy remains limited. Given prompts built by existing data processing, the off-the-shelf SLMs we evaluate correctly answer all requested elements for fewer than 4 % of incidents. Frontier models achieve nearly three times the accuracy on the same prompts, at substantially higher inference costs (§2.3).

Recent approaches improve diagnosis by organizing how models investigate incidents. RCA-Agent queries telemetry through tools [52], while SLM-oriented systems such as OpsAgent [32],

Authors' Contact Information: Kyoohyun Lee, khyllee@hanyang.ac.kr, Department of Artificial Intelligence, Hanyang University, Seoul, Republic of Korea; Woohyeok Park, woohyeok@hanyang.ac.kr, Department of Data Science, Hanyang University, Seoul, Republic of Korea; Taeyoon Kim, tykim7@hanyang.ac.kr, Department of Data Science, Hanyang University, Seoul, Republic of Korea; Sungyong Baik, dsybaik@hanyang.ac.kr, Hanyang University, Seoul, Republic of Korea; Kyungyong Lee, kyungyong@hanyang.ac.kr, Department of Data Science, Hanyang University, Seoul, Republic of Korea.

FoundRoot [51], and ThinkFL [60] guide or train models to examine observations, analyze propagation, and refine diagnoses. However, a model that follows such a procedure can still select the wrong root cause. It may note that a large anomaly could be routine behavior or a symptom propagated from another component, yet still choose the component showing that anomaly.

We investigate this gap through an empirical study of data processing and Qwen3-4B's diagnostic decisions on the Bank dataset of OpenRCA [52], revealing two limitations.

The input lacks normal-behavior context. The examined data processing flags signals with short-term statistics and fixed thresholds, so fluctuations during normal operation are flagged as well. For example, garbage collection causes a JVM memory metric on Bank to be flagged in 97 % of fault-free windows. Such signals still reach the prompt as failure evidence, with large anomaly scores and no indication of how common they are. As a result, the actual root-cause component has the largest anomaly score in only 8 % of incident windows, even though it is among the candidates in 99 % (§3.1).

The final decision often departs from the model's own analysis. Qwen3-4B examines multiple candidates and propagation relationships in all 640 trajectories, yet it justifies its selection by large anomaly scores in 76 % of them and departs from its own propagation analysis in 68 %. Adding a few-shot example with a correct diagnosis of another incident does not reliably fix this behavior. The gains depend largely on whether the example names the same root-cause component as the target incident (§3.2).

These findings reveal a gap between performing diagnostic analysis and selecting the root cause. Building on this insight, we present an SLM-based RCA system that addresses this gap by providing normal-behavior context for assessing anomalies and targeting decisions where the model reaches different conclusions from the same initial analysis.

Historical Frequency Profiling measures how often metric and log signals are flagged as anomalous in the fault-free period. This frequency, called the Expected Outlier Baseline (EOB), accompanies anomaly scores and guides candidate ordering. Traces are summarized by their latency relative to that in the fault-free period. These profiles help distinguish routine deviations from potential failure evidence without treating rarity alone as proof of a root cause.

Biased-Decision Correction compares the model's own responses that share the same initial analysis but reach different diagnostic conclusions. Preference pairs reflect correctness on individual RCA elements and favor more complete diagnoses among partially correct responses. When none of the responses is correct, auxiliary hints help obtain a correct one, which is checked against the original evidence. The hints are removed before training. Direct Preference Optimization (DPO) [38] then favors more accurate responses by training on the reasoning and decisions following the shared initial analysis.

We evaluate our system on eight datasets. Telecom, Bank, and Market from OpenRCA [52] and AIOps 2025 [35] are used for evaluation within each system, and four held-out datasets are used to test whether an adapter trained on one system transfers to unseen systems. With a 4B model and one inference call per incident, our system achieves the highest exact-match accuracy on Telecom, Bank, and AIOps 2025 and ties with the best baseline on Market. On Bank, it reaches 48.7 %, compared with 18.5 % for OpsAgent-14B [32]. Under identical input, Biased-Decision Correction also enables the 4B model to outperform an off-the-shelf 14B model. A Bank-trained adapter exceeds FoundRoot-14B in exact-match accuracy on the three held-out datasets with full diagnostic labels, using target-system fault-free profiles without further fine-tuning.

Table 5 (§6) compares our system with existing approaches in input evidence, diagnostic scope, and training target. In summary, this paper makes the following contributions.

Figure

(a) Call graph of Market

QueryThe cloud service system, cloudbed-1, experienced one failure within the time range of March 20, 2022, from 09:00 to 09:30. [...] You are tasked with identifying the root cause component and the root cause reason.
Metrictimestamp, cndb_id, kpi_name, value1647738600, node-6, shippingservice-1, container_spec_cpu_shares, 204.01647738600, node-6, shippingservice-1, container_spec_memory_swap_limit...
Loglog_id, timestamp, cndb_id, log_name, valueu8lnpH88D0iVcQfZwXDC2, 1647739097, shippingservice-1, log_shippingservice...
Tracetimestamp, cndb_id, span_id, trace_id, duration, type, status_code, operatio...1647738028123, shippingservice-1, a70d0d74f7d4531e, 294214803d3826913ac2...

(b) Telemetry of shippingservice-1 in Market during an incident

Fig. 1. Inputs of microservice RCA in OpenRCA [52].

  • An empirical study revealing missing normal-behavior context and a gap between the evaluated SLM's diagnostic analysis and final root-cause selection.
  • An SLM-based RCA system that contextualizes anomaly evidence with fault-free frequencies and targets diagnostic decisions that diverge after the same initial analysis.
  • An evaluation across eight datasets demonstrating improved accuracy with a 4B model, including comparisons under identical input and transfer without further fine-tuning.

References (22)