AIE515 Edge AI and Embedded Systems

6 ECTS - 3-0 Duration (T+A)- . Semester- 3 National Credit

Information

Unit INSTITUTE OF NATURAL AND APPLIED SCIENCES
ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING (MASTER) (WITH THESIS) (ENGLISH)
Code AIE515
Name Edge AI and Embedded Systems
Term 2026-2027 Academic Year
Term Fall and Spring
Duration (T+A) 3-0 (T-A) (17 Week)
ECTS 6 ECTS
National Credit 3 National Credit
Teaching Language İngilizce
Level Lisansüstü Dersi
Type Normal
Mode of study Yüz Yüze Öğretim
Catalog Information Coordinator Prof. Dr. YUSUF ALPER KAPLAN
Course Instructor
The current term course schedule has not been prepared yet.


Course Goal / Objective

This course aims to provide the knowledge and skills needed to design, optimise and deploy machine learning models on resource-constrained edge and embedded devices. Students learn about embedded hardware platforms, model compression techniques and deployment toolchains, and develop and evaluate edge AI applications that meet real-time, memory and energy constraints.

Course Content

Edge AI concepts and the cloud–edge–device continuum; embedded hardware for AI: microcontrollers, systems-on-chip (SoCs), embedded GPUs (Jetson class), neural processing units (NPUs/TPUs) and FPGAs; sensors, data acquisition and on-device signal preprocessing; the TinyML workflow and LiteRT (TensorFlow Lite) for Microcontrollers; computational cost metrics and efficient architectures (MobileNet, EfficientNet, hardware-aware neural architecture search); model compression: quantisation (post-training quantisation and quantisation-aware training), structured and unstructured pruning, knowledge distillation; deployment toolchains and runtimes (LiteRT, ONNX Runtime, TensorRT, OpenVINO, ExecuTorch); real-time constraints, task scheduling and real-time operating systems; profiling of latency, memory and power; on-device learning and edge–cloud collaborative inference; IoT communication protocols, over-the-air (OTA) updates and edge MLOps; security, privacy and reliability of edge AI systems; a term project in which a model is deployed on a real embedded device.

Course Precondition

None. Python programming, basic knowledge of deep learning (e.g. AIE505) and basic familiarity with embedded programming in C/C++ are recommended.

Resources

Supplementary materials: the MIT 6.5940 "TinyML and Efficient Deep Learning Computing" open course; the HarvardX "Tiny Machine Learning (TinyML)" online course series; the open-access book "Machine Learning Systems" by V. J. Reddi and colleagues. Key papers: Jacob et al. (2018) on quantisation for integer-arithmetic-only inference; Han, Mao and Dally (2016) Deep Compression; Hinton, Vinyals and Dean (2015) on knowledge distillation; Howard et al. (2017) MobileNets; Lin et al. (2020) MCUNet; Banbury et al. (2021) MLPerf Tiny. Software and hardware: Python, TensorFlow/Keras, LiteRT (formerly TensorFlow Lite) and LiteRT for Microcontrollers, PyTorch and ExecuTorch, ONNX Runtime, NVIDIA TensorRT, Edge Impulse; development kits such as Arduino Nano 33 BLE Sense or STM32-class microcontroller boards, Raspberry Pi and NVIDIA Jetson Orin Nano. Course policy: students, individually or in small groups, carry out a term project in which they deploy a trained model on a real embedded device and report accuracy, latency, memory and energy measurements. Deep learning foundations are covered in AIE505, federated learning in AIE516 and industrial applications in AIE514.

Notes



Course Learning Outcomes

Order Course Learning Outcomes
LO01 Compare edge hardware platforms such as microcontrollers, systems-on-chip, embedded GPUs and neural processing units in terms of compute, memory and energy characteristics, and select a suitable platform for a given application.
LO02 Analyse the computational cost of deep neural networks (MAC count, parameter count, memory footprint, latency) and choose efficient architectures for resource-constrained devices.
LO03 Apply model compression techniques such as quantisation, pruning and knowledge distillation, and evaluate their effect on accuracy and efficiency.
LO04 Convert trained models and deploy them on embedded target devices using toolchains such as LiteRT, ONNX Runtime and TensorRT.
LO05 Profile latency, memory usage and energy consumption on device, and optimise an application to meet real-time constraints.
LO06 Explain on-device learning, edge–cloud collaboration and IoT communication mechanisms, and integrate them into the design of an edge AI system.
LO07 Assess the security, privacy and reliability risks of edge AI systems and propose appropriate countermeasures.


