Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Automatisch differentiëren
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Michiel Stock
November 25, 2022
93
0
Share
Automatisch differentiëren
Michiel Stock
November 25, 2022
More Decks by Michiel Stock
See All by Michiel Stock
A Slice of Infinity: Building Robust, Interpretable AI for Open-ended Biodesign
michielstock
0
22
KERMIT group structure 2025
michielstock
0
24
HDC tutorial
michielstock
1
600
Kernel mean embedding as a unifying theory for distributional data
michielstock
0
460
Differentiable sequence alignment
michielstock
0
320
Optimal transportation for species interaction networks
michielstock
1
230
Computational tools for designing modular biosystems
michielstock
2
210
A drunkard’s walk in the science of cocktails
michielstock
0
490
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.4k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
210
Optimizing for Happiness
mojombo
378
71k
Exploring anti-patterns in Rails
aemeredith
3
300
The Curious Case for Waylosing
cassininazir
0
290
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
240
Building Adaptive Systems
keathley
44
3k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
500
Why Our Code Smells
bkeepers
PRO
340
58k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
490
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Amusing Abliteration
ianozsvald
1
150
Transcript
AUTODIFF Photo by Matt Duncan on Unsplash Michiel Stock @michielstock
[email protected]
KERMIT 1
Automatisch differentiëren 2 Automatisch differentiëren (autodiff) is het automatisch numeriek
berekenen van afgeleiden en gradiënten van stukjes code door de computationele graaf aan te passen. een computerpakket voor autodiff
Wat is het niet? 3 symbolisch afleiden df(x) dx ≈
f(x + d) − f(x) d numeriek afleiden
Methode van Babylon 4 De methode van Babylon is een
algoritme om de vierkantswortel van een getal te berekenen x merk op dat je enkel optellen en delen gebruikt in de berekeningen
Duale nummers 5 Duale nummers zijn een heel eenvoudige manier
om autodiff te implementeren. Dit is een nieuw soort ‘getal’ dat zowel de waarde als de afgeleide bijhoudt. d (x) dx = 1 2 √ x Dit werkt!
Vergel ij k met symbolisch… 6 Vier stapjes van methode
van Babylon uitgeschreven: Boeltje afleiden maakt het nog erger…
Arti fi ciële intelligentie 7 Een artificieel neural netwerk is
een grote functie met parameters: f(θ) Men definieert dan een verliesfunctie die zegt hoe goed het netwerk werkt: ℒ( f(θ)) De afgeleide zegt hoe je de parameters moet aanpassen om het netwerk better te doen laten werken: θ ∂ℒ( f(θ)) ∂θi
Alles kan afgeleid worden! 8 vloeistofsimulaties eiwitstructuren robots fysicamodellen