Out-Of-Distribution Is Not Magic: The Clash Between Rejection Rate and Model Success

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Recent advancements in Internet protocols, including DNS over HTTPS (DoH) and Encrypted Service Name Indicators (ESNI), are making traditional Deep Packet Inspection (DPI) engines obsolete. Consequently, there is a growing need for next-generation traffic classification using artificial intelligence (AI). While DPI automatically categorizes unknown traffic as 'other,' AI-based models cannot automatically handle unknown or Out-of-Distribution (OOD) traffic. AI models must effectively detect and classify OOD traffic to ensure robustness, reliability, and accuracy in real-world applications; however, current research often fails to address the challenges of OOD detection.In this paper, we evaluate various state-of-the-art OOD detection techniques for internet traffic classification and explore the drawbacks and advantages of using different threshold levels for the model's tolerance for OOD. Our findings reveal that varying rejection rates have distinct effects on OOD techniques, leading to a change in the optimal strategy for achieving dependable and precise detection across diverse OOD scenarios. We demonstrate that adjusting rejection rates from 10% to 30% can significantly improve the True Detection Rate (TDR) by up to 50%, while the False Detection Rate (FDR) may increase by less than 10%. Moreover, we emphasize that rejection-rate-based evaluation is pivotal for next-generation flow classification, promising a substantial reduction in FDR through rigorous methodological assessment.

Original languageEnglish
Title of host publicationProceedings of the 20th Conference on Computer Science and Intelligence Systems, FedCSIS 2025
EditorsMarek Bolanowski, Maria Ganzha, Leszek A. Maciaszek, Leszek A. Maciaszek, Marcin Paprzycki, Dominik Slezak
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages345-350
Number of pages6
Edition2025
ISBN (Electronic)9788397329164
DOIs
StatePublished - 2025
Event20th Conference on Computer Science and Intelligence Systems, FedCSIS 2025 - Krakow, Poland
Duration: 14 Sep 202517 Sep 2025

Conference

Conference20th Conference on Computer Science and Intelligence Systems, FedCSIS 2025
Country/TerritoryPoland
CityKrakow
Period14/09/2517/09/25

Keywords

  • Malware Detection
  • Out of Distribution
  • Traffic Classification

Fingerprint

Dive into the research topics of 'Out-Of-Distribution Is Not Magic: The Clash Between Rejection Rate and Model Success'. Together they form a unique fingerprint.

Cite this