Please use this identifier to cite or link to this item: https://doi.org/10.21256/zhaw-30408
Full metadata record
DC FieldValueLanguage
dc.contributor.authorMeyer, Benjamin-
dc.contributor.authorStadelmann, Thilo-
dc.contributor.authorLüthi, Marcel-
dc.date.accessioned2024-03-27T15:50:42Z-
dc.date.available2024-03-27T15:50:42Z-
dc.date.issued2024-05-31-
dc.identifier.urihttps://digitalcollection.zhaw.ch/handle/11475/30408-
dc.description.abstractWhile the data science ecosystem is dominated by programming languages that do not feature a strong type system, it is widely agreed that using strongly typed programming languages leads to more maintainable and less error-prone code and ultimately more trustworthy results. We believe Scala 3 would be an excellent contender for data science in a strongly typed language, but it lacks a general automatic differentiation library, e.g., for gradient-based learning.We present ScalaGrad, a general and type-safe automatic differentiation library designed for Scala. It builds on and improves a novel approach from the functional programming community using immutable duals, which is conceptually simple, asymptotically optimal and allows differentiation of higher-order code. We demonstrate the ease of use, robust performance, and versatility of ScalaGrad through its applications to deep learning, higher-order optimization, and gradient-based sampling. Specifically, we show an execution speed comparable to PyTorch for a simple deep learning use case, capabilities for higher-order differentiation, and opportunities to design more specialized libraries decoupled from ScalaGrad. As data science challenges evolve in complexity, ScalaGrad provides a pathway to harness the inherent advantages of strongly typed languages, ensuring both robustness and maintainability.de_CH
dc.language.isoende_CH
dc.publisherZHAW Zürcher Hochschule für Angewandte Wissenschaftende_CH
dc.rightsLicence according to publishing contractde_CH
dc.subjectAutomatic differentiationde_CH
dc.subjectScala 3de_CH
dc.subjectScalaGradde_CH
dc.subject.ddc005: Computerprogrammierung, Programme und Datende_CH
dc.titleScalaGrad : a statically typed automatic differentiation library for safer data sciencede_CH
dc.typeKonferenz: Paperde_CH
dcterms.typeTextde_CH
zhaw.departementSchool of Engineeringde_CH
zhaw.organisationalunitCentre for Artificial Intelligence (CAI)de_CH
dc.identifier.doi10.21256/zhaw-30408-
zhaw.conference.details11th IEEE Swiss Conference on Data Science (SDS), Zurich, Switzerland, 30-31 May 2024de_CH
zhaw.funding.euNode_CH
zhaw.originated.zhawYesde_CH
zhaw.publication.statusacceptedVersionde_CH
zhaw.publication.reviewPeer review (Publikation)de_CH
zhaw.webfeedDatalabde_CH
zhaw.webfeedMachine Perception and Cognitionde_CH
zhaw.webfeedZHAW digitalde_CH
zhaw.author.additionalNode_CH
zhaw.display.portraitYesde_CH
Appears in collections:Publikationen School of Engineering

Files in This Item:
File Description SizeFormat 
2024_Meyer-etal_ScalaGrad_SDS.pdfAccepted Version102.74 kBAdobe PDFThumbnail
View/Open
Show simple item record
Meyer, B., Stadelmann, T., & Lüthi, M. (2024, May 31). ScalaGrad : a statically typed automatic differentiation library for safer data science. 11th IEEE Swiss Conference on Data Science (SDS), Zurich, Switzerland, 30-31 May 2024. https://doi.org/10.21256/zhaw-30408
Meyer, B., Stadelmann, T. and Lüthi, M. (2024) ‘ScalaGrad : a statically typed automatic differentiation library for safer data science’, in 11th IEEE Swiss Conference on Data Science (SDS), Zurich, Switzerland, 30-31 May 2024. ZHAW Zürcher Hochschule für Angewandte Wissenschaften. Available at: https://doi.org/10.21256/zhaw-30408.
B. Meyer, T. Stadelmann, and M. Lüthi, “ScalaGrad : a statically typed automatic differentiation library for safer data science,” in 11th IEEE Swiss Conference on Data Science (SDS), Zurich, Switzerland, 30-31 May 2024, May 2024. doi: 10.21256/zhaw-30408.
MEYER, Benjamin, Thilo STADELMANN und Marcel LÜTHI, 2024. ScalaGrad : a statically typed automatic differentiation library for safer data science. In: 11th IEEE Swiss Conference on Data Science (SDS), Zurich, Switzerland, 30-31 May 2024. Conference paper. ZHAW Zürcher Hochschule für Angewandte Wissenschaften. 31 Mai 2024
Meyer, Benjamin, Thilo Stadelmann, and Marcel Lüthi. 2024. “ScalaGrad : A Statically Typed Automatic Differentiation Library for Safer Data Science.” Conference paper. In 11th IEEE Swiss Conference on Data Science (SDS), Zurich, Switzerland, 30-31 May 2024. ZHAW Zürcher Hochschule für Angewandte Wissenschaften. https://doi.org/10.21256/zhaw-30408.
Meyer, Benjamin, et al. “ScalaGrad : A Statically Typed Automatic Differentiation Library for Safer Data Science.” 11th IEEE Swiss Conference on Data Science (SDS), Zurich, Switzerland, 30-31 May 2024, ZHAW Zürcher Hochschule für Angewandte Wissenschaften, 2024, https://doi.org/10.21256/zhaw-30408.


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.