IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v17y2025i3p114-d1604505.html
   My bibliography  Save this article

SwiftSession: A Novel Incremental and Adaptive Approach to Rapid Traffic Classification by Leveraging Local Features

Author

Listed:
  • Tieqi Xi

    (School of Cyberspace Security, Hangzhou Dianzi University, Hangzhou 310018, China)

  • Qiuhua Zheng

    (School of Cyberspace Security, Hangzhou Dianzi University, Hangzhou 310018, China
    Key Laboratory of Discrete Industrial Internet of Things of Zhejiang Province, Hangzhou 310000, China)

  • Chuanhui Cheng

    (The School of Information and Safety Engineering, Zhongnan University of Economics and Law, Wuhan 430060, China)

  • Ting Wu

    (Hangzhou Innovation Institute, Beihang University, Hangzhou 310020, China)

  • Guojie Xie

    (Zhejiang Key Laboratory of Open Data, Hangzhou 310000, China)

  • Xuebiao Qian

    (School of Cyberspace Security, Hangzhou Dianzi University, Hangzhou 310018, China)

  • Haochen Ye

    (School of Cyberspace Security, Hangzhou Dianzi University, Hangzhou 310018, China)

  • Zhenyu Sun

    (School of Cyberspace Security, Hangzhou Dianzi University, Hangzhou 310018, China)

Abstract

Network traffic classification is crucial for effective security management. However, the increasing prevalence of encrypted traffic and the confidentiality of protocol details have made this task more challenging. To address this issue, we propose a progressive, adaptive traffic classification method called SwiftSession, designed to achieve real-time and accurate classification. SwiftSession extracts statistical and sequential features from the first K packets of traffic. Statistical features capture overall characteristics, while sequential features reflect communication patterns. An initial classification is conducted based on the first K packets during the classification process. If the prediction meets the predefined probability threshold, processing stops; otherwise, additional packets are received. This progressive approach dynamically adjusts the required packets, enhancing classification efficiency. Experimental results show that traffic can be effectively classified by using only the initial K packets. Moreover, on most datasets, the classification time is reduced by more than 70%. Unlike existing methods, SwiftSession enhances the classification speed while ensuring classification accuracy.

Suggested Citation

  • Tieqi Xi & Qiuhua Zheng & Chuanhui Cheng & Ting Wu & Guojie Xie & Xuebiao Qian & Haochen Ye & Zhenyu Sun, 2025. "SwiftSession: A Novel Incremental and Adaptive Approach to Rapid Traffic Classification by Leveraging Local Features," Future Internet, MDPI, vol. 17(3), pages 1-20, March.
  • Handle: RePEc:gam:jftint:v:17:y:2025:i:3:p:114-:d:1604505
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/17/3/114/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/17/3/114/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:17:y:2025:i:3:p:114-:d:1604505. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.