LLM log anomaly detection performance varies widely by adaptation strategy and model scaling
Adaptation strategies cause substantial detection performance differences and low-bit quantization largely preserves accuracy
AI/ML arXiv 25 Sep 2026 Measurement Prototype evidence
Published as “Towards Understanding LLM-Based Log Anomaly Detection: An Empirical Study of Performance, Efficiency, and Robustness”
Why it matters
When deploying LLM-based log anomaly detectors, practitioners should consider adaptation efficiency, inference latency, and robustness to quantization and noise, not just raw detection accuracy.
Summary
Low-bit quantization largely preserves detection performance, while adaptation strategy has a substantial impact on results, with white-box and soft-prompt methods outperforming hard prompts. Model scaling can boost performance but only on certain datasets, and models with similar accuracy can differ markedly in computational cost. The evidence comes from three public log datasets and covers detection, efficiency, and robustness metrics.
What they found 3
- Low-bit quantization largely preserves detection performance.
“low-bit quantization largely preserves detection performance in the evaluated configurations.”
- White-box adaptation and soft-prompt methods generally outperform hard-prompt strategies.
“White-box adaptation and soft-prompt methods generally outperform the evaluated hard-prompt strategies.”
- Increasing model scale can substantially improve detection performance on some datasets, but gains are dataset-dependent.
“These results indicate that increasing model scale can substantially improve detection performance on some datasets, but the gains are strongly dataset-dependent rather than uniform.”
Caveats 1
- Models with comparable detection performance can exhibit different computational characteristics.
What’s new here 4
- Systematic six-dimensional evaluation framework (performance, inference, adaptation, deployment, quantization, noise).
- Comprehensive comparison of both white-box and prompt-based adaptation strategies on LLMs for log anomaly detection.
- Empirical analysis of low-bit quantization effects on detection accuracy.
- Assessment of robustness to structural, semantic, and label noise in log data.