This dissertation studies whether a lightweight intrusion detection model can be trained collaboratively across the IoT gateways of an engineering campus without moving raw traffic to a central server. A typical Karnataka campus has separate network segments for hostels, laboratories, the library, CCTV and building management, each with cameras, smart plugs, access-control readers and sensors. Pooling all their traffic for training raises privacy, bandwidth and administrative concerns; federated learning (FL) lets each gateway train locally and share only model updates.
Using the public CICIoT2023 dataset from the Canadian Institute for Cybersecurity, I build a centralised baseline and a federated version (FedAvg) of two compact models — a multilayer perceptron and a 1D-CNN — and compare them under IID and non-IID partitions that mimic gateways seeing very different attack mixes. The evaluation reports macro-F1, per-class recall, communication rounds to reach a target F1, bytes transmitted, model size and inference latency on a Raspberry Pi 4, the kind of device that could sit at a gateway.
The implementation uses Python and PyTorch, with the Flower framework as an industry-standard extra for FL simulation. The work extends the Computer Networks & IoT Lab (22SCNL17) and applies the Research Methodology & IPR course (22RMI16) for experimental design, threats to validity and paper writing. All results are produced by the student's own runs; this bundle gives the protocol and empty results tables, not pre-filled numbers.
- Relevant for
- Karnataka
- Level
- Advanced · 24 weeks · solo
- Common at
- Visvesvaraya Technological University, Anna University, JNTU Hyderabad
- Updated
- Nov 2026