227-0155-00L  Machine Learning on Microcontrollers

SemesterAutumn Semester 2020
LecturersM. Magno, L. Benini
Periodicityevery semester recurring course
Language of instructionEnglish
CommentRegistration in this class requires the permission of the instructors. Class size will be limited to 16.
Preference is given to students in the MSc EEIT.



Courses

NumberTitleHoursLecturers
227-0155-00 GMachine Learning on Microcontrollers Special students and auditors need a special permission from the lecturers.
Permission from lecturers required for all students.
All the lectures will be remote by zoom.

For exercises we will include a tutorial to install all the software at home.

The lab will be divided in 3 groups and students need physical assistance and can come in their dedicate time in ETZ K63.
3 hrs
Mon13:15-17:00ETZ K 63 »
M. Magno, L. Benini

Catalogue data

AbstractMachine Learning (ML) and artificial intelligence are pervading the digital society. Today, even low power embedded systems are incorporating ML, becoming increasingly “smart”. This lecture gives an overview of ML methods and algorithms to process and extract useful near-sensor information in end-nodes of the “internet-of-things”, using low-power microcontrollers/ processors (ARM-Cortex-M; RISC-V)
ObjectiveLearn how to Process data from sensors and how to extract useful information with low power microprocessors using ML techniques. We will analyze data coming from real low-power sensors (accelerometers, microphones, ExG bio-signals, cameras…). The main objective is to study in details how Machine Learning algorithms can be adapted to the performance constraints and limited resources of low-power microcontrollers.
ContentThe final goal of the course is a deep understanding of machine learning and its practical implementation on single- and multi-core microcontrollers, coupled with performance and energy efficiency analysis and optimization. The main topics of the course include:

- Sensors and sensor data acquisition with low power embedded systems

- Machine Learning: Overview of supervised and unsupervised learning and in particular supervised learning (Bayes Decision Theory, Decision Trees, Random Forests, kNN-Methods, Support Vector Machines, Convolutional Networks and Deep Learning)

- Low-power embedded systems and their architecture. Low Power microcontrollers (ARM-Cortex M) and RISC-V-based Parallel Ultra Low Power (PULP) systems-on-chip.

- Low power smart sensor system design: hardware-software tradeoffs, analysis, and optimization. Implementation and performance evaluation of ML in battery-operated embedded systems.

The laboratory exercised will show how to address concrete design problems, like motion, gesture recognition, emotion detection, image and sound classification, using real sensors data and real MCU boards.

Presentations from Ph.D. students and the visit to the Digital Circuits and Systems Group will introduce current research topics and international research projects.
Lecture notesScript and exercise sheets. Books will be suggested during the course.
Prerequisites / NoticePrerequisites: C language programming. Basics of Digital Signal Processing. Basics of processor and computer architecture. Some exposure to machine learning concepts is also desirable

Performance assessment

Performance assessment information (valid until the course unit is held again)
Performance assessment as a semester course
ECTS credits6 credits
ExaminersL. Benini, M. Magno
Typegraded semester performance
Language of examinationEnglish
RepetitionRepetition only possible after re-enrolling for the course unit.
Additional information on mode of examinationFinal grade will be based on a graded project work that can also be done in teams. The project topic can be chosen freely, as long as it employs content that is taught in this course and it employs machine learning on micro-controllers.

The final project can be done at home, we are providing to the students all the hardware necessary. The final presentation of their work is done via zoom.

Learning materials

No public learning materials available.
Only public learning materials are listed.

Groups

No information on groups available.

Restrictions

General : Special students and auditors need a special permission from the lecturers
Permission from lecturers required for all students
Places40 at the most
PriorityRegistration for the course unit is only possible for the primary target group
Primary target groupRobotics, Systems and Control MSc (159000)
Electrical Engin. + Information Technology MSc (237000)
DAS ETH in Information Techn. + Electrical Engin. (244000)
Electrical Engin. + Information Technology (Mob) (249000)
Waiting listuntil 20.09.2020
End of registration periodRegistration only possible until 27.09.2020

Offered in

ProgrammeSectionType
DAS in Data ScienceHardware for Machine LearningWInformation
Electrical Engineering and Information Technology MasterRecommended SubjectsWInformation
Electrical Engineering and Information Technology MasterSpecialisation CoursesWInformation
Electrical Engineering and Information Technology MasterSpecialisation CoursesWInformation
Electrical Engineering and Information Technology MasterRecommended SubjectsWInformation