Relation with Program Learning Outcome

Order Type Program Learning Outcomes Level
PLO01 Bilgi - Kuramsal, Olgusal Building on undergraduate-level qualifications, has advanced theoretical knowledge of linear algebra, multivariable calculus, probability, statistics, optimisation and information theory required for original work in artificial intelligence and machine learning.
PLO02 Bilgi - Kuramsal, Olgusal Has an in-depth understanding of current methods in the main sub-fields of artificial intelligence, notably machine learning, deep learning, reinforcement learning, computer vision, natural language processing and generative models, together with their assumptions and limitations. 3
PLO03 Beceriler - Bilişsel, Uygulamalı Formulates real-world problems as appropriate artificial intelligence/machine learning problems, and designs and implements solutions covering data preparation, model selection, training and evaluation. 4
PLO04 Beceriler - Bilişsel, Uygulamalı Develops efficient, scalable and reproducible software and models using Python and current libraries and frameworks, and makes effective use of big data and high-performance computing resources.
PLO05 Beceriler - Bilişsel, Uygulamalı Evaluates methods with appropriate performance metrics, statistical tests and comparative experiments, interprets results critically and designs reproducible experimental protocols.
PLO06 Yetkinlikler - Öğrenme Yetkinliği Reviews the national and international literature of the field systematically and critically, independently learns new and emerging methods, and adapts them to their own research problem. 3
PLO07 Yetkinlikler - Bağımsız Çalışabilme ve Sorumluluk Alabilme Yetkinliği Defines a research problem in the field, solves it independently by developing an original method or model, and conducts a thesis study that contributes to scientific knowledge.
PLO08 Yetkinlikler - Bağımsız Çalışabilme ve Sorumluluk Alabilme Yetkinliği Takes responsibility and leadership in interdisciplinary teams working on complex problems in application domains such as health, energy, agriculture, industry, finance and logistics, and develops solutions together with domain experts.
PLO09 Yetkinlikler - İletişim ve Sosyal Yetkinlik Communicates the processes and results of their work clearly and systematically in English, in written (paper, thesis, report) and oral form, in national and international settings. 2
PLO10 Yetkinlikler - Alana Özgü Yetkinlik Observes scientific and professional ethics, data privacy, fairness, transparency and safety principles and the relevant legal regulations in developing and using AI systems, and assesses their societal impact 2
PLO11 Yetkinlikler - Alana Özgü Yetkinlik Deploys trustworthy, explainable and sustainable AI solutions to real environments such as the cloud, edge devices and industrial systems, taking into account resource constraints such as energy, memory and latency.


Week Plan

