An unofficial, read-only Hacker News reader. Join the beta →

The KL Divergence Is Never Negative, Except in PyTorch (opens external site)

97 points by Anon84 3 days ago | arxiv.org | 40 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. I'm reminded of this article that explains that the realities of floating point numbers can introduce non-linearity into an otherwise linear neural network:

    https://openai.com/index/nonlinear-computation-in-deep-linea...

    In this case, the "bug" actually allows the neural net to be more powerful than designed.

    Replies (1)
    1. That's also the premise of Tom7's video "GradIEEEnt half decent: The hidden power of imprecise lines" https://youtu.be/Ae9EKCyI1xU?si=iFcuTv9CxTKPB5Bf & accompanying paper https://tom7.org/grad/