← Lab /AI/ML

DP-federated Tiny LLMs match centralized anomaly detection performance

DP-FLogTinyLLM achieves comparable detection accuracy to centralized LLMs and higher precision/F1 than other federated baselines

AI/ML arXiv 21 Apr 2026 Method Simulation evidence

Published as “DP-FlogTinyLLM: Differentially private federated log anomaly detection using Tiny LLMs”

Why it matters

Enables organizations to collaboratively train high-precision log anomaly detectors without exposing raw logs, opening privacy-compliant deployment in multi-site environments.

Summary

DP-FLogTinyLLM matches the performance of centralized LLM-based log anomaly detection while providing formal (ε,δ) differential privacy and outperforms existing federated baselines in precision (≥0.9994) and F1-score, especially on the Thunderbird dataset; however, the paper reports noticeable accuracy drops on some rounds and higher computational cost compared to non-federated training.

What they found 3

  1. The federated framework achieves comparable utility to centralized LLM methods.

    “matches the performance of centralized LLM based methods”

  2. DP-FLogTinyLLM consistently attains higher precision and F1-score than federated baselines, with strong gains on Thunderbird.

    “DP-FLogTinyLLM consistently achieves higher precision and F1-score, with particularly strong gains on the Thunderbird dataset”

  3. Precision remains near-perfect despite DP noise.

    “All models maintain exceptional precision (> 0.9994) despite DP noise”

Caveats 2

  • Notable performance degradation occurs at Round 4 for multiple models due to client heterogeneity effects.
  • Accuracy for Phi-1.5 drops to 0.9190, lower than other variants and lower than centralized baselines.

What’s new here 4

  • Integrates federated learning, differential privacy, and FedProx for log anomaly detection.
  • Uses LoRA to fine-tune sub-2B-parameter tiny LLMs on edge devices.
  • Provides the first evaluation of tiny LLMs (Phi-1.5, DeepSeek-R1, OPT-1.3B, TinyLlama) in a privacy-preserving federated setting.
  • Demonstrates that precision remains >0.9994 under DP noise, a level not shown in prior federated log-anomaly work.