Knowledge Distillation for SQL Injection Detection in IoT Edge Dashboards Using BiLSTM

Several studies have employed bidirectional long short-term memory (BiLSTM) for SQL injection detection, achieving satisfactory performance. However, the SQL injection solution on the IoT edge dashboard has not been optimized to consider the efficiency and real-time nature of these properties, let alone utilizing BiLSTM. This study aims to evaluate the performance of knowledge distillation, enabling BiLSTM to become more efficient and real-time in SQL injection detection on the IoT edge dashboard. We utilize the SQL injection detection dataset from Kaggle, which is reproducible for research purposes. We apply BiLSTM as a teacher model and then perform knowledge distillation to make the model more compact while monitoring the compression ratio (CR), accuracy loss, and prediction time. Finally, we utilize Flask to design a web-based user interface for detecting SQL injections. The test results show that knowledge distillation can provide optimal performance on BiLSTM, with accuracy, precision, recall, and F1-score values of 0.985, 0.985, 0.983, and 0.984, respectively, compared to the teacher and student models without a teacher. The efficiency of knowledge distillation is evident from the significant reduction in the size of the BiLSTM model, from 20,660.02 to 7,726, with a compression ratio (CR) of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.67 \times$</tex>. Finally, applying knowledge distillation to SQL injection detection for IoT edge dashboards significantly reduces the prediction time from an average of 0.68 seconds to 0.17 seconds.

Institutions

Publication Details

Published
2025-07-23
DOI
https://doi.org/10.1109/isitia66279.2025.11137516
Citations
1
Primary Topic
Disaster Management and Resilience
Type
article
Field-Weighted Citation Impact
4.20
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Knowledge Distillation for SQL Injection Detection in IoT Edge Dashboards Using BiLSTM

1 citations
Disaster Management and Resilience
4.20
article

Knowledge Distillation for SQL Injection Detection in IoT Edge Dashboards Using BiLSTM

article en
1 citations

Abstract

Several studies have employed bidirectional long short-term memory (BiLSTM) for SQL injection detection, achieving satisfactory performance. However, the SQL injection solution on the IoT edge dashboard has not been optimized to consider the efficiency and real-time nature of these properties, let alone utilizing BiLSTM. This study aims to evaluate the performance of knowledge distillation, enabling BiLSTM to become more efficient and real-time in SQL injection detection on the IoT edge dashboard. We utilize the SQL injection detection dataset from Kaggle, which is reproducible for research purposes. We apply BiLSTM as a teacher model and then perform knowledge distillation to make the model more compact while monitoring the compression ratio (CR), accuracy loss, and prediction time. Finally, we utilize Flask to design a web-based user interface for detecting SQL injections. The test results show that knowledge distillation can provide optimal performance on BiLSTM, with accuracy, precision, recall, and F1-score values of 0.985, 0.985, 0.983, and 0.984, respectively, compared to the teacher and student models without a teacher. The efficiency of knowledge distillation is evident from the significant reduction in the size of the BiLSTM model, from 20,660.02 to 7,726, with a compression ratio (CR) of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.67 \times$</tex>. Finally, applying knowledge distillation to SQL injection detection for IoT edge dashboards significantly reduces the prediction time from an average of 0.68 seconds to 0.17 seconds.

Telkom University (ID)
Openalex Percentile: Top 5%
Disaster Management and Resilience
4.20
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.