News for hackers. Stuff that matters.
Re:Demystifying Differentiable Programming (2018) by samth on Sunday February 16, 2020 @08:21PM (#22344834)
Your notes, while simple, don't cover many of the things the paper does, such as binding or functions or sharing.
Re:Demystifying Differentiable Programming (2018) by tome on Monday February 17, 2020 @02:54AM (#22346211)
You're right they don't cover functions. I don't understand what about binding or sharing they don't deal with though. Could you elaborate?
Re:Demystifying Differentiable Programming (2018) by tiarkrompf on Monday February 17, 2020 @03:40PM (#22350526)
For starters, what if you want to differentiate through code that traverses a collection, for example:

    val x = ...
    ys.map(y => y + x)
Each loop iteration needs to contribute a gradient update to x, which is defined in an outer scope. And what if y => y + x is not given as an inline lambda, but defined elsewhere. It doesn't seem like your blog posts discusses any such cases.
Re:Demystifying Differentiable Programming (2018) by tome on Tuesday February 18, 2020 @03:37AM (#22354433)
Correct, it doesn't discuss that case, indeed it doesn't treat user-defined functions at all. I just don't understand in what sense it doesn't treat binding or sharing.