About | Contact Us | Register | Login
ProceedingsSeriesJournalsSearchEAI
Security and Privacy in New Computing Environments. 6th International Conference, SPNCE 2023, Guangzhou, China, November 25–26, 2023, Proceedings

Research Article

ConFlow: Contrast Network Flow Improving Class-Imbalanced Learning in Network Intrusion Detection

Cite
BibTeX Plain Text
  • @INPROCEEDINGS{10.1007/978-3-031-73699-5_9,
        author={Lan Liu and Pengcheng Wang and Jianliang Ruan and Jun Lin and Junhan Hu},
        title={ConFlow: Contrast Network Flow Improving Class-Imbalanced Learning in Network Intrusion Detection},
        proceedings={Security and Privacy in New Computing Environments. 6th International Conference, SPNCE 2023, Guangzhou, China, November 25--26, 2023, Proceedings},
        proceedings_a={SPNCE},
        year={2025},
        month={1},
        keywords={Cyber security Network intrusion detection system Deep learning Class-imbalanced Contrastive learning},
        doi={10.1007/978-3-031-73699-5_9}
    }
    
  • Lan Liu
    Pengcheng Wang
    Jianliang Ruan
    Jun Lin
    Junhan Hu
    Year: 2025
    ConFlow: Contrast Network Flow Improving Class-Imbalanced Learning in Network Intrusion Detection
    SPNCE
    Springer
    DOI: 10.1007/978-3-031-73699-5_9
Lan Liu1, Pengcheng Wang1, Jianliang Ruan1,*, Jun Lin2, Junhan Hu1
  • 1: Guangdong Polytechnic Normal University
  • 2: Sun Yat-Sen University
*Contact email: ruanjianliang@gpnu.edu.cn

Abstract

With the increasing complexity and volume of network traffic, accurate detection of malicious network attacks by machine learning-based network intrusion detection systems (NIDSs) remains a challenging task due to imbalanced network traffic. Conventional machine learning algorithms prioritize high overall accuracy without considering class imbalances. To address this issue, we propose ConFlow, a contrastive learning method for network intrusion detection. ConFlow leverages the Dropout layer to obtain two different vector representations of the same traffic, applying supervised contrast loss and cross-entropy loss during training. Experimental results on the ISCX-IDS2012 and CSE-CIC-IDS2017 datasets show that ConFlow outperforms other methods, especially in few-shot learning scenarios, and exhibits high generalization and robustness in real network environments. Our proposed method has significant practical implications for building an intrusion detection system with high accuracy and low false positive rates.

Keywords
Cyber security Network intrusion detection system Deep learning Class-imbalanced Contrastive learning
Published
2025-01-01
Appears in
SpringerLink
http://dx.doi.org/10.1007/978-3-031-73699-5_9
Copyright © 2023–2025 ICST
EBSCOProQuestDBLPDOAJPortico
EAI Logo

About EAI

  • Who We Are
  • Leadership
  • Research Areas
  • Partners
  • Media Center

Community

  • Membership
  • Conference
  • Recognition
  • Sponsor Us

Publish with EAI

  • Publishing
  • Journals
  • Proceedings
  • Books
  • EUDL