Add LightGCN support to FlexMF#1033
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1033 +/- ##
==========================================
+ Coverage 89.47% 89.48% +0.01%
==========================================
Files 222 222
Lines 15372 15441 +69
==========================================
+ Hits 13754 13818 +64
- Misses 1618 1623 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ae0021b to
3be27cc
Compare
|
user and item bias are getting default values in different places and I'm not sure which one is used at the end but the paper doesn't use bias terms for scoring as I saw, so I think it makes sense for both defaults to be false |
This is a good thing to think about… there is a tradeoff in the configurability and defaults:
The original BPR doesn't include a bias term, and I don't remember if the logistic matrix factorization paper did or not. We should experiment with this some to confirm, but I expect including item biases will usually be better, because the model doesn't have to try to model overall item popularity with the embeddings — the embeddings can focus on modeling user preference after popularity is accounted for. User biases only make sense with the logistic loss function. I agree that we shouldn't have differing defaults. I pushed a change that removes defaulting entirely from the model class, and the explicit scorer now explicitly passes (At some point, we should probably support convolution layers with explicit feedback too.) |
I agree on the consistency issue, that makes sense. |
377bd01 to
4ad1bac
Compare
Add LightGCN support to FlexMF
This updates FlexMF to have LightGCN support (for implicit feedback) that is activated with a new
convolution_layersconfiguration setting. Zero layers gets classical matrix factorization.Closes #1019.