News for hackers. Stuff that matters.
Re:Transformer learning explained: Coinductive guide to indu... by adamnemecek on Tuesday February 28, 2023 @01:37PM (#34973025)
You are right, I will rectify that. The statement still holds I just need to provide a justification.
Re:Transformer learning explained: Coinductive guide to indu... by adamnemecek on Tuesday February 28, 2023 @08:03PM (#34977358)
Just FYI when you lookup visualizations of the attention matrices, they tend to be somewhat symmetric.
Re:Transformer learning explained: Coinductive guide to indu... by east2west on Wednesday March 01, 2023 @03:33AM (#34980060)
I think that sentence is confusing but mathematical conclusion still stands. For quadratic forms, we are only concerned with symmetric matrices, or the symmetric part of any real matrix, because we can always replace any square matrix in a quadratic form, x^T A x, by x^T (A + A^T)/2 x, the symmetric part of the matrix, and the quadratic form still retains the original value. Then, for symmetric matrices, their eigenvalues being positive implies that the matrices are positive definite. Symmetric square matrices have real eigenvalues; one can prove this by taking the complement of quadratic forms.