Academic Journal

Rose: Composable Autodiff for the Interactive Web

Λεπτομέρειες βιβλιογραφικής εγγραφής
Τίτλος: Rose: Composable Autodiff for the Interactive Web
Συγγραφείς: Estep, Sam, Ni, Wode, Rothkopf, Raven, Sunshine, Joshua
Συνεισφορές: Sam Estep and Wode Ni and Raven Rothkopf and Joshua Sunshine
Στοιχεία εκδότη: Schloss Dagstuhl – Leibniz-Zentrum für Informatik
Έτος έκδοσης: 2024
Συλλογή: DROPS - Dagstuhl Research Online Publication Server (Schloss Dagstuhl - Leibniz Center for Informatics )
Θεματικοί όροι: Automatic differentiation, differentiable programming, compilers, web
Περιγραφή: Reverse-mode automatic differentiation (autodiff) has been popularized by deep learning, but its ability to compute gradients is also valuable for interactive use cases such as bidirectional computer-aided design, embedded physics simulations, visualizing causal inference, and more. Unfortunately, the web is ill-served by existing autodiff frameworks, which use autodiff strategies that perform poorly on dynamic scalar programs, and pull in heavy dependencies that would result in unacceptable webpage sizes. This work introduces Rose, a lightweight autodiff framework for the web using a new hybrid approach to reverse-mode autodiff, blending conventional tracing and transformation techniques in a way that uses the host language for metaprogramming while also allowing the programmer to explicitly define reusable functions that comprise a larger differentiable computation. We demonstrate the value of the Rose design by porting two differentiable physics simulations, and evaluate its performance on an optimization-based diagramming application, showing Rose outperforming the state-of-the-art in web-based autodiff by multiple orders of magnitude.
Τύπος εγγράφου: article in journal/newspaper
conference object
Περιγραφή αρχείου: application/pdf
Γλώσσα: English
Relation: Is Part Of LIPIcs, Volume 313, 38th European Conference on Object-Oriented Programming (ECOOP 2024); https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ECOOP.2024.15
DOI: 10.4230/LIPIcs.ECOOP.2024.15
Διαθεσιμότητα: https://doi.org/10.4230/LIPIcs.ECOOP.2024.15
https://nbn-resolving.org/urn:nbn:de:0030-drops-208642
https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ECOOP.2024.15
Rights: https://creativecommons.org/licenses/by/4.0/legalcode
Αριθμός Καταχώρησης: edsbas.4686845B
Βάση Δεδομένων: BASE