mlsanityData to 14 Oct 2026

Benchmarking Small Language Models and Small Reasoning Language Models on System Log Severity Classification

arXiv 2601.07790 ↗First posted 12 Jan 2026cs.AIcited by 1

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

System logs are crucial for monitoring and diagnosing modern computing infrastructure, but their scale and complexity require reliable and efficient automated interpretation. Since severity levels are predefined metadata in system log messages, having a model merely classify them offers limited standalone practical value, revealing little about its underlying ability to interpret system logs. We argue that severity classification is more informative when treated as a benchmark for probing runtime log comprehension rather than as an end task. Using real-world journalctl data from Linux production servers, we evaluate nine small language models (SLMs) and small reasoning language models (SRLMs) under zero-shot, few-shot, and retrieval-augmented generation (RAG) prompting. The results reveal strong stratification. Qwen3-4B achieves the highest accuracy at 95.64% with RAG, while Gemma3-1B improves from 20.25% under few-shot prompting to 85.28% with RAG. Notably, the tiny Qwen3-0.6B reaches 88.12% accuracy despite weak performance without retrieval. In contrast, several SRLMs, including Qwen3-1.7B and DeepSeek-R1-Distill-Qwen-1.5B, degrade substantially when paired with RAG. Efficiency measurements further separate models: most Gemma and Llama variants complete inference in under 1.2 seconds per log, whereas Phi-4-Mini-Reasoning exceeds 228 seconds per log while achieving <10% accuracy. These findings suggest that (1) architectural design, (2) training objectives, and (3) the ability to integrate retrieved context under strict output constraints jointly determine performance. By emphasizing small, deployable models, this benchmark aligns with real-time requirements of digital twin (DT) systems and shows that severity classification serves as a lens for evaluating model competence and real-time deployability, with implications for root cause analysis (RCA) and broader DT integration.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 22 of its 95 references that are in the map. First posted on arXiv 12 Jan 2026.

Builds on

22 of 95 references.

References · 22

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2025Qwen3 Technical Reportcited by 8,820
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  4. 2025Gemma 3 Technical Reportcited by 1,824
  5. 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 703
  6. 2025Small Language Models are the Future of Agentic AIcited by 270
  7. 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 265
  8. 2024Does Prompt Formatting Have Any Impact on LLM Performance?cited by 141
  9. 2024Improving Retrieval for RAG based Question Answering Models on Financial Documentscited by 49
  10. 2025Phi-4-Mini-Reasoning: Exploring the Limits of Small Reasoning Language Models in Mathcited by 44
  11. 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
  12. 2025Retrieval-Augmented Generation: A Comprehensive Survey of Architectures, Enhancements, and Robustness Frontierscited by 27
10 more
  1. 2024LogEval: A Comprehensive Benchmark Suite for Large Language Models In Log Analysiscited by 11
  2. 2021A Comprehensive Survey of Logging in Software: From Logging Statements Automation to Log Mining and Analysiscited by 6
  3. 2025The Hidden Structure -- Improving Legal Document Understanding Through Explicit Text Formattingcited by 5
  4. 2025A Short Survey on Small Reasoning Models: Training, Inference, Applications and Research Directionscited by 4
  5. 2025Large Language Models for Network Intrusion Detection Systems: Foundations, Implementations, and Future Directionscited by 4
  6. 2025LogLLaMA: Transformer-based log anomaly detection with LLaMAcited by 3
  7. 2025SLM-Bench: A Comprehensive Benchmark of Small Language Models on Environmental Impacts--Extended Versioncited by 3
  8. 2025LogTinyLLM: Tiny Large Language Models Based Contextual Log Anomaly Detectioncited by 2
  9. 2025OmniLLP: Enhancing LLM-based Log Level Prediction with Context-Aware Retrievalcited by 1
  10. 2025A Novel GPT-Based Framework for Anomaly Detection in System Logscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Larger Is Not Always Better: Exploring Small Open-source Language Models in Logging Statement Generation
  2. 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion
  3. 2024Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Merging
  4. 2026Instruction-Tuned LLMs for Parsing and Mining Unstructured Logs on Leadership HPC Systems
  5. 2025LogReasoner: Empowering LLMs with Expert-like Coarse-to-Fine Reasoning for Automated Log Analysis
  6. 2025Defects4Log: Benchmarking LLMs for Logging Code Defect Detection and Reasoning
  7. 2025AdaptiveLog: An Adaptive Log Analysis Framework with the Collaboration of Large and Small Language Model
  8. 2026Towards Understanding LLM-Based Log Anomaly Detection: An Empirical Study of Performance, Efficiency, and Robustness