Academic Journal
Rose: Composable Autodiff for the Interactive Web
| Title: | Rose: Composable Autodiff for the Interactive Web |
|---|---|
| Authors: | Estep, Sam, Ni, Wode, Rothkopf, Raven, Sunshine, Joshua |
| Contributors: | Sam Estep and Wode Ni and Raven Rothkopf and Joshua Sunshine |
| Publisher Information: | Schloss Dagstuhl – Leibniz-Zentrum für Informatik |
| Publication Year: | 2024 |
| Collection: | DROPS - Dagstuhl Research Online Publication Server (Schloss Dagstuhl - Leibniz Center for Informatics ) |
| Subject Terms: | Automatic differentiation, differentiable programming, compilers, web |
| Description: | 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. |
| Document Type: | article in journal/newspaper conference object |
| File Description: | application/pdf |
| Language: | 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 |
| Availability: | 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 |
| Accession Number: | edsbas.4686845B |
| Database: | BASE |
| FullText | Text: Availability: 0 CustomLinks: – Url: https://doi.org/10.4230/LIPIcs.ECOOP.2024.15# Name: EDS - BASE (ns324271) Category: fullText Text: View record from BASE |
|---|---|
| Header | DbId: edsbas DbLabel: BASE An: edsbas.4686845B RelevancyScore: 960 AccessLevel: 3 PubType: Academic Journal PubTypeId: academicJournal PreciseRelevancyScore: 959.983581542969 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: Rose: Composable Autodiff for the Interactive Web – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Estep%2C+Sam%22">Estep, Sam</searchLink><br /><searchLink fieldCode="AR" term="%22Ni%2C+Wode%22">Ni, Wode</searchLink><br /><searchLink fieldCode="AR" term="%22Rothkopf%2C+Raven%22">Rothkopf, Raven</searchLink><br /><searchLink fieldCode="AR" term="%22Sunshine%2C+Joshua%22">Sunshine, Joshua</searchLink> – Name: Author Label: Contributors Group: Au Data: Sam Estep and Wode Ni and Raven Rothkopf and Joshua Sunshine – Name: Publisher Label: Publisher Information Group: PubInfo Data: Schloss Dagstuhl – Leibniz-Zentrum für Informatik – Name: DatePubCY Label: Publication Year Group: Date Data: 2024 – Name: Subset Label: Collection Group: HoldingsInfo Data: DROPS - Dagstuhl Research Online Publication Server (Schloss Dagstuhl - Leibniz Center for Informatics ) – Name: Subject Label: Subject Terms Group: Su Data: <searchLink fieldCode="DE" term="%22Automatic+differentiation%22">Automatic differentiation</searchLink><br /><searchLink fieldCode="DE" term="%22differentiable+programming%22">differentiable programming</searchLink><br /><searchLink fieldCode="DE" term="%22compilers%22">compilers</searchLink><br /><searchLink fieldCode="DE" term="%22web%22">web</searchLink> – Name: Abstract Label: Description Group: Ab Data: 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. – Name: TypeDocument Label: Document Type Group: TypDoc Data: article in journal/newspaper<br />conference object – Name: Format Label: File Description Group: SrcInfo Data: application/pdf – Name: Language Label: Language Group: Lang Data: English – Name: NoteTitleSource Label: Relation Group: SrcInfo Data: 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 – Name: DOI Label: DOI Group: ID Data: 10.4230/LIPIcs.ECOOP.2024.15 – Name: URL Label: Availability Group: URL Data: https://doi.org/10.4230/LIPIcs.ECOOP.2024.15<br />https://nbn-resolving.org/urn:nbn:de:0030-drops-208642<br />https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ECOOP.2024.15 – Name: Copyright Label: Rights Group: Cpyrght Data: https://creativecommons.org/licenses/by/4.0/legalcode – Name: AN Label: Accession Number Group: ID Data: edsbas.4686845B |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edsbas&AN=edsbas.4686845B |
| RecordInfo | BibRecord: BibEntity: Identifiers: – Type: doi Value: 10.4230/LIPIcs.ECOOP.2024.15 Languages: – Text: English Subjects: – SubjectFull: Automatic differentiation Type: general – SubjectFull: differentiable programming Type: general – SubjectFull: compilers Type: general – SubjectFull: web Type: general Titles: – TitleFull: Rose: Composable Autodiff for the Interactive Web Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Estep, Sam – PersonEntity: Name: NameFull: Ni, Wode – PersonEntity: Name: NameFull: Rothkopf, Raven – PersonEntity: Name: NameFull: Sunshine, Joshua – PersonEntity: Name: NameFull: Sam Estep and Wode Ni and Raven Rothkopf and Joshua Sunshine IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 01 Type: published Y: 2024 Identifiers: – Type: issn-locals Value: edsbas – Type: issn-locals Value: edsbas.oa |
| ResultId | 1 |