Linc: Enabling Low-Resource in-Network Classification and Incremental Model Update
Deploying machine learning models within the data plane can facilitate traffic analysis at line rate. Nevertheless, existing schemes suffer from performance degradation when faced with hardware resource constraints. They further cannot accommodate incremental model updates as the underlying traffic distributions change. This paper presents Linc, a novel framework for low-resource and incrementally updatable innetwork classification. To circumvent the complicated P4 program that consumes extensive resources, Linc generalizes explicit deployable classification rules by interpreting a customized neural network. For incremental updates with minimal new training data, we design a divide-and-conquer strategy that decomposes the update task into binary classification tasks within distinct subspaces to simplify the task. We then update the model locally within each subspace to improve accuracy for new categories without compromising the accuracy of existing categories. Experimental results reveal that, compared to state-of-the-art solutions, Linc significantly reduces switch hardware resources by up to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$15.6 \times$</tex> and achieves up to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$11.63 \%$</tex> higher classification accuracy. During the incremental model updates, Linc not only improves the accuracy by <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$26.1 \%$</tex> but also decreases the table entries by <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$6 \times$</tex>.
Authors
- Gareth Tyson (ORCID: https://orcid.org/0000-0003-3010-791X)
- Guorui Xie (ORCID: https://orcid.org/0000-0001-7532-9116)
- Qing Li (ORCID: https://orcid.org/0000-0002-1772-9194)
- Haolin Yan
- Yong Jiang (ORCID: https://orcid.org/0000-0002-4260-1395)
Institutions
- University Town of Shenzhen (CN)
- Peng Cheng Laboratory (CN)
- Tsinghua University (CN)
Publication Details
- Published
- 2024-10-28
- DOI
- https://doi.org/10.1109/icnp61940.2024.10858585
- Citations
- 2
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.70
Funders
- National Key Research and Development Program of China