Skip to main content
QUICK REVIEW

[Paper Review] A First Look at Class Incremental Learning in Deep Learning Mobile Traffic Classification

Giampaolo Bovenzi, Lixuan Yang|arXiv (Cornell University)|Jul 9, 2021
Internet Traffic Analysis and Secure E-votingComputer Science44 references13 citations
TL;DR

This paper investigates class incremental learning (CIL) for deep learning-based mobile traffic classification using the iCarl method and the MIRAGE-2019 dataset. It proposes iCarl+, a revised version with improved softmax activation and dynamic output layer expansion, demonstrating that IL reduces training time by ~90% while mitigating catastrophic forgetting, though performance lags behind full retraining due to limited generalization in small models.

ABSTRACT

The recent popularity growth of Deep Learning (DL) re-ignited the interest towards traffic classification, with several studies demonstrating the accuracy of DL-based classifiers to identify Internet applications' traffic. Even with the aid of hardware accelerators (GPUs, TPUs), DL model training remains expensive, and limits the ability to operate frequent model updates necessary to fit to the ever evolving nature of Internet traffic, and mobile traffic in particular. To address this pain point, in this work we explore Incremental Learning (IL) techniques to add new classes to models without a full retraining, hence speeding up model's updates cycle. We consider iCarl, a state of the art IL method, and MIRAGE-2019, a public dataset with traffic from 40 Android apps, aiming to understand "if there is a case for incremental learning in traffic classification". By dissecting iCarl internals, we discuss ways to improve its design, contributing a revised version, namely iCarl+. Despite our analysis reveals their infancy, IL techniques are a promising research area on the roadmap towards automated DL-based traffic analysis systems.

Motivation & Objective

  • To address the high computational cost of retraining deep learning models for evolving mobile traffic classification.
  • To evaluate the feasibility of class incremental learning (CIL) in real-world mobile traffic scenarios with dynamic application sets.
  • To identify design limitations in state-of-the-art CIL methods like iCarl when applied to network traffic classification.
  • To propose and validate iCarl+, a revised CIL framework with improved architecture and memory utilization for better performance.
  • To guide future research toward scalable, automated, and efficient DL-based traffic analysis systems.

Proposed method

  • Adapts the iCarl CIL framework to a 1D CNN-based traffic classifier using per-flow features from the MIRAGE-2019 dataset.
  • Replaces the original NMC classifier in iCarl with a softmax activation function to improve decision boundary learning.
  • Introduces dynamic output layer expansion that scales with the number of new classes, avoiding over-provisioning of units.
  • Employs a memory buffer with herding-based exemplar selection to store representative samples from known classes.
  • Uses knowledge distillation and classification loss to balance forgetting and new class learning.
  • Evaluates performance across varying memory sizes (100 to 50k exemplars) and update scenarios.

Experimental results

Research questions

  • RQ1Can iCarl effectively mitigate catastrophic forgetting when incrementally learning new mobile applications in traffic classification?
  • RQ2How does the choice of classifier (NMC vs. softmax) impact incremental learning performance in network traffic tasks?
  • RQ3What is the trade-off between memory size and performance in iCarl+, particularly regarding forgetting and new class accuracy?
  • RQ4How does iCarl+ compare to full retraining and upperbound baselines in terms of F1 accuracy and training efficiency?
  • RQ5Why do CIL methods underperform in traffic classification compared to computer vision benchmarks?

Key findings

  • iCarl+ reduces model update time from 23.04 minutes (full retraining) to 2.23 minutes (incremental update), achieving a 90% reduction in training cost.
  • Increasing memory size from 100 to 50k exemplars significantly reduces catastrophic forgetting, but larger memory sizes degrade new class F1 accuracy due to loss function trade-offs.
  • Herding-based exemplar selection achieves 95% of the upperbound performance with only 44% of the original training set size (10k exemplars), showing effective memory utilization.
  • The revised iCarl+ with softmax and dynamic output layer improves performance over original iCarl, particularly in early incremental steps, though still underperforms full retraining.
  • Despite reduced training cost, iCarl+ performance remains below full retraining due to insufficient generalization in small models, suggesting architectural limitations in current CIL for traffic data.
  • The study highlights that CIL is still in its infancy for traffic classification, with key challenges in domain adaptation, loss formulation, and sampling strategies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.