Robust Conformal Intrusion Detection via Traffic-Aware Calibration and Attack-Orbit Invariance

Zhenpeng Li
7/22/2026
cs.CRcs.AI

No confident code implementation found for this paper.

Abstract

Large language models fine-tuned for network intrusion detection emit single-point predictions without statistical validity guarantees. Conformal prediction supplies a finite-sample coverage guarantee, but a threshold calibrated on clean traffic fails once an adversary perturbs controllable network features.

Show full abstract

We demonstrate this failure across three intrusion detection benchmarks and propose traffic-aware conformal prediction, which calibrates on traffic drawn from the perturbation mechanism an attacker is expected to use and provably restores coverage whenever that mechanism is known and can be sampled. A stronger, adaptive attacker that queries the target model's own score can still degrade this matched-calibration guarantee. We address this second threat model by excluding attacker-controllable features and their deterministic descendants from the scored representation, and prove that this yields an exact, pathwise coverage guarantee rather than a probabilistic bound. Across three independently fine-tuned language model architectures, this representation remains completely unchanged under every evaluated attack attempt, at a quantified seven-to-fourteen-point cost in clean accuracy relative to the unrestricted feature set.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026robust,
  title  = {Robust Conformal Intrusion Detection via Traffic-Aware Calibration and Attack-Orbit Invariance},
  author = {Zhenpeng Li},
  year   = {2026},
  eprint = {2609.19241},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.19241v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.19241.svg)](https://codeofpaper.com/paper/2609.19241)

Discussion