Quantised Neural Network NIDS on SmartNIC: Balancing Accuracy and Efficiency in P4

This paper presents the implementation of various quantised neural network-based Network Intrusion Detection Systems on a SmartNIC using the P4 programming language. SmartNICs impose significant memory and computational constraints, making deep learning integration particularly challenging. Prior work has been restricted to shallow networks and 1-bit quantisation due to these limitations. In contrast, we deploy a binary neural network with a 64–16–8–1 architecture, along with several other quantised models not previously implemented on SmartNICs. To overcome the limited support for quantisation-aware training, which is restricted to 8-bit, we introduce a variable quantiser scheme for neural networks that allows adaptable quantisation levels during training. We further deploy and evaluate 2-bit and 4-bit models on the SmartNIC, made feasible by optimising resource utilisation. The model achieves a 91.65% accuracy and a 91.46% F1 score while achieving throughputs above 6Mpps.

Authors

Institutions

Publication Details

Published
2025-09-15
DOI
https://doi.org/10.1109/lcn65610.2025.11146316
Primary Topic
Neural Networks and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Quantised Neural Network NIDS on SmartNIC: Balancing Accuracy and Efficiency in P4

Siamak Layeghy, Marius Portmann, Yaying Chen
Neural Networks and Applications
article

Quantised Neural Network NIDS on SmartNIC: Balancing Accuracy and Efficiency in P4

Siamak Layeghy, Marius Portmann, Yaying Chen
article en

Abstract

This paper presents the implementation of various quantised neural network-based Network Intrusion Detection Systems on a SmartNIC using the P4 programming language. SmartNICs impose significant memory and computational constraints, making deep learning integration particularly challenging. Prior work has been restricted to shallow networks and 1-bit quantisation due to these limitations. In contrast, we deploy a binary neural network with a 64–16–8–1 architecture, along with several other quantised models not previously implemented on SmartNICs. To overcome the limited support for quantisation-aware training, which is restricted to 8-bit, we introduce a variable quantiser scheme for neural networks that allows adaptable quantisation levels during training. We further deploy and evaluate 2-bit and 4-bit models on the SmartNIC, made feasible by optimising resource utilisation. The model achieves a 91.65% accuracy and a 91.46% F1 score while achieving throughputs above 6Mpps.

The University of Queensland (AU)
Openalex Percentile: Top 87%
Neural Networks and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Quantised Neural Network NIDS on SmartNIC: Balancing Accuracy and Efficiency in P4 — Siamak Layeghy, Marius Portmann, et al. · (2025) | TGRS Research Map | TGRS