Skip to main content
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Machine Learning

arXiv:1810.11530 (cs)
[Submitted on 26 Oct 2018 (v1), last revised 2 Jan 2019 (this version, v2)]

Title:Automatic differentiation in ML: Where we are and where we should be going

Authors:Bart van Merriënboer, Olivier Breuleux, Arnaud Bergeron, Pascal Lamblin
View a PDF of the paper titled Automatic differentiation in ML: Where we are and where we should be going, by Bart van Merri\"enboer and 3 other authors
View PDF
Abstract:We review the current state of automatic differentiation (AD) for array programming in machine learning (ML), including the different approaches such as operator overloading (OO) and source transformation (ST) used for AD, graph-based intermediate representations for programs, and source languages. Based on these insights, we introduce a new graph-based intermediate representation (IR) which specifically aims to efficiently support fully-general AD for array programming. Unlike existing dataflow programming representations in ML frameworks, our IR naturally supports function calls, higher-order functions and recursion, making ML models easier to implement. The ability to represent closures allows us to perform AD using ST without a tape, making the resulting derivative (adjoint) program amenable to ahead-of-time optimization using tools from functional language compilers, and enabling higher-order derivatives. Lastly, we introduce a proof of concept compiler toolchain called Myia which uses a subset of Python as a front end.
Subjects: Machine Learning (cs.LG); Programming Languages (cs.PL); Machine Learning (stat.ML)
Cite as: arXiv:1810.11530 [cs.LG]
  (or arXiv:1810.11530v2 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.1810.11530
arXiv-issued DOI via DataCite

Submission history

From: Pascal Lamblin [view email]
[v1] Fri, 26 Oct 2018 21:09:07 UTC (423 KB)
[v2] Wed, 2 Jan 2019 21:16:54 UTC (423 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Automatic differentiation in ML: Where we are and where we should be going, by Bart van Merri\"enboer and 3 other authors
  • View PDF
  • TeX Source
view license

Current browse context:

cs.LG
< prev   |   next >
new | recent | 2018-10
Change to browse by:
cs
cs.PL
stat
stat.ML

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Bart van Merriënboer
Olivier Breuleux
Arnaud Bergeron
Pascal Lamblin
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences