← Lab /AI/ML

Fine-tuned small models identify Windows log issues and suggest fixes better than LLMs

Fine-tuned small language models outperform large language models in both issue identification and remediation suggestion for Windows event logs

AI/ML arXiv 7 May 2026 Measurement Prototype evidence

Published as “Fine-Tuning Small Language Models for Solution-Oriented Windows Event Log Analysis”

Why it matters

Organizations can deploy cost-effective SLMs on commodity hardware to automatically detect and remediate Windows event-log issues, reducing reliance on expensive cloud GPUs and closed-source services.

Summary

The study finds that small language models (SLMs) fine-tuned with LoRA not only match but often surpass larger LLMs in solution-oriented Windows event-log analysis, with Gemma 4b identified as the best-performing model. Using a synthetic, solution-aware dataset of 10,000 logs generated by Claude 3.7 Sonnet, experts judged the SLM outputs to be accurate, detailed and low-hallucination. LoRA reduced fine-tuning time to under an hour on low-spec GPUs without hurting quality. Evidence is based on expert questionnaires rather than ground-truth labels, and some LLMs were faster at inference and certain SLMs (Gemma 7b, Bloom 7b) hallucinated severely, tempering the overall claim.

What they found 4

  1. SLMs significantly outperformed LLMs in the evaluated criteria.

    “the experts made a surprising discovery, which was that the SLMs significantly outperformed the LLMs.”

  2. Gemma 4b was the best-performing model, delivering clear, low-hallucination outputs and handling large log groups.

    “Gemma 4b is the best-performing model, as it produced clear outputs that had little to no hallucinations and was able to analyse the large group of logs.”

  3. LoRA fine-tuning drastically reduced training time while preserving output quality.

    “we also found that using the LoRA fine-tuning technique significantly reduced the time taken for fine-tuning, allowing us to fine-tune on a lower specification GPU, and the outputs of the models were still of high quality.”

  4. Gemma 7b and Bloom 7b suffered severe hallucinations.

    “Gemma 7b and Bloom 7b hallucinated severely”

Caveats 5

  • This was the only category of our results where the LLMs outperformed the SLMs.
  • Gemma 7b and Bloom 7b hallucinated severely, but a small number of experts said they did not.
  • Both the generated dataset and the testing datasets are large. In addition, our testing dataset lacks ground truth, and there is no suitable mechanism to assess whether the outputs are correct and of good quality.
  • the experts evaluated the outputs in a general sense, as they could not be expected to analyse the logs in their entirety, which comes with the limitation that the results do not represent the logs as a whole and are instead a thorough observation.
  • the experts could experience fatigue as this is a mundane task; because of this, there is a chance that some of their responses could be incorrect.

What’s new here 4

  • Creation of a solution-aware synthetic Windows event-log dataset generated by an LLM.
  • Fine-tuning SLMs to not only detect problems but also provide remediation steps.
  • Human-in-the-loop benchmarking comparing SLMs and LLMs on correlated log groups.
  • Application of LoRA to dramatically cut fine-tuning time and resource needs.