Just out todayAgritech: Texts to Ugandan farmers moved what they knew and what they thought, and not what they didArtificial intelligence: An AI trained on 142 cervical photographs reached an AUC of 0.70, and found the obvious casesUncategorized: Two satellites spotted wheat stem rust in Ethiopian plots before it was severe, and the blue band did the work

Cybersecurity/China

99.39 percent accuracy and one attack in sixteen missed

A fuzzy-clustering oversampling method reached 99.39 percent accuracy on CICIDS2017 with 93.69 percent recall - roughly one attack in sixteen missed.

What the paper found

A Guizhou University team used fuzzy clustering to guide synthetic sampling of rare attack classes in industrial IoT intrusion detection. On CICIDS2017 the method reached 99.39 percent accuracy, 98.22 percent precision, 93.69 percent recall and 95.56 percent F1; a recall-oriented configuration reached 99.09 percent recall.

Grade 12 reading level7 min read

What happened

Researchers at the College of Big Data and Information Engineering, Guizhou University in Guiyang, published a fuzzy-clustering-based approach to class imbalance in industrial IoT intrusion detection. Published in PLOS ONE.

The problem they address is the structural one in this field and it is worth stating properly, because it explains why the accuracy figures in intrusion detection papers should be read with suspicion.

Attacks are rare. If one percent of network traffic is malicious, a model that labels everything benign achieves 99 percent accuracy while catching nothing. Accuracy is dominated by the majority class. That is why class imbalance is not a nuisance in this domain – it is the central difficulty, and the metric most commonly reported is the one most distorted by it.

The test

The standard fix is synthetic oversampling: generate artificial minority-class samples by interpolating between real ones, until the classes are balanced. The standard problem with the standard fix is that interpolating between two real attack samples can produce a synthetic sample sitting in a region that is actually benign – which teaches the model that benign traffic is an attack.

This paper’s method uses fuzzy clustering to control where synthetic samples are placed:

– Border samples are identified – the minority points near the decision boundary, which carry the most information – Interpolation is prioritised in high-membership regions – areas the clustering is confident belong to the minority class – Sampling weights are adjusted by membership – The majority class is held fixed at a multiplier of 1.0

Evaluation on CICIDS2017, under two configurations: a comprehensive comparison and a recall-oriented setting.

The numbers

Metric Comprehensive Recall-oriented
Accuracy 99.39% 98.97%
Precision 98.22% –
Recall 93.69% 99.09%
F1 95.56% 96.69%
Stable training and validation curves, small generalisation gap reported
Dataset: CICIDS2017

The result

Read the accuracy row and the recall row together, because the gap between them is the whole story.

99.39 percent accuracy. 93.69 percent recall.

Accuracy at 99.39 percent reads as near-perfect. Recall at 93.69 percent means roughly one attack in sixteen was missed. Those are the same model on the same data, and the second is the number that matters to a defender.

That divergence is exactly the pathology class imbalance creates. Accuracy is dominated by correctly classified benign traffic, of which there is a great deal. Recall counts only the attacks, of which there are few. A paper reporting accuracy alone would look considerably better and tell you considerably less.

To the authors’ credit, they report both, and they report two operating configurations.

The comprehensive setting: precision 98.22 percent, recall 93.69 percent – catches fewer attacks, generates fewer false alarms.

The recall-oriented setting: recall 99.09 percent – catches almost everything, at the cost of precision not stated in that configuration but necessarily lower.

Neither is better. That is the point, and reporting both is the right practice. The choice depends on whether your binding constraint is analyst capacity or missed intrusions, and a paper that reports only its best-looking configuration has removed the information a practitioner needs.

The methodological contribution – membership-weighted placement of synthetic samples, with majority class held fixed – addresses a real failure mode. Uniform oversampling interpolates blindly and can place synthetic attack samples inside benign regions. Prioritising high-membership regions and border samples is a sensible way to avoid that, and the reported small generalisation gap is weak evidence it worked.

What is missing is per-class recall. Aggregate recall of 93.69 percent tells you one attack in sixteen escapes; it does not tell you which. Sixteen missed port scans and one missed ransomware deployment are very different outcomes behind the same number, and in an imbalanced multi-class problem the rarest classes are usually the ones that suffer – which may be the most serious ones.

How this compares to what came before

Synthetic oversampling for imbalanced classification is a well-worn area, and its application to intrusion detection has a long literature with a known criticism: the synthetic samples are not real attacks, so a model optimised against them may be learning the sampler rather than the threat.

CICIDS2017 is also an eight-year-old dataset at the time of this work, which matters in a domain where attack techniques change. A model validated on 2017 traffic has not been shown to handle anything developed since.

Within this batch’s cybersecurity cluster, this paper’s figures take their meaning from the company they keep:

– Saturated closed-set benchmarks: this paper at 99.39 percent accuracy on CICIDS2017, and an Indian team at 98.50 and 99.56 percent F1 on SWaT and WADI. – Multi-dataset closed-set: a Saudi team at 96 percent binary and 89.54 percent multiclass F1 across three datasets. – Open-set, with attack families held out: 68.44 and 76.81 percent macro-F1, with 4 percent of alerts routed to analysts. – A control that invalidated its own headline: a randomly initialised encoder matching a trained one on a few-shot protocol.

The pattern across the cluster is unmistakable. The protocol sets the number more than the method does, and the protocols producing comfortable figures are the ones furthest from deployment.

What distinguishes this paper within that set is that it reports recall prominently and gives two operating points. That is better practice than most of its neighbours, on a weaker dataset.

What it means

For practitioners, the two-configuration reporting is the useful part: it lets you pick an operating point rather than inheriting the authors’ choice.

