Discovering Topics from Linear Autoencoders
Organizations: Chiang Mai University, Chiang Mai, Thailand
Abstract
Linear recommenders and topic models are similar in that they implicitly learn from co-occurrences of items. However, there has been little study of how these two model families are related. In this work, we show that, under a latent-factor model of the user-item interactions, the latent topics can be discovered from the weight matrix of a closed-form linear autoencoder. These topics provide a basis for interpreting the recommendations, and can be obtained directly from the trained recommender without additional training. Building on our analysis, we further propose novel item and user normalizations that prevent popular items and very active users from dominating the topics. Our experiments on six public datasets demonstrate that our method achieves significantly higher topic quality than every dedicated topic model and matches or exceeds the best linear autoencoder on all six datasets, while its recommendation performance is competitive with the best tuned recommender.
Figures & tables
| books | cds | gowalla | ml-1m | retail | steam | |||||||||||||
| Model | NDCG | Rec | TQ | NDCG | Rec | TQ | NDCG | Rec | TQ | NDCG | Rec | TQ | NDCG | Rec | TQ | NDCG | Rec | TQ |
| WMF | 0.040 | 0.077 | 0.046 | 0.085 | 0.083 | 0.151 | 0.029 | 0.051 | 0.043 | 0.049 | 0.018 | 0.033 | ||||||
| LightGCN | 0.021 | 0.039 | 0.017 | 0.032 | 0.052 | 0.091 | 0.025 | 0.042 | 0.027 | 0.030 | 0.027 | 0.054 | ||||||
| SLIMElastic | 0.047 | 0.082 | 0.051 | 0.092 | 0.094 | 0.164 | 0.042 | 0.072 | 0.058 | 0.064 | 0.028 | 0.057 | ||||||
| ADMMSLIM | 0.046 | 0.081 | 0.052 | 0.093 | 0.096 | 0.168 | 0.041 | 0.070 | 0.056 | 0.060 | 0.026 | 0.051 | ||||||
| NCEPLRec | 0.040 | 0.073 | 0.050 | 0.090 | 0.093 | 0.167 | 0.042 | 0.072 | 0.056 | 0.062 | 0.025 | 0.048 | ||||||
| Topic | Top items | |
| amazon-books : five of the topics. Items are books. | ||
| young adult fiction | Mockingjay (The Hunger Games), Divergent, Catching Fire (Hunger Games, Book Two), The Hunger Games (Book 1), City of Bones (The Mortal Instruments, Book 1) | |
| Women’s Murder Club series | 4th of July (Women’s Murder Club), The 6th Target (Women’s Murder Club), 2nd Chance (Women’s Murder Club), 7th Heaven (Women’s Murder Club), 10th Anniversary (Women’s Murder Club) | |
| psychological thrillers | Don’t Look for Me: A Novel, The Maid: A Novel (Molly the Maid Book 1), The Golden Couple: A Novel, The Plot: A Novel, Dark Roads: A Novel | |
| Nameless thriller series | In the Heart of the Fire (Nameless: Season One Book 1), The Mercy of Snakes (Nameless: Season One Book 5), The Praying Mantis Bride (Nameless: Season One Book 3), Red Rain (Nameless: Season One Book 4), Photographing the Dead (Nameless: Season One Book 2) | |
| physics workbooks | Physics Concept Questions - Book 1 (Mechanics 1), Physics Concept Questions - Book 3 (Matter), Physics Concept Questions - Book 4 (Heat), Physics Concept Questions - Book 2 (Mechanics 2), Physics Concept Questions - Book 5 (Sound) | |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Model | Hyperparameter | books | cds | gowalla | ml-1m | retail | steam |
|---|---|---|---|---|---|---|---|
| WMF | number of factors | 128 | 128 | 64 | 128 | 128 | 64 |
| regularization | 0.01 | 0.01 | 0.01 | 0.01 | 0.01 | 0.01 | |
| LightGCN | learning rate | 0.001 | 0.01 | 0.01 | 0.001 | 0.001 | 0.001 |
| number of layers | 2 | 2 | 2 | 2 | 3 | 3 | |
| SLIMElastic | regularization | 0.01 | 0.01 | 0.01 | 0.1 | 0.1 | 0.1 |
| L1 ratio | 0.01 | 0.01 | 0.001 | 0.01 | 0.01 | 0.001 |
Recommender Systems
Recommender systems predict and rank items for people using interaction histories, content, context, and feedback.
See all 516 papers