Differentiable programming

Differentiable programming is a programming paradigm in which a numeric computer program can be differentiated throughout via automatic differentiation.[1][2][3][4][5] This allows for gradient-based optimization of parameters in the program, often via gradient descent, as well as other learning approaches that are based on higher order derivative information. Differentiable programming has found use in a wide variety of areas, particularly scientific computing and machine learning.[5] One of the early proposals to adopt such a framework in a systematic fashion to improve upon learning algorithms was made by the Advanced Concepts Team at the European Space Agency in early 2016.[6]

Approaches

Most differentiable programming frameworks work by constructing a graph containing the control flow and data structures in the program.[7] Attempts generally fall into two groups:

  • Static, compiled graph-based approaches such as TensorFlow,[note 1] Theano, and MXNet. They tend to allow for good compiler optimization and easier scaling to large systems, but their static nature limits interactivity and the types of programs that can be created easily (e.g. those involving loops or recursion), as well as making it harder for users to reason effectively about their programs.[7] A proof of concept compiler toolchain called Myia uses a subset of Python as a front end and supports higher-order functions, recursion, and higher-order derivatives.[8][9][10]
  • Operator overloading, dynamic graph based approaches such as PyTorch, NumPy's autograd package as well as Pyaudi. Their dynamic and interactive nature lets most programs be written and reasoned about more easily. However, they lead to interpreter overhead (particularly when composing many small operations), poorer scalability, and reduced benefit from compiler optimization.[9][10]

The use of Just-in-Time compilation has emerged recently as a possible solution to overcome some of the bottlenecks of interpreted languages. The C++ heyoka and python package heyoka.py make large use of this technique to offer advanced differentiable programming capabilities (also at high orders). A package for the Julia programming language – Zygote – works directly on Julia's intermediate representation. [7][11][5]

A limitation of earlier approaches is that they are only able to differentiate code written in a suitable manner for the framework, limiting their interoperability with other programs. Newer approaches resolve this issue by constructing the graph from the language's syntax or IR, allowing arbitrary code to be differentiated. [7][9]

Applications

Differentiable programming has been applied in areas such as combining deep learning with physics engines in robotics,[12] solving electronic structure problems with differentiable density functional theory,[13] differentiable ray tracing,[14] image processing,[15] and probabilistic programming.[5]

Multidisciplinary application

Differentiable programming is making significant strides in various fields beyond its traditional applications. In healthcare and life sciences, for example, it is being used for deep learning in biophysics-based modelling of molecular mechanisms. This involves leveraging differentiable programming in areas such as protein structure prediction and drug discovery. These applications demonstrate the potential of differentiable programming in contributing to significant advancements in understanding complex biological systems and improving healthcare solutions.[16]

See also

Notes

  1. ^ TensorFlow 1 uses the static graph approach, whereas TensorFlow 2 uses the dynamic graph approach by default.

