A Domain-Specific Language for Crossplatform, Edge-deployed Machine Learning Models: A Model Interpretation-based Approach

dc.contributor.authorKarlsson Landgren, Albin
dc.contributor.authorPerhult Johnsen, Philip
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerHeyn, Hans-Martin
dc.contributor.supervisorStrĂĽber, Daniel
dc.date.accessioned2024-10-17T13:40:58Z
dc.date.available2024-10-17T13:40:58Z
dc.date.issued
dc.date.submitted
dc.description.abstractDeploying machine learning (ML) models on edge devices presents unique challenges. The challenges arise from the different environments used for developing ML models and those required for their deployment, leading to a gray area of competence and expertise between ML engineers and application developers. This thesis presents the design and implementation of a domain-specific language aimed at simplifying the deployment of ML models on edge devices, specifically smartphones. It aims to bridge the gap between ML engineers and application engineers, creating a shared platform for deploying ML models on edge devices. The study exists at the intersection of model-driven engineering, machine learning, and cross-platform smartphone development. It explores model-driven engineering in an environment where developers don’t have full control over the deployment platform, using model interpretation to generate ML serving pipelines (pre- and postprocessing of data before and after inference) during runtime, thus removing the need to re-release an application upon changes to a pipeline. We follow a design science approach consisting of three research cycles. We elicited requirements through an initial literature study and interviews with engineers at the collaboration company. This was followed by designing and implementing an artifact within the domain presented above. Finally, we evaluated the proposed solution with engineers at the collaboration company through a controlled experiment and subsequent qualitative interviews. The developed artifact consists of a lightweight, JSON-based domain-specific language designed to describe ML serving pipelines, along with an accompanying Flutter library to generate the pipelines during runtime. The evaluation showed that it increased development speed, decreased the amount of code required to make changes to an ML serving pipeline, and made engineers less experienced in mobile development more confident contributing to the domain.
dc.identifier.coursecodeDATX05
dc.identifier.urihttp://hdl.handle.net/20.500.12380/308926
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectcomputer
dc.subjectscience
dc.subjectcomputer science
dc.subjectengineering
dc.subjectproject
dc.subjectthesis
dc.titleA Domain-Specific Language for Crossplatform, Edge-deployed Machine Learning Models: A Model Interpretation-based Approach
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeSoftware engineering and technology (MPSOF), MSc
Ladda ner
Original bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 24-28 AKL PJ.pdf
Storlek:
2.36 MB
Format:
Adobe Portable Document Format
Beskrivning:
License bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: