Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ML Life Cycle for LINE SHOPPING Recommender

ML Life Cycle for LINE SHOPPING Recommender

Event: iThome Hello World Dev Conference
Speaker: Rei Huang

LINE Developers Taiwan

September 23, 2024
Tweet

More Decks by LINE Developers Taiwan

Other Decks in Technology

Transcript

  1. 01 02 03 04 Transform as ML Problem Modeling Execute

    A/B test Problem Definition 05 Evaluation CONTENT 06 Decision
  2. Rei Huang Machine Learning Engineer Education • Bachelor in Mathematics

    @ CCU • Master in Mathematics @ NTHU Work Experience • E.Sun Commercial Bank (2016 ~ 2022) • LINE Taiwan EC (2022 ~ Now)
  3. Sketch of ML Life Cycle Business Issue Problem Definition ML

    problem ML model building A/B test Evaluation Decision
  4. Transform our Problem as a ML Problem Which one do

    you want to click? ( ) , ?future days Regession or Classifiction?
  5. Execute A/B test Save to Database Request Recommendation experimental control

    核心概念 1. 均勻分布 2. 執行同一個實驗,user 的組別是固定的 3. 同一個實驗,若增加實驗比率,實驗組不變 4. 高計算效率 experiment_id ratio Ref: A/B Test Bucketing using Hashing Sketch of Design Version Control
  6. Execute A/B test Ref: A/B Test Bucketing using Hashing Core

    of hash function 每次進入網站時分組為 A or B 同一實驗調整 ratio 但組別重分配 同一 user 對到不同 model logic 均勻分布 全母體均勻 or acitve user 均勻 A control B control A control B control Session based User based 高計算效率
  7. Evaluation Online experimental control Within a certain time Extract data

    CTR Precision MRR CVR ML metric business metric …
  8. What’s wrong with us? Orders Clicks Model Performance Model Tuning

    Bad Good Does model solve click? 這時候才調整嗎? Monitoring
  9. ML Life Cycle Business Issue Problem Definition ML problem ML

    model building A/B test Evaluation Decision