Skip to content
Projekte

Über uns

Papers on recommendation system / search ranking.

Lernen und Bildung

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Search 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 = 0 for unclicked, > 0 for clicked). Two models:

    • weighted LR → p: positives weighted by watch_time = T_i, negatives unit weight.
    • watch_time_positive LR: predicts P(watch_time > 0), so P(watch_time = 0) = 1 − P(watch_time > 0).
  • Weighted-LR odds. At the loss optimum the predicted odds equals (positive weight)/(negative weight):

    p/(1-p) = (Σ T_i) / (N − k)
    

    with k clicks among N impressions. Using Σ T_i = N · E[watch_time] and N − 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 score x = w·features is a log-odds, since p = σ(x) implies odds = p/(1-p) = exp(x). Because watch-time weighting makes those odds ≈ E[watch_time], serving drops the sigmoid and applies exp(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 d matrix is expensive, so v2 factorizes it as W ≈ U V^T with U, V ∈ R^{d×r} and r << 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.

Ähnliche Projekte entdecken

Wird geladen…