University of Toronto
Knowledge Distillation and Its Application to Network Traffic Classification
Abstract
dc:description.abstractKnowledge distillation improves the performance of a low-complexity student model with the help of a more powerful teacher. In this dissertation, we study knowledge distillation and its application to network traffic. We posit that knowledge distillation is an essential ingredient of traffic classification. At a network router, the packets need to be processed with minimum delay and state-of-the-art machine learning algorithms cannot be implemented due to computational limits. In this dissertation, we first introduce flow-packet hybrid traffic classification (FPHTC), where the router makes a decision per packet based on a routing policy that is designed through transferring the learned knowledge from a flow-based classifier residing outside the router. Next, we observe that the teacher in knowledge distillation is a black-box model, imparting knowledge to the student only through its predictions. This limits the amount of transferred knowledge. Therefore, we introduce a novel Knowledge Explaining Distillation (KED) framework, which allows the student to learn not only from the teacher's predictions but also from the teacher's explanations. We propose a class of superfeature-explaining teachers that provide explanation over groups of features, along with the corresponding student model. We also present an algorithm for constructing the superfeatures. Finally, we apply knowledge distillation to mitigate data heterogeneity in a federated learning setting. Typically, Federated averaging (FedAvg) suffers from data heterogeneity particularly when the client datasets are highly imbalanced. To address this issue, FedDF was proposed that performs model aggregation via ensemble distillation. However, FedDF has two major limitations in a practical scenario. Firstly, FedDF requires a public reference dataset available at the server for distilling knowledge to the global model. Secondly, another drawback of FedDF is that it cannot handle hierarchical aggregation. This motivates us to develop a novel Federated Hierarchical Ensemble Aggregation via Distillation (FedHEAD) scheme that overcomes both limitations of FedDF by reusing the clients' local data for distillation over network sectors. For all proposed schemes in this dissertation, we evaluate the performance by extensive experiments over various network traffic classification (NTC), computer vision (CV), and natural language processing (NLP) datasets. Our schemes outperform the existing comparison baselines.
Degree
thesis:*- Department dc:contributor.department
- Electrical and Computer Engineering
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Chowdhury, Sayantan
- Advisor dc:contributor.advisor
-
- Liang, Ben
Subjects
dc:subject × 6Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1807/142697