For anyone reading intrusion detection results, the instruction is to find recall before accuracy. In an imbalanced problem accuracy is nearly uninformative, and this paper’s own figures – 99.39 against 93.69 – demonstrate the gap on a single model.

For researchers, CICIDS2017 is old. Validating a method on it establishes that the method works on 2017 traffic.

Business ideas from this paper

Operating-point selection tooling. Most detectors ship with one threshold chosen by the vendor. A configuration layer that lets a security team pick its precision-recall trade-off against its own analyst capacity turns a fixed product into a tunable one.

Per-class recall reporting. Aggregate recall hides which attacks escape. A reporting standard – or a tool computing per-class recall automatically – would expose whether a detector’s misses are trivial or catastrophic.

Current-traffic benchmark datasets. CICIDS2017 is still a standard because nothing newer has displaced it. A regularly refreshed labelled dataset reflecting current attack techniques is infrastructure the field needs and lacks.

Real-attack-sample acquisition. Synthetic oversampling exists because real minority samples are scarce. Safe generation of real attack traffic against instrumented environments removes the need to invent samples at all, which is the more direct solution.

What could be wrong with it

CICIDS2017 is a single dataset from 2017, so nothing here establishes performance against techniques developed since.

Aggregate recall of 93.69 percent hides per-class performance, and in an imbalanced multi-class problem the rarest attacks are typically the worst-detected – potentially the most serious ones.

Synthetic oversampling optimises against generated samples rather than real attacks, so improved metrics may partly reflect fit to the sampler.

The two configurations trade precision against recall and the record does not give the precision figure for the recall-oriented setting, so the trade cannot be fully evaluated.

Single institution, no live traffic, no deployment, and no public code or data repository identified in the article’s availability statement.

How sure can you be?

Confident in the reported figures on CICIDS2017 under the described configurations, since it is a standard benchmark evaluation.

Confident that the accuracy-recall divergence – 99.39 against 93.69 percent – is real and illustrates why accuracy should not be the headline metric in this domain.

Confident that reporting two operating points is better practice than reporting one.

Not confident about per-class performance, which is not reported and is where the operationally important failures would be.

Not confident about relevance to current attack techniques, given a 2017 dataset.

Our rubric places this in the middle of its range: a peer-reviewed benchmark evaluation from a single institution on one ageing public dataset, with no deployment and no public repository.

Do this today

If you read an intrusion detection paper, find recall before you read accuracy. This paper’s own numbers differ by nearly six points on the same model, and the lower one is the one that describes missed attacks.

If you deploy a detector, ask for per-class recall. The aggregate figure can hide a complete failure on your most dangerous attack category.

If you are choosing an operating point, pick it against your analyst capacity rather than accepting the vendor’s default. This paper shows what the trade looks like – and most products do not expose it.

Mark Alex

Mark Alex

Writes Just Out Tech. Founder and Managing Director of Real Biz Digital. Connect on LinkedIn.

Every article here is read against the paper it reports, and carries its own credibility score.

Source: Fuzzy-clustering-based multi-scale intrusion detection for the industrial Internet of Things, PLOS ONE, 2026. PMID 42993742 · doi.org ().

Just Out Tech explains new research in plain language. This article was drafted with AI assistance and checked by a human against the original source.

What to remember
  • Fuzzy clustering guides synthetic sampling of minority attack classes: border samples are identified, interpolation is prioritised in high-membership regions, and sampling weights are adjusted by membership, while the majority class is held at a multiplier of 1.0.
  • On CICIDS2017 the comprehensive configuration gave accuracy 99.39%, precision 98.22%, recall 93.69% and F1 95.56%.
  • A recall-oriented configuration gave accuracy 98.97%, recall 99.09% and F1 96.69%, with stable training and validation curves and a small generalisation gap.
  • The approach aims to improve minority-class representation while suppressing the noise diffusion that uniform oversampling introduces.
Where this really is

Benchmark evaluation on one public dataset from 2017; no deployment and no live traffic.

Questions people ask

Why is accuracy misleading in intrusion detection?

Because attacks are rare. If one percent of traffic is malicious, a model that labels everything benign scores 99 percent accuracy and catches nothing. Accuracy is dominated by the majority class, which is why recall - the fraction of actual attacks caught - is the number a defender should read first.

What does 93.69 percent recall mean operationally?

Roughly one attack in sixteen is missed. Whether that is acceptable depends on what the missed attacks are: sixteen reconnaissance scans missed is different from one ransomware deployment missed. The paper reports aggregate recall rather than per-class recall, so which attacks escape is not visible.

Why does synthetic oversampling risk teaching the wrong boundary?

Because it invents attack samples by interpolating between real ones. If the real minority samples sit on opposite sides of a region that contains benign traffic, the interpolated points land in benign territory and label it as attack. That is the noise diffusion the paper's membership weighting is designed to suppress, and it is a real failure mode of uniform oversampling.

Which of the two configurations should be used?

Neither is strictly better - that is the point of reporting both. The comprehensive setting has higher precision and lower recall; the recall-oriented setting catches more attacks and generates more false alarms. The right choice depends on whether your constraint is analyst capacity or missed intrusions, and most papers only report the flattering one.

About the author

Mark Alex

Mark Alex is the founder and Managing Director of Real Biz Digital, a technology company operating out of Nairobi since 2018. He works in agentic AI and the Model Context Protocol, AI governance, enterprise software architecture and cybersecurity. He holds an MSc in Mechatronical Engineering from Obuda University in Budapest and a BSc in IT, Forensic Technology and Cybercrime, from USIU-Africa in Nairobi, and has published IEEE conference research on an AI-powered digital twin for greenhouse systems. He is the author of seven books. Between 2020 and 2024 he mentored more than 200 university students and interns in Nairobi. He writes every Just Out Tech article from the original research paper.