{"id":{"repo_id":"brock","oai_identifier":"oai:brocku.scholaris.ca:10464/19789"},"canonical_url":"https://search.ndltd.org/etd/brock/oai:brocku.scholaris.ca:10464/19789","repository":{"repo_id":"brock","name":"Brock University","base_url":"https://brocku.scholaris.ca/server/oai/request"},"display":{"title":"Transformer-Based Intrusion Detection for 5G Core Networks","abstract":"The security of the 5G Core network is critical, particularly as it adopts a cloud-native, service-based architecture. While this design enhances scalability and flexibility, it also increases the network’s exposure to novel and evolving attack vectors. Recent research has addressed this issue, but more robust models are needed, and more study is required to assess the feasibility of deploying such models in real-world scenarios especially when considering hundreds of packets are sent and received each second by the 5G Core network. To address this challenge, we present a Transformer-based Intrusion Detection System (IDS) tailored for 5G Core environments. Leveraging BERT and its variants—RoBERTa, DistilBERT, and ALBERTa—our system classifies network traffic as benign or malicious using data collected from a containerized testbed built with Free5GC and UERANSIM. Experimental results demonstrate that BERT, DistilBERT, and RoBERTa each achieved 100% accuracy, precision, recall, and F1 score, while ALBERTa followed closely with 99.87% on all metrics. Among them, DistilBERT stands out as the most efficient, achieving perfect accuracy with the lowest training time (191.68 s), inference time (0.28 s), GPU memory usage (1987.88 MB), and parameter count (66.96M). These results highlight DistilBERT as the most suitable model for real-time deployment in cloud-native 5G security frameworks, offering a strong balance between detection performance and computational efficiency.","abstract_html":"The security of the 5G Core network is critical, particularly as it adopts a cloud-native, service-based architecture. While this design enhances scalability and flexibility, it also increases the network’s exposure to novel and evolving attack vectors. Recent research has addressed this issue, but more robust models are needed, and more study is required to assess the feasibility of deploying such models in real-world scenarios especially when considering hundreds of packets are sent and received each second by the 5G Core network. To address this challenge, we present a Transformer-based Intrusion Detection System (IDS) tailored for 5G Core environments. Leveraging BERT and its variants—RoBERTa, DistilBERT, and ALBERTa—our system classifies network traffic as benign or malicious using data collected from a containerized testbed built with Free5GC and UERANSIM. Experimental results demonstrate that BERT, DistilBERT, and RoBERTa each achieved 100% accuracy, precision, recall, and F1 score, while ALBERTa followed closely with 99.87% on all metrics. Among them, DistilBERT stands out as the most efficient, achieving perfect accuracy with the lowest training time (191.68 s), inference time (0.28 s), GPU memory usage (1987.88 MB), and parameter count (66.96M). These results highlight DistilBERT as the most suitable model for real-time deployment in cloud-native 5G security frameworks, offering a strong balance between detection performance and computational efficiency.","abstract_has_math":false,"creators":["Thulasinathan, Yathusan"],"institution":"Brock University","degree_name":"M.Sc. Computer Science","degree_level":"Master","degree_discipline":"Faculty of Mathematics and Science","degree_department":"Department of Computer Science","school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-10-19","date_published":"2025-10-19","updated_at":"2026-11-19T07:09:31Z","subjects":["TECHNOLOGY::Information technology::Computer science::Computer science","TECHNOLOGY::Information technology::Computer science::Software engineering"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10464/19789","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10464/19789","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Abrock%3Aoai%3Abrocku.scholaris.ca%3A10464%2F19789","prefix":"oai_dc"},"source_record":{"url":"https://brocku.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Abrocku.scholaris.ca%3A10464%2F19789","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.department","label":"Department","values":["Department of Computer Science"]},{"key":"dc:creator","label":"Author","values":["Thulasinathan, Yathusan"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-10-20T19:54:10Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-10-20T19:54:10Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-10-19"]},{"key":"dc:publisher","label":"Institution","values":["Brock University"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Faculty of Mathematics and Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master"]},{"key":"thesis:degree_name","label":"Degree Name","values":["M.Sc. Computer Science"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["TECHNOLOGY::Information technology::Computer science::Computer science","TECHNOLOGY::Information technology::Computer science::Software engineering"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10464/19789"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["The security of the 5G Core network is critical, particularly as it adopts a cloud-native, service-based architecture. While this design enhances scalability and flexibility, it also increases the network’s exposure to novel and evolving attack vectors. Recent research has addressed this issue, but more robust models are needed, and more study is required to assess the feasibility of deploying such models in real-world scenarios especially when considering hundreds of packets are sent and received each second by the 5G Core network. To address this challenge, we present a Transformer-based Intrusion Detection System (IDS) tailored for 5G Core environments. Leveraging BERT and its variants—RoBERTa, DistilBERT, and ALBERTa—our system classifies network traffic as benign or malicious using data collected from a containerized testbed built with Free5GC and UERANSIM. Experimental results demonstrate that BERT, DistilBERT, and RoBERTa each achieved 100% accuracy, precision, recall, and F1 score, while ALBERTa followed closely with 99.87% on all metrics. Among them, DistilBERT stands out as the most efficient, achieving perfect accuracy with the lowest training time (191.68 s), inference time (0.28 s), GPU memory usage (1987.88 MB), and parameter count (66.96M). These results highlight DistilBERT as the most suitable model for real-time deployment in cloud-native 5G security frameworks, offering a strong balance between detection performance and computational efficiency."]},{"key":"dc:title","label":"Title","values":["Transformer-Based Intrusion Detection for 5G Core Networks"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.department":["Department of Computer Science"],"dc:creator":["Thulasinathan, Yathusan"],"dc:date.accessioned":["2025-10-20T19:54:10Z"],"dc:date.available":["2025-10-20T19:54:10Z"],"dc:date.issued":["2025-10-19"],"dc:description.abstract":["The security of the 5G Core network is critical, particularly as it adopts a cloud-native, service-based architecture. While this design enhances scalability and flexibility, it also increases the network’s exposure to novel and evolving attack vectors. Recent research has addressed this issue, but more robust models are needed, and more study is required to assess the feasibility of deploying such models in real-world scenarios especially when considering hundreds of packets are sent and received each second by the 5G Core network. To address this challenge, we present a Transformer-based Intrusion Detection System (IDS) tailored for 5G Core environments. Leveraging BERT and its variants—RoBERTa, DistilBERT, and ALBERTa—our system classifies network traffic as benign or malicious using data collected from a containerized testbed built with Free5GC and UERANSIM. Experimental results demonstrate that BERT, DistilBERT, and RoBERTa each achieved 100% accuracy, precision, recall, and F1 score, while ALBERTa followed closely with 99.87% on all metrics. Among them, DistilBERT stands out as the most efficient, achieving perfect accuracy with the lowest training time (191.68 s), inference time (0.28 s), GPU memory usage (1987.88 MB), and parameter count (66.96M). These results highlight DistilBERT as the most suitable model for real-time deployment in cloud-native 5G security frameworks, offering a strong balance between detection performance and computational efficiency."],"dc:identifier.uri":["https://hdl.handle.net/10464/19789"],"dc:language.iso":["en"],"dc:publisher":["Brock University"],"dc:subject":["TECHNOLOGY::Information technology::Computer science::Computer science","TECHNOLOGY::Information technology::Computer science::Software engineering"],"dc:title":["Transformer-Based Intrusion Detection for 5G Core Networks"],"dc:type":["Electronic Thesis or Dissertation"],"others:access_status":["open.access"],"thesis:degree_discipline":["Faculty of Mathematics and Science"],"thesis:degree_level":["Master"],"thesis:degree_name":["M.Sc. Computer Science"]},"updated_at":"2026-11-19T07:09:31Z"}