Hacker News new | ask | show | jobs
by macrolocal 1231 days ago
Wait-- the residual stream makes the attention mechanism learn the difference from the identity! Are you sure you're not thinking about auto-encoders?

Edit: ok, Discord it is.

2 comments

I don’t believe autodiff is finding the difference in that sense. It’s finding derivatives.
Well, the paper uses gradient descent to minimize that difference, like auto-encoders do.
Gradient descent is just how neural networks (including auto-encoders) optimize parameters to minimize the loss function. They do this using derivatives to descend down the slope of the function. Autodiff is one way to compute the derivatives. Maybe we’re saying the same thing.
Yep, I was just asking Adam* to justify his loss function.

*pun intended :)

Do you see a similarity between residual stream and Dirac function?