Augmented Negative Sampling for Collaborative Filtering
To balance efficiency and effectiveness, the vast majority of existing methods follow the two-pass approach, in which the first pass samples a fixed number of unobserv...
Tags:Paper and LLMsCollaborative FilteringPricing Type
- Pricing Type: Free
- Price Range Start($):
GitHub Link
The GitHub link is https://github.com/asa9aotk/ans-recbole
Introduce
The GitHub repository “Asa9aoTK/ANS-RecBole” contains an implementation of ANS using the RecBole framework. The ANS method can be found in the directory “recbole/model/general_recommender.” The repository includes four distinct base models, and among them, LightGCN is offered as a base model version for ease of access. The code for BPR-MF, SGL, and NGCF is also present, made accessible to readers through straightforward adjustments.
To balance efficiency and effectiveness, the vast majority of existing methods follow the two-pass approach, in which the first pass samples a fixed number of unobserved items by a simple static distribution and then the second pass selects the final negative items using a more sophisticated negative sampling strategy.
Content
We implemented ANS using RecBole framework, please find our method under recbole/model/general_recommender. We have used four different base models in this paper, and we have provided LightGCN as a version of the base model for your convenience. The code for BPR-MF, SGL, and NGCF is available to the reader with simple modifications.











