Do Transformers Actually Help Intrusion Detection? A Temporal Sequence Evaluation on CIC-IDS2017

A rigorous re-evaluation of Transformer architectures on the widely-cited CIC-IDS2017 intrusion detection benchmark reveals that reported near-perfect performance stems largely from data leakage and padding artifacts rather than genuine sequence-modeling gains. By reconstructing the task with proper temporal flow sequences and leakage-free evaluation splits, researchers found classical and deep models converge on similar performance, challenging the assumption that attention-based architectures unlock meaningful improvements for network security. This work exposes a methodological blind spot in deep learning evaluation that extends beyond cybersecurity into any domain where temporal benchmarks lack rigorous train-test separation.
Modelwire context
ExplainerThe deeper issue here is not that Transformers underperform on this task, but that the entire leaderboard built on CIC-IDS2017 may be measuring artifact exploitation rather than detection capability. Any practitioner who deployed a model based on those reported metrics has no reliable signal about real-world performance.
This connects directly to a pattern Modelwire has been tracking around benchmarks that measure something other than what they claim. The PhantomBench paper from June 9th made a structurally similar argument about language models: that reported capability numbers obscure a specific failure mode (hallucination under uncertainty) because the evaluation setup never forced models to confront it. Here, the failure mode is temporal leakage rather than fabrication, but the diagnosis is the same. Benchmarks that lack rigorous construction let models find shortcuts, and the field treats the resulting numbers as ground truth. The finite-precision tanh work from the same week adds a third angle, showing that theoretical trainability assumptions also outrun what hardware actually delivers. Together these papers suggest a broader reckoning with evaluation infrastructure across ML subfields.
Watch whether the intrusion detection community produces a corrected leaderboard on CIC-IDS2017 with proper temporal splits within the next six months. If the top-ranked models hold their relative ordering under leakage-free conditions, the architecture comparisons were directionally valid even if the absolute numbers were not.
This analysis is generated by Modelwire’s editorial layer from our archive and the summary above. It is not a substitute for the original reporting. How we write it.
MentionsCIC-IDS2017 · Transformers · RNNs
Modelwire Editorial
This synthesis and analysis was prepared by the Modelwire editorial team. We use advanced language models to read, ground, and connect the day’s most significant AI developments, providing original strategic context that helps practitioners and leaders stay ahead of the frontier.
Modelwire summarizes, we don’t republish. The full content lives on arxiv.org. If you’re a publisher and want a different summarization policy for your work, see our takedown page.