TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What Is Differentiable Programming?

133 pointsby one-more-minuteover 6 years ago

8 comments

throwawaymathover 6 years ago
I have to be honest, I don&#x27;t think this is a good explanation. I don&#x27;t know what differential programming is, but I&#x27;m fairly sure I have the mathematical background to understand it. But I didn&#x27;t come away from this article with any confidence that I&#x27;m following along.<p>On a superficial level it seems like it:<p>1. Generalizes deep learning to an optimization function on decomposable input, and<p>2. Reduces the number of parameters required to learn the input by exploiting the structure of the input, thereby making learning more efficient.<p>Is that correct? Is it completely off? What am I missing? Is there any more meat to the article than this?<p>Could someone who has upvoted this (and ideally understands the topic well) provide a different explanation of the concept? It would be great if I could see a real world example (even a relatively trivial one) represented in both the traditional matrix computation form and the sexy new differentiable form.
评论 #19150963 未加载
评论 #19149768 未加载
评论 #19152324 未加载
评论 #19149393 未加载
评论 #19151606 未加载
damipover 6 years ago
Differentiable does not mean easy to optimize. One could imagine implementing sha-256 using differentiable operators, and yet the system as a whole would not be optimizable at all. It would be interesting to have compilers that optimize the &quot;optimizability&quot; of differentiable programs tho...<p>Also, here are two interesting examples of differentiation through physical systems for classification:<p><a href="https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;1808.08412.pdf" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;1808.08412.pdf</a><p><a href="https:&#x2F;&#x2F;innovate.ee.ucla.edu&#x2F;wp-content&#x2F;uploads&#x2F;2018&#x2F;07&#x2F;2018-optical-ml-neural-network.pdf" rel="nofollow">https:&#x2F;&#x2F;innovate.ee.ucla.edu&#x2F;wp-content&#x2F;uploads&#x2F;2018&#x2F;07&#x2F;2018...</a>
ricksharpover 6 years ago
Could someone list some practical examples where Differential Programming would be useful?<p>I am familiar where Nueral Networks and Convolutional Networks have done well especially around image processing etc.<p>But I can’t imagine where having differential code would help unless it is just tying multiple neural networks together in a continuous chain of differentiation.<p>For most programming tasks, I can’t imagine how differentiation would be possible or beneficial.<p>Is there a possibility that one could start with a series of unit tests and partial results and through gradient descent actually arrive at additional passing test cases? Most of the time in my experience, passing additional test cases like this requires significantly more complex structures that would not be found via differentiation.
评论 #19151364 未加载
评论 #19152263 未加载
评论 #19152455 未加载
评论 #19150835 未加载
评论 #19151342 未加载
ktpsnsover 6 years ago
Something I don&#x27;t understand about Automatic Differentiation is: Why not use a Computer Algebra System instead for generating derivatives of given functions?
评论 #19151902 未加载
评论 #19151593 未加载
评论 #19156739 未加载
评论 #19151631 未加载
评论 #19151566 未加载
评论 #19152690 未加载
ricksharpover 6 years ago
I found this paper that helps answer the question: <a href="https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;1803.10228.pdf" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;1803.10228.pdf</a>
评论 #19149713 未加载
评论 #19157914 未加载
xitriumover 6 years ago
Be cautious using this article to try to learn anything. Differentiable programming is not actually related to deep learning; it&#x27;s another word for automatic differentiation, a technique that is very important in deep learning implementations but useful for a variety of other tasks where having gradients available for arbitrary functions is useful.<p>The article is correct that &quot;Differentiable Programming&quot; seems to be a rebranding effort that I believe just helped automatic differentiation work from the machine learning world get published in Programming Languages journals. I wouldn&#x27;t read too much into it.
tanilamaover 6 years ago
Is Differentiable Programming just a rebranding of tape-based auto differentiation?
评论 #19150045 未加载
hnuser355over 6 years ago
What the hell is that supposed to mean and how it’s different from automatic differentiation
评论 #19149370 未加载