Week Topic Preparation Methods
1 Introduction to edge AI: the cloud–edge–device continuum; latency, privacy, bandwidth and energy drivers; application areas and the edge AI workflow Read Situnayake & Plunkett (2023), Chapters 1 and 2 Öğretim Yöntemleri:
Anlatım, Tartışma
2 Embedded hardware for AI: microcontrollers (Arm Cortex-M), systems-on-chip, embedded GPUs, NPU/TPU accelerators and FPGAs; memory hierarchy and compute–energy trade-offs Read Situnayake & Plunkett (2023), Chapter 3, and Marwedel (2021), chapter on embedded system hardware Öğretim Yöntemleri:
Anlatım, Gösteri
3 Sensors and data acquisition: IMU, microphone and camera data; sampling, windowing and on-device feature extraction (spectrograms, MFCC); building datasets for edge applications Read Situnayake & Plunkett (2023), Chapter 7, and Lee & Seshia (2017), chapter on sensors and actuators Öğretim Yöntemleri:
Anlatım, Alıştırma ve Uygulama, Gösteri
4 The end-to-end TinyML workflow: training a small model, converting it to the LiteRT format, the LiteRT for Microcontrollers interpreter and deployment to a microcontroller board Read Warden & Situnayake (2019), Chapters 4–6; set up the development environment Öğretim Yöntemleri:
Gösteri, Alıştırma ve Uygulama
5 Efficient deep neural network design: MAC/FLOP counts, parameters, memory footprint and the roofline model; depthwise separable convolutions, MobileNet and EfficientNet; hardware-aware neural architecture search (MCUNet) Read Sze et al. (2020), Chapters 3 and 9; study the MobileNets paper by Howard et al. (2017) Öğretim Yöntemleri:
Anlatım, Tartışma, Problem Çözme
6 Quantisation: fixed-point and integer arithmetic, uniform affine quantisation, per-tensor and per-channel scaling; post-training quantisation and calibration, quantisation-aware training, mixed precision Read Sze et al. (2020), Chapter 7; study the paper by Jacob et al. (2018) Öğretim Yöntemleri:
Anlatım, Alıştırma ve Uygulama, Problem Çözme
7 Pruning and knowledge distillation: structured and unstructured pruning, magnitude-based pruning, the lottery ticket hypothesis; teacher–student distillation; combined compression pipelines; review before the mid-term exam Read Sze et al. (2020), Chapter 8; study the papers by Han, Mao and Dally (2016) and Hinton, Vinyals and Dean (2015) Öğretim Yöntemleri:
Anlatım, Alıştırma ve Uygulama, Soru-Cevap
8 Mid-Term Exam exam preparation Ölçme Yöntemleri:
Yazılı Sınav
9 Deployment toolchains and runtimes: ONNX and ONNX Runtime, TensorRT (layer fusion, FP16/INT8), OpenVINO, ExecuTorch; vendor tools (STM32Cube.AI, Edge TPU compiler); operator support and graph optimisation Study the relevant sections of the official LiteRT, ONNX Runtime and TensorRT documentation Öğretim Yöntemleri:
Anlatım, Gösteri, Alıştırma ve Uygulama
10 Real-time constraints: latency, throughput, jitter and deadlines; worst-case execution time (WCET); rate-monotonic and earliest-deadline-first scheduling; real-time operating systems (FreeRTOS, Zephyr) and streaming inference Read Lee & Seshia (2017), chapters on multitasking and scheduling Öğretim Yöntemleri:
Anlatım, Problem Çözme
11 Profiling latency, memory and power: benchmarking methodology (MLPerf Tiny), power measurement and energy per inference, duty cycling, reducing binary and model size, operator-level optimisation Read Warden & Situnayake (2019), Chapters 15–17; study the MLPerf Tiny paper by Banbury et al. (2021) Öğretim Yöntemleri:
Gösteri, Alıştırma ve Uygulama, Problem Çözme
12 On-device learning: on-device fine-tuning, memory-efficient training, continual learning; edge–cloud collaborative inference and split computing; link to federated learning (AIE516) Read the paper by Lin et al. (2022), "On-Device Training Under 256KB Memory" Öğretim Yöntemleri:
Anlatım, Tartışma
13 IoT communication and system integration: MQTT and CoAP; low-power wireless links (BLE, LoRaWAN, NB-IoT); edge gateways, over-the-air (OTA) model updates, device fleet management and edge MLOps Read Situnayake & Plunkett (2023), Chapter 10; prepare the term project progress report Öğretim Yöntemleri:
Anlatım, Gösteri, Örnek Olay
14 Security, privacy and reliability: threat models, secure boot, model encryption and intellectual property protection, adversarial and side-channel attacks; privacy by design, robustness and sustainable AI Read Warden & Situnayake (2019), Chapter 20, and Lee & Seshia (2017), chapter on security and privacy Öğretim Yöntemleri:
Anlatım, Tartışma, Örnek Olay
15 Term project presentations: demonstrations of applications deployed on real embedded devices; comparison of accuracy, latency, memory and energy results; course review Prepare the project report, measurement results and live demonstration Öğretim Yöntemleri:
Proje Temelli Öğrenme , Tartışma
16 Term Exams exam preparation Ölçme Yöntemleri:
Proje / Tasarım
17 Term Exams exam preparation Ölçme Yöntemleri:
Proje / Tasarım


Student Workload - ECTS

Works Number Time (Hour) Workload (Hour)
Course Related Works
Class Time (Exam weeks are excluded) 14 3 42
Out of Class Study (Preliminary Work, Practice) 14 4 56
Assesment Related Works
Homeworks, Projects, Others 0 0 0
Mid-term Exams (Written, Oral, etc.) 1 18 18
Final Exam 1 24 24
Total Workload (Hour) 140
Total Workload / 25 (h) 5,60
ECTS 6 ECTS

Update Time: 27.11.2026 05:10