TabPFNv2.5 runs 40× faster than Random Forest while keeping 97% IoT intrusion detection accuracy
TabPFNv2.5 provides 40× faster inference than Random Forest with 97% binary classification accuracy on IoT intrusion detection
Security & privacy arXiv 13 Apr 2026 Measurement Prototype evidence
Published as “Optimizing IoT Intrusion Detection with Tabular Foundation Models for Smart City Forensics”
Why it matters
The speed advantage enables security operation centers to triage massive IoT event streams in milliseconds, reducing staffing and compute requirements while still flagging most attacks for deeper analysis.
Summary
TabPFNv2.5 provides about 40× faster inference than Random Forest while losing only roughly 2.3% binary accuracy, making it suitable for rapid triage of IoT telemetry. The paper evaluates this on 3.6 million records across seven device types, showing binary accuracy of 97.2% and multi-class accuracy of 96.8% versus 99.48%/99.44% for Random Forest, but with inference time of 0.02 s per 10 K samples versus 0.82 s. The evidence is based on empirical measurements; no theoretical guarantees are claimed.
What they found 4
- TabPFNv2.5 achieves 40× faster inference than Random Forest with only a 2.3% reduction in binary accuracy.
“demonstrating that TabPFNv2.5 achieves 40× faster inference than Random Forest with only a 2.3% reduction in binary accuracy”
- Average binary accuracy of TabPFNv2.5 across devices is 97.2%, compared to 99.48% for Random Forest.
“Average 99.48% 98.85% 97.2% 99.44% 99.00% 96.8%”
- Scanning attacks have the lowest multi-class F1-score (69.80%) across models.
“Scanning 79.15% 64.20% 69.80%”
- Cross-device transfer from Garage Door to Fridge yields only 91.2% accuracy and 54.5% recall.
“Garage Door Fridge 91.2% 54.5%”
Caveats 8
- TabPFNv2.5’s binary accuracy (97.2%) is lower than Random Forest’s (99.48%), indicating a trade-off between speed and detection performance.
- Multi-class accuracy of TabPFNv2.5 (96.8%) also trails Random Forest (99.44%).
- Scanning attacks remain difficult to detect, with only 69.80% F1-score, highlighting a limitation of rapid-triage models.
- Cross-device generalization can be poor; models trained on Garage Door data perform poorly on Fridge data (91.2% accuracy, 54.5% recall).
- First, TON IoT is used on a large scale but does not capture the full complexity of real-world production behavior in smart-city networks.
- Second, TabPFNv2.5 performs best on smaller sample sizes, requiring sub-sampling for large-scale telemetry and potentially leading to the exclusion of any minority-class behavior.
- Third, our evaluation focuses on known attack vectors, meaning true zero-day behavior is not accounted for, nor measure.
- Finally, timing results depend on the execution environment (e.g., Colab vs edge nodes); therefore, real practicality when deployed can differ.
What’s new here 4
- First systematic empirical comparison of a tabular foundation model (TabPFNv2.5) against traditional ensembles for IoT intrusion detection on a large-scale smart-city dataset.
- Quantitative analysis of the speed-accuracy trade-off, reporting a 40× inference speed advantage with only a 2.3% drop in binary accuracy.
- Design and evaluation of a hybrid forensic pipeline that uses TabPFNv2.5 for fast triage and ensembles for detailed attribution.
- Cross-device generalization study showing transferability depends on feature similarity, and identification of scanning attacks as the hardest to detect.