Hi everyone,
I’m sort of a beginner in Pytorch and I’m trying to implement a implicit matrix factorization model which uses Alternating Least Squares (ALS). I’m trying to see if it’s even possible to implement ALS as an optimizer or loss function to update gradients because I’m not seeing a way to “fix” one embedding’s gradient temporarily in order to calculate the gradient of another.
Any thoughts or inputs is much appreciated.