liyinxiao/Ranking_Papers
Acerca de
Papers on recommendation system / search ranking.
Aprendizaje y educaciónCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalSearch Ranking Papers
Collection of papers that I have personally found helpful for search ranking / recommendation systems (updating).
Great talks on search ranking / recommendation system
Personalization at Amazon Music (ICML 2019)
Reinforcement Learning for Recommender Systems: A Case Study on Youtube (2019)
Applying Deep Learning to Airbnb Search (Qcon 2019)
Artwork Personalization at Netflix (Data Council 2018)
Measurement and analysis of predictive feed ranking models on Instagram (Scale 2017)
Detecting place visits at scale (Scale 2017)
Deep Learning for Personalized Search and Recommender Systems (KDD 2017)
Facebook AI Research: An Introduction to Faiss and Similarity Search (2020)
My personal notes / ideas on papers
Deep Neural Networks for YouTube Recommendations
- "Training examples are generated from all YouTube watches (even those embedded on other sites) rather than just watches on the recommendations we produce." The model is predicting watch time per impression, but it is unclear how YouTube constructs its training data (impression data). For example,
- If a video is at the bottom of the recommendation list and user may not scroll down, does this count as an impression?
- If a video is shown as relevant videos of an opened video, does this count as an impression?
Applying Deep Learning To Airbnb Search
- They tried multi-task learning that optimizes for both booking and long view, and found out that long views increased by a lot while bookings remained neutral. This multi-task learning can be useful for advertisement modeling, where we would optimize for both clicks and conversions.
Amazon Search: The Joy of Ranking Products
- "To manage the size of the training set, we sample unseen examples." An idea inspired by this statement:
- For pairwise formulation, a good idea might be sampling the possibly unseen examples. For example, user makes a click on item at position 5, then items displayed after position 5 may not be seen and can be sampled.
Online Controlled Experiments at Large Scale
- “We recently ran a slowdown experiment where we slowed 10% of users by 100msec (milliseconds) and another 10% by 250msec for two weeks. The results showed that performance absolutely matters a lot today: every 100msec improves revenue by 0.6%.”
- Speed wins.
Word2vec algorithm (C implementation / gensim implementation)
syn0: random initialization
syn1neg: zero initialization
for central_word in [pick_a_central_word]:
for context_word in [context_words_based_on_the_central_word]:
neu1e = 0
for d in range(0, negative + 1):
if d == 0:
word = context_word, label = 1
if d > 0:
word = negative_word, label = 0
dot_product = syn0[central_word] * syn1neg[word]
gradient = (label - sigmoid(dot_product)) * alpha
syn1neg[word] += gradient * syn0[central_word]
neu1e += gradient * syn1neg[word]
syn0[central_word] += neu1e
Deep Learning Recommendation Model for Personalization and Recommendation Systems
Model Structure
Model Structure of this specific model (pyton dlrm_s_pytorch.py --arch-sparse-feature-size=16 --arch-mlp-bot="13-512-256-64-16" --arch-mlp-top="512-256-1" --data-generation=dataset --data-set=kaggle --raw-data-file=./dac/train.txt --loss-function=bce --round-targets=True --learning-rate=0.1 --mini-batch-size=128)

FAISS
- Speed optimization: k-means clustering, find nearest centroid and check this cluster
- Memory optimization: dimension reduction such as PCA, Product Quantization
Pointer Networks
- Instead of using attention to blend encoder states into a context vector, use the attention weights directly as the output distribution — each output step "points" to an input position via softmax over encoder states.
- Key advantage: output vocabulary size automatically scales with input length, enabling variable-size output dictionaries without retraining.
- Applicable to problems where outputs are selections from inputs (e.g., convex hull, TSP, sorting). Foundation for copy mechanisms and extractive models.
Weighted Logistic Regression — Modeling Expected Watch Time (YouTube)
Goal: rank impressions by
E[watch_time]per impression (watch_time = 0for unclicked,> 0for clicked). Two models:- weighted LR →
p: positives weighted bywatch_time = T_i, negatives unit weight. watch_time_positiveLR: predictsP(watch_time > 0), soP(watch_time = 0) = 1 − P(watch_time > 0).
- weighted LR →
Weighted-LR odds. At the loss optimum the predicted odds equals (positive weight)/(negative weight):
p/(1-p) = (Σ T_i) / (N − k)with
kclicks amongNimpressions. UsingΣ T_i = N · E[watch_time]andN − k = N · P(watch_time = 0):p/(1-p) = E[watch_time] / P(watch_time = 0) ⟹ E[watch_time] = p/(1-p) · (1 − P(watch_time > 0))Paper's shortcut. With small click probability
P,p/(1-p) = E[watch_time]/(1 − P) ≈ E[watch_time], so the single weighted-LR odds is used directly as expected watch time.Why
exp(x)at inference. The LR scorex = w·featuresis a log-odds, sincep = σ(x)impliesodds = p/(1-p) = exp(x). Because watch-time weighting makes those odds≈ E[watch_time], serving drops the sigmoid and appliesexp(x)as the final activation to read expected watch time straight off the logit:E[watch_time] ≈ odds = exp(x)
HSTU
- In the industrial-scale streaming setting, the paper considers a 0.001 reduction in Normalized Entropy (NE) significant, as it generally leads to ~0.5% topline metric improvements for billions of users.
DCN v1 vs v2
- Cross layer: vector → matrix. v1 weights each cross with a vector, v2 with a full matrix, so v2 is a strict superset.
v1: x_{l+1} = x_0 x_l^T w_l + b_l + x_l w_l ∈ R^d v2: x_{l+1} = x_0 ⊙ (W_l x_l + b_l) + x_l W_l ∈ R^{d×d} - Low-rank. The
d x dmatrix is expensive, so v2 factorizes it asW ≈ U V^TwithU, V ∈ R^{d×r}andr << d.
GloRank
- Claim. Rerankers with one output weight per list position learn position patterns instead of item quality. GloRank replaces position outputs with a global vocabulary of Semantic ID tokens, so each output means the same item cluster in every request.
- My take. SOTA rerankers already score every candidate from its own embedding with one shared scorer, so the problem barely applies to them. The paper never compares against this kind of scoring.
Explorar proyectos relacionados
Cargando…