Skip to main navigation Skip to search Skip to main content

A Stochastic Prototypical Network for Few-Shot Intrusion Detection in CAN-Based IoV Network

  • Jawad Ahmad
  • , Shahid Latif
  • , Djamel Djenouri
  • , Farhan Ullah
  • , Muhammad Shahbaz Khan
  • , Malik Muhammad Saad
  • , Rutvij H. Jhaveri
  • , Priyanka Verma
  • Cybersecurity Center, Prince Mohammad Bin Fahd University, Al Khobar 31952, Saudi Arabia
  • School of Computing and Creative Technologies, University of the West of England, Bristol, U.K.
  • School of Computer Science and Engineering, Kyungpook National University, Daegu, South Korea
  • School of Technology, Pandit Deendayal Energy University, Gandhinagar, India
  • School of Computer Science, University of Galway, Galway, Ireland

Research output: Contribution to journalArticlepeer-review

Abstract

The Controller Area Network (CAN) acts as the backbone of intra-vehicle communication in modern Internet of Vehicles (IoV) systems, enabling real-time coordination among critical automotive subsystems. Despite its widespread adoption, CAN lacks essential security mechanisms such as encryption and message authentication, rendering it highly vulnerable to cyberattacks that can jeopardize vehicle safety and operational integrity. Developing an effective Few-Shot Learning (FSL)-based Intrusion Detection System (IDS) for CAN networks presents challenges due to data scarcity, noisy traffic, dynamic attack patterns, and the need for real-time efficiency. Existing FSL approaches often rely on deterministic models that struggle to capture the uncertainty and variability inherent in CAN network traffic. To address these challenges, we propose a Stochastic Prototypical Network based on a Random Neural Network (RaNN) for few-shot intrusion detection in CAN-based networks. RaNNs are inherently stochastic, enabling them to model uncertainty and variability in network traffic. By integrating RaNN with the prototypical network, the proposed framework computes stochastic prototypes that represent the distribution of normal and attack behaviors, improving robustness in noisy and dynamic environments. Additionally, the framework quantifies uncertainty in its predictions, enabling the system to flag ambiguous cases for further analysis, thereby reducing the risk of both false positives and negatives. The proposed approach demonstrates high classification performance across all FSL scenarios, achieving a maximum accuracy of 99.17% in a 15-shot configuration. The framework shows impressive computational efficiency with millisecond inference times and minimal training overhead, making it suitable for real-time deployment.
Original languageEnglish
Pages (from-to)6421-6436
Number of pages16
JournalIEEE Open Journal of the Communications Society
Volume6
Early online date5 Aug 2025
DOIs
Publication statusPublished - 22 Aug 2025

Fingerprint

Dive into the research topics of 'A Stochastic Prototypical Network for Few-Shot Intrusion Detection in CAN-Based IoV Network'. Together they form a unique fingerprint.

Cite this