References

  1. ^ Izzo, Dario; Biscani, Francesco; Mereta, Alessio (2017). "Differentiable Genetic Programming". Genetic Programming. Lecture Notes in Computer Science. Vol. 10196. pp. 35–51. arXiv:1611.04766. doi:10.1007/978-3-319-55696-3_3. ISBN 978-3-319-55695-6. S2CID 17786263.
  2. ^ Baydin, Atilim Gunes; Pearlmutter, Barak A.; Radul, Alexey Andreyevich; Siskind, Jeffrey Mark (2018). "Automatic Differentiation in Machine Learning: a Survey". Journal of Marchine Learning Research. 18 (153): 1–43.
  3. ^ Wang, Fei; Decker, James; Wu, Xilun; Essertel, Gregory; Rompf, Tiark (2018). "Backpropagation with Callbacks: Foundations for Efficient and Expressive Differentiable Programming" (PDF). In Bengio, S.; Wallach, H.; Larochelle, H.; Grauman, K (eds.). NIPS'18: Proceedings of the 32nd International Conference on Neural Information Processing Systems. Curran Associates. pp. 10201–10212.
  4. ^ Innes, Mike (2018). "On Machine Learning and Programming Languages" (PDF). SysML Conference 2018. Archived from the original (PDF) on 2019-07-17. Retrieved 2019-07-04.
  5. ^ a b c d Innes, Mike; Edelman, Alan; Fischer, Keno; Rackauckas, Chris; Saba, Elliot; Viral B Shah; Tebbutt, Will (2019). "A Differentiable Programming System to Bridge Machine Learning and Scientific Computing". arXiv:1907.07587.
  6. ^ "Differential Intelligence". October 2016. Retrieved 2022-10-19.
  7. ^ a b c d Innes, Michael; Saba, Elliot; Fischer, Keno; Gandhi, Dhairya; Marco Concetto Rudilosso; Neethu Mariya Joy; Karmali, Tejan; Pal, Avik; Shah, Viral (2018). "Fashionable Modelling with Flux". arXiv:1811.01457.
  8. ^ Merriënboer, Bart van; Breuleux, Olivier; Bergeron, Arnaud; Lamblin, Pascal (3 December 2018). "Automatic differentiation in ML: where we are and where we should be going". NIPS'18. Vol. 31. pp. 8771–81.
  9. ^ a b c Breuleux, O.; van Merriënboer, B. (2017). "Automatic Differentiation in Myia" (PDF). Archived from the original (PDF) on 2019-06-24. Retrieved 2019-06-24.
  10. ^ a b "TensorFlow: Static Graphs". Tutorials: Learning PyTorch. PyTorch.org. Retrieved 2019-03-04.
  11. ^ Innes, Michael (2018). "Don't Unroll Adjoint: Differentiating SSA-Form Programs". arXiv:1810.07951.
  12. ^ Degrave, Jonas; Hermans, Michiel; Dambre, Joni; wyffels, Francis (2016). "A Differentiable Physics Engine for Deep Learning in Robotics". arXiv:1611.01652.
  13. ^ Li, Li; Hoyer, Stephan; Pederson, Ryan; Sun, Ruoxi; Cubuk, Ekin D.; Riley, Patrick; Burke, Kieron (2021). "Kohn-Sham Equations as Regularizer: Building Prior Knowledge into Machine-Learned Physics". Physical Review Letters. 126 (3): 036401. arXiv:2009.08551. Bibcode:2021PhRvL.126c6401L. doi:10.1103/PhysRevLett.126.036401. PMID 33543980.
  14. ^ Li, Tzu-Mao; Aittala, Miika; Durand, Frédo; Lehtinen, Jaakko (2018). "Differentiable Monte Carlo Ray Tracing through Edge Sampling". ACM Transactions on Graphics. 37 (6): 222:1–11. doi:10.1145/3272127.3275109. S2CID 52839714.
  15. ^ Li, Tzu-Mao; Gharbi, Michaël; Adams, Andrew; Durand, Frédo; Ragan-Kelley, Jonathan (August 2018). "Differentiable Programming for Image Processing and Deep Learning in Halide". ACM Transactions on Graphics. 37 (4): 139:1–13. doi:10.1145/3197517.3201383. S2CID 46927588.
  16. ^ AlQuraishi, Mohammed; Sorger, Peter K. (October 2021). "Differentiable biology: using deep learning for biophysics-based and data-driven modeling of molecular mechanisms". Nature Methods. 18 (10): 1169–1180. doi:10.1038/s41592-021-01283-4. PMC 8793939. PMID 34608321.

Read other articles:

Questa voce sull'argomento contee del Kentucky è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Contea di ClintonconteaLocalizzazioneStato Stati Uniti Stato federato Kentucky AmministrazioneCapoluogoAlbany Data di istituzione1836 TerritorioCoordinatedel capoluogo36°40′N 88°59′W / 36.666667°N 88.983333°W36.666667; -88.983333 (Contea di Clinton)Coordinate: 36°40′N 88°59′W / 36.666667°N 88.983333°W36…

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Malingping, Lebak – berita · surat kabar · buku · cendekiawan · JSTOR MalingpingKecamatanNegara IndonesiaProvinsiBantenKabupatenLebakPemerintahan • Camat-Populasi • Total... jiw…

This article is about the year 1540. For the disc drive, see Commodore 1540. For The United Nations Security Council Resolution, see United Nations Security Council Resolution 1540. Calendar year Millennium: 2nd millennium Centuries: 15th century 16th century 17th century Decades: 1520s 1530s 1540s 1550s 1560s Years: 1537 1538 1539 1540 1541 1542 1543 1540 by topic Arts and science Architecture Art Literature Music Science Leaders Political entities State leaders Colonial gov…

Défilé militaire du 14 Juillet Défilé sur les Champs-Élysées le 14 juillet 2017, VBCI du 16e bataillon de Chasseurs. Type Défilé militaire Création 1880 Pays France Localisation Paris modifier  Le défilé militaire du 14 Juillet[1] est une parade militaire organisée chaque année depuis 1880 à Paris à l'occasion de la fête nationale française. Le gouverneur militaire de Paris est responsable de l'organisation générale du défilé. Cette manifestation militaire invite parfoi…

この項目には、一部のコンピュータや閲覧ソフトで表示できない文字が含まれています(詳細)。 数字の大字(だいじ)は、漢数字の一種。通常用いる単純な字形の漢数字(小字)の代わりに同じ音の別の漢字を用いるものである。 概要 壱万円日本銀行券(「壱」が大字) 弐千円日本銀行券(「弐」が大字) 漢数字には「一」「二」「三」と続く小字と、「壱」「弐」…

Pour les articles homonymes, voir Soldati. Mario Soldati Mario Soldati en 1967 Données clés Alias Franco Pallavera Naissance 17 novembre 1906 Turin, Italie Décès 19 juin 1999 (à 92 ans) Tellaro, Lerici, Italie Activité principale Écrivain, réalisateur scénariste Distinctions Prix Stregaprix NapoliPrix Campiello Auteur Langue d’écriture italien Genres roman, nouvelle, essai, scénario Œuvres principales Le Festin du commandeur Les Lettres de Capri L'Épouse américaine modifier …

Supreme Court of the United States38°53′26″N 77°00′16″W / 38.89056°N 77.00444°W / 38.89056; -77.00444EstablishedMarch 4, 1789; 235 years ago (1789-03-04)LocationWashington, D.C.Coordinates38°53′26″N 77°00′16″W / 38.89056°N 77.00444°W / 38.89056; -77.00444Composition methodPresidential nomination with Senate confirmationAuthorized byConstitution of the United States, Art. III, § 1Judge term lengthlife …

هنودمعلومات عامةنسبة التسمية الهند التعداد الكليالتعداد قرابة 1.21 مليار[1][2]تعداد الهند عام 2011ق. 1.32 مليار[3]تقديرات عام 2017ق. 30.8 مليون[4]مناطق الوجود المميزةبلد الأصل الهند البلد الهند  الهند نيبال 4,000,000[5] الولايات المتحدة 3,982,398[6] الإمارا…

Музей природы и экологии Республики БеларусьМузей прыроды і экалогіі Рэспублікі Беларусь Дата основания 25 июля 1983 года Дата открытия Февраль 1992 года Местонахождение Минск Адрес г. Минск, улица Карла Маркса, д.12, каб.11 Сайт pryroda.histmuseum.by/ru/  Медиафайлы на Викискладе Музей п…

土库曼斯坦总统土库曼斯坦国徽土库曼斯坦总统旗現任谢尔达尔·别尔德穆哈梅多夫自2022年3月19日官邸阿什哈巴德总统府(Oguzkhan Presidential Palace)機關所在地阿什哈巴德任命者直接选举任期7年,可连选连任首任萨帕尔穆拉特·尼亚佐夫设立1991年10月27日 土库曼斯坦土库曼斯坦政府与政治 国家政府 土库曼斯坦宪法 国旗 国徽 国歌 立法機關(英语:National Council of Turkmenistan) 土…

NS-37 redirects here. For other uses, see NS37 (disambiguation). Autocannon Nudelman—Suranov NS-37 Il-2 with NS-37 cannon in under-wing podsTypeAutocannonPlace of originSoviet UnionService historyIn service1943–1945Used bySoviet UnionWarsWorld War IIProduction historyDesignerA. E. Nudelman and A. SuranovDesigned1941ManufacturerIzhmashProduced1942–1945No. built6833SpecificationsMass170/160 kg (with motor/wing mount)Length3.41 mBarrel length2.3 mWidth21.5 cmHeig…

Jang Gyu-ri Jang Gyuri (bahasa Korea: 장규리) (lahir 27 Desember 1997) adalah seorang penyanyi Korea Selatan Ia adalah eks anggota grup vokal perempuan fromis 9. Pada Juli 2017, Gyuri ikut serta dalam acara survival show Idol School. dan meraih peringkat kesembilan. Ia kemudian melakukan debut dengan grup vokal perempuan fromis 9, di bawah kontrak CJ E&M Music dan Stone Music Entertainment. Pada Mei 2018, Gyuri menjadi kontestan dalam acara Produce 48.[1][2] Pada 26 Ag…

South Korean variety show Super Junior's Super TVGenreVariety ShowWritten byLee Ye JiDirected byChun Myung HyunCreative directorLee Ye JiStarringSuper JuniorOpening themeSmith SumnerCountry of originSouth KoreaOriginal languageKoreanProductionExecutive producersLee Hun-hee, Kim Dong-junProducerPark Ju MiProduction locationSouth KoreaProduction companyS.M. Culture & ContentsOriginal releaseNetworkXtvN, tvN, tvN Asia, Mnet JapanReleaseJanuary 26 (2018-01-26) –August 23, 2018 (…

Навчально-науковий інститут інноваційних освітніх технологій Західноукраїнського національного університету Герб навчально-наукового інституту інноваційних освітніх технологій ЗУНУ Скорочена назва ННІІОТ ЗУНУ Основні дані Засновано 2013 Заклад Західноукраїнський на…

Stasiun Kita-Ōmagari北大曲駅Stasiun Kita-Ōmagari pada Oktober 2006LokasiYotsuya Aze Shimoaraichi 192, Daisen, Akita(秋田県大仙市四ツ屋字下新谷地192)JepangKoordinat39°29′22.3″N 140°29′52.8″E / 39.489528°N 140.498000°E / 39.489528; 140.498000Koordinat: 39°29′22.3″N 140°29′52.8″E / 39.489528°N 140.498000°E / 39.489528; 140.498000Operator JR EastJalur■ Jalur TazawakoLetak72.0 kilometer dari MoriokaJumla…

Jaap de Hoop Scheffer Jakob Gijsbert Jaap de Hoop Scheffer (lahir 3 April 1948) ialah seorang politikus Belanda. Ia adalah anggota partai Kristen Demokrat CDA dan pernah menjabat sebagai Menteri Luar Negeri Belanda. Sejak tahun 2004 ia menjabat sebagai Sekretaris Jenderal NATO. Pada tahun 2009, ia digantikan oleh Anders Fogh Rasmussen. Wikimedia Commons memiliki media mengenai Jaap de Hoop Scheffer. Didahului oleh:Enneüs Heerma Ketua Fraksi Banding Kristen Demokrat di Dewan Perwakilan1997-2002 …

Public university in the Basque Autonomous Community of Spain University of the Basque CountryUniversidad del País Vasco (UPV)Euskal Herriko Unibertsitatea (EHU)MottoEman ta zabal zazu (Give and extend knowledge)TypePublicEstablished1980 (1980)Academic affiliationsCompostela Group of UniversitiesBudget€478 million (2009–10)RectorEva FerreiraAcademic staff3,420 (2009–10)[1]Students44,921 (2009–10)[1]Undergraduates42,026 (2009–10)[1]Postgraduates2,895 (2009…

British eugenicist, polymath, and behavioral geneticist (1822–1911) Galton redirects here. For other uses, see Galton (disambiguation). SirFrancis GaltonFRS FRAIAn 1882 portrait of Galton by Gustav GraefBorn(1822-02-16)16 February 1822Birmingham, EnglandDied17 January 1911(1911-01-17) (aged 88)Haslemere, Surrey, EnglandResting placeClaverdon, Warwickshire, EnglandAlma materKing's College, LondonTrinity College, CambridgeKnown forEugenicsBehavioural geneticsRegression toward the …

Government agency of Kenya Politics of Kenya National Government Constitution History Human rights LGBT rights Executive President (list) William Ruto Deputy President Rigathi Gachagua Cabinet Prime Cabinet Secretary Musalia Mudavadi Attorney General Justin Muturi Director of Public Prosecutions Renson M. Ingonga Legislature National Assembly Speaker: Moses Wetangula List of members Constituencies Senate Speaker: Amason Kingi List of members Judiciary Chief Justice Martha Koome Deputy Chief Just…

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (نوفمبر 2019) بطولة الأمم الرئيسية 1902 تفاصيل الموسم بطولة الأمم الست  النسخة 20  التاريخ بداية:11 يناير 1902  نهاية